Click or drag files to this area to upload. You can upload up to 2 files.

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
Register an account
Already have an account? Log in
(All fields are required unless specified optional)

Forgot your password?
Enter your email address, and we will send a link to reset your password.