You are here

Requesting VESC fault codes via UART

2 posts / 0 new
Last post
spork's picture
Last seen: 1 year 5 months ago
Joined: 2018-11-26 06:55
Posts: 29
Requesting VESC fault codes via UART

I'm currently using the UART to continuously show me my speed, battery remaining, amps drawn...  I do this via bluetooth and display it on an LCD display on my remote.  I also log the values that are returned from a COMM_GET_VALUES command.  My question is this... How can I capture fault codes?  I see there's an "mc_fault_code fault_code;" in the mc_values struct.  Does that mean it will return the most recent fault code?  What if there are multiple faults?  Do I have to clear a fault in order to see the next one in the list?

Thanks very much for any tips.

Last seen: 3 months 2 weeks ago
Joined: 2021-09-17 17:19
Posts: 5


I have exactly the same question.

Can someone explain ?