Other Parts Discussed in Thread: CC2538
Hello All,
I have attempted some power saving strategies on my CC2538 with ZStack Energy, but with poor results:
I have taken the ZED IPD example and modified it to use Port C for 8 switch/buttons. I have enabled regular interrupts, and with POWER_SAVING DISabled, they work well.
I have read the CC2538 power management document as given by ZStack. This is what I did to enable power saving:
1. Enable POWER_SAVING in the defined symbols.
2. DISable NWK_AUTO_POLL.
3. In f8wconfig.cfg: -DRFD_RCVC_ALWAYS_ON=FALSE ; -DPOLL_RATE=0 ; -DQUEUED_POLL_RATE=0 ; -DRESPONSE_POLL_RATE=0.
4. Set all unused IO to outputs, no connections.
5. Cancelled the time update event called IPD_UPDATE_TIME_EVT.
6. DISabled HAL_KEY.
After the module has joined the network, when I measure the current consumption on the CC2538EM across the Vdd and USB pins (power source is USB plug), I get 20mA constantly. This shows that it is not even in power-mode 1!
What else can I attempt to get to PM1 and hopefully PM2 ?
And ..
My interrupts stop working at this point too. They will work while the module searches for a network to join, but once joined, they stop working. Why would it do this.
Thanks in advance, any advice would be greatly appreciated!
Regards, DanO.