You are here

RPi 5 and VESC over UART

1 post / 0 new
XAQ
Offline
Last seen: 1 day 21 hours ago
VESC Free
Joined: 2025-08-24 01:29
Posts: 3
RPi 5 and VESC over UART

Im sorry if this is the wrong spot in the forum but im at my wits end;)  I'm new to the form and I thank you in advance for any help you could give me.

Basically I have a Raspberry Pi connected to a flipsky FSESC6.7 VESC controller (firmware 5.2). This is my second actual controller because I also had the same issue with the maker X GO FOC D4Vs controller (Firmware 6.0.3).

I'm trying to get the Raspberry Pi and the VESC controller to talk with UART over the TX/RX Gpio pins. 

I have written loopback scripts to confirm that the Raspberry Pi is communicating with itself successfully over the GPIO.

I have sent pyVESC requests to the VESC and gotten no response.  I have set up general listener scripts to listen for ANY serial traffic and BOTH controllers are utterly silent.

I know the pins and wires are correct.  The VESC is set to UART and the Baudrate is the default 115200.  I (Think) I have all but ruled out anything on the RPi 5 side.

 Am I missing some setting in the VESC to get it to start sending UART data?

Any help would be great.

(EDIT TO MY OWN POST) 

So last night I tried to use the USB cable from the USB A on the RPi 5 and the VESC micro USB and guess what...?  It works. SMH.

So now my question is - does anyone know how the get the TX/RX pins to handle UART correctly?