JAJSEF7G December 2014 – February 2019 TPS659037
PRODUCTION DATA.
Table 5-6 lists the TPS659037 device interrupts.
These interrupts are split into four register groups (INT1, INT2, INT3, INT4) and each group has three associated control registers:
The INT4 register group has two additional registers, INT4_EDGE_DETECT1 and
INT4_EDGE_DETECT2, to independently configure rising and falling edge detection.
All interrupts are logically combined on a single output line INT (default active low). This line is used as an external interrupt line to warn the host processor of any interrupt event that has occurred within the TPS659037 device. The host processor has to read the interrupt status registers (INTx_STATUS) through the control interface (I2C or SPI) to identify the interrupt sources. Any interrupt source can be masked by programming the corresponding mask register (INTx_MASK). When an interrupt is masked, its associated event detection mechanism is disabled. Therefore the corresponding STATUS bit is not updated and the INT line is not triggered if the masked event occurs. Any event happening while its corresponding interrupt is masked is lost. If an interrupt is masked after it has been triggered (event has occurred and has not yet been cleared), then the STATUS bit reflects the event until it is cleared and it does not trigger again if a new event occurs (because it is now masked).
Because some interrupts are sources of ON requests (see Table 5-6), source masking can be used to mask a specific device switch-on event. Because an active interrupt line INT is treated as an ON request, any interrupt not masked must be cleared to allow the execution of a SLEEP sequence of the TPS659037 device when requested.
The INT line polarity and interrupts clearing method can be configured using the INT_CTRL register.
An INT line event can be provided to the host in either SLEEP or ACTIVE mode, depending on the setting of the OSC_THERM_CTRL.INT_MASK_IN_SLEEP bit.
When a new interrupt occurs while the interrupt line INT is still active (not all interrupts have been cleared), then:
To clear the interrupt line, all status registers must be cleared. The clearing of all status registers is achieved by using a clear-on-read or a clear-on-write method. The clearing method is selectable though the INT_CTRL.INT_CLEAR bit. When set, the clearing method applies to all bits for all interrupts.
INTERRUPT | ASSOCIATED EVENT | EDGES DETECTION | ON REQUEST | REGISTER GROUP | REGISTER BIT | DESCRIPTION |
---|---|---|---|---|---|---|
VSYS_MON | Internal event | Rising and falling | Never | INT1 | 6 | System voltage monitoring interrupt: Triggered when system voltage has crossed the configured threshold in VSYS_MON register. |
HOTDIE | Internal event | Rising and falling | Never | 5 | Hot-die temperature interrupt: The embedded thermal monitoring module has detected a die temperature above the hot-die detection threshold. Interrupt is generated in ACTIVE and SLEEP state, not in OFF state. | |
PWRDOWN | PWRDOWN (pin) | Rising and falling | Never | 4 | Power-down interrupt: Triggered when the event is detected on the PWRDOWN pin. | |
RPWRON | RPWRON (pin) | Falling | Always
(INT mask don't care) |
3 | Remote power-on interrupt: Triggered when a signal change is detected. Interrupt is generated in ACTIVE and SLEEP state, not in OFF state. | |
LONG_PRESS_KEY | PWRON (pin) | Falling | Never | 2 | Power-on long key-press interrupt. Triggered when PWRON is low during more than the long-press delay LONG_PRESS_KEY.LPK_TIME. | |
PWRON | PWRON (pin) | Falling | Always
(INT mask don't care) |
1 | Power-on interrupt: Triggered when PWRON button is pressed (low) while the TPS659037 device is on. Interrupt is generated in ACTIVE and SLEEP state, not in OFF state. | |
SHORT | Internal event | Rising | Yes
(if INT not masked) |
INT2 | 6 | Short interrupt: Triggered when at least one of the power resources (SMPS or LDO) has its output shorted. |
RESET_IN | RESET_IN (pin) | Rising | Never | 4 | RESET_IN interrupt: Triggered when event is detected on RESET_IN pin. | |
WDT | Internal event | Rising | Never | 2 | Watchdog time-out interrupt: Triggered when watchdog time-out has expired. | |
RTC_TIMER | Internal event | Rising | Yes
(if INT not masked) |
1 | Real-time clock timer interrupt: Triggered at programmed regular period of time (every second or minute). Running in ACTIVE, OFF, and SLEEP state, default inactive. | |
RTC_ALARM | Internal event | Rising | Yes
(if INT not masked) |
0 | Real-time clock alarm interrupt: Triggered at programmed determinate date and time. | |
VBUS | VBUS (pin) | Rising and falling | Yes
(if INT not masked) |
INT3 | 7 | VBUS wake-up comparator interrupt. Active in OFF state. Triggered when VBUS present. |
GPADC_EOC_SW | Internal event | N/A | Yes
(if INT not masked) |
2 | GPADC software end of conversion interrupt: Triggered when conversion result is available. | |
GPADC_AUTO_1 | Internal event | N/A | Yes
(if INT not masked) |
1 | GPADC automatic periodic conversion 1: Triggered when result of conversion is either above or below (depending on configuration) reference threshold GPADC_AUTO_CONV1_LSB and GPADC_AUTO_CONV1_MSB. | |
GPADC_AUTO_0 | Internal event | N/A | Yes
(if INT not masked) |
0 | GPADC automatic periodic conversion 0: Triggered when result of conversion is either above or below (depending on configuration) reference threshold GPADC_AUTO_CONV0_LSB and GPADC_AUTO_CONV0_MSB. | |
GPIO_7 | GPIO_7 (pin) | Rising and/or falling | Yes
(if INT not masked) |
INT4 | 7 | GPIO_7 rising- or falling-edge detection interrupt |
GPIO_6 | GPIO_6 (pin) | Rising and/or falling | Yes
(if INT not masked) |
6 | GPIO_6 rising- or falling-edge detection interrupt | |
GPIO_5 | GPIO_5 (pin) | Rising and/or falling | Yes
(if INT not masked) |
5 | GPIO_5 rising- or falling-edge detection interrupt | |
GPIO_4 | GPIO_4 (pin) | Rising and/or falling | Yes
(if INT not masked) |
4 | GPIO_4 rising- or falling-edge detection interrupt | |
GPIO_3 | GPIO_3 (pin) | Rising and/or falling | Yes
(if INT not masked) |
3 | GPIO_3 rising- or falling-edge detection interrupt | |
GPIO_2 | GPIO_2 (pin) | Rising and/or falling | Yes
(if INT not masked) |
2 | GPIO_2 rising- or falling-edge detection interrupt | |
GPIO_1 | GPIO_1 (pin) | Rising and/or falling | Yes
(if INT not masked) |
1 | GPIO_1 rising- or falling-edge detection interrupt | |
GPIO_0 | GPIO_0 (pin) | Rising and/or falling | Yes
(if INT not masked) |
0 | GPIO_0 rising- or falling-edge detection interrupt |