SlideShare a Scribd company logo
1 of 12
EC304: Microprocessors and Microcontrollers Lab
Birla Institute of Technology, Mesra
• Riddhima Varshney (BTech/25077/20)
• Sujal Gupta (BTech/25098/20)
1
2
ACKNOWLEDGEMENT
We would like to express our special thanks of gratitude to our faculty Mr. Snehanshu Shekhar who
gave us the golden opportunity to do this wonderful project on the topic 8255 PPI, which also
helped us in doing a lot of Research and we came to know about so many new things. We would also
like to thank our professor for guidance and constant source of encouragement in finishing this
assignment.
Lastly, we would also like to thank our parents and friends who helped us a lot in finalizing this
project within the limited time frame.
Table Of Content
8255 PPI
4
8255 PPI Architecture
5-6
Features of 8255
7
8255 PPI Pin Diagram
8
Operating modes of 8255 PPI
9-10
Reference
11
8255 PPI (Programmable Peripheral Interface)
• PPI 8255 is a general purpose
programmable I/O device
designed to interface the CPU
with its outside world such as
ADC, DAC, keyboard etc.
• We can program it according to
the given condition. It can be
used with almost any
microprocessor.
• It consists of three 8-bit
bidirectional I/O ports i.e.
PORT A, PORT B and PORT C.
We can assign different ports as
input or output functions.
4
8255 PPI
Architecture
8
Features of 8255
WIDELY USED,
PROGRAMMABLE,
PARALLEL I/O DEVICE
PROGRAMMED TO
TRANSFER DATA UNDER
VARIOUS CONDITIONS
COMPATIBLE WITH ALL
INTEL AND MOST OTHER
MICROPROCESSORS
TTL COMPATIBLE
HAS THREE 8-BIT PORTS:
PORT A, PORT B, PORT C
6
8255 PPI Pin Diagram
• PA0-PA7: Pins of Port A
• PB0-PB7: Pins of Port B
• PC0-PC7: Pins of Port C
• D0-D7: Data pins for the
transfer of data
• RESET: Reset input
• RD’: Read input
• WR’: Write input
• CS’: Chip select
• A1 and A0: Address pins
8
9
Operating modes of 8255 PPI
Operating Modes
Bit Set Reset
(BSR Mode)
Input-Output Mode
Mode 0 Mode 1 Mode 2
10
Operating Modes:
1. Bit Set Reset (BSR Mode): If MSB of control word (D7)
is 0, PPI works in BSR mode. In this mode only port C bits
are used for set or reset.
2. Input-Output Mode: If MSB of control word (D7) is 1,
PPI works in input-output mode. This is further divided
into three modes:
• Mode 0 –In this mode all the three ports (port A, B, C) can
work as simple input function or simple output function. In
this mode there is no interrupt handling capacity.
• Mode 1 – Handshake I/O mode or strobed I/O mode. In
this mode either port A or port B can work as simple input
port or simple output port, and port C bits are used for
handshake signals before actual data transmission. It has
interrupt handling capacity and input and output are latched.
• Mode 2 – Bi-directional data bus mode. In this mode only
port A works, and port B can work either in mode 0 or
mode 1. 6 bits port C are used as handshake signals. It also
has interrupt handling capacity.
Reference
11
• https://www.geeksforgeeks.org/programmable-peripheral-interface-8255/
• https://www.tutorialspoint.com/microprocessor/microprocessor_intel_8255a_programmable_periphera
l_interface.htm
• https://www.eeeguide.com/features-of-8255-microprocessor/
THANK YOU!

More Related Content

Similar to Riddhima Varshney (25077) and Sujal Gupta (25098).pptx

Similar to Riddhima Varshney (25077) and Sujal Gupta (25098).pptx (20)

Unit 3 mpmc
Unit 3 mpmcUnit 3 mpmc
Unit 3 mpmc
 
PROGRAMMABLE PERIPHERAL INTERFCAE.ppt
PROGRAMMABLE PERIPHERAL INTERFCAE.pptPROGRAMMABLE PERIPHERAL INTERFCAE.ppt
PROGRAMMABLE PERIPHERAL INTERFCAE.ppt
 
20ME702– MECHATRONICS -UNIT-3.ppt
20ME702– MECHATRONICS -UNIT-3.ppt20ME702– MECHATRONICS -UNIT-3.ppt
20ME702– MECHATRONICS -UNIT-3.ppt
 
Unit 3-PROGRAMMABLE PERIPHERAL INTERFACE-ME6702– MECHATRONICS
Unit 3-PROGRAMMABLE PERIPHERAL INTERFACE-ME6702– MECHATRONICS Unit 3-PROGRAMMABLE PERIPHERAL INTERFACE-ME6702– MECHATRONICS
Unit 3-PROGRAMMABLE PERIPHERAL INTERFACE-ME6702– MECHATRONICS
 
Operation of 8255A
Operation of 8255AOperation of 8255A
Operation of 8255A
 
Basics of peripheral devices and Working
Basics of peripheral devices and WorkingBasics of peripheral devices and Working
Basics of peripheral devices and Working
 
Unit-IV.pptx
Unit-IV.pptxUnit-IV.pptx
Unit-IV.pptx
 
L4-L6 8255 A.pptx
L4-L6 8255 A.pptxL4-L6 8255 A.pptx
L4-L6 8255 A.pptx
 
8255 Introduction
8255 Introduction8255 Introduction
8255 Introduction
 
8051 serial communication
8051 serial communication8051 serial communication
8051 serial communication
 
Embedded training report(mcs 51)
Embedded training report(mcs 51)Embedded training report(mcs 51)
Embedded training report(mcs 51)
 
The 8255 PPI
The 8255 PPIThe 8255 PPI
The 8255 PPI
 
Lec11
Lec11Lec11
Lec11
 
UNIT- 3.pptx
UNIT- 3.pptxUNIT- 3.pptx
UNIT- 3.pptx
 
8255.pdf
8255.pdf8255.pdf
8255.pdf
 
project 3 full report
project 3 full reportproject 3 full report
project 3 full report
 
8255_Ppi new
8255_Ppi new8255_Ppi new
8255_Ppi new
 
7 8255
7 82557 8255
7 8255
 
Plc 1
Plc 1Plc 1
Plc 1
 
Microprocessor Instructions
Microprocessor InstructionsMicroprocessor Instructions
Microprocessor Instructions
 

More from ManuGupta344215

8051 MICROCONTROLLER ECE.pptx
8051 MICROCONTROLLER ECE.pptx8051 MICROCONTROLLER ECE.pptx
8051 MICROCONTROLLER ECE.pptxManuGupta344215
 
Ronit Mathur Cyber Security assesment.pptx
Ronit Mathur Cyber Security assesment.pptxRonit Mathur Cyber Security assesment.pptx
Ronit Mathur Cyber Security assesment.pptxManuGupta344215
 
Basics_of_Stock_Selection_03022022.pptx
Basics_of_Stock_Selection_03022022.pptxBasics_of_Stock_Selection_03022022.pptx
Basics_of_Stock_Selection_03022022.pptxManuGupta344215
 

More from ManuGupta344215 (6)

SRINAL90.pptx
SRINAL90.pptxSRINAL90.pptx
SRINAL90.pptx
 
8254-timer.ppt
8254-timer.ppt8254-timer.ppt
8254-timer.ppt
 
8051 MICROCONTROLLER ECE.pptx
8051 MICROCONTROLLER ECE.pptx8051 MICROCONTROLLER ECE.pptx
8051 MICROCONTROLLER ECE.pptx
 
Ronit Mathur Cyber Security assesment.pptx
Ronit Mathur Cyber Security assesment.pptxRonit Mathur Cyber Security assesment.pptx
Ronit Mathur Cyber Security assesment.pptx
 
cyber .pptx
cyber .pptxcyber .pptx
cyber .pptx
 
Basics_of_Stock_Selection_03022022.pptx
Basics_of_Stock_Selection_03022022.pptxBasics_of_Stock_Selection_03022022.pptx
Basics_of_Stock_Selection_03022022.pptx
 

Recently uploaded

Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...amitlee9823
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceDelhi Call girls
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...amitlee9823
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...amitlee9823
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Researchmichael115558
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...amitlee9823
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...amitlee9823
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...amitlee9823
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsJoseMangaJr1
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Standamitlee9823
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...amitlee9823
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxolyaivanovalion
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...only4webmaster01
 

Recently uploaded (20)

Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
Mg Road Call Girls Service: 🍓 7737669865 🍓 High Profile Model Escorts | Banga...
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men  🔝malwa🔝   Escorts Ser...
➥🔝 7737669865 🔝▻ malwa Call-girls in Women Seeking Men 🔝malwa🔝 Escorts Ser...
 
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
Call Girls Hsr Layout Just Call 👗 7737669865 👗 Top Class Call Girl Service Ba...
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
 
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
Call Girls Jalahalli Just Call 👗 7737669865 👗 Top Class Call Girl Service Ban...
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Midocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFxMidocean dropshipping via API with DroFx
Midocean dropshipping via API with DroFx
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Sampling (random) method and Non random.ppt
Sampling (random) method and Non random.pptSampling (random) method and Non random.ppt
Sampling (random) method and Non random.ppt
 
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 9155563397 👗 Top Class Call Girl Service B...
 

Riddhima Varshney (25077) and Sujal Gupta (25098).pptx

  • 1. EC304: Microprocessors and Microcontrollers Lab Birla Institute of Technology, Mesra • Riddhima Varshney (BTech/25077/20) • Sujal Gupta (BTech/25098/20) 1
  • 2. 2 ACKNOWLEDGEMENT We would like to express our special thanks of gratitude to our faculty Mr. Snehanshu Shekhar who gave us the golden opportunity to do this wonderful project on the topic 8255 PPI, which also helped us in doing a lot of Research and we came to know about so many new things. We would also like to thank our professor for guidance and constant source of encouragement in finishing this assignment. Lastly, we would also like to thank our parents and friends who helped us a lot in finalizing this project within the limited time frame.
  • 3. Table Of Content 8255 PPI 4 8255 PPI Architecture 5-6 Features of 8255 7 8255 PPI Pin Diagram 8 Operating modes of 8255 PPI 9-10 Reference 11
  • 4. 8255 PPI (Programmable Peripheral Interface) • PPI 8255 is a general purpose programmable I/O device designed to interface the CPU with its outside world such as ADC, DAC, keyboard etc. • We can program it according to the given condition. It can be used with almost any microprocessor. • It consists of three 8-bit bidirectional I/O ports i.e. PORT A, PORT B and PORT C. We can assign different ports as input or output functions. 4
  • 6. 8
  • 7. Features of 8255 WIDELY USED, PROGRAMMABLE, PARALLEL I/O DEVICE PROGRAMMED TO TRANSFER DATA UNDER VARIOUS CONDITIONS COMPATIBLE WITH ALL INTEL AND MOST OTHER MICROPROCESSORS TTL COMPATIBLE HAS THREE 8-BIT PORTS: PORT A, PORT B, PORT C 6
  • 8. 8255 PPI Pin Diagram • PA0-PA7: Pins of Port A • PB0-PB7: Pins of Port B • PC0-PC7: Pins of Port C • D0-D7: Data pins for the transfer of data • RESET: Reset input • RD’: Read input • WR’: Write input • CS’: Chip select • A1 and A0: Address pins 8
  • 9. 9 Operating modes of 8255 PPI Operating Modes Bit Set Reset (BSR Mode) Input-Output Mode Mode 0 Mode 1 Mode 2
  • 10. 10 Operating Modes: 1. Bit Set Reset (BSR Mode): If MSB of control word (D7) is 0, PPI works in BSR mode. In this mode only port C bits are used for set or reset. 2. Input-Output Mode: If MSB of control word (D7) is 1, PPI works in input-output mode. This is further divided into three modes: • Mode 0 –In this mode all the three ports (port A, B, C) can work as simple input function or simple output function. In this mode there is no interrupt handling capacity. • Mode 1 – Handshake I/O mode or strobed I/O mode. In this mode either port A or port B can work as simple input port or simple output port, and port C bits are used for handshake signals before actual data transmission. It has interrupt handling capacity and input and output are latched. • Mode 2 – Bi-directional data bus mode. In this mode only port A works, and port B can work either in mode 0 or mode 1. 6 bits port C are used as handshake signals. It also has interrupt handling capacity.