Functional Description
In GR5526 SoC, the core of the BOD is the use of two voltage comparators, as 图 14 shows, one for interrupts and one for resets. When the VBATL voltage is lower than the VREF voltage, a falling edge interrupt or reset will be generated. See “Comparator” for more details. The BOD Reset is enabled by default. The BOD Interrupt is optional and the Interrupt threshold level is programmable, so that developers need to configure the BOD Interrupt through the API integrated in the SDK. Developers can also configure the BOD through specific registers.
In sleep mode, BOD Interrupt is not available, while BOD Reset is available in any power mode. See 表 32 for more details.
The BOD Reset can be enabled by configuring BOD_REG1.BOD_EN_LV. The Brown-Out Reset threshold (VBODRS) is fixed, and its parameters are listed in 表 49.
The BOD Interrupt can be enabled by configuring BOD_REG1.BOD2_EN_LV. The interrupt threshold (VBODIT) is a variable to be configured through BOD_REG1.BOD_LVL_CTRL_LV_2_0. A hysteresis voltage (VHYST) of approximately 50 mV prevents voltage fluctuations from causing interrupts to be continuously triggered. Developers also need to configure appropriate interrupt threshold to prevent interrupts from being triggered frequently.
Note that the BOD Interrupt and Reset threshold will not change in different PMU modes.
The BOD Interrupt is also generated when the supply voltage is already below the threshold at the time the BOD Interrupt is enabled, or if the threshold is reconfigured to a higher value than the current voltage, as shown in 图 15. At T = 0, VBATL has already fallen below the VBODIT (for example, when the start-up voltage is stable and VBATL is below the interruption threshold), then BOD_ASSERT_IRQn is generated. The BOD_ASSERT_IRQn will also be generated when the threshold is reset from VBODIT to VBODIT2 above VBATL..