Search the Community
Showing results for tags 'Serial port UART'.
Found 1 result
After searching for more than a week I've been unable to find an example of a serial port program for the 'f149 variant that can send and receive. I was able to get Don Binder's send only program to work fine but I had no luck with tx. It's not a matter of something being at the right frequency as there is no signal coming out at all. I'm new to msp430 but have used atmel parts and uC's since the late 1970's... Most examples online use newer chips than the msp430f149 and it doesn't have calibration code so I did this: //BCSCTL1 = CALBC1_1MHZ; //DCOCTL = CALDCO_1MHZ; //BCSCTL2 &= ~(DIVS_3); DCOCTL = 0x70; BCSCTL1 = 0x73; BCSCTL2 = 0x88; To get Don's code to work for the transmit only programs but it doesn't work for tx for some reason... So anyone have a simple serial port tx/rx example for the msp430f149? I'm a crap programmer and it's a real struggle... Thanks for any help, Regards, Kevin VA3SU