INTRODUCTIONTOMICROPROCESSOR

Views:
 
     
 

Presentation Description

microprocessor introduction

Comments

Presentation Transcript

INTRODUCTION TO MICROPROCESSOR : 

INTRODUCTION TO MICROPROCESSOR

Do you know computer organization?: 

Do you know computer organization? Arithmetic Logic Unit Memory Output Input Control Unit

PowerPoint Presentation: 

How does it work? Map it’s units in personal computer – Input Output Memory ALU Software – System software & Application software

Introduction to Microprocessor: 

Introduction to Microprocessor ARITHMATIC LOGIC UNIT CONTROL UNIT MEMORY INPUT OUTPUT MICROCOMPUTER MICROPROCESSOR

Microprocessor Based System: 

Microprocessor Based System INPUT µP OUTPUT MEMORY INPUT µC OUTPUT MEMORY External memory in addition to internal memory may be desired

Address, Data and Control Bus: 

Address, Data and Control Bus Bus - defined pathway for transfer of digital information between different units. To write data to memory or output device. - µp needs to send . Address of memory location or port address of device. . Data . Write control signal To read data from memory or Input device - µp needs to send . Address and . Read Control Signal - Memory/device sends – data .

PowerPoint Presentation: 

Thus three pathways (buses) for 3 types of digital information. Address Bus - From µp to devices - U nidirectional. Data Bus - From µp to devices & devices to µp - Bidirectional Control - From µp to devices & from devices to µp [Interrupt, DMA] - Bidirectional Now let us redraw the computer organization diagram

PowerPoint Presentation: 

Address Bus I/O Device I/O Device I/O Device Memory µp Control Bus Data Bus

PowerPoint Presentation: 

Example of memory & I/O Read Write.

PowerPoint Presentation: 

Device X Gate X Gating Input X’ Device Y Gate Y Gating Input Y’ Device Z Gate Z Gating Input Z’ Output Only one device should transmit at any given time Tristate Bus Three data transmitters X, Y, Z connected to single bus Bus

PowerPoint Presentation: 

If Gate X, Gate Y and Gate Z are conventional TTL gates then – they will have only two states 0, or 1. There will always be signal at their output. Information at output point is garbled. What is required- Y and Z should disconnect from bus when X is transmitting. X and Z should disconnect from bus when Y is transmitting. X and Y should disconnect from bus when Z is transmitting.

PowerPoint Presentation: 

To meet above requirement Gates X, Y and Z should have following 3 output states. Logic 1 state Logic 0 state A state in which output is disconnected from rest of circuit or other devices. The third state is called High Impendence state. Such devices are called Tristate Devices. They have extra input called Disable. Input Disable Output

PowerPoint Presentation: 

When disable is OFF – device functions normally as 2 state device When disable is ON – device is disconnected from the bus

PowerPoint Presentation: 

Microprocessor Address Lines Data Lines Ground Power Serial Output Serial Input Reset Out Reset In Clock Out Clock DMA Ack DMA Req Interrupt Ack Interrupt Req Wait Req ______ MEMR _______ MEMW ___ IOR ____ IOW A generalized µP chip

PowerPoint Presentation: 

Why clock? What is DMA? What is Interrupt? What is serial Input? What is serial Output?