Ass Q5

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

Assignment Q5 22-3-2020

Q- Considering the cct. in Figure Q, write a program which just does the following steps: For the
ADC0808: (1) Order the ADC0808 to select channel IN6 and start conversion. (2) Check end of
conversion.
(3) Read converted data. For the TLC7226: (4) Send the value in a memory location (M1) to the
AD7226- OUTB. ((Note: The base address for the parallel port is 378H))

Figure Q

X X X WR E OE ALE/ST

Instruction C7 C6 C5 C4 C3 C2 C1 C0

0 0 0
x x x

0 0 0
x x x
0 0 0
x x x
*

0 0 0
x x x

0 0 0
x x x

0 0 0
x x x
0 0 0
x x x

0 0 0
x x x
0 0 0
x x x

Note : If C5 is set to zero then Data Group (D.G.) in the parallel port is set for outputting data,
and if C5 is set to one then Data Group (D.G.) in the parallel port is set for inputting data.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy