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.

MSP432P401R: Hand calculated UCBRSx doesn't match MSP430BaudRateConverter webtool

Part Number: MSP432P401R

My hand-calculated value for UCBRSx (using the datasheet's algorithm and lookup table 24-4) does not match the value suggested by the online tool referenced by DriverLib "http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSP430BaudRateConverter/index.html" for the following settings:

Clock: 24000000
Baud rate: 57600

My calculated value is 182. The online tool suggests 111. The other register settings match.

Which should I use?

  • Look at the table 24-5 and consider the values for 20MHz and 57600 baud rate.

    Follow your hand calculations. If you get the same values as the table using your hand calculations, then your method is valid and you should use it instead of the website.

  • Hi David,

    I will check with internal experts but as per my knowledge the web tool you've mentioned above and the table in the Technical Reference Manual are based on different algorithms which emphasize on lowest TX error and lowest RX error respectively. The mismatch between Technical Reference Manual and the web tool can however be misleading as in your case.
    Let me also investigate if we can consolidate to using one algorithm in both the web tool and the Technical Reference Manual.

    Best regards,
    Britta
  • Hi David,

    I've reported the mismatch to our internal team so that they evaluate if we should consolidate the Technical Reference Manual and web tool to be based on the same algorithm. This may, however, take time to be decided and implemented.
    Please let me know if you will need further assistance in the meantime. Otherwise I'll go ahead and close this thread.
    Thanks and best regards,
    Britta

**Attention** This is a public forum