Cannot make ADC example working with RTC when using LSE crystal source
Hello guys,
I have adapted this example from repository to work with a STM32L071CB:
STM32Cube\Repository\STM32Cube_FW_L0_V1.12.2\Projects\NUCLEO-L073RZ\Examples_LL\ADC\ADC_SingleConversion_TriggerSW_DMA
It works fine until I want to add RTC and select LSE as RTC clock source.
If I select LSI as clock source for RTC, it works fine.
I have a loop showing the converted data every second, but when selected LSE as clock source for RTC, it does not show any results.
I think it makes not sense to use LSI as clock source for RTC, so I am stuck in this point.
Any idea on what might be the problem?