cancel
Showing results for 
Search instead for 
Did you mean: 

Hi everyone! I'm using an STM32L071CBTx and I'm trying to configure ADC with MSI clock.

ALott.1
Associate

I'm configuring HSI16 clock and I don't have any problem but when I switch to MSI clock at 262.144KHz, the ADC is not working.

Datasheet describes that it's possible to configure the ADC from HSI clock or setting the CKMODE (0x01-0x02-0x03) to make it work in CPLK.

I set CKMODE to 0x03, LFMEN to 0x01 for working under the 3.5MHz and I set CHSEL0 for configure channel0 (PA0-GPIO).

Do you have any suggestions for working ADC with MSI clock?

Thanks a lot!

Ale

1 REPLY 1

"Not working" is not a useful description of the problem. What exactly are the symptoms and how are they different from the expectations? What happens if you use a different MSI frequency?

JW