Skip to Content
Beginning STM32: Developing with FreeRTOS, libopencm3 and GCC
book

Beginning STM32: Developing with FreeRTOS, libopencm3 and GCC

by Warren Gay
June 2018
Intermediate to advanced
418 pages
8h 26m
English
Apress
Content preview from Beginning STM32: Developing with FreeRTOS, libopencm3 and GCC
© Warren Gay 2018
Warren GayBeginning STM32https://doi.org/10.1007/978-1-4842-3624-6_7

7. USB Serial

Warren Gay1 
(1)
St. Catharines, Ontario, Canada
 

One of the nice things about the STM32 MCU is the availability of the USB (Universal Serial Bus) peripheral. With USB, it is possible to communicate directly with a desktop platform in various modes. One of these flexible modes is USB’s emulation of a serial link between the MCU and the desktop.

This chapter will explore the use of libopencm3 and FreeRTOS working together to provide a convenient means of communication. You will use the USB CDC class of operation (USB communication device class). This provides a very convenient means for interacting with your Blue Pill.

Blue Pill USB Issue

First, let’s clear ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning STM32: Developing with FreeRTOS, libopencm3, and GCC

Beginning STM32: Developing with FreeRTOS, libopencm3, and GCC

Warren Gay

Publisher Resources

ISBN: 9781484236246Purchase LinkPublisher Website