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.
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.