Hi,

Oops, slight of hand, its actually the values in the msp430_uart_rate_t_enum 
that work (I've tested at 115200) not the values in slau144e. I need to 
calculate UBR and UMCTL register settings for a baud rate of 576000.

Thanks

Alan

From: [email protected] 
[mailto:[email protected]] On Behalf Of Doyle, Alan
Sent: 23 April 2014 16:12
To: [email protected]
Subject: [Tinyos-help] msp430_uart_rate_t values for MSP430

Hi,

I need to setup one of the UARTs on the MSP430 to a non standard baud rate so 
need to calculate values for the UBR and UMCTL registers. I went to 
msp430usci.h as a starting point and looked at the msp430_uart_rate_t enum but 
the values don't correspond to those that I calculate (see 
http://www.daycounter.com/Calculators/MSP430-Uart-Calculator.phtml) nor the 
table in slau144e as claimed. I'm obviously missing something, would be 
grateful if someone could enlighten me as the values in the table clearly work.

Thanks

Alan

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to