Рет қаралды 117,278
In this video I share my knowledge on how to create a STM32F103C8T6 project with virtual serial port (STM32 acting as USB device).
You can buy STM32 board using following affiliate links (no extra cost to you, if you use these links):
Banggood:
www.banggood.c...
EBay: rover.ebay.com...
EDIT: If you are running Windows version prior to 10, you may need to install drivers. www.st.com/en/d...
These $2 STM32 development boards have been featured in multiple Hackaday posts past few days and that inspired me to start playing with them. I had previously installed all the development tools, but something went wrong back then and I ended up putting the boards away and kept playing with other development boards.
Now I reinstalled System Workbench for STM32 and STM32CubeMX. Everything worked flawlessly and I had project with virtual serial port (using STM32 as an USB device) running in no time.
TIMELINE
1:07 - Generating the project "skeleton" with STM32CubeMX
4:10 - Making it compile in SystemWorkbench for STM32
5:12 - Demonstrating the serial communication - Receiving data
9:24 - Demonstrating - Receiving and transfering data
Software:
STM32CubeMX: www.st.com/en/d...
SystemWorkbench for Stm32: www.st.com/en/d...
Hardware:
"BluePill" STM32F103C8T6 -development board and ST-Link V2 compatible programmer/debugger. Wires between GND, SWDIO and SWDCLK pins of programmer and dev board. Board was powered through the microUSB -port.
Thanks to Al Williams for sharing his notes on using this board with SystemWorkbench for STM32: hackaday.io/pr...
If you liked the video, please show it and hit the Like-button!
Check out my other videos:
/ hugatry
Subscribe:
www.youtube.co...