Feedback
Feedback

If you are having issues with the exercises, please create a ticket on DevZone: devzone.nordicsemi.com
Click or drag files to this area to upload. You can upload up to 2 files.

Lesson 5 – Serial communication (UART)

Overview

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.

Objectives

  • 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)

  • 8 or more characters
  • Upper and lower case letters
  • At least one number or special character

Forgot your password?
Enter the email associated with your account, and we will send you a link to reset your password.