Hi Experts,
Is it possible to support 6.144Mbps UART baudrate?
Regards,
Uchikoshi
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.
Hi Experts,
Is it possible to support 6.144Mbps UART baudrate?
Regards,
Uchikoshi
Hi,
Yes, the UART baudrate for MSPM0G series is upto 10Mbps.
Best regards,
Cash Hao
Hi Cash Hao,
Can you calcurate the error at 6.144Mbaud when using 80MHz internal clock source?
Regards,
Uchikoshi
Hi,
UARTCLK = 80 MHz
Oversample =3
Baudrate = 6144000 bit/s
BRD = 80M/3/6144000 = 4.3402777
UARTx.IBRD.DIVINT = 4
UARTx.FBRRD.DIFRAC = INT(.3402777*64+0.5) = INT(22.27) = 22
Actual Baudrate = UARTCLK /( Oversample+( DIVINT+( DIFRAC/64))) = 80M/(3*(4+(22/64))) = 6,139,088.73
Calculated error = (ActualBaudRate - targetBaudRate) / targetBaudRate = (6,139,088.73-6144000)/ 6144000 = -0.079%
Best regards,
Cash Hao