GPIO in stop mode

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
himc_284346
Level 3
Level 3
Welcome! 10 replies posted 5 replies posted

 In stop mode all GPIO pins will be frozen. Can I change the pin status, after waking up from stop mode by a wake up reset?

0 Likes
2 Replies
himam_31
Employee
Employee
50 likes received 25 likes received 10 likes received

 After a wakeup reset, the GPIO states remain frozen, and must be unfrozen using the API  function CySysPmUnfreezeIo() before the pin states can be changed.

0 Likes
Anonymous
Not applicable

Just adding one more point to this....It is not required to call CySysPmFreezeIo for Stop Mode, but is required for Hibernate Mode. If not , the IO-cells will be frozen in the same way as they are in the Active to Deep Sleep transition, but will lose their state on wake up (because of the reset occurring at that time).

0 Likes