tonarino / panel-firmware

Firmware for the volume control hardware, targeting an STM32F4 board
MIT License
75 stars 10 forks source link

First working version of native device USB #8

Closed bschwind closed 3 years ago

bschwind commented 3 years ago

This uses the on-board USB hardware peripheral of the STM32 instead of talking to a USB-serial converter. It should be faster and more robust against any timing issues in our firmware loop. It also allows for reading multiple bytes at a time instead of just one.

When connecting to the main computer, we'll use the micro USB port on the STM32 board instead of the blue CP2102 chip. We still need the CP2102 for flashing new firmware though, until we migrate to the STM32F4 series which has an onboard USB bootloader.

skywhale commented 3 years ago

LGTM++