Reply by Microbit March 30, 20062006-03-30
Hi Punit,

To put you in the right direction, and answer your question, the MSP430's maximum baudrate
is 1/3 of the system clock, as opposed to classic UARTS that need 1/16th of the clock for
sampling.

> also, does any one know wat is the maximum amount of data one can send from the PC thru UART in
> one write command.

That depends on the amount of RAM in the MSP430, and whether your code can process the data from
PC "in one go".
If your buffer in MSP430 for example sets 1 kB aside as RX buffer, then you can send in one write
up to 1024 bytes, and so on.
Typically you'd reserve circular buffers anywhere from 16 - 256 bytes for RS232 to PC, as a guide.

Happy trails
-- Kris

Beginning Microcontrollers with the MSP430

Reply by avram ionut March 30, 20062006-03-30
in fact the baud and maximum amount of data to send/receive is heavily
application dependant. i think the controller not only will
receive/send the data, it will use/generate it.
so... back to project reqirements.

avram
(obviously i am a big fan of planning :D)
Reply by Adriano Caye March 30, 20062006-03-30
Punit,

see section 13.2.6 of the user's guide (slau049e). From there you'll
find what is the maximum baud rate you can use.

Regards,
Adriano.
Reply by Punit Awatramani March 30, 20062006-03-30
hi friends,

i am working on msp430f148 and would like to know wat is the maximum baud rate the MCU can support.

also, does any one know wat is the maximum amount of data one can send from the PC thru UART in one write command.

thanks in advance!!

punit
Reply by Micah Stevens November 10, 20052005-11-10
Too early, I'm dumb. I forgot how many bits were in a byte.. let's try this
again:

Reply by Micah Stevens November 10, 20052005-11-10
> Hello people!!!!!
> How can I divide the registers ADC12MEMx into two byte to used the UART
> PORT?



You could probably lose the masks I bet, that would save some instructions.

-Micah
Reply by manettimau November 10, 20052005-11-10
Hello people!!!!!
How can I divide the registers ADC12MEMx into two byte to used the UART
PORT?
Reply by Jayaraman, Balu April 21, 20052005-04-21
Hi ,
There is no additional delay provided to ensure proper start , additional code added in ur code , try this.

Rgds,
Balu.J

Reply by Onestone April 19, 20052005-04-19
Step 1. Check incoming data to UART with a scope. Confirm baud rate
and correct data.
Step 2. repeat for data exiting Rs232 level shifter if applicable.
Step 3 configure Rx pin as input and Tx pin as output in P3DIR

What about the rest of the clock setup? Even if it should default to the
desired frqeucny I'd at least check it anyway.

Al
Reply by April 19, 20052005-04-19


You see code.
I send data (0,1,2,3,4,5,6,7,8,9) but receive
(FC,FE,FC,FE,FC,FE,FC,FE,FD,FE).
I mean,
0->FC
1->FE
2->FC
3->FE
4->FC
5->FE
6->FC
7->FE
8->FD
9->FE
I try (mov.b #003h,&UMCTL0 ; modulation ) but there is no change.
I've controled the data I send,but there is no mistake.
I've tried another baut rate,no change again.
Try (bis.b #XCAP18PF,&FLL_CTL0 ; Configure load caps),no change.
Parity bit,stop bit,character length are all controled several times.

So,I think you understand what I mean,I want your help...
Many thanks indeed for any idea.