Hi ZhangJennie !
I'm using POWER_EnterPowerDown() API and it is quite clear what exact SRAM areas should be retain by specifying mask sram_retention_ctrl . 0x7FFF is cover whole SRAM space.
BUT
in UM:
"If CPU retention used in power-down mode, SRAMX_2 (0x1400 6000 to 0x1400 65FF) is
used (total 1.5 KB) by default in power API and this is user configurable within SRAMX_2 and SRAMX_3.
"
"
If CPU retention used in power-down
mode, SRAMX_2 (0x1400 6000 to 0x1400 65FF) is
used (total 1.5 KB) by default in power API and this is
user configurable within SRAMX_2 and SRAMX_3.
"
SRAMX ( 0x1400 0000 - 0x1400 7FFF, size 32KB )
SRAMX_0 - 0x1400 0000 - 0x1400 1FFF
SRAMX_1 - 0x1400 2000 - 0x1400 3FFF
SRAMX_2 - 0x1400 4000 - 0x1400 5FFF
SRAMX_3 - 0x1400 6000 - 0x1400 7FFF, --> 0x1400 6000 to 0x1400 65FF ( CPU retention area )
So really it is ín SRAMX_3 already but can be in X_2 as well ?
Or how I should understand CPU retention area location ?
Regards,
Eugene