Sei sulla pagina 1di 2

Name: fatima amer

ID: 2131111634

discuss handshaking process between ADC chip and a microcontroller -1


? for preforming a conversion

the conversion is going to start by these steps : make CS\ and WR\ .
simultaneously lw , the ADC will remain in reset state until the CS\ and
.WR\ inputs remain low

Conversion will start when one ( or both) of these inputs make a low to
.high transition

monitor the 'end of conversion' (INTR\) pin until it becomes 0 ; when it is .


.0; it indicates that the conversion is complete

to read data from the ADC, make CS\ and RD\ low, this will output the .
data on D7-D0 pins, read this data using appropriate instruction ( read
port to wich the digital output is connected). When RD\ is made low, INTR\
will decome high automatically. Remember that the port should be
.configured as iput

?write a program to generate sawtooth and triangular ground -8

Triangular wave form

ORG 0000H
AGAIN: MOV DPTR,#TABLE
MOV R2,#255
BACK: CLR 0E0H
MOVC A,@A+DPTR
MOV 90H,0E0H
INC DPTR
DJNZ R2,BACK
SJMP AGAIN
ORG 300H
TABLE: DB 128,170,213,255,213,170
DB 0,85,42,0,42,85,128 13
END

?list the applications of ADCs and DACs -9

:Applications of ADC

mobile phones .

TV tuners cards, soft wares defined radios .

digital storage oscillators .

sound .

data logging remote digital signal processing .

industrial process control .


:Applications of DAC

cd players .

analog video monitors .

mobile phones .

data acquisition .

vco tuning .

:Chapter 21

?"define the term " memory access time-1

Access time: time elapsed from activating read signal until data is
presented on data pins

Faster access more expensive memory

?ROMs do not have a write pin". Justify "-5

All memory chips have other control inputs which control the direction of
flow of data . a rom usually has only one such control input referred as
.\output enable OE

.why are dynamic RAMs slower? Discuss the benefits of using DRAMs -14

Because of the larger capacity , drams require more numbers of address


.pins

write a program to transfer 10H bytes of data from external data ROM -20
.to external data RAM. The starting address of both the memories is 0020H

Potrebbero piacerti anche