STM32L052K8U inputs randomly not working after a while
Hi all,
In my project I use several IOs, I2C, SPI, UART, ADC, DAC and most of them work as expected.
However, I have 2 inputs from push buttons (pushing the button would set them to 0 volt), set with pull-ups (not set as EXTI) that sometimes stop working after a while: When I check the voltage I see the level is changing, but when reading these IOs using HAL_GPIO_ReadPin() their state doesn't change anymore until I reset the PCB.
The rest of the software still works fine when it happens.
Never seen this before on ST, and this project was actually migrated from STM32L031 which never showed the issue. I'm having a hard time reproducing the bug, it seems very random so far.
If I called the GPIO Init on a regular basis, would it prevent this issue?
Kind regards
P.S: I use GNU tools for STM32 v13.3.rel1
