ZHCUB79 july 2023 AM62A3 , AM62A3-Q1 , AM62A7 , AM62A7-Q1 , TPS6593-Q1
由 NSLEEP2 位或引脚定义的 D 和 A 触发器会触发 any2_s2r 序列,以支持处理器上的 IO+DDR 低功耗模式。此序列会禁用所有电源轨,但为 1.8V IO 域和 DDR 电源轨供电的 Buck4 和 Buck5 除外。
以下 PMIC PFSM 指令会在电源序列的开始和结束时自动执行:
//Instructions executed at the beginning of the sequence:
//mask NSLEEP2 pin and NSLEEP2B bit
REG_WRITE_MASK_IMM ADDR=0x07D DATA=0x80 MASK=0x7F
// Instructions executed at the end of the sequence:
// unmask NSLEEP2 pin and NSLEEP2B bit
REG_WRITE_MASK_IMM ADDR=0x07D DATA=0x00 MASK=0x7F
// set SPMI_LPM_EN
REG_WRITE_MASK_IMM ADDR=0x82 DATA=0x10 MASK=0xEF
// Clear AMUXOUT_EN, CLKMON_EN, set LPM_EN
REG_WRITE_MASK_IMM ADDR=0x81 DATA=0x04 MASK=0xEB
REG_WRITE_MASK_IMM ADDR=0x081 DATA=0x04 MASK=0xE3