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)

450件の閲覧回数
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 返信

423件の閲覧回数
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 件の賞賛
返信