AnsweredAssumed Answered

Problem entering hibernation state on BF592

Question asked by blinkey81 on Aug 25, 2012
Latest reply on Aug 28, 2012 by Prashant

Hi,

I am having problems getting my BF592 EZ-KIT to enter the low power hibernation state.

 

I can get the processor from the full on mode into the active mode and from there I use the following code from the hardware reference manual:

 

void hibernate(void)

{

ADI_SYSCTRL_VALUES hibernate;

hibernate.uwVrCtl=WAKE_EN0 | /* PF8 Wake-Up Enable */

WAKE_EN1 | /* PF0 Wake-Up Enable */

WAKE_EN2 | /* PG12 Wake-Up Enable */

WAKE_EN3 | /* PG1 Wake-Up Enable */

HIBERNATE; /*Powerdown */

bfrom_SysControl(SYSCTRL_WRITE | SYSCTRL_VRCTL | SYSCTRL_EXTVOLTAGE, &hibernate, NULL);

/* Hibernate State: no code executes until wakeup triggers reset */

}

 

but it remains in active mode (I have got a led to blink using the timer interrupt to help identify the current state). Am I missing something obvious here?

 

Thanks,

Sunny

Outcomes