Explanation of LIN slave example code in S32K SDK with power mode (VLPS <-> VLPR/RUN)

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

Explanation of LIN slave example code in S32K SDK with power mode (VLPS <-> VLPR/RUN)

446 次查看
JunchanKwon
Contributor I

Dear experts,

 

I'd like a explanation or application note about LIN slave example code in S32k SDK with power mode control.

 

I would like for MCU to go VLPS mode when LIN slave node is sleep and to go VLPR(or RUN) when it wakes up.

I checked MCU wakes up using LIN RXD pin with port ISR, but where to insert POWER_SYS_SetMode(..) function to go to sleep and to wake up in the example of 'lin_slave_baremetal_s32k116'

 

Thank you for your advices.

0 项奖励
回复
1 回复

419 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello @JunchanKwon,

All the peripherals that are not supported in VLPS should be disabled before the transition.

But otherwise, it is up to you.

The MCU will resume its operation right after the WFI instruction again.

 

Regards,

Daniel

0 项奖励
回复