I am attempting to use USART ISR with Power Saving for my application.
I have seen a number of posts going in different directions on best way to do this, as well as arguments saying how this could/or could not be done in certain power modes. My understanding is that you can only receive these interrupts when expecting data via SPI if you are in PM3.
After reading the documentation I found that by setting SLEEPCMD accordingly then setting PCON_IDLE to 1, that PM3 would be used. I keep having errors not allowing me to set PCON_IDLE.
I'm curious what the best way everyone has discovered is to conserve the most power while using USART to receive data over SPI. In my application I can't expect a periodic time where data may be sent so that I can exit power saving temporarily like some have suggested. Ideally I would be able to catch the data at any point.
Thanks In Advance.