ATmega328 USART

This blog is intended for fresh Engineering graduates who are interested in Embedded systems. This is in continuation of last blog Please SUBSCRIBE to YouTube channel Embedkari  for further discussion on Embedded Systems.  I recommend to  use laptop/PC or at least Tablet for  watching related YouTube video.

 Universal Synchronous Asynchronous Receiver Transmitter

 USART is the simple but very important to understand communication process between two devices. Here is the bit stream format

usart3

I am taking the case of Asynchronous USART i.e UART.  We need to configure character size, Number of stop bits, Pairity

How USART works in AVR ?

CLOCK Generation 

USART Register Summary (Extended I/O register space )

The extended I/O memory from address 64 to 255 can only be reached by data addressing, not I/O addressing.

USART Control and Status Registers 
USART Baud Rate 0 Register USBRR0

 USBRRn 12 bits are used for baud rate .

Experiment

References : All documents are available here. I am referring to most of these :

 

Thanks for reading till end. Please provide your feedback regarding this article. Also subscribe  Embedkari for other interesting topics. .

Embedkari has introduced its first low cost technical training .

Thanks for reading till end. I am trying to improve usability of my  site. Did you find this discussion helpful ? If so,  Please subscribe to YouTube channel Embedkari as well for additional embedded related stuff.

Exit mobile version