Program only working on debug mode fails after reset with STM32WLE5JC
Hi!
I'm working with the STM32WLE5JCC lora IC. Im using it to read sensor data through I2C and a voltage with the ADC. Program works fine in debug mode. When you unplug it from the pc it keeps working. Then, if you reset the board, ADC and I2C return an error.
What changes between debuging and after the reset?
This works using the MSI (48Mhz) and the RTC LSE.
My external clocks are:
TCXO 32MHz and a RTC
if i change those settings to my TCXO and RTC it stops working.
Thank you very much.
