You are here

Vesc 6.5 - Issue with Canbus Status Command

1 post / 0 new
Angelo99
Offline
Last seen: 2 days 1 hour ago
VESC Free
Joined: 2024-11-20 14:15
Posts: 1
Vesc 6.5 - Issue with Canbus Status Command

Hi,

I am doing some tests with a Vesc compatible board. When I connect with the Vesc tool via usb I have no issues with moving the motor or reading writing parameters (I flashed the Vesc 6.5 firmware)

However I am having some issues with the frequency of the status command. The board is ignoring the setting I select in the Vesc Tool. Even if I set a low frequency (5Hz) using the Vesc Tool, the board is publishing messages on the bus way too fast (<5ms) and even if I set Status 1 as the preferred feedback the status command only contains random numbers not related to the actual RPM of the motor as it should (I either get FF FF FF FF , 00 00 00 00, 00 00 00 5A, 00 00 00 4B)

I am also not able to turn off the Status Command from the Vesc Tool by deselecting all the possible Status X options

I have no problems changing the other canbus related parameters using the Vesc Tool like VESC ID and baudrate and the board seem to respond correctly to the commands I send (I can send command 3 correctly to change the RPM of the motor)

The other setting I changed are:

- VESC ID: 1
- Timeout: 0ms
- CAN baud rate: 250k
- CAN MODE: VESC
- Can Status Rate 1: 5Hz
- Can Message Rate 1: Status 1
- Can Status Rate 2: 5Hz
- Can Message Rate 2: Nothing

My main issues with this is both that I have no information about the current RPM of the motor and also that the feedback message is oversaturating the bus and the embedded pc that should manage the board is not able to keep up with all the messages it is receiving

Does anyone know what the cause of the issue could be?

Thank you very much