This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2430 problem in power mode 2

Other Parts Discussed in Thread: CC2430, Z-STACK

Hello, my name is Jesus Sanchez and
I am working with CC2430 Microcontroller ZigBee networking.
I draw on the example of SampleApp sample Zstack 1.4.3-1.2.1 (IAR System) provided by IT, and what I do is create a network (Coordinator - Router).
My purpose is to create the network, which I have no problem, after a command data to the Coordinator and the receipt with the router. So far I have no problem.
The coordinator is connected to the board with LCD, which is powered via USB, and the router is connected to the battery plate, which has a button and an LED.
Once you get the data, the router should enter sleep mode, more specifically in PM2. After receiving the data call to a function where the oscillators set to come in correctly PM2.
Set the Sleep Timer to sleep during 5seg and enable termination. When this command to router andalusia sleep and this goes perfectly mode PM2 since consumption is reduced in the micro approximately 0.9 microamps.
The role of interruption of the SLEEP TIMER default in the program and cancel creating a new role for the interruption SLEEP TIMER, where the only thing I do is disable the interrupt mask of SLEEP TIMER and set the system clock to work with once XOSC 32MHz wake of PM2.
The problem I have is that when you spend 5 seconds micro awakens and enters the interrupt function, but is completely blocked without re-mount the network and without the events that should continue. I get the impression that remains in some infinite loop without doing anything. I guess that I will be saving some data in memory and then retrieve that data but do not save or how to deal with the problem. If you can help I would appreciate that. Thank you very much in advance.
  • There should be no problems with using PM2, provided you are using Rev E silicon and Z-stack 1.4.3.... I suggested testing the verbatim example with an end device, and make sure you are using the correct linker file called f8w2430pm.xcl.
    Use the project linker options to point to this version, which maps xdata accordingly since in the CC2430 half of the RAM disappears in PM2/PM3... if you can't live with this then you have no choice but to use PM0/PM1.