SPRUIW7A October 2020 – February 2022
The EVM supports low power state referred to as GPIO Retention mode. This state allows the CANIO domain of the processor to remain on/active while the rest of the system is powered off. The power state is managed through the PMIC(s). Table 4-7 shows the steps required to enter the GPIO Retention state.
PMIC Transition From Active Mode to GPIO Retention 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 TRIGGER_I2C_6 on Leo to '1' to enable (I2CID: 0x48) | 0x85 | [6] | 0x40 | FSM_I2C_TRIGGERS |
Set TRIGGER_I2C_6 on Hera to '1' to enable (I2CID: 0x4C) | 0x85 | [6] | 0x40 | FSM_I2C_TRIGGERS |
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 configuring the SoC's IO chain to wake from either CAN message (MCAN0 on connector J1) or GPIO (GPIO0_12 on button SW1).