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.
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.