Hello,
On the S32K3x4 and 3x8 devices, can the pads that are configured as external WKPU inputs act as interrupt inputs when the device is awake or active? If yes, do they also share the same interrupt channels as the EIRQ[0-31] input channels?
Thanks
Sai
Here, PTD29 can be configured as WKPU[52], but can I use this to also generate interrupt? (enable IRER)(IREQ->IRER, my mistake in last reply)
Yes. Just need to enable both the IRER(Interrupt Request Enable Register) in WKPU module and ISER(Interrupt Set Enable Register) in NVIC module.
The wakeup sources go to
For example:PTD20
If PTD20 is configured as EIRQ[25] first, and WKPU is enabled before entering sleep mode, then its wakeup will not affect EIRQ.
Secondly, you can also configure PTD20 as WKPU port only. If IRER bit is enabled, it will also generate an NVIC interrupt.
Hello,
Thank you for the quick response. I understand there are 60 external pin wake up sources (WKPU[0]-WKPU[59]). If I want any of these external wake sources to act as an interrupt when the system is awake, does it take over or bother any of the 32 external interrupt channels (EIRQ[0:31]) that are - for example - already assigned to other sources?
Thanks
spalukuru
I thank the answer is yes, you can take a look at the below two diagram and the route is all to Interrupt Controller.
So i thank for a pin used as external WKPU,if you enable IRER, it should be work as normal
GPIO way.