cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G0B1RC LSCO output on PA2 even the LSCOEN=0

GEORGE SANDLER
Associate III

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

1 REPLY 1

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