LEARNING OBJECTIVES
Interfacing of memory with 8086
Architecture and pin description of 8255 Pél and its interfacing with 6086
Interfacing LEDs and switches with 8086
Interfacing seven segment display with 8086
8086 :
‘Architecture and interfacing of 8237 DMA controller with 8086
Stepper motor interfacing with 8086
Interfacing of DAC and ADC with 8086
oz
co
cs
o
TF Architecture cind interfacing of 8251' USART
-
c
co
c ‘end interfacing of 8259 Programmable Interrupt Controller with 8086
Architecture
a INTRODUCTION i
connection between 8086 ond I/O devices. Interfacing dvided Into two types, vi, memory
‘wismory interfacing is used fo access the memory for reading and writing the deta n this
8237 DMA controller, 8259 PIC ADC, DAC, seven segment display
Interfacing means establishing
Interfacing and 1/0 interfacing.
F ‘unit, we study interfacing of 8255 PPi, 8251 ‘USART,
|__ and stepper motor with 8086. .
aid
1M ALLIN-ONE JOURNAL FOR ENGINEERING sTuDENTs
SPECTRUI
Scanned with CamScanner—~,
eee
Foret rte Bat Dap
iota tte 2
Fae 9 IE
Freee onlin agate Kt Be
Se Nn rar an sone
ed anna ain Am A st,
etacaats am name Roane Sgr 9
ehneuvacr S08 ena
oer eet (NEE) i en rt (STE) wo pa nh a
tng ating ioe cn meh nn et Ne BE nt
i SBTC 08 gi tg ne nme ee (BRg me Rt
SS. Wt HF, avant wrtn meyer cont, aoe
eens Sh. tein HE farts chang oh SHE otc
Forensics ravens get By trenste
See ot tne tary nt a
| Pooh cnctmrov msonrmmotsrente eosterenm mateo
| brite -oie. enema ttn oe Drage OE tae
|S cere a
Tee ]
ee
Bee |
1 | mr mito cpt ae toeecest0,
| cope peen teen rtm amit
4 | sna Te set me
aot ra
* argues
2. | ee nanbe oto pence tatent -
teen pent OUT
arenes 2 [eet ea mem ee
eon ne ce
spec on Jun 08 EEE STOO
Scanned with CamScanner(OX aan racing? Egan erp a 8 PHENP
(aM naman eared an end a rh pe
po 008 rt)
Be de
la a ea an ae
ants
Scanned with CamScanner—————————— ad nue
Meet pti 8 se |
DDD Dy
CLEET Bana,
a to ci th id en
(]ewarnme iver emen t ptg
Scanned with CamScanner- $e o
Tesi rere
a 008 ec
——— ey Rs
|
|
WE om
— =
ar ne
oJ | |[C
a Doteasy
aerate
aes capes
Spice etrannenenneepennans
ree |
ewe * &
CR Wm nn tn om ls, a
pene 3
speern aot JOUR FOR EGIMEERNG STUDENTS TOT
Scanned with CamScannera
in im ir nc
amano tan ry a i en
Scanned with CamScanner2 :
ucnopnocessons aNo MGROCONTROLLERS NTU Ka IMT 9206
a ae aS oa
ac aie lt seen
eat oa
cnettien niga
trent a yk it cs
Sg pr ond en
2 Se ea pn |
ee enema try
e
Scanned with CamScannerocessons ano mecnocoNTROLLES HNTUKAKINADA)
rae aT OH,
ceria ts ee
” meson
ea mg pe
Pye rte
coNeAQ epee BOS py
‘Sem ef RD spa 3S = enn br do
Se nis Ww caiman ae
Lie en Tr pan enn pe
roe
ec an seni in ea Te de
Sree mint meparnn tampons trey Teet
2 SEE nem Seer meson inna
WH yt a i te ey
re een TMNT
in re ne | Da eT
Wipers Tae fren ene AK
‘promt buena nope
Stop
sein tn
{nee in eh si
Giivtsmawyacere WO bie datum
recone Tendon | HO" ok ema ea
feted ah oS Stemmtvimeecrone
Tie imscd-cussendyest | tememieateemmnenn tenth
Bt CB-tammtsgalamcetiest. |maementimnoatet
Sanus vou tame | Rozen eral TaGuimere rs
Diath pn dren 25K
‘recrgton
Fore ten sete suranftSA,
eo
4s yo 009 OR ENGHEERNG STUDENTS FTN
Clana
Scanned with CamScanner= uwenomnocessons AND MICROCONTROLLERS LNTUARINADA) |
Sine oe a
Teen Wosceccoraniessine| [oe | 8 | rermtates
Soe + [ema
Saree) eee
‘RUT try ween ee
no wemenmocaemaoeans
Fete em 0) te i
Sandee teen
°° Somme nm a
Sasi mamete
oncom nos on wean SHC)
Scanned with CamScanner:
or ROLERS LINTUAKINADA) | 068 er) 3
| tit tm fT
|
|
|
|
Specnoy AL OME JOURNAL FOR ERGIEERNG SrupeNTS
Scanned with CamScannereta
“eTronics
rir an
fe a
Seem ce oF ton
SESE eee
Serecteee erence tenga
SRS aS caiman amertemay sara mr
a ern ene fem
er em NPM ee ay Dnt
(Ewan oan om ono
et chan,
tr
. “Mr ae ety,
1. 2 RD
Scanned with CamScannercaiirtstees retinnne tent nth ies
wetted Aon of 86 mcm : i
"eM ma ay ee cf ne) ay hn et ai,
‘jl wesc ley se ol GC, Tab te Dy DA at
BETAS ema hpopsnn enontm y
se ne at a et tf
soos at econ ee
Se seers
"57 B86 wang usutiie deg ce a r 7
ear ryngren eet kin on
SES iay easier
Seine spate retreat
acetate a ntencteeatermettrmaene
{Rite aaa
sp taliban nan gti
Sir sen
a
——————
ng ens ene
co Serie atmanrooree
‘4: Wate OWA? Wa bean
Ss
eum | er | fe]
7 [oe Paar] |
a | mea ea
| cee | Shee
my te at 4
1p Rue epee mtn
2. Nis pte eae i PU mp eNO poe een
4 aero CU toa toy ign vig Ot
ee Crenteniy enlavionstratitig
RL sameeren et sr irony ti mt ID
>
oi Si tee ey neg oka re
Sheth Conta an repre ae
scans
watOHT Be, ULE
Sa | = | ta
pens es P*
j et
} RST TOTTI
Beam cancta pe smear am
(0 rovsaom momen
th Stoaene *,
{ty exacyy anon tor mcm oe
| NNetenrr anh
Nest recat hTERT) AN
Seance ay
ssponaiee
Scanned with CamScannerScanned with CamScannerLLERS {INTUKAKINADA}
5 eer -
Scanned with CamScanner= scnomnocessons aND MICROCONTROLLERS LINTU-KAKINADA,
2) Square Wave, am
‘Back: aan, ape aX, i
ey bea eae
Aor “RIT mri hc ene
ieee
iii wane rere td
Ee ye
Scanned with CamScanner= “MICROPROCESSORS AND MICROCONTROLLERS [JNTU-KAKINADA)_
SS ae
LE anions easeacaeae ae
Seo eeeee ae aettome eta
ee
a aera annie pepont atest 9a
SR eee
praetor penetrated
—Rinnvietaneaseeeeneame
RANA
aN
me
‘een mg epg age rage ig nt fo ADCs fb
(Cte tte ADC dt 80 pot cat Oana et fb (TS
Reece tb nan pete eae
mack: AL apa
scans lg on cg He he pd
me Maat eugene
(Cea wana: et NOU yt tg FD
eee
faa oe
sto ca gt
sintcgestheuims Sarees
Feomeettng
empty ag eo tnmeiime
Sov em meee
| (ur “PORTE. P
an ler eee
1 eA roca
ee
Scanned with CamScannerJconTROLLERS|
ncnormocessons AND MIGROCONTROL
7 roam
1 term canteen,
1 Reunmanasmnnbd
NTU-KAKONADA
ala
3 ons tc)
Fae Tp el a ae TOT
[Nth Tew 8 CU mt eat hele
hort Nk pn ft esate
pt FRERGMEEANG STUDENTS
sperm aunt
Scanned with CamScannerUNTU-KA 7
x cromocessons AKO MICROCONTROLLERS INTUKARINAD,
Se eo sah
Ssiommnert amo satin core word eet a Lone
sata Tate. 2 Le | st ee mn ee ba Ben My 1
)Achitmust be" fr recognizing central word as ICW2. %
Serra cenaa ents a
Yar Aya tect orig be interaprese elie om O01 fe, These oe ll iT —
) NCWs Depending onthe HC, Wt of CWA the command word CWE is sed orey eye See eioea
WieLewenoes \ rprfelele|u) | eee
mn CPL TLS TELE LS) | Seti itnn aoe ndserte Et
‘Teenmind we emt shun i) | tyefefele| =| =| = | semmemmmnat we ee
A}o/alotoTotoalol Uys yasfayals cee
: : eVehe|e|t}a| a] a | saceam =
stele] o [sem] nur | swt | anor | aro « ada fe [oe fo] an] a] eo: | somite or
= eye fepspep ey [seca
i waaun te Lemerirree
ict Aecutirsayty CAMA et Aran oed ty LBL ee LEGK prem JUD {srecrnom aunt stun Fon ry a
Scanned with CamScannersncrornocESsons AND EROCONTROLERS INTUKAKNADA,
See ore
WG Te caetona eH “AORTA
Netware ps teen seal NO
epee
Sinnoeuats
tistorisintctratmicactctenacrgatanpesss
Sram enn iiectgoememriminc mt
‘canoe et ponents
Sees
FRERERES
a
Spon ata aay eg nn
Teng enemies gt ate eh
| Seeley endear easiped ohn enw eo
TS roe
Lis i
a
aceon nt
sarc ven van on ene
| ___ ll
Scanned with CamScannerEa no mnOCONTOLERS UNTUAEEDA
croracs508 . 2
SSS a ere Ae
Se a en
nS Ta cere a geomet
“ieententy ot traremmete amet 2%, atten AD na
cane pennesemmrmne etme S| gan mina
STEEP Stee ecmmmet Ge atin by seamen arg wn ipo
2. Se Sn a a ae aan ie scan rata on sn, et od cor es i tte be
i
: Sao
Sa A {
Sioa a
| Renan \ aes
ga
‘area
| Gir bw besa dapat a moro |
ange |
So
Fe cpm ar aaa Dae A Tena
(ane eggn
ie cap Teng OE
(hese
SS aaa eRe
es es
Ce pet srecrmn nent toma ror enone T2208)
A ty td et pn ED
Scanned with CamScanner100 ‘___ MICROPROCESSORS AND MICROCONTROLLERS [JNTU-KAKINADA}
Q17. Explain the interfacing of a DAC with 8086 using 8255.
Ans: Refer Q28. fs Important Qiestion -
Q18. Explain the procedure of interfacing A/D converter circuit. ai) iD
Ans: Refer Q30. . i : Important Question
Q19. Interface ADC 0808 with 8086 using 8255 ports. Use port A of 8255 for transferring digital data output
‘fF ADC to the CPU and port C for control signals. Assume that an analog input is present at I/P2 of the.
ADC and a clock input of suitable frequency in available for ADC: Draw the schematic and write required
ALP.
ans: Refer Q31. ite mi important Questa
20. Draw the block diagram of 8259 and explain each block. - r
Ans: Refer Q35. tot Quaton
Q21. Discuss about the following control word formats of 8259,
(0. Initialization Command Words (ICWs) .
(ii), Operational Command Words (OCWs). lage
Ans: Refer Q36. . Important Question
22. Explain in general why interrupt priorities are required? Discuss interrupt =
Priorities of 8259. : 4 -
Ans: Refer Q37. Important Queson
@23. Draw and explain the interfacing of 8259 with 8086? e ca
: : . Important Question.
Ans: Refer Q38. ,
Scanned with CamScanner