O'Reilly logo

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

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required