Embedded Systems Cortexm0-Uart: SV:DR - Emad Hamadeh
Embedded Systems Cortexm0-Uart: SV:DR - Emad Hamadeh
CortexM0-UART
Faze Clan
SV:Dr.Emad Hamadeh
Introduction:-
Processors are used in majority of electronic products In
most cases, these processors are placed inside in chips
called microcontrollers.
There are many different types of microcontrollers they can
be available with different processors, memory sizes, and
peripherals inside, and can be available in different
packages
Cortex-M0:
START BIT
STOP BITS
DATA FRAME
PARITY
Baud Rate
Number of symbols sent every second, where every symbol can
represent more than one bit.
Ex. high-speed modems which use phase shifts to make every data
transition period represent more than one bit.
For the Teensy LC UART, each symbol represents one bit.
So, we can consider bit rate(bps) and baud rate the same thing.
standard baud rates include: 1200, 2400, 4800, 9600, 19200, 38400,
57600 and 115200.
Problem
Assume we have a file with size 1 million bits. Assume we use
9600bps: 8-1-1 (includes STOP and SATRT bits). How long does it
take to transmit the file? Calculate the Overhead %.
– 8-1-1 each frame has 10 bits
– Baud rate is 9600 bits/sec--> Frame rate = 9600/10=960 Frames/sec
or 1.04 msec/frame
– Number of frames generated:
1,000,000 bits x 1 frame/8 bit= 125,000 frames
– Time to transmit 125,000 frames = 125000 frame x 1.046msec/frame
= 130 sec
– Overhead % = control bits / Total Data =2/10 = 20%
Baud Rate Register
The data rate is relatively low The data rate is much higher
The clock is generated locally and both The clock signal is generated by the
devices are configured to run at the transmitter and sent to the receiver
same baud rate during data transmission
The baud rate of the receiver module The baud rate is useless as the
must be known prior to any receiver module will be using the clock
communication coming from the transmitter device
SV:Dr.Emad Hamadeh