2025-03-20 11:39 AM
Started using PA2 pin as a ADC input and found that the input voltage get corrupted with LSCO output. Happens not always, but very often. Powering board down and up sometimes fixes the problem, sometimes not.
The LSCO output enable control bit LSCOEN is 0. Calling HAL_RCCEx_DisableLSCO() doesn't help.
Thanks,
George
2025-03-21 3:04 AM - edited 2025-03-21 3:15 AM
Maybe consequence of the backup-domain brownout erratum.
> The LSCO output enable control bit LSCOEN is 0.
Have you checked that by reading out RCC_BDCR when the error occurs?
JW