What is the highest flow control baud rate by S32KXX?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

What is the highest flow control baud rate by S32KXX?

跳至解决方案
1,353 次查看
建宽高
Contributor III

What is the highest flow control baud rate by S32KXX?

标记 (1)
0 项奖励
回复
1 解答
1,286 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

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.

Figure 53-3. LPUART baud rate generation.png

LPUART can use clock from SPLLDIV2_CLK, FIRCDIV2_CLK, SIRCDIV2_CLK, SOSCDIV2_CLK.

Table 27-8. Peripheral clock summary.png

The maximum frequencies of those *DIV2_CLKs are specified as below in the RM.

Table 27-1. Clock descriptions.png

 

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!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,286 次查看
建宽高
Contributor III

you are so cool

0 项奖励
回复
1,287 次查看
Robin_Shen
NXP TechSupport
NXP TechSupport

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.

Figure 53-3. LPUART baud rate generation.png

LPUART can use clock from SPLLDIV2_CLK, FIRCDIV2_CLK, SIRCDIV2_CLK, SOSCDIV2_CLK.

Table 27-8. Peripheral clock summary.png

The maximum frequencies of those *DIV2_CLKs are specified as below in the RM.

Table 27-1. Clock descriptions.png

 

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复