SPRUIW7A October 2020 – February 2022
The EVM supports a low power state referred to as DDR retention. This state allows the processor (or optionally the entire system) to be powered off while the LPDDR4 memory is maintained in self refresh mode. The power state is managed through the PMIC(s). Table 23 shows the steps required to enter the DDR retention state.
PMIC Transition From Active Mode to DDR 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 |
Set GPIO2 & GPIO3 to GPIO mode | 0x32, 0x33 | [7:0] | 0xD | GPIO2_CONF GPIO3_CONF |
Write ‘1’ to GPIO2_OUT | 0x3D | [7:0] | 0x2 | GPIO_OUT_1 |
Write ‘1’ to GPIO2_OUT and GPIO3_OUT | 0x3D | [7:0] | 0x06 | GPIO_OUT_1 |
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_7 on Leo to '1' to enable (I2CID: 0x48) | 0x85 | [7] | 0x80 | FSM_I2C_TRIGGERS |
Set TRIGGER_I2C_7 on Hera to '1' to enable (I2CID: 0x4C) | 0x85 | [7] | 0x80 | FSM_I2C_TRIGGERS |
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) or by issuing commands to the PMIC through I2C.