SWCU185G January 2018 – June 2024 CC1312PSIP , CC1312R , CC1352P , CC1352R , CC2642R , CC2642R-Q1 , CC2652P , CC2652PSIP , CC2652R , CC2652RB , CC2652RSIP , CC2662R-Q1
Figure 3-1 shows that the Sensor Controller implements an 8-bit event interface and an 8-bit vectorized wake-up event interface.
The AUX_SYSIF:VECCFGn registers map each of the vector inputs to a selectable wake-up event (see GUID-20220214-SS0T-PTKV-DDP7-5DTLGTQVGDF4.html). Table 20-17 lists the possible wake-up events.
Event Mapping | Value | Description |
---|---|---|
NONE | 0 | Disable vector input |
PROG_WU0 | 1 | AUX_SYSIF:WUFLAGS.PROG_WU0 |
PROG_WU1 | 2 | AUX_SYSIF:WUFLAGS.PROG_WU1 |
PROG_WU2 | 3 | AUX_SYSIF:WUFLAGS.PROG_WU2 |
PROG_WU3 | 4 | AUX_SYSIF:WUFLAGS.PROG_WU3 |
SW_WU0 | 5 | AUX_SYSIF:WUFLAGS.SW_WU0 |
SW_WU1 | 6 | AUX_SYSIF:WUFLAGS.SW_WU1 |
SW_WU2 | 7 | AUX_SYSIF:WUFLAGS.SW_WU2 |
SW_WU3 | 8 | AUX_SYSIF:WUFLAGS.SW_WU3 |
AON_RTC_CH2_DLY | 9 | AUX_EVCTL:EVSTAT2.AON_RTC_CH2_DLY |
The Sensor Controller executes the sleep instruction when the wake-up event interface is properly configured. The sleep instruction halts instruction execution, freezes the internal state, and clock-gates the Sensor Controller until one or more wake-up inputs are set. Instruction execution will then resume from the vector address corresponding to the wake-up input of highest priority. Highest priority is assigned to vector 0 and priority decreases linearly down to vector input 7, as listed in Table 20-18.
Wake-Up Input | Handler Address | Priority |
---|---|---|
0 | 0x0 | Highest |
1 | 0x2 | |
2 | 0x4 | |
3 | 0x6 | |
4 | 0x8 | |
5 | 0xA | |
6 | 0xC | |
7 | 0xE | Lowest |
If one or more wake-up inputs are already set, the sleep instruction will immediately cause the Sensor Controller to execute from the vector address of the highest priority.
Comparing the wake-up events listed in Table 20-17 with Figure 20-9 shows that all the possible wake-up events except AON_RTC_CH2_DLY can also drive the AUX domain wake-up event. The AUX domain wake-up event is driven by:
The System CPU uses these events to perform handshaking with the Sensor Controller.
Hence, the Sensor Controller will typically:
The requested system resources during sleep instruction are minimal, which lowers the overall system power consumption. Upon AUX wakeup, the system power controller externally forces Low-Power mode or Active AUX operational mode. The Sensor Controller must request the same operational mode before it clears the wake-up flag. For further details on AUX operational mode switching, see Section 20.2.