This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

PXA255 - WinCE GPIO status at sleep recovery

Note: This was originally posted on 1st August 2012 at http://forums.arm.com

Hi all,
I'm on to make some changes on a old project (WinCE420), where I want to keep a few output GPIO's in a high state during SleepMode. Seems to work well (the PGSR0 register keeps the selected GPIO's high), but after resuming the GPIO's are set back to low, though in the actual GPIO registers the pins are still high. Any idea, or what register I should check on to avoid this, or is this intended behavior ?
The manual says: "Leaving Sleep Mode causes a Sleep Mode reset. Unlike other resets, Sleep Mode resets do not change the state of the pins." What am I doing wrong ?

All help highly appreciated. Thanks a lot in advance !
Parents Reply Children
No data