Hello, supporters of NXP. I would like to inquire whether the S32K312 can achieve low-power wake-up through the S32DS configuration of LLD. Is the wake-up method configured through the GPIO input pin and the WKPU pin the same? Is there any routine provided for the wake-up method configured through the WKPU pin? Thank you.
Hi @ZZZZZJH
Is the wake-up method configured through the GPIO input pin and the WKPU pin the same?
I'm not sure I understand this question but let me try to clear it up. The WKPU instance shares functionality with the other pins, using a MUX. This means that any GPIO pin can be used as wake up source as long as it has a WKPU interrupt assigned (check S32K_IOMUX.xlsx file attached to S32K3 reference manual for full pinout confirmation).
You can find a GPIO WKPU routine for the S32K312 in both LLD and HLD in this community post: [RTD400 & 500 MCAL & IP] S32K3 Low Power Management AN and demos - NXP Community.
They are based in RTD 5.0.0 & S32DS 3.5/3.6. Hope this helps.
Best regards,
Julián