Other Parts Discussed in Thread: LAUNCHXL-F280039C, SYSCONFIG
Tool/software:
Hi,
I am using a LAUNCHXL-F280039C. I want to test which maximum baud rate works for my application.
I have set the low speed clock divider to 1 (LSPCLK = 120MHz). It works for a baud rate of 3.75 MBaud (BRR = 3). However, if I now want to set a baud rate of 5 MBaud (BRR = 2) via SysConfig, the following error occurs:
Enter an integer for baud rates between LSPCLK/65536 and LSPCLK/16!
But this condition is actually fulfilled for an LSPCLK of 120 MHz, isn't it? What is the reason for this? Is a baud rate greater than 3.75 MBaud even possible for the hardware?
For setting the higher baud rate, I have adjusted the macro to:
#define DEVICE_LSPCLK_FREQ (DEVICE_SYSCLK_FREQ / 1)
and the function to:
SysCtl_setLowSpeedClock(SYSCTL_LSPCLK_PRESCALE_1);
Thank you and best regards
Joshua

