STM32 GPIO state High After Earsing Microcontroller
Hello everyone,
I am using Stm32 controller for motor control and heating control. Universal motor is connected to TRIAC and TRIAC connected to MOC2023. LED of opto coupler is control by GPIO. Now problem is after erasing code from Flash memory , GPIO is high even though i have pull down resistor. At that moment , motor is still running without code. What could be Approaches that doesn't depended on Microcontroller ?
Thank you