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.

CC2538 Z-Stack Interruptions in Critical section

Other Parts Discussed in Thread: CC2538, Z-STACK

Hello,

 

I´m using CC2538 with Z-Stack Home Automation version 1.2.0 and I’m using interrupts provided by this microcontroller, from GPIOs I am using the pin C4 to generate a 50% dutty cycle of 20ms of period. In parallel of that, when C4 GPIO interrupts happens I start 2 timers, Timer 0A when detects a transaction 0->1 and Timer 0B when detects a transaction 1 -> 0. This process works continuously and works perfectly, until I call the variable osal_nv_write(). When I call this function in some cases the interruptions (GPIO C4 and timers) doesn’t happens, but its only in some circumstances non linear. This is a problem for my because these interruptions were critical for my system and the osal_nv_write must be works in parallel.

Please someone can help me if has the same problem?

Best regards,

Nalves