Tool/software:
Hi Team,
I want to ask the following question about GPIO interrupt :
1. According to datasheet and technical reference, GPIO should be worked on different power save mode except shutdown mode.
After I tested the GPIO interrupt on sleep0, stop0 and standby0, the interrupt can wakeup the MCU. However, MCU cannot be wakeup from other mode 1 or 2.
Is it true? I am expecting MCU can wakeup from sleepX, stopX and standbyX mode. If it is not, what are the setting that need to be set in order for GPIO interrupt to wakeup in all mode?
2. As I tested the functions :
- DL_SYSCTL_enableSleepOnExit() : After executed this function, MCU will go to sleep mode again after ISR is served.
- DL_SYSCTL_disableSleepOnExit() : After executed this function, MCU will return to main loop after ISR is served. So normally this will be called.
If I have want some interrupt to go back sleep directly after ISR is served and some are not. Can you tell me how to implement this?