You are here

PPM+UART: Priority to UART on HW6?

2 posts / 0 new
Last post
Filcas
Offline
Last seen: 1 month 2 weeks ago
VESC Free
Joined: 2019-06-03 21:16
Posts: 17
PPM+UART: Priority to UART on HW6?

Hello guys,

This might be straightforward but it seems we can't figure this out on VESC 6.

We have a custom app that commands the VESC through UART, but we need to switch between PPM and UART.
On VESC 4, we can get PPM+UART and we can drive the motors with both inputs (no need to change APP), but for VESC 6, if PPM+UART is selected, PPM works well but UART just jitters the motors and they don't spin. 

Just as test, we changed ADC+UART, and UART commands go through on VESC6. 

Any inputs you guys can give to us? We manage to do "change APP" with arduino, but we would like to know if this PPM+UART can drive motors with both inputs without changing APP, or if PPM=0 will stop UART from moving the motors everytime.

Let  us know. Thank you!

mark99
mark99's picture
Offline
Last seen: 3 weeks 3 days ago
VESC Free
Joined: 2021-07-04 12:59
Posts: 2

hi!
i ran into the same problem on vesc6 and fw 5.2 with the ADC and UART scheme.
the uart values are apparently overwritten by the adc immediately after they were set and it turns out that the uart does not work