write an assembly program for the AVR to transfer the letters 'a', ‘b’,  and ‘c’ serially at 9600 baud, continuously. Use 8-bit data and 1 stop bit. Assume XTAL = 16 MHz

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

write an assembly program for the AVR to transfer the letters 'a', ‘b’, 
and ‘c’ serially at 9600 baud, continuously. Use 8-bit data and 1 stop bit. Assume XTAL = 16 MHz

CENG400L_Lab_Manual.pdf
->
O File | C:/Users/YOUSSEF/Desktop/CENG400L/CENG400L_Lab_Manual.pdf
+
(D Page view | A Read aloud|
O Add text V Draw
9 Highlight
O Erase
29
of 55
PROCEDURE
1. Open Atmel Studio and write an assembly program for the AVR to transfer the letters 'a', 'b',
and 'c' serially at 9600 baud, continuously. Use 8-bit data and 1 stop bit. Assume XTAL = 16 MHz
2. Connect the following circuit using Protues:
RXD
TXD
H RTS
CTS
U1
2 PDORXD/PCINT16
13
14
PBONCP1/CLKO/PCINTO
15
16
PD1/TXD/PCINT17
PD2INTOJPCINT18
5
PB1/0C1A/PCINT1
PB2/SSIOC1BIPCINT2
4
C1
17
18
19
PD3INT1/0C2B/PCINT19
PB3MOSVOCZAPCINT3
11
12
13
PD4/TOXCKIPCINT20
PD5/T1/0COBPCINT21
PD6/AINOJOCOAPCINT22 PB6/TOSC1ATAL1/PCINTE
PB4MISO/PCINT4
PB5/SCKIPCINT5
22p
TEXT>
10
PD7/AIN1/PCINT23
PB7/TOSC20KTAL2/PCINT7
21
AREF
20
AVCC
23
24
25
26
27
28
PCOIADCOPCINTS
PC1IADC1/PCINT9
O X1
CRYSTAL
PC2/ADC2/PCINT10
<TEXT
PC3IADC3/PCINT11
PC4ADC4/SDAPCINT12
PCSIADC5/SCLUPCINT13
PC6/RESETIPCINT14
C2
ATMEGA328P
TEXT
22p
KTÉXT
Figure 5-5-2 Circuit Design
3. Adjust the ATMEGA328P configurations as follows:
Component Reference:
U1
Hidden:
Component Value:
ATMEGA328P
Hidden
2:25 PM
P Type here to search
12/10/2021
Transcribed Image Text:CENG400L_Lab_Manual.pdf -> O File | C:/Users/YOUSSEF/Desktop/CENG400L/CENG400L_Lab_Manual.pdf + (D Page view | A Read aloud| O Add text V Draw 9 Highlight O Erase 29 of 55 PROCEDURE 1. Open Atmel Studio and write an assembly program for the AVR to transfer the letters 'a', 'b', and 'c' serially at 9600 baud, continuously. Use 8-bit data and 1 stop bit. Assume XTAL = 16 MHz 2. Connect the following circuit using Protues: RXD TXD H RTS CTS U1 2 PDORXD/PCINT16 13 14 PBONCP1/CLKO/PCINTO 15 16 PD1/TXD/PCINT17 PD2INTOJPCINT18 5 PB1/0C1A/PCINT1 PB2/SSIOC1BIPCINT2 4 C1 17 18 19 PD3INT1/0C2B/PCINT19 PB3MOSVOCZAPCINT3 11 12 13 PD4/TOXCKIPCINT20 PD5/T1/0COBPCINT21 PD6/AINOJOCOAPCINT22 PB6/TOSC1ATAL1/PCINTE PB4MISO/PCINT4 PB5/SCKIPCINT5 22p TEXT> 10 PD7/AIN1/PCINT23 PB7/TOSC20KTAL2/PCINT7 21 AREF 20 AVCC 23 24 25 26 27 28 PCOIADCOPCINTS PC1IADC1/PCINT9 O X1 CRYSTAL PC2/ADC2/PCINT10 <TEXT PC3IADC3/PCINT11 PC4ADC4/SDAPCINT12 PCSIADC5/SCLUPCINT13 PC6/RESETIPCINT14 C2 ATMEGA328P TEXT 22p KTÉXT Figure 5-5-2 Circuit Design 3. Adjust the ATMEGA328P configurations as follows: Component Reference: U1 Hidden: Component Value: ATMEGA328P Hidden 2:25 PM P Type here to search 12/10/2021
Expert Solution
steps

Step by step

Solved in 3 steps with 4 images

Blurred answer
Knowledge Booster
Fundamentals of Computer System
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education