Hi,
I'm Jongchan.
Let me ask you question about sleep mode for S32k118.
First, I need to output in sleep mode.
For example, Before sleep mode, the board turn on LED. and then After Sleep mode, it have to remain LED on.
so, Do I have to select only VLPR mode to implement above case? Isn't there any thing else?
(in datasheet, VLPR mode consumes more 1 mA. I have to satisfy lower current under 0.5mA)
Second, How do I configurate to wake up via CAN communication?
I refer to AN5425(Power Management for S32K1xx). but there is not How to configurate wake-up source.
I want you to get me the code like AN5425 example source.
Third, What is the function "scg_disable_pll_and_firc()"?
could you show me the code of function "scg_disable_pll_and_firc()" that is in 5.5.2 of the AN5425?
Thanks,
BR,
Jongchan
Solved! Go to Solution.
Sorry for the late reply!
I can not find the function "scg_disable_pll_and_firc()" code either.
Please refer to the similar function code in the SDK
POWER_DRV_DisableVlpClockSrc
Hi Jongchan,
Input / Output (I/O) states are maintained during all power modes.
About how to wake up via CAN communication, you can refer below articles:
Example S32K116 FlexCAN PN STOP S32DS.ARM.2.2
Example S32K116 FlexCAN VLPR test S32DS.ARM.2.2
S32K1xx SDK FlexCAN sample projects to demonstrate its basic and advanced features
Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!
- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------
Hi Robin,
thanks for your response.
I'm developing my application with using low level peripheral driver even CAN Communication.
So, I need the function "scg_disable_pll_and_firc()" code. then, I would be able to clear my problem.
could you send me?
And, considering the consumption current, I have to use the VLPS mode.
But the example you sent is the project usint the SDK. so I couldn't use your example.
could you send me the low level code using VLPS via CAN wake up?
Best Regards,
Jongchan.
Sorry for the late reply!
I can not find the function "scg_disable_pll_and_firc()" code either.
Please refer to the similar function code in the SDK
POWER_DRV_DisableVlpClockSrc