2023-04-26 04:39 AM
This is very weird problem as I have never experienced this kind of problem before.
The board is hooked up to several NPN type limit sensor and connected PE0, PE1 etc.
Every pins are defined as EXTI with Rising/Falling edge trigger and has been working good until I figured out that PE1 pulled by the limit sensor causes resetting the MCU.
I tried to add breakpoint at the beginning of IQR handler but it resets even before triggering an ISR.
Anyone knows about this issue?
I am using up to date cubeMX 6.8.0.
2023-05-03 07:02 AM
The reason I said the problem is at PE1 LOW because it was normally HIGH and program shuts down when PE1 becomes HIGH from LOW state.
I will try to Jan's idea but I need to modify the PCB.