I recently bought a VESC6. Out of the box it has been flashing the red led 3x. To find out what was going on I went to the terminal mode and typed "faults"
The VESC returns two lines with regard to faults (it returns other lines too which I don't think are pertinent to the issue)
One says: FAULT_CODE_DRV
the other says: DRV_8301_FAULTS: No DRV8301 faults
It appears that this FAULT_CODE_DRV is keeping me from fully configuring the VESC. What does this code mean and how do I clear it?
I am getting the same issue with a VESC 4.xx. All it says is
Fault : FAULT_CODE_DRV
Current : -0.5
Current filtered : 0.1
Voltage : 25.20
Duty : 0.011
RPM : 0.3
Tacho : 128292
Cycles running : 2
TIM duty : 554
TIM val samp : 277
TIM current samp : 24859
TIM top : 49165
Comm step : 4
Temperature : 22.45
I re-did the firmware in case of a misconfiguration and I am able to use the arrow keys to power the motor for a moment, and then I will get faults codes and cannot spin up the motor.
Problem Solved: I flashed the VESC6 using the ST link V2 tool. (BTW I had do connect ALL the SWD connections, including reset and VCC, to get it to work). Once the part was flashed with the boot loader and code, I attached it to VESC tool and loaded the most recent code. Fault condition was removed and, after some twiddling of parameters, I was able to get it to do its self discovery and run in FOC mode.