18.6.3.5 Power Domain Controller

The Power Domain Controller provides several ways of how power domains are handled while the device is in standby, hibernate or backup mode:

  • Standby mode:

    When entering standby mode, the PDSYSRAM power domain can be either fully or partially retained or be fully off according to STDBYCFG.RAMCFG bits. When running sleepwalking task, PDSYSRAM power domain is active whatever the STDBYCFG.RAMCFG bits are.

  • Hibernate mode:

    When entering hibernate mode, the PDCORESW power domain is off. As in standby mode, the PDSYSRAM power domain can be selectively turned ON or OFF by using the HIBCFG.RAMCFG bits. PDBKUPRAM power domain can be either fully or partially retained or be fully off according to HIBCFG.BRAMCFG bits. If partial option is selected, only the lowest 4KBytes section is retained

  • Backup mode:

    When entering backup mode, the PDCORESW and PDSYSRAM power domains are off. PDBACKUP is still active. As in hibernate mode, PDBKUPRAM power domain can be either fully or partially retained or be fully off according to BKUPCFG.BRAMCFG bits.

  • OFF mode:

    When entering OFF mode, all the power domains are off.

The table below illustrates the PDRAM state:

Table 18-3. Sleep Mode versus PDSYSRAM Power Domain State Overview
Power Domain State
Sleep ModeSTDBYCFG.RAMCFGHIBCFG.RAMCFGPDCORESWPDBACKUPPDSYSRAM
ActiveN/AN/Aactiveactiveactive
IdleN/AN/Aactiveactiveactive
Standby with sleepwalkingN/AN/Aactiveactiveactive
Standby - case 1RETN/Aactiveactiveretained
Standby - case 2PARTIALN/Aactiveactive32K retained
Standby - case 3OFFN/Aactiveactiveoff
Hibernate - case 1N/AREToffactiveretained
Hibernate - case 2N/APARTIALoffactive32K retained
Hibernate - case 3N/AOFFoffactiveoff
BackupN/AN/Aoffactiveoff
OffN/AN/Aoffoffoff

The table below illustrates the PDBKUPRAM state:

Table 18-4. Sleep Mode versus PDBKUPRAM Power Domain State Overview
Power Domain State
Sleep ModeHIBCFG.BRAMCFGBKUPCFG.BRAMCFGPDCORESWPDBACKUPPDBKUPRAM
ActiveN/AN/Aactiveactiveactive
IdleN/AN/Aactiveactiveactive
StandbyN/AN/Aactiveactiveretained
Hibernate - case 1RETN/Aoffactiveretained
Hibernate - case 2PARTIALN/Aoffactive4KB retained
Hibernate - case 3OFFN/Aoffactiveoff
BackupN/AREToffactiveretained
BackupN/APARTIALoffactive4KB retained
BackupN/AOFFoffactiveoff
OffN/AN/Aoffoffoff