This document is a training module on using UART interfaces. It discusses UART fundamentals, the UART interface on an embedded starter kit, the internal structure of UART modules, and how to use UART in both polling and interrupt modes. Learners are assigned the tasks of modifying an existing UART code to control additional LEDs and print sensor values to a terminal using UART communication.
2. Contents
Assignments and Goals
Theory
Practice
Individual task
01.11.2021 18:53 Bare Metal Training 05 2
3. Assignments and Goals
UART Understanding
UART Interface at Starter Kit schematics
UART Module Internal Structure
Using UART in polling mode
Using UART in interrupt mode
01.11.2021 18:53 Bare Metal Training 05 3
13. Using UART in polling mode
01.11.2021 18:53 Bare Metal Training 05 13
14. Using UART in polling mode
01.11.2021 18:53 Bare Metal Training 05 14
15. Using UART in polling mode
01.11.2021 18:53 Bare Metal Training 05 15
16. Using UART in polling mode
01.11.2021 18:53 Bare Metal Training 05 16
17. Using UART in polling mode
01.11.2021 18:53 Bare Metal Training 05 17
18. Using UART in polling mode
01.11.2021 18:53 Bare Metal Training 05 18
19. Using UART in polling mode
01.11.2021 18:53 Bare Metal Training 05 19
20. Using UART in polling mode
01.11.2021 18:53 Bare Metal Training 05 20
21. Individual task
Add more LEDs to your code
Adjust LEDs light intensity from PC
Print analog temperature sensor value to
terminal window
01.11.2021 18:53 Bare Metal Training 05 21