5.4.11 System Voltage Monitoring
The power state-machine of the TPS659037 device is controlled by comparators monitoring the voltage on the VCC_SENSE and VCC1 pins. For electrical parameters see Section 4.14.
POR: When the supply at the VCC1 pin is below the POR threshold, the TPS659037 device is in the NO SUPPLY state. All functionality, including RTC, is off. When the voltage in VCC1 rises above the POR threshold, the device enters from the NO SUPPLY to the BACKUP state.
VSYS_LO: When the voltage on VCC1 pin rises above VSYS_LO, the TPS659037 device enters from the BACKUP state to the OFF state. When the device is in the ACTIVE, SLEEP, or OFF state and the voltage on VCC1 decreases below VSYS_LO, the device enters BACKUP mode. When the device transitions from the ACTIVE state to the BACKUP state, all active SMPS and LDO regulators, except LDOVRTC, are disabled simultaneously. When operating with a 16.384-MHz crystal, the regulators are immediately disabled after VCC1 becomes less than VSYS_LO. When operating without a crystal, a 180-µs deglitch time occurs after VCC1 becomes less than VSYS_LO and before the regulators are disabled. The VSYS_LO level is OTP programmable.
NOTE
For silicon revision 1.3 or earlier, when operating without a crystal, transitioning from the ACTIVE state to the BACKUP state using VSYS_LO while the outputs are active must always be followed by a POR event to make sure the device is reset properly. See Section 5.3.10 to identify the silicon version in the device.
VSYS_MON: During power up, the VSYS_HI OTP value is used as a threshold for the VSYS_MON comparator which is gating the PMIC start-up (as a threshold for transition from OFF to ACTIVE state). The VSYS_MON comparator monitors the VCC_SENSE pin. After power up, software can configure the comparator threshold in the VSYS_MON register.
Figure 5-28 shows a block diagram of the system comparators.
To use comparators in the system:
- The VSYS_LO and VSYS_HI thresholds are defined in the OTP. Software cannot change these levels.
- After start-up, the VSYS_MON comparator is automatically disabled. Software can select a new threshold level using the VSYS_MON register and enable the comparator.
- In order for the same coding on the rising and falling edge, the VSYS_MON comparator does not include hysteresis and therefore can generate multiple interrupts when the voltage level is at the threshold level. New interrupt generation has a 125-μs debounce time which allows the software to mask the interrupt and update the threshold level or disable the comparator before receiving a new interrupt.
Figure 5-29 shows additional details on the VSYS_MON comparator. When the VSYS_MON comparator is enabled, and the internal buffer is bypassed, input impedance at the VCC_SENSE pin is 500 kΩ (typical). When the comparators are disabled, the VCC_SENSE pin is at high impedance mode. If GPADC is enabled to measure channel 6 or channel 7, 40 kΩ is added in parallel to the corresponding comparator. See Table 5-3 for the GPADC input range.
To enable system voltage sensing above 5.25 V, an external resistive divider can be used. Internal buffers are enabled by setting OTP bit HIGH_VCC_SENSE = 1 to provide high impedance for the external resistive dividers. The maximum input level for the internal buffer is VCC1 – 1 V.