GlobalLogic
Embedded Starter
Kit
UART Interface
Training 05
Bare Metal
Trainings
Contents
 Assignments and Goals
 Theory
 Practice
 Individual task
01.11.2021 18:53 Bare Metal – Training 05 2
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
UART Understanding
01.11.2021 18:53 Bare Metal – Training 05 4
Universal
Synchronous
Asynchronous
Receiver
Transmitter
UART Understanding
01.11.2021 18:53 Bare Metal – Training 05 5
UART Understanding
01.11.2021 18:53 Bare Metal – Training 05 6
UART Understanding
01.11.2021 18:53 Bare Metal – Training 05 7
UART Understanding
01.11.2021 18:53 Bare Metal – Training 05 8
UART Understanding
01.11.2021 18:53 Bare Metal – Training 05 9
UART Understanding
01.11.2021 18:53 Bare Metal – Training 05 10
UART Interface at
Starter Kit schematics
01.11.2021 18:53 Bare Metal – Training 05 11
UART Module Internal Structure
01.11.2021 18:53 Bare Metal – Training 05 12
Using UART in polling mode
01.11.2021 18:53 Bare Metal – Training 05 13
Using UART in polling mode
01.11.2021 18:53 Bare Metal – Training 05 14
Using UART in polling mode
01.11.2021 18:53 Bare Metal – Training 05 15
Using UART in polling mode
01.11.2021 18:53 Bare Metal – Training 05 16
Using UART in polling mode
01.11.2021 18:53 Bare Metal – Training 05 17
Using UART in polling mode
01.11.2021 18:53 Bare Metal – Training 05 18
Using UART in polling mode
01.11.2021 18:53 Bare Metal – Training 05 19
Using UART in polling mode
01.11.2021 18:53 Bare Metal – Training 05 20
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

Bare metal training_05_uart