PadhaikoAll subjects

Past exam question: Assignment 3, Q5(a)

Instrumentation · 2 marks

Open in the Padhaiko app

Topic: Microprocessor and microcontroller and their selection criteria, and…

Question

A/D converter requires signal to start the conversion and indicates the completion of operation with the end of conversion signal.8255A PPI is interfaced with 8085 microprocessor at 80H. Microprocessor reads 8-bit output data of the ADC at port A and displays the same data to eight LEDs connected at port B of 8255A.state any assumptions made. a) Identify the address captured by the card.

Solution

Assumptions Made:

  1. The 8255A PPI is interfaced using I/O-mapped I/O (8-bit port addressing with ).
  2. Full 8-bit decoding is used for base address 80H (), while and connect to pins and of the 8255A.
  3. Start of Conversion (SOC) is driven by (Port C Lower, active HIGH pulse) and End of Conversion (EOC) is monitored on (Port C Upper, active HIGH when conversion finishes).

Port Addresses Captured by the 8255A Card: Combining with :

Binary AddressRegister SelectedHex Address
1000 0000Port A (ADC 8-bit input)80H
1000 0001Port B (8 LEDs output)81H
1000 0010Port C (PC0 = SOC, PC7 = EOC)82H
1000 0011Control Word Register (CWR)83H
Answer:

With I/O-mapped base address 80H, the addresses captured by the 8255A card are:

All past exam questions for Instrumentation