AnsweredAssumed Answered

BOD Unexpected Reset Issue

Question asked by Chuan Tian on Jun 27, 2018
Latest reply on Jul 4, 2018 by Victor Jimenez

Hi, we are currently using LPC54114 BOD feature and found a weird issue.

 

If I enter deep sleep mode with BOD reset on, interrupt off (BOD control reg is 0x04).

#define POWER_UP_RAM_IN_DEEP_SLEEP (SYSCON_PDRUNCFG_PD_SRAM0 | SYSCON_PDRUNCFG_PD_SRAM1 \

                                    | SYSCON_PDRUNCFG_PD_SRAM2 | SYSCON_PDRUNCFG_PD_SRAMX \

                                    | SYSCON_PDRUNCFG_PD_BOD_RST )

Chip_POWER_EnterPowerMode(POWER_DEEP_SLEEP, POWER_UP_RAM_IN_DEEP_SLEEP);

 

However, when I use PINT to wake up from deep sleep, the BOD would trigger an unexpected reset when the MCU wakes up. However, if I enter deep sleep with BOD_INTR powered on as well as follows.

 

#define POWER_UP_RAM_IN_DEEP_SLEEP (SYSCON_PDRUNCFG_PD_SRAM0 | SYSCON_PDRUNCFG_PD_SRAM1 \

                                    | SYSCON_PDRUNCFG_PD_SRAM2 | SYSCON_PDRUNCFG_PD_SRAMX \

                                    | SYSCON_PDRUNCFG_PD_BOD_RST | SYSCON_PDRUNCFG_PD_BOD_INTR)

Chip_POWER_EnterPowerMode(POWER_DEEP_SLEEP, POWER_UP_RAM_IN_DEEP_SLEEP);

 

No reset would be triggered. I wonder why since I didn't enable BOD interrupt, I have to power on both BOD_RESET and BOD_INTR?

Outcomes