SlidePub
Home
Categories
Login
Register
Home
Technology
AVR_ Microcontroller_Muhammad Ali_Mazidi_AVR_Lecture1_Fall2023
AVR_ Microcontroller_Muhammad Ali_Mazidi_AVR_Lecture1_Fall2023
harismohsin
105 views
30 slides
Aug 17, 2024
Slide
1
of 30
Previous
Next
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
About This Presentation
AVR Microcontroller Muhammad Ali Mazidi
Size:
718.4 KB
Language:
en
Added:
Aug 17, 2024
Slides:
30 pages
Slide Content
Slide 1
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
Introduction to ComputingIntroduction to Computing
Chapter 1Chapter 1
The AVR microcontroller
and embedded
systems
using assembly and c
Slide 2
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
Introduction to ComputingIntroduction to Computing
•To understand the software and hardware of a microcontroller-based system, one must
first master some very basic concepts underlying computer architecture.
•The fundamentals is numbering and coding system are presented, and overview of
logic gates is given.
•Numbering and coding Systems
•base 10 (decimal) arithmetic
•base 2 (binary)
•base 16 (Hexadecimal)
Slide 3
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
Slide 4
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
•ASCII
•The discussion so far has revolved around the representation of number systems.
Because all information in the computer must be represented by 0s and 1s, binary
patterns must be assigned to letters and other characters. In the 1960s a standard
representation called ASCII (American Standard Code for Information Interchange)
was established. The ASCII (pronounced "ask-E") code assigns binary patterns from
numbers 0 to 9, all letters of the English alphabet, both uppercase (capital) and lower
case and many control codes and punctuation marks.
•The ASCII system uses a total of 7 bits to represent each code. For example, 100
0001 is assigned to upper case letter "A" and 110 0001 is for lowercase "a". Often a
zero is placed in the most significant bit position to make it an 8-bit code.
Slide 5
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
•Decoders
•Flip flops
Slide 6
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
6
Slide 7
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
7
Slide 8
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
8
Slide 9
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
9
Slide 10
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
10
Slide 11
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
11
Slide 12
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
12
Slide 13
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
13
Slide 14
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
Memory characteristicsMemory characteristics
•Capacity
–The number of bits that a memory can store.
•E.g. 128 Kbits, 256 Mbits
•Organization
–How the locations are organized
•E.g. a 128 x 4 memory has 128 locations,
4 bits each
•Access time
–How long it takes to get data from memory
…
4 bits
1
2
8
lo
c
a
t
io
n
s
0
1
2
127
Slide 15
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
Slide 16
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
Semiconductor memoriesSemiconductor memories
•RAM
–SRAM (Static RAM)
–DRAM (Dynamic RAM)
–NV-RAM (Nonvolatile RAM)
•ROM
–Mask ROM
–PROM (Programmable
ROM)
–EPROM (Erasable
PROM)
–EEPROM (Electronic
Erasable PROM)
–Flash EPROM
Slide 17
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
Memory Address DecodingMemory Address Decoding
•There are three ways to generate a memory block selector:
•(a) using simple logic gates
•(b) using 74LS138
•(c) using Programmable logic such as CPLD and FPGA
•Simple Logic Gates
Slide 18
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
•Example of the shown figure shows that A15 - A12 must be 0011 in order to select the
chip. This results in the assignment of addresses 3000H to 3FFFH to this memory chip
•74LS138 Decoder
Slide 19
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
Slide 20
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
20
Slide 21
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
21
Slide 22
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
22
Slide 23
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
23
Slide 24
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
24
Slide 25
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
25
Slide 26
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
26
Slide 27
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
27
Slide 28
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
28
Slide 29
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
Slide 30
www. Mi cro D igit al Ed. com
BIH E universit y
AVR Microcontroller and Embedded System Using Assembly and C
Mazidi, Naimi, and Naimi
© 2011 Pearson Higher Education,
Upper Saddle River, NJ 07458. • All Rights Reserved.
Questions and AnswersQuestions and Answers
END
Tags
Categories
Technology
Download
Download Slideshow
Get the original presentation file
Quick Actions
Embed
Share
Save
Print
Full
Report
Statistics
Views
105
Slides
30
Age
472 days
Related Slideshows
11
8-top-ai-courses-for-customer-support-representatives-in-2025.pptx
JeroenErne2
46 views
10
7-essential-ai-courses-for-call-center-supervisors-in-2025.pptx
JeroenErne2
46 views
13
25-essential-ai-courses-for-user-support-specialists-in-2025.pptx
JeroenErne2
37 views
11
8-essential-ai-courses-for-insurance-customer-service-representatives-in-2025.pptx
JeroenErne2
34 views
21
Know for Certain
DaveSinNM
21 views
17
PPT OPD LES 3ertt4t4tqqqe23e3e3rq2qq232.pptx
novasedanayoga46
26 views
View More in This Category
Embed Slideshow
Dimensions
Width (px)
Height (px)
Start Page
Which slide to start from (1-30)
Options
Auto-play slides
Show controls
Embed Code
Copy Code
Share Slideshow
Share on Social Media
Share on Facebook
Share on Twitter
Share on LinkedIn
Share via Email
Or copy link
Copy
Report Content
Reason for reporting
*
Select a reason...
Inappropriate content
Copyright violation
Spam or misleading
Offensive or hateful
Privacy violation
Other
Slide number
Leave blank if it applies to the entire slideshow
Additional details
*
Help us understand the problem better