![bldc tool download 2017 bldc tool download 2017](https://www.researchgate.net/publication/304887632/figure/tbl1/AS:668314271494167@1536349947794/BLDC-Motor-Specifications.png)
These files can assemble the payload for all the commands that the VESC supports. They are plain C files and don’t have any hardware dependencies. The important files in the project, which you can use for your implementation, are the following.
![bldc tool download 2017 bldc tool download 2017](http://vedder.se/wp-content/uploads/2015/01/BLDC_Tool_motor_motor.png)
Therefore I have abstracted out the higher layer of the communication into separate files so that it can be reused for CAN-bus and USB without modifying the rest of the code later. The higher level of the VESC communication code is the same for the USB, UART and CAN ports, so everything that can be done from BLDC Tool can be done from the other ports as well.
BLDC TOOL DOWNLOAD 2017 SERIAL
The discovery board will show up as a USB-serial port and you can use a serial terminal such as screen or gtkterm to access a simple command line interface on it. Don’t forget to connect rx (PB11), tx (PB10) and gnd from the discovery board to tx, rx and gnd on the VESC. After that, just connect both USB ports of the discovery board (one for the built in programmer and one for the serial terminal) and type make upload from the project directory. If you have a stm32f4 discovery board, you can upload the code to it and test it by following the tutorial in my VESC Post for installing the toolchain. Start by downloading the code from github:
BLDC TOOL DOWNLOAD 2017 HOW TO
In this post I will try to explain how the code works and how to port it to other platforms. Now I have created a project for the STM32F4 discovery board that implements UART communication with the VESC where the full interface is implemented. Many people have asked me how to communicate with the VESC using UART, but I did not have a good answer since I haven’t written any tutorial about that and the only thing I could refer to was the BLDC Tool code.