Getting Started with STM32 Nucleo USB (Virtual Com Port) @ShawnHymel

Shawn Hymel shares work on how to get a Virtual COM Port (VCP) working with a Nucleo board.
To begin, strip a USB cable or get a USB breakout board (like this one from SparkFun) and connect the lines to a breadboard as shown in the Fritzing diagram below. Make the following connections:
- VUSB → Diode → Nucleo 5V (don’t want to short something if we’re plugging in 2 USB cables!)
- USB D- → Nucleo D10 (PA11)
- USB D+ → Nucleo D2 (PA12)
- USB GND → Nucleo GND
- USB GND → USB Shield (don’t know if this is necessary, but it makes me feel better)
Also, this is super important: remove the jumper that comes default on your Nucleo board! It bridges D2 and GND and will short out our D+ line if left in place.
Post a Comment