You are here

VESC custom firmware custom UART message

1 post / 0 new
steveyplst
Offline
Last seen: 4 weeks 13 hours ago
VESC Free
Joined: 2020-07-27 04:14
Posts: 1
VESC custom firmware custom UART message

 

Hello everyone, currently I'm trying to build a custom firmware that the goal is to achieve a custom UART message exchange function.

However, I am abit new to the ChibiOS and the VESC firmware, for now I tried few UART functions, e.g.:

sdPut(&SD2,'A');

sdWrite(&SD2, "hello", 8);

to send custom message from VESC to external devices, but no luck.  

The Eclipse compiler sometimes shows error:  note: in expansion of macro 'sdPut'

Any suggestions that how to properly initialize the RX TX port on the VESC ?

I have configured the baudrate and hookup the RXTX port to a external UART Assistant monitor hardware software.

 

Thanks!