Hi @EdwinHz
Thanks for getting back to me. What I would like to do is have the ENET peripheral IRQ cause the processor to exit System Idle, in the same fashion as the GPIO IRQ in the code sample. Maybe I'm reading too much into the document, but AN12085 Table 4 indicates that in System Idle "all the peripheral[s] can remain active" which I had interpreted as including Ethernet, and also interpreted as meaning that the relevant peripherals could still generate IRQ signals.
Ideally for my use case the same events that are processed by ENET_ReceiveIRQHandler in fsl_enet.c would cause the processor to resume from WFI(), if this is possible. I can see that this wouldn't work for lower power suspend modes because Table 4 indicates that all PLLs would be shut off for Low Power Idle/Suspend. However, my interpretation of the application note was that in System Idle any peripheral can be kept active and therefore available for IRQ, but I am not currently able to translate the example which uses GPIO IRQ to the ENET peripheral. Is my interpretation wrong?
Thanks!