Tool/software:
Hi team,
My customer is using Power_shutdown(Power_ENTERING_SHUTDOWN, 0); to make CC1311 into shutdown mode and it seems correct.
But they can only wake up the device using Reset PIN, not GPIO interrupt.
We do see in the datasheet and TRM, GPIO PIN edge can be a wake up source.
The GPIOs we use to wake up the device has set GPIO_CFG_INT_ENABLE with GPIO_setConfig().
Below is the description for shutdown mode:
Power_shutdown() puts the device in its lowest-power state, which requires a full application reboot to power up again.
Shutdown mode, the device is entirely turned off (including the AON domain), and the I/Os are latched with
the value they had before entering shutdown mode. A change of state on any I/O pin defined as a wake from
shutdown pin wakes up the device and functions as a reset trigger. The CPU can differentiate between reset in
this way and reset-by-reset pin or power-on reset by reading the reset status register. The only state retained in
this mode is the latched I/O state and the flash memory contents.