This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

UCBxBRW Register



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

**Attention** This is a public forum