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.

CLKCONSTA doens't update - CC2530

Hi, 

I am stuck on a issue related with CLKCONSTA.

If I run the examples that you provided with mesh stack, every time that CLKCONCMD is changed the CLKCONSTA is updated. However, in the light switch app this register isn't updated as well as the program that I developed. The only thing that I am doing is to change  SLEEPCMD and CLKCONCMD after enable all interrupts: (example)

EA = 1;

SLEEPCMD = 0x04;
CLKCONCMD = 0xC9;
NOP();
while(!(CLKCONSTA & CLKCONCMD));

After run this code, I reach the conclusion that CLKCONSTA doesn't change is value as well as SLEEPSTA. 

I am forgetting to do something?

Thanks for your attention,

Joao Lucas