auralix / alx-202-af-10-1-auralix-c-lib

GNU General Public License v3.0
0 stars 0 forks source link

alxAdc_McuStm32 - STM32L4 - Where is ADC clock source selected? #47

Closed tomazvidovic closed 1 year ago

tomazvidovic commented 1 year ago

Where in code ADC clock is set for STM32L4 ADC? I didn't find it not in alxClk not in alxAdc, is maybe OK by default? but datasheet says otherwise..

We want to achieve this image

By default it seems is this: image

naceroter commented 1 year ago

image

ADCSEL is set to 00 by default and ADC works.