I fried an focbox by pedaling my ebike @10 kmh and powering up the focbox.
It stuttered and started braking when I applied the throttle. On further inspection the high side mosfet on phase 2 was blown. Long story short gave it to a guy to fix who damaged the pcb gate got shorted to Vin and blew the dvr and I gave up.
Now I bought the VESC 6 from trampa boards.
Is there a general problem powering up the VESC when the motor is spinning, does it have any protection ? Any way to prevent such things in the future. Im rebuilding the whole bike and intend to use an arduino betwen the throttle and vesc. The arduino would sense either the hall pins or the motor phases isolated optocouplers. If it detects the motor spining it would disable the throttle until it was rebooted. Would this be a good idea ?