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.

MSP430G2755: SPI prescaler question

Part Number: MSP430G2755

Hi,

I've inherited a problem project and don't have lots of MSP430 experience. 

Looking through the datasheet I see there's an SPI baud rate pre-scaler UCAxBR0 and UCAxBR1 which form a 16 bit prescaler. 

Question I have is.. If I set the value in UCAxBR0 to 1 does that divide by 2 or does it have the same effect as if UCAxBR0 is set to 0? 

Thanks.

 

  • Hello Stu,

    According to the User's Guide, the 16-bit value of (UCxxBR0 + UCxxBR1 × 256) forms the bit clock prescaler value. The 16-bit value of UCBRx in the bit rate control registers UCxxBR1 and UCxxBR0 is the division factor of the USCI clock source, BRCLK. If UCAxBR0 is set to 2, this means the USCI clock source gets divided by 2.

    Regards,

    James

    MSP Customer Applications

  • Hi James,

    That's what I expected, doesn't make sense to divide by 2 if the value in the prescaler is 1. 

    Thanks for the information. 

    Stu

**Attention** This is a public forum