cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling an ESC002V1 board through a UART connection

pjrebordao
Associate II

I'm trying to control a BLDC motor attached to a STEVAL-ESC002V1 board though the UART connection, but so far without success.

I updated the symbols and recompiled the supplied firmware to disable the PWM control and enable the UART. It compiled without errors and I was able to upload the BIN file to the board.

Then using a terminal app on my laptop, I connected it using a USB-UART interface, to connector J2 on the board. The settings were 57600,8,1,Even, Noflow control.

However after rebooting the board I was unable to get any output on the terminal, nor sending any commands to the board.

Am I missing something ?

 

 

3 REPLIES 3
GMA
ST Employee

Hello @pjrebordao,

Is the default provided firmware functional?
Did you review previous STEVAL-ESC002V1 posts, such as this one?

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA
pjrebordao
Associate II

I didn't use the firmware exactly as provided because I really need the control via UART.

So I changed the required symbols and recompiled the source on the IAR workbench.

The compilation gave no errors and I was able to successfuly upload the code using the STM32Programmer with the bootload connector.

pjrebordao
Associate II

Any ideas regarding this issue ?