Professional Documents
Culture Documents
We know that a microprocessor is the CPU of a computer. A microprocessor can perform some operation on a data and give the output. But to perform the operation we need an input to enter the data and an output to display the results of the operation. So we are using a keyboard and monitor as Input and output along with the processor. Microprocessors engineering involves a lot of other concepts and we also interface memory elements like ROM, EPROM to access the memory
Interfacing Types
Memory Interfacing
While executing an instruction, there is a necessity for the microprocessor to access memory frequently for reading various instruction codes and data stored in the memory. The interfacing circuit aids in accessing the memory. Memory requires some signals to read from and write to registers. Similarly the microprocessor transmits some signals for reading or writing a data. But what is the purpose of interfacing circuit here?
I/O Interfacing
We know that keyboard and Displays are used as communication channel with outside world. So it is necessary that we interface keyboard and displays with the microprocessor. This is called I/O interfacing. In this type of interfacing we use latches and buffers for interfacing the keyboards and displays with the microprocessor. But the main disadvantage with this interfacing is that the microprocessor can perform only one function. It functions as an input device if it is connected to buffer and as an output device if it is connected to latch. Thus the capability is very limited in this type of interfacing.
Input/Output Problems
Wide variety of peripherals
Delivering different amounts of data At different speeds In different formats
Input/Output Module
Interface to CPU and Memory Interface to one or more peripherals GENERIC MODEL OF I/O DIAGRAM 6.1
Memory
D A T A B U S
...
All peripherals and mass storage device is connected to the system bus through interfaces. Each interface contains ,I/O ports through which CPU and Memory communicate with the external devices Some ports are used for 1. Buffering data from or to CPU and Memory 2.Some for holding status information about the device and interface All the communication with the external world is channeled through I/O ports in the interface
8251 Serial communication Interface-programmable communication interface (USART- Universal Synchronous/Asynchronous Receiver/Transmitter) iii. 8257 DMA Controller iv. 8279 programmable Keyboard/Display Controller v. 8259 Programmable Interrupt controller vi. 8254/8253 Programmable interval Timer ii.