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.

Problem with PM in CC1110 (not from ERRATA notes!)

Hi,

I wrote a function that makes CC1110 go into Power Mode 2 and come out of this "GoToSleep" using the sleep timer. It takes into account all the issues from the errata notes and has been working very well for a few months now.

A few days ago I needed to expand the usage of this function something like this:

for (j = 0;j < 10; j ++)

for (i = 0;i < 10; i ++)

{

  RED_LED = ON;

  GoToSleep(500);

 RED_LED = OFF;

 GoToSleep(500);

}

GoToSleep(10000);

}

As it seems calling the function with very smalls delays in between doesnt work! Is there a minimum delay required between entering PM2?

adding this causes the code to work fine:

for (j = 0;j < 10; j ++)

for (i = 0;i < 10; i ++)

{

  RED_LED = ON;

wait(60);

  GoToSleep(500);

 RED_LED = OFF;

wait(60);

 GoToSleep(500);

}

wait(60);

GoToSleep(10000);

}

does anyone know what can cause this issue? thanks!

  • I do not know which clocks you use when waking up, but the data sheet states that if the low power RCOSC is enabled and the HS XOSC is selected as clock source for the system clock, the time between succeeding PM{1 - 3} modes (i.e. the time in active mode) must be larger than the startup time for the HS XOSC plus the initial calibration time for the low power RCOSC. There are also some timing info in section 12.1.5.3 of the data sheet in that might be of help.