FreeRTOS + S32K3 + FS26 standby mode

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

FreeRTOS + S32K3 + FS26 standby mode

跳至解决方案
1,039 次查看
iverson3ya
Contributor III

I have a few questions that require assistance:

  1. I initialized my system in PLL mode, but I disabled PLL to allow FS26 to enter standby mode. After switching to low-speed run mode with the clock source from FIRC 48MHz, the reference clock for UART remains the same, causing incorrect UART logs. How can I change the reference clock for UART in the low-speed mode?

  2. As a temporary solution, I initialized the system with a low-speed clock during startup to ensure correct UART logs. However, when FS26 enters standby mode and I issue commands again, it gets stuck at 'prvPortStartFirstTask', and it seems like the tasks are no longer present. What could be the reason for this?

I have attached my project file for your reference. Please assist me. Thank you.

iverson3ya_0-1689150368307.png

iverson3ya_2-1689150385427.png

iverson3ya_3-1689150402801.pngiverson3ya_4-1689150408260.png

 

 

 

0 项奖励
回复
1 解答
964 次查看
Nhi_Nguyen
NXP Employee
NXP Employee

Hi iverson3ya,

Follow RM, Clock for UART:

Nhi_Nguyen_0-1690969866686.pngNhi_Nguyen_1-1690969942226.png

 

Use-case for Low-speed RUN mode- Option

Nhi_Nguyen_2-1690970052639.pngNhi_Nguyen_3-1690970074613.pngNhi_Nguyen_4-1690970097196.png

In DS configuration:

Nhi_Nguyen_5-1690970256817.png

 

You're using LPUART_0:

Nhi_Nguyen_6-1690970377940.png

When you change value of UART clock, values for baudrate will changed. You can check this at output of generated file 

Nhi_Nguyen_7-1690971210369.png

You can try above configuration.

Best regards,

Nhi

 

在原帖中查看解决方案

0 项奖励
回复
2 回复数
965 次查看
Nhi_Nguyen
NXP Employee
NXP Employee

Hi iverson3ya,

Follow RM, Clock for UART:

Nhi_Nguyen_0-1690969866686.pngNhi_Nguyen_1-1690969942226.png

 

Use-case for Low-speed RUN mode- Option

Nhi_Nguyen_2-1690970052639.pngNhi_Nguyen_3-1690970074613.pngNhi_Nguyen_4-1690970097196.png

In DS configuration:

Nhi_Nguyen_5-1690970256817.png

 

You're using LPUART_0:

Nhi_Nguyen_6-1690970377940.png

When you change value of UART clock, values for baudrate will changed. You can check this at output of generated file 

Nhi_Nguyen_7-1690971210369.png

You can try above configuration.

Best regards,

Nhi

 

0 项奖励
回复
726 次查看
Akhil1
Contributor I

Hello @Nhi_Nguyen ,

Can you please share me the S32k312 wakeup method using SBC FS26 - Long Duration timer(LDT).

Regards

Akhil

0 项奖励
回复