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.

LP-MSPM0G3507: Higher UART baud rates (above 115200)

Part Number: LP-MSPM0G3507
Other Parts Discussed in Thread: SYSCONFIG

I am exploring setting up baud rates over 115200. Specially interested in 920600 and 460800 as the TI tools seems to be made them selectable. When editing sysconfig the higher baud values show conflicts, like "Using 3x oversampling with LFCLK can result in significant deviation in the actual baud rate."

How can I reach higher baud rates than 115200?

  • Lite Edition:

    Set the UART clock source to the faster BUSCLK.

    Answers:

    There is a relationship between UART baud rates, oversampling and UART Clock as follow:

    UART Clock >= UART baud rates * oversampling.

    In this application you told, UART clock source = LFCLK = 32768 Hz, oversampling = 3x, So the max UART baud rates you can reach is following:

    UART baud rates <= UART Clock / oversampling = 32768 / 3 = 10922 Hz.

    If you want to set a higher UART baud rates, you should choose a faster UART Clock, such as BUSCLK and MFCLK. Now we set BUSCLK as UART clock source, 16x oversampling, the UART baud rates we can reach is:

    UART baud rates = UART Clock / oversampling = BUSCLK / oversampling = 32 MHz / 16 = 2000000.

    Also, you can enable MFCLK in CCS -> Syscfg -> clock tree

    Regards

    Helic