SPRUIW7A October 2020 – February 2022
The EVM supports a low power state referred to as SLEEP. This state allows the processor (or optionally the entire system) to be powered off. The power state is managed through the PMIC(s). Table 4-5 shows the steps required to enter the SLEEP state.
PMIC Transition From Active Mode to SLEEP Mode | ||||
---|---|---|---|---|
Action | Address | Bits | Data | Register/Bit Names |
Unmask MASK_GPIO9_11 on PMIC (I2CID: 0x48) | 0x51 | [5:0] | 0x2F | MASK_GPIO9_11 |
Read and write default values of INT_GPIO to clear the WKUP1 interrupt | 0x63 | [7:0] | Read value | INT_GPIO |
Reconfigure GPIO4 of Leo to LP_WKUP1 | 0x34 | [7:0] | 0xC8 | GPIO4_CONFIG |
Set GPIO4_RISE_MASK to ‘0’ to enable CAN_WKUP | 0x50 | [3] | 0x0 | GPIO4_RISE_MASK |
Read and write default values of GPIO_INT to clear the LP_WKUP1 interrupt | 0x64 | [7:0] | Read value | GPIO_INT |
Set nSLEEP2b and nSLEEP1b to '00' to go to S2R state | 0x86 | [1:0] | 0x0 | NSLEEP2b, NSLEEP1b |
Read and write to clear the ENABLE_INT interrupt | 0x65 | [1] | 0x1 | ENABLE_INT |
The EVM can be woke from the low power state either by pressing the CAN_WAKEn button (SW12).