You are currently not logged in and your progress will not be saved. Register or Log in

Lesson 5 – Serial communication (UART)


Universal Asynchronous Receiver/Transmitter (UART) is a popular serial communication protocol. It is used to communicate with a variety of sensors, electronic components, and is also commonly used as the back-end for consoles through USB-to-UART convertors. In this lesson, we will learn how to use the UART driver in an interrupt-driven fashion so that when new data arrives the application is interrupted and a callback function (ISR) is called.

In the exercise section of this lesson, we will control the LEDs on the board by sending commands over UART.


  • Learn how to send/receive data over UART in asynchronous mode (interrupt-driven)
  • Learn how to configure the UART peripheral hardware through the UART API
  • Examine and practice the use of the UART driver API