[ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals
-
Upload
naresh1992 -
Category
Education
-
view
3.523 -
download
2
description
Transcript of [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals
![Page 1: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/1.jpg)
Gurukul Kangri University
Faculty of Engineering & Technology
![Page 2: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/2.jpg)
Microprocessor and Microcontroller Fundamentals
T . NARESHELETRONICS
![Page 3: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/3.jpg)
Embedded Systems
Operations managed behind the scenes by a microcontroller Microcontroller (MCU)
An integrated electronic computing device that includes three major components on a single chip Microprocessor (MPU) Memory I/O (Input/Output) ports
Microcontrollers
![Page 4: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/4.jpg)
Support Devices
Timers A/D converter Serial I/O
Common communication lines System Bus
Microcontrollers
![Page 5: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/5.jpg)
Block Diagram
![Page 6: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/6.jpg)
Microprocessor (MPU)
MPU (CPU) Read instructions Process binary data
![Page 7: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/7.jpg)
Memory
Storage Device Addresses Registers
Major Categories Read/Write Memory (R/W) Read-only-Memory (ROM
![Page 8: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/8.jpg)
Input Devices
Switches and Keypads Provide binary information to the MPU
Output devices LEDs and LCDs Receive binary information from the MPU
Input/Output (I/O)
![Page 9: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/9.jpg)
Microprocessor-Based Systems
![Page 10: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/10.jpg)
The MPU communicates with Memory and I/O using the
System Bus Address bus
Unidirectional Memory and I/O Addresses
Data bus Bidirectional Transfers Binary Data and Instructions
Control lines Read and Write timing signals
Microprocessor Architecture
![Page 11: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/11.jpg)
Microprocessor-Based System
![Page 12: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/12.jpg)
Example Microprocessor System
![Page 13: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/13.jpg)
Machine Language
Binary Instructions Difficult to decipher and write
Error-prone All programs converted into machine language for
execution
Software
![Page 14: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/14.jpg)
Assembly Language
Machine instructions represented in mnemonics One-to-one correspondence Efficient execution and use of memory Machine-specific
Software
![Page 15: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/15.jpg)
High-Level Languages
BASIC, C, and C++ Written in statements of spoken languages Machine independent Easy to write and troubleshoot Larger memory and less efficient execution
Software
![Page 16: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/16.jpg)
Unsigned Integers
All eight bits represent the magnitude of a number Bit7 to Bit0
Range 00H to FFH (010 to 25510)
Data Format (8-bit)
![Page 17: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/17.jpg)
Signed Integers
2's Complement Bit 7 is sign bit
Positive numbers: 00H to 7FH (010 to 12710) Negative numbers: 80H to FFH (-110 to -12810)
Data Format (8-bit)
![Page 18: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/18.jpg)
Binary Coded Decimal Numbers (BCD)
8 bits of a number divided into groups of four Each group represents a decimal digit from 0 to 9
AH through FH are invalid Example: 0010 0101BCD = 2510
Data Format (8-bit)
![Page 19: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/19.jpg)
American Standard Code for Information Interchange
(ASCII) Seven-bit alphanumeric code with 128 combinations (00H to
7FH) Represents English alphabet, decimal digits from 0 to 9,
symbols, and commands
Data Format (8-bit)
![Page 20: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/20.jpg)
System hardware
Discrete components Microprocessor, Memory, and I/O
Components connected by buses Address, Data, and Control
System software A group of programs that monitors the functions of the
entire system
MPU-Based Systems
![Page 21: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/21.jpg)
MPU-Based Time and Temperature System
![Page 22: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/22.jpg)
Includes microprocessor, memory, I/O ports, and support
devices (such as timers) on a single semiconductor chip Buses are generally not available to a system designer I/O ports are generally multiplexed and can be
programmed to perform different functions
MCU-Based Systems
![Page 23: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/23.jpg)
MCU-Based Time and Temperature System
![Page 24: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/24.jpg)
Princeton versus Harvard Architecture CISC versus RISC processors Microprocessors and Microcontrollers
Computer Architectures
![Page 25: [ PPT ] NS _ppt 4..ppt microprocesser and microcontroller fundamentals](https://reader034.fdocuments.in/reader034/viewer/2022051323/54b2db844a795909758b456d/html5/thumbnails/25.jpg)
Sales
Thank you