Dear all,
I would like to use the internal watch as a periodic counter in VLPS mode.
The development condition is as followed:
- IDE: S32DS3.4 with SDK 4.0.2
- MCU: S32K116
- communication : LIN slave
For power consumption, VLPS mode is need.
However, MCU should receive heart beat signal from LIN master via LIN RXD to verify communication line is still connected.
(As you know, heart beat signal is a periodic and helps the MCU to decide communication line status by getting it or not within that period)
So I think there are 2 interrupt needed ,
1) one is for wake-up by heart beat
2) the other is for periodically wake-up to check heart beat is arrived or not
To implement those under VLPS mode, I use the LPTMR as pulse counter for 1), and would like to use the watchdog as periodic wake-up counter for 2).
However I can't find a good example to use internal watchdog as a periodic counter in VLPS mode. (including IDE examples)
Please help me to solve this.
Thank you.
Hello @JunchanKwon,
Unfortunately, there is no such example.
But there are these two SDK examples:
There should be no problem putting them together.
Let me know if you have any specific issue with the configuration.
BR, Daniel