2021-07-21 07:55 AM
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.
Solved! Go to Solution.
2021-07-22 12:18 AM
Solved: The problem was with the stop mode.
After disabling it, it worked fine. To use it with stop mode, you must call the initialization functions.
Hope it helps :)
2021-07-22 12:18 AM
Solved: The problem was with the stop mode.
After disabling it, it worked fine. To use it with stop mode, you must call the initialization functions.
Hope it helps :)