Skip to Content
Programming with STM32: Getting Started with the Nucleo Board and C/C++
book

Programming with STM32: Getting Started with the Nucleo Board and C/C++

by Donald Norris
March 2018
Intermediate to advanced
304 pages
7h 3m
English
McGraw-Hill Education TAB
Content preview from Programming with STM32: Getting Started with the Nucleo Board and C/C++

8

Bit Serial Communications

This chapter covers how a MCU uses bit serial communication to bidirectionally transfer data between it and external devices and systems. The primary peripheral devices used for this function are the universal asynchronous receiver transmitter (UART) and the universal synchronous/asynchronous receiver/transmitter (USART). The principal difference between these peripherals is that the USART can use a synchronizing clock pulse train between nodes, while the UART is completely self-synchronizing. These differences are explained in more detail in the following section “UARTs and USARTs.”

UARTs and USARTs

Figure 8-1 is a block diagram showing two UARTs connected, where Node A is transmitting to Node B.

Figure 8-1    ...

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

Bare-Metal Embedded C Programming

Bare-Metal Embedded C Programming

Israel Gbati

Publisher Resources

ISBN: 9781260031324