Hello all,
I am quite puzzled as to why I am unable to read the PWM via the Vesc Tool.
Background: I am attempting to re-create the VESC EDU. An exact specifications for my learning purpose.
I am using a STM32F405 from WeActStudio. The open-source schematic can be obtained from:
https://github.com/WeActStudio/WeActStudio.STM32F4_64Pin_CoreBoard/blob/...
Firmware, I am using VESC 7.0.0
What I did: Git cloned the bldc, followed by "make edu", Then uploaded the firmware "//bldc/build/edu/edu.bin" via St-Link. Connected the STM32F405 via USB. VESC Tool autoconnected to the board.
What I do not understand it; When I connected my PWM channel and ground from a Servo controller to pin PB6. Enabling "Stream realtime data" and change the app to use as PPM and clicked the "Write app data" on the Vesc tool. It still does not show the correct duty cycle. It is constantly showing a -21.3% duty cycle.
I hooked up the PWM channel and ground of my servo controller to an oscilloscope and ascertain that it is indeed working. My VESC does not have a power stage connected at this moment. But I do not understand why the Servo reading is not working.
HELP!! Could anyone help me understand what I am missing out please.
