This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSPM0G3507: Disable Power during Sleep

Part Number: MSPM0G3507

Hi

If I disable some peripheral during sleep using the API, as example:

   DL_OPA_disablePower(OPA0_INST);
   DL_OPA_disablePower(OPA1_INST);
   DL_DAC12_disablePower(DAC0);
Do I need to reinitialize the hardware registers?
Thanks
Best regards
Dominik Wuest
 
  • Hi Dominik,

    No you do not need to re-set these register values when you reset the PWREN bit. In general peripherals should retain their register values if you power them down then back up.

    However, certain PD1 peripherals will not retain their register settings if you drop into stop or standby mode. 

    Please also be aware that you need to wait for 4 ULPCLK cycles after setting PWREN again before you modify peripheral registers:

    Best Regards,
    Brandon Fisher