Here is a quick setup for flashing a 0-3.3v blink on the PB11 pin, since I ran out of LEDs.

YVGESC Blinker

Initial testing firmware is configured in STM32CubeMX.

From the Pinout and Configuration tab on the home page, switch to System View and configure the following:

SYS: Debug -> Serial Wire

image

image

The oscillator that this board uses is an Abracon AB8MG. From the Clock tab, set input frequency to 8MHz, and HSE at System Clock Mux and PLL Source Mux.

image

DRV_ENABLE

The MCU on the YVGESC maps PC0 (8) to DRV_ENABLE. In Pinout view, this is set to GPIO output, ensuring output level: LOW in System Core -> GPIO.

image

Timer toggle

image

image


This site uses Just the Docs, a documentation theme for Jekyll.