Blink test on PB11 (33), toggle 2000ms
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
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.
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.
Timer toggle