Hi !
Do I understand right and setting in this register is not vanish during PowerDown mode ?
__IO uint32_t PDRUNCFG0; /**< Controls the power to various analog blocks [Reset by: PoR, Pin Reset, Brown Out
Detectors Reset, Deep Power Down Reset, Software Reset], offset: 0xB8 */
But in UM, table 292 not all bits are documented or documented with different meaning :
For example in adc temp example :
/* Disable LDOGPADC power down */
POWER_DisablePD(kPDRUNCFG_PD_LDOGPADC); // kPDRUNCFG_PD_LDOGPADC = (1UL << 19),
/* Disable Temperature sensor power down. */
POWER_DisablePD(kPDRUNCFG_PD_TEMPSENS); // kPDRUNCFG_PD_TEMPSENS = (1UL << 14),
bit 14 is not documented
// It may be should wakeup adc controller but it is not used ?
kPDRUNCFG_PD_GPADC = (1UL << 15),
For my undestanding, all of those bits e.g. 19,14,15 need to be set to 1 one time and after that I can use TempSensor
like in example lpadc_temperature_measurement and reinit ADC every time after PowerDown mode
but PDRUNCFG0 settings need to be done once ?
Is this so ?
Regards,
Eugene
Hi, Eugene,
The bits 19,14,15 are NOT documented in the UM11126.pdf, I will notify AE team of the issue so that they can be written in next version.
Thank you for poi bting the issue.
BR
XiangJun Rong