Hi 建宽高,
According Baud rate generation section from Reference Manual, Baud rate can be calculated as:
Baud Rate = LPUART ASYNCH Module Clock / (SBR * (OSR + 1))
Minimum value for OSR is 3 and SBR is 1, so, Maximum Baud rate can be simplified to:
Max Baud Rate = LPUART ASYNCH Module Clock / (1*4) = LPUART ASYNCH Module Clock / 4.
LPUART can use clock from SPLLDIV2_CLK, FIRCDIV2_CLK, SIRCDIV2_CLK, SOSCDIV2_CLK.
The maximum frequencies of those *DIV2_CLKs are specified as below in the RM.
Thus:
Max Baud Rate = 48 MHz / 4 = 12 Mbps (RUN mode)
Max Baud Rate = 56 MHz / 4 = 14 Mbps (HSRUN mode)
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
you are so cool
Hi 建宽高,
According Baud rate generation section from Reference Manual, Baud rate can be calculated as:
Baud Rate = LPUART ASYNCH Module Clock / (SBR * (OSR + 1))
Minimum value for OSR is 3 and SBR is 1, so, Maximum Baud rate can be simplified to:
Max Baud Rate = LPUART ASYNCH Module Clock / (1*4) = LPUART ASYNCH Module Clock / 4.
LPUART can use clock from SPLLDIV2_CLK, FIRCDIV2_CLK, SIRCDIV2_CLK, SOSCDIV2_CLK.
The maximum frequencies of those *DIV2_CLKs are specified as below in the RM.
Thus:
Max Baud Rate = 48 MHz / 4 = 12 Mbps (RUN mode)
Max Baud Rate = 56 MHz / 4 = 14 Mbps (HSRUN mode)
Best Regards,
Robin
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------