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:
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?