Part Number: CC2530
Other Parts Discussed in Thread: Z-STACK
Tool/software: TI C/C++ Compiler
Hi. I have problems with power consumption in sleep mode.
I've enabled sleep mode using POWER_SAVING option. The MCU goes into sleep mode just fine BUT:
1. Just after I download the firmware MCU consumes about 0.2mA until I do a reset. Then it finally sleeps with 0.00 mA power consumption.
Why do I need to reset it?
2. After it has joined the network and when I turn off the parent ZStack recognizes the parent lost and with 10sec delay (default value) tries to rejoin the network. AND during that period MCU consumes 27mA. How come?
When I try to debug and stop at a breakpoint it still consumes 27mA even when it is paused. That means that some MCU circuit is on an consumes energy.
The in the state "parent lost" I try to start debugging without download and follow the program step by step. It starts consuming somewhere in osal_run_system() while executing one of the tasksArr[] items.
Any help is appreciated.