Hi all
We have a custom platform that uses thel PXA255 processor. I'm working on implementing power management and I'm presently stumped with intermittent problems in putting the processor to sleep and waking it up again. The process that I'm using is loosely based on the XSC1BD sample.
OEMPowerOff gets called and 60-70% of the time, the processor goes to sleep just fine and I can subsequently wake it up. The rest of the time, the code runs down to the point where the PWRMODE register gets written to force the processor to sleep and then the code gets stuck in the "shouldn't get here" loop (I determined this by a toggling a GPIO in the loop)
I've checked the errata for the PXA and evidently it's possible to get indeterminate behavior on the GPIO during sleep if the PXBus frequency is set above 133MHz - our pxbus freq is 99.5 MHz. I thought perhaps I was getting an Imprecise Data Abort so I've made sure that the IDAE is clear..
Does anyone have a suggestion? I've been beating my head against this one for awhile
Thank