Past exam question: Assignment 3, Q5(b)
Open in the Padhaiko appQuestion
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. b) Determine the necessary control word.
Solution
I/O Mode Control Word (98H): Assuming Mode 0 operation with Port A reading the ADC, Port B driving the 8 LEDs, (Port C Upper) reading EOC, and (Port C Lower) outputting SOC:
BSR Control Words for Pulsing SOC on : To generate a clean Start of Conversion pulse on without disturbing other Port C bits:
- Set HIGH: (BSR mode), (bit 0), (Set) .
- Reset LOW: , , (Reset) .
Answer:
- I/O Mode Initialization Control Word:
98H() written to Control Register83H. - BSR Control Words for (SOC pulse):
01H(Set ) and00H(Reset ).