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.
Tool/software:
Hi TI Experts,
I am using the LAUNCHXL-F280039C for SCI communication. My baudrate is set to 500k,
but the measured signal baudrate is around 470k.
This results in an approximate 6% error, which causes data parsing errors when communicating with other devices.
Could you please advise on how to correct this issue?
Hi Allen,
What value do you have selected for the LSPCLK in your SYSCTL registers?
Regards,
Peter
Hi Peter,
My LSPCLK is configured as shown in the diagram below.
The MCU's main frequency is 120 MHz, and the LSPCLK is divided by 4, resulting in 30 MHz
Best regards,
Allen
Hi Peter,
I set the LSPCLK to 12 MHz, and now the UART baud rate is working fine.
Thanks,
Allen
Hi Allen,
The Baud rate calculation has some inherent error depending on the LSPCLK value you configure to the microcontroller. In SysConfig, there is a calculator which will tell you what the actual baud rate is and the error from the expected baud rate
Regards,
Peter
This feature is on the latest version of the SysConfig tool so you may need to update C2000Ware. Or you can use the online version of SysConfig to see the calculations