Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: UCBxBRW Register

$
0
0
in the code example MSP430FR57xx_uscib0_i2c_10.c the UCBxBRW register is set in this line: UCB0BRW = 0x0008; // baudrate = SMCLK / 8 In the family datasheet slau272c-1.pdf (Page 527) The description for UCBxBRW is: fBitClock = fBRCLK/(UCBRx+1) Wich one is right? According to the family datasheet the line should be UCB0BRW = 0x0007; // baudrate = SMCLK / 8 or if just the comment is wrong: UCB0BRW = 0x0008; // baudrate = SMCLK / 9

Viewing all articles
Browse latest Browse all 62309

Trending Articles