1 / 21

82C55 Programmable Peripheral Interface

82C55 Programmable Peripheral Interface. By: Dr. Hetal Patel, Professor, EC Dept, ADIT. Intel 8255 PPI. About 82C55. The 82C55 is a popular interfacing component, that can interface any TTL-compatible I/O device to a microprocessor.

sammyc
Download Presentation

82C55 Programmable Peripheral Interface

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 82C55Programmable Peripheral Interface By: Dr. Hetal Patel, Professor, EC Dept, ADIT

  2. Intel 8255 PPI

  3. About 82C55 • The 82C55 is a popular interfacing component, that can interface any TTL-compatible I/O device to a microprocessor. • It is used to interface to the keyboard and a parallel printer port in PCs (usually as part of an integrated chipset). • PPI has 24 pins for I/O that are programmable in groups of 12 pins and has three distinct modes of operation.

  4. 82C55 : Pin Layout

  5. 8255 Control Word

  6. Basic Mode Definitions and Bus Int • Mode 0 • Basic I/O • Mode 1 • Strobe I/O • Mode 2 • Bi-Dir Bus

  7. Programming 82C55

  8. Mode 0 (Basic Input/Output). • This functional configuration provides simple input and output operations for each of the three ports. • No “handshaking” is required, data is simply written to or read from a specified port.

  9. 8255 PPI contd.

  10. 8255 MD Control word Contd.

  11. 8255 MD Control word Contd.

  12. 8255 Contd.

  13. 8255 MD Control word Contd.

  14. 8255 PCBSR Control word

  15. 8255 PCBSR Control word contd.

  16. 8255 PCBSR Control word contd.

  17. Interfacing 8255 with 8085

  18. Assembly Language Program • Write an ALP for reading the status of switches from Port B of 8255 and transfer the data received to port A of 8255. • Control Word: • Control word = 82H (Port A as output, Port B as input)

  19. Assembly Language Program • MVI A , 82H ; Control word • OUT 83H ; load control word to control register • IN 81H ; read the data from switches from Port B • OUT 80H ; Transfer the bits (“0” if Pressed) to Port A

  20. MODES OF 8255 IS FOUND IN OTHER POWER-POINT FILE

More Related