i bulid ESC circuit based on TLP250 gate driver and IRF3205 MOSFET ,My motor works with 5V and consume about between 6 A and 8 A. the ESC circuit works well over month with software PWM frequency = 350 hz .
After changing to hardware PWM frequency =15000 hz. when i was working , suddenly the flyback diode get on fire and make smoke then get roasted .
After some tests I found what the cause of this is the high frequency of PWM , this what cause the high temperature and then roasted the diode.What happen ? do I miscalculate the flyback diode (which is 1n4001) ?