Hello,
All,
I want to use Can wakeup functionality in VLPR mode with current consumption of less than 1mA for s32k116 MCU.
I am using PWM, LIN, CAN, Timer, Adc and digital pins for the project.
Can you please tell me the procedure for Can wakeup functionality in VLPR mode.
Thanks and Regards,
Shinde Umesh
Hello shindeu66@gmail.com,
The VLPR mode is a RUN mode not a STOP mode.
And the FlexCAN module is fully functional in this mode.
However, in VLPR, the max SYS_CLK frequency is 4MHz.
Please note that the SIRC clock is not very precise:
Also, the specified consumption of S32K116 in VLPR is >1mA.
Please refer to the S32K1xx_Power_Modes_Configuration.xlsx file attached to the datasheet for information about use cases.
Regards,
Daniel
Hello,
Mr. Daniel,
I have followed the example and procedure to enter into the VLPS that, before entering into VLPS FIRC and SOSC should be off and only SIRC should be running and also I converted the CAN rx pin as normal gpio pin for detecting the interrupt but its not detecting.
Can you please tell me what I am missing or doing wrong configuration while entering to RUN to VLPS.
And also when I am directly entering into the VLPS still the application code is in RUN condition.
So I am first entering into VLPR and then VLPS from it.
Please give the solution.
// Currently first entering into VLPR if some conditions are met.
Thanks and Regards,
Shinde Umesh
Hello shindeu66@gmail.com,
Please test each function separately e.g. the interrupt in RUN mode.
It does not have to enter VLPR first, it can enter VLPS from RUN directly.
You cannot disable SOSC, FIRC, SPLL before SIRC is the system clock.
Please disconnect the debugger and power cycle the MCU so that the MCU can enter VLPS.
Measure the consumption of the MCU to see the state of the MCU.
You can also scope BYS_CLK on a CLKOUT pin, the BUS clock is gated off in the VLPS.
This Example S32K144 RTC VLPS S32DS.R1 utilizes the CLKOUT function.
Please disable the FlexCAN module before the transition to VLPS.
Thank you,
BR, Daniel