You are here

How can I get current data from VESC to stm32f446re

1 post / 0 new
hyedo
Offline
Last seen: 2 years 7 months ago
Joined: 2022-01-23 19:19
Posts: 2
How can I get current data from VESC to stm32f446re

Hello.

I am using vesc to use the bldc motor.
In stm32f446re, I succeeded in operating the motor with the duty I wanted by giving PPM to vesc.
What's left now is to get the current value the motor receives from vesc.
It was successful to communicate with Arduino and obtain the value from Arduino through the UART.getVescValues() function.
But I want stm32 and vesc to communicate uart without Arduino to get the current value.
No matter how much packets are sent in stm32, vesc does not respond.
What should I do?
I upload the code to stm32 using stm32 Cube IDE.