Chapter-3: Peripheral Interfacing with 8086 Microprocessor
• Outlines:
– Interfacing 8255 with 8086
– Interfacing DAC using 8255
– Interfacing ADC using 8255
– Stepper Motor Interfacing using 8255
– Key Board and Display Interfacing using 8255
1/12/2022 Microcomputer and Interfacing 1
8255: Programmable Peripheral Interfacing
1/12/2022 Microcomputer and Interfacing 2
Cont…
1/12/2022 Microcomputer and Interfacing 3
Construction and pin out diagram
1/12/2022 Microcomputer and Interfacing 4
8255 Block Diagram
1/12/2022 Microcomputer and Interfacing 5
Features of ports register
1/12/2022 Microcomputer and Interfacing 6
1/12/2022 Microcomputer and Interfacing 7
1/12/2022 Microcomputer and Interfacing 8
1/12/2022 Microcomputer and Interfacing 9
Format of Control Word for I/O Mode
1/12/2022 Microcomputer and Interfacing 10
Cont..
1/12/2022 Microcomputer and Interfacing 11
Examples:
1/12/2022 Microcomputer and Interfacing 12
8255 interfacing with 8086
1/12/2022 Microcomputer and Interfacing 13
Interfacing 8255 to 8086 in I/O mapped I/O mode
• The 8086 has four special instructions IN, INS, OUT and OUTS
through the input/output ports in I/O mapped I/O mode.
• The / is used to generate separate address for memory
and input/output .
1/12/2022 Microcomputer and Interfacing 14
Cont..
1/12/2022 Microcomputer and Interfacing 15
1/12/2022 Microcomputer and Interfacing 16
1/12/2022 Microcomputer and Interfacing 17
1/12/2022 Microcomputer and Interfacing 18
1/12/2022 Microcomputer and Interfacing 19
1/12/2022 Microcomputer and Interfacing 20
1/12/2022 Microcomputer and Interfacing 21
1/12/2022 Microcomputer and Interfacing 22
1/12/2022 Microcomputer and Interfacing 23
1/12/2022 Microcomputer and Interfacing 24
1/12/2022 Microcomputer and Interfacing 25
1/12/2022 Microcomputer and Interfacing 26
1/12/2022 Microcomputer and Interfacing 27
Stepper Motor Interfacing
1/12/2022 Microcomputer and Interfacing 28
1/12/2022 Microcomputer and Interfacing 29
1/12/2022 Microcomputer and Interfacing 30
1/12/2022 Microcomputer and Interfacing 31
1/12/2022 Microcomputer and Interfacing 32
1/12/2022 Microcomputer and Interfacing 33
1/12/2022 Microcomputer and Interfacing 34
1/12/2022 Microcomputer and Interfacing 35
1/12/2022 Microcomputer and Interfacing 36
1/12/2022 Microcomputer and Interfacing 37