FreeRTOS + S32K3 + FS26 standby mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

FreeRTOS + S32K3 + FS26 standby mode

Jump to solution
1,040 Views
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 Kudos
Reply
1 Solution
965 Views
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

 

View solution in original post

0 Kudos
Reply
2 Replies
966 Views
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 Kudos
Reply
727 Views
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 Kudos
Reply