Jump to content
Sign in to follow this  
sparky

Anyone received their Launchpad?

Recommended Posts

Hi there,

Has anyone received their TI launchpad kit (MSP-EXP430G2) yet? I'm still waiting on two of mine.

Its hopefully here by next week.

Share this post


Link to post
Share on other sites

I ordered a total of three. Two from Digikey and one from the TI store with the 64 pin target board for the 5528 chip using the half off coupon.

 

Got the two LaunchPads from Digikey about 4 days after ordering, and received the target board from TI also, but still no LaunchPad from TI directly. I have a bone to pick with TI though about the 5528 target board....

 

Hope everyone gets their soon.

 

NJC

_________________________________

http://msp430launchpad.blogspot.com

Share this post


Link to post
Share on other sites

Hi NJC,

 

Haven't received mine yet. I should have gone with Digikey or Mouser.

I like your detailed project site about the Launchpad. I'll be putting a few of your projects through from the main blog page(http://www.43oh.com) to here.

Hopefully this forum gains traction.

Thanks for mentioning these forums! Keep blogging.

Share this post


Link to post
Share on other sites

hey bluehash and NJC,

 

this is the same person that commented on your post on your forum QWERT. hey i am posting my code here.... kindly all do have a look and let me know the changes that i can made for reception and transmission using software UART (timer).

 

hey, i want to echo a character on the screen after inputting it from the keboard, thereafter i wanna use it to generate a morse code for the characters using a piezo electric buzzer. i am quite done with the morse code part , only thing that is screwing me up is this reception so as to make different operations on individual characters .kindly help me....

here is the code :

 

#include "msp430g2231.h"

 

#define TXD BIT1 // TXD on P1.1

#define RXD BIT2 // RXD on P1.2

 

// Conditions for 9600/4=2400 Baud SW UART, SMCLK = 1MHz

#define Bitime_5 0x05*4 // ~ 0.5 bit length + small adjustment

#define Bitime 13*4//0x0D

 

unsigned int RXTXData;

unsigned char BitCnt;

 

void TX_Byte (void);

void RX_Ready (void);

void InitializeClocks(void);

 

 

 

void main (void)

{

WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer

CCTL0 = OUT; // TXD Idle as Mark

TACTL = TASSEL_2 + MC_2 + ID_3; // SMCLK/8, continuous mode// ACLK, continuous mode

P1SEL = TXD + RXD; //

P1DIR = TXD;

__enable_interrupt(); //

InitializeClocks();

// Mainloop

while (1)

{

// InitializeClocks();

RX_Ready(); // UART ready to RX one Byte

_BIS_SR(LPM3_bits + GIE); // Enter LPM3 w/ interr until char RXed

// RXTXData = (unsigned char)(75);

 

TX_Byte(); // TX Back RXed Byte Received

}

}

 

 

// Function Transmits Character from RXTXData Buffer

void TX_Byte (void)

{

BitCnt = 0xA; // Load Bit counter, 8data + ST/SP

while (CCR0 != TAR) // Prevent async capture

CCR0 = TAR; // Current state of TA counter

CCR0 += Bitime; // Some time till first bit

RXTXData |= 0x100; // Add mark stop bit to RXTXData

RXTXData = RXTXData << 1; // Add space start bit

CCTL0 = CCIS0 + OUTMOD0 + CCIE; // TXD = mark = idle

while ( CCTL0 & CCIE ); // Wait for TX completion

}

 

 

// Function Readies UART to Receive Character into RXTXData Buffer

void RX_Ready (void)

{

BitCnt = 0x8; // Load Bit counter

CCTL0 = SCS + OUTMOD0 + CM1 + CAP + CCIE; // Sync, Neg Edge, Cap

}

// Timer A0 interrupt service routine

#pragma vector=TIMERA0_VECTOR

__interrupt void Timer_A (void)

{

CCR0 += Bitime; // Add Offset to CCR0

 

// TX

if (CCTL0 & CCIS0) // TX on CCI0B?

{

if ( BitCnt == 0)

CCTL0 &= ~ CCIE; // All bits TXed, disable interrupt

else

{

CCTL0 |= OUTMOD2; // TX Space

if (RXTXData & 0x01)

CCTL0 &= ~ OUTMOD2; // TX Mark

RXTXData = RXTXData >> 1;

BitCnt --;

}

}

// RX

else

{

if( CCTL0 & CAP ) // Capture mode = start bit edge

{

CCTL0 &= ~ CAP; // Switch from capture to compare mode

CCR0 += Bitime_5;

}

else

{

RXTXData = RXTXData >> 1;

if (CCTL0 & SCCI) // Get bit waiting in receive latch

RXTXData |= 0x80;

BitCnt --; // All bits RXed?

if ( BitCnt == 0)

{

CCTL0 &= ~ CCIE; // All bits RXed, disable interrupt

_BIC_SR_IRQ(LPM3_bits); // Clear LPM3 bits from 0(SR)

}

}

}

}

 

 

void InitializeClocks(void)

{

 

BCSCTL1 = CALBC1_1MHZ; // Set range

DCOCTL = CALDCO_1MHZ;

BCSCTL2 &= ~(DIVS_3); // SMCLK = DCO / 8 = 1MHz

}

 

waiting for a positive response....

 

regards

qwert

Share this post


Link to post
Share on other sites
hey bluehash and NJC,

 

this is the same person that commented on your post on your forum QWERT. hey i am posting my code here.... kindly all do have a look and let me know the changes that i can made for reception and transmission using software UART (timer).

 

hey, i want to echo a character on the screen after inputting it from the keboard, thereafter i wanna use it to generate a morse code for the characters using a piezo electric buzzer. i am quite done with the morse code part , only thing that is screwing me up is this reception so as to make different operations on individual characters .kindly help me....

here is the code :

---------------------------------

waiting for a positive response....

 

regards

qwert

 

Why don't you make a separate topic since your question is not related to this topic?

Share this post


Link to post
Share on other sites

I would agree with plazma, could you make a new post so people will be able to find your code better? It would not only help them, but also the more people looking at your code the faster you will be able to get everything working.

 

When you make a new post, can you answer these questions? First, what do you have working with your code? Does the TX work fine? Or do you transmit nothing? Try to describe in a bit more detail the actual problem you are having, that will make it easier for us to look at your code and help.

 

-NJC

 

_________________________________

http://msp430launchpad.blogspot.com

Share this post


Link to post
Share on other sites
his is the same person that commented on your post on your forum QWERT. hey i am posting my code here.... kindly all do have a look and let me know the changes that i can made for reception and transmission using software UART (timer).

 

Why don't you make a separate topic since your question is not related to this topic?

 

qwert, first of all, welcome to the forums!

Your topic has been moved to "General" as it was better suited there. I'm not sure if this is Launchpad specific. If it is, I can move it to the "Devkit section".

If you have any questions, don't hesitate.

Also, if you find a solution, please post back.

Share this post


Link to post
Share on other sites

I ordered three more direct from TI when I ordered the (free) EZ430. I had been wanting a spare, and maybe one to give to my son who seems a little interested in this as a hobby. Since I was paying shipping anyway, thought I'd tack them on.

 

Ordered: 21 AUG 10

Let's see how long it takes...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×