0% found this document useful (0 votes)
14 views46 pages

Microprocessor Unit-5 Notes

The document outlines the operation and configuration of various ports and modes for a programmable interrupt controller and data bus buffer. It details the functionality of input/output ports, control signals, and interrupt handling mechanisms for microprocessors. Additionally, it describes the initialization command words and priority modes for managing interrupts in a system.

Uploaded by

surajkjha02
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
14 views46 pages

Microprocessor Unit-5 Notes

The document outlines the operation and configuration of various ports and modes for a programmable interrupt controller and data bus buffer. It details the functionality of input/output ports, control signals, and interrupt handling mechanisms for microprocessors. Additionally, it describes the initialization command words and priority modes for managing interrupts in a system.

Uploaded by

surajkjha02
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
FMS O MPo reads data from Surelid lo porle of 82564 WR (west) ¢ enable wrlle opeeaticn . cohen Signal, qoes hows, MPU writes dala from selected '/o port of 255A — RERET 2 Cleans eontiod Signal rept ond ter ath Pos un Anput rode « Bs Ao and A S Deviti Seek Signals, fp and Ay Oe ppv address Lunts, C8 tr detoder addres. Frabies toremors _tofion 97m CPUs se @ Ar Ao Aad ; © Oo ° PorT A go H : o 0 ! Port B s\n | oo D port ¢ gar ! . 0 I ! Lonhrot Repair 83H | ol x x acoA mot ducked K Porr Ai 8 and © 3 i Gas A tonalite Of tha, B-bit ports ( fit AI B and ©: Port A: cre Be hik date output Rateh| buppr and ove ether rode | gc btk data upuk Zobeh« They cam were in ox rode 2 rod él + $d 4 Poor 8: O °, . me Bb EE data output tatah [butpes and @ a pik buffers Works th ymode © © * FO! det of ‘12 mode. Port c 3 ¥ one e-bte dala Outpub. latch | buffer and om @ bee data pur butters TEA pore wan be dvided Ole wo 4- bit poe D under mode Lowen. x Eooh 4— Bt port Lowtouts a 4 bie Jolih ond Wr be used for tonto’ Agnal outpuk and Seater in BER mode or roode O of io Siquols pub +» work mode error A & GPROLP B CONTROL 2 . > X Thy funcional conpquiation of eae por Progaomud by” mom depo F contol words by CPU Lonpiguie amounted ports of wath of Gwo groupe» X% Caoh COnttor bkock [Link] donunianda {Pon Rend] wudile tonltod Vogfe ound Dante propur tommand to Att © 7, X Thae aw tuo abit port (A and B) and two Abie port Ct Lowe) and C (upp). Pru pore toe BE sxpuk or outpule pote x owlputs me Lotchesl # dupa are We Lotched - tu auppioone tapuse]oupub tombinaliana | coniguralien a OAL powriine Kes mods o Mode-1_ 3 Siebel input | owput * % Phovides means 4 rans ailg tfo data to e¥ arom a Ape pore with strobes OF pond shakerg a sifals, Prt A ant “tu Fh ow FE GH pondshoking auqual- ¥ Two qreurt (A and 6) te gue ocbik dale poar and ont ilk an ucpuk or ae kk The 4 bet pork ts wed fr Lowlios os wull a4 for Qtoliu Of B-bik olatn post « Qhobed BtAvtechénal Bus ¢ Vs Wode_& = ae Providis a means or communtiz with a prot dence Qrucliue ON Oe Singre e-btk bus for ped both cronsnisiaig ond recuiving dolar - Handchakig Sraqniols One peov eds to malian & peopet bus aye aberp Lunt » e & uted btroup A only « KR ome O- bie pidueclional bus port (Port-AD oud 5 bik rok pore [ Port ¢)- % Both enpul and pubpub ot faléhod - a & bh comtor port_t uaed. 4or bem conbro! ad tuell os talus obit pr-dueclional bus porks- D4 [pa [balo2 |b) [Po | e atroup B Ly pot otha Plo) t= Input O= Oulpuk rae’ rote Port- A |= Input pacar ~ Group A Node OF output Suechen = Mode porrA Pork C (Pr o po Modo l= Input wit y-PtA) T= Mode | 1 mode I ooh 0 pt IX Mode & Contiol word format rr to mode / a Dorrjuroony, BOR | pie} sue|Reset Mode) 8 ye BER Meds ci conemtned only wlth wg BUA of pose ©, With tan be Qek or rusk by wwomling oe expproprtate eontiod word tn comliod register. x For apphudliin Such ot onfore guitchs pidivadual bib of Port C wn be used tr Hui mode. L Dy \ Db De Da D3 | Do Dd ] Dol Wyre Theo 1 000 O jotck p4=0 Nok wed O61 Made! oo pastt |cR mode 010 . kobe 2 | otl Bes 100 Bey rot Bus 110 ped Ags oat ae, ene BER rode rey Bret Pin) DIAARAM « Dy- Do - Pale bu Ao-Ay Pork address ReseT — Reset dnpuk Phy Pho Port AL LID) 6 fi Ce - Adek PB Pap Pork I HL) m — Read Input Pt4- Peo Port ¢ (BIE) wer — wa«ilt Inpuke Vee, and +6v kOVOIG t AeAP. a 2 Pag |, * oni vt PAg 34] PAS oi ea s A 3 36 |PAb s Pho Ta. 3 PAT vl : aot Ay |é BASSA 33 [D1 Ao 14 Spo peq io 31 Ps > re, nt $0 [Ph Pes |e 24D Per Ya Q8 DL Ree ly at Py Po. IIs ab Wee Per jib Qe |PB4 Pes iT Qt PBL Peo |'é t3|PBe° Pe, |I4 2) PBy, : Pex [zo as Pt - Treopacuy acs wilh goes § x twe oddum decoder qruaclu chip telet Signal GB ond THR ome dunivtly comnectel bo Svas send] coals conbiod Signods | RESET connecttol bo yneral Auk: The pork numbers for Ay 6, 0 and Conliot eee / @ woe ne fucken pots: ports ou Ol) a and 3 Aeips The doje IN and OVT axe Used yor dala. Beanager- a = oe 4 A 4gq? Intesep acne Bass pPi to 8085 miccopxowccor: GASIA— PROARAMMABLE INTERRUPT CONTROHER : A Programa te enerupt conhollex desea. fo work with tel nuvioprocenors + Davo used wilt, Ib BLE Tu uo-prowwnoré + Fealoru duulude 3 F Naoge une Oiibaupt actordig to te vurructins waitten Orla ith vonbrod hepolir « 7 . € * Sntowrupt request tan de done anyuonear a menory Map, 4 K Ruotver Lye Levels of srtouupt pardauly & vautly of medes. A Mask each inupl Aequesb enduvedualley . K Reads he statins Of penilutg entenupe © x Expanded to 5p prioreliy leve he 44 Caeadluly additional 8859 A's. * hw oy Edge bigqued X Bupper and automatic E01 mode. Axckititluse] Block duagraan ef 82644: o HE Woludes eontiog Loge , Soul bus bubherg Rend] waite Logte 4 Chu Repirtors , Privy Resolver ard aarode bupper+ DATA BUS BUFFER: a Reter wots from 8QecgA tonlint for Doe bus bartfer- / j © y See ae / * When ° Av 4 ak Loge © 5 Conliolir 4 Suetid bo Whale o% tommand or ead oa Atal. % Chip Sueck and Ay delete the post kdeaa of Londo « ; iInTA INT Conhol Conte ae] duper eR 1RD =| RY con —>| Read] f , b RB wile : fo L_fogt 2 * 1Rb i. IR4 Carade CASO cast bagel Compaialor Fk Mank eat : {rur) CASL ntvnal bus { : Pq: Bhork duoyow of 25g A c Lemon “dotte : , we Har two pus InvT (Urteruupt) Ot ar Oty, INTA ( Intouupe Acknowledge) as on cxpuk - & woken a valid snbrrupt 24 assviid 5 | INT conneeted fo snlouupe per of MpU goes beghe | ond the mlompt 4 acknowtedged bq WA agra wonnered qr meve INTERRUPT REGISTER AND PpeioRiry RESOLVER : Prtetup Condfolle har Lraee Aagiotons | | O ier —~ Hos e ugh oe tanks (Ro -1ey) fe iene wen ay Ayo hugh Aequmts rewerved are Stork & Apter @ 18K — Stow ole kevela LMhar ate cuumulty bury Suwvited. @ tue- Stoves rastiig tito ° bats © be masked - / ® PR— Priority Resolver exanuncs fhsee segishou and debenuie onion INT should Le dent to MPU or nob. CASCADE BUFFER | COMPARATOR : To erpard dhe urlouwpt levele g two or 3 8269 A's are tascaded Aogiiu « more PIN CONFIGURATION’: Di-Do - Dale bus ( btvieeksnal) RD Read dnpul os Ao tommand Auuick addxoss ay es chip Autek CASa CAS, Castade pure SIE toe Proqiammadte | Enobte. buffer INT Intulupk INrA Iwevuupl Atknowledae Ro-1Ry Intuuup Requusk Inputa « Tinteunap ls 2 Opaae lia Flipfiops Ennvind by wating €\ unstruction ond BISA A shitiobied - Regus Guo Epes of conliok wordy © twahabiyalion command wosd (1en)— bo ack up pope vondibon v voury Ret veclor addres . © Opraltoral Command word (oew)-to pufam purotn Guth as maakt | Aubbng uad- wile operalidh ele - One rnitalied 5 IRR Atoms Ahn ROH at @ ik Periirily Resolver Chocks three regioteu 1eR, IMR b ISR and when Aecelved sets INT= I + Mpu Acknowledges wnttreupe by Sendeng inta BP After (NTA feceived 5 oprode for CALL addr 1% placed on o don bus. x wi hur MPU dtoodes CALL uu obion , ke Plas two more \NTA Arqnol on dale bus. * when a wl 825A vecowes Seen lia, Be places Pow order by of CALL Oddnew on dala bus. AE thud ITA 5 UE ey Plas gti niclor, byl, Of OAT odes x Dung mad iNTA, ISR GO cubomeliialty sare Muough AED or by & command word £1 ussued ol EDI. x Ne program ConltoL ub agatn Monpused to CALL uurnutlion addres - PRIORITY MODES - © Fully _werred, Mode At ele or otianged from huphut $0 Lowest with Ro as hghiul 0/87 ae fone, Any WR ta be ansiorned highs pricrcliy , the eI prion Aequence wu fen segin at Cat Ik- Fa: Ry IR, Rg 1g Ry IRs Ry TRy UAB Be abt ys howls & 3 7 4 Lower Aight » palority PRAY ® Automabie Rotation Mode: 4 devud after bely Seed » weves Power pacaity Eq? Pf Ia Ge aururkby tuny Aviviced , nest cycle eg cs made Lowuk pucrty. IRo Wy Ro IRe IR4 Re IRE IR+ a \ 6 @ 0 1 a 8 F fowut Priidy Spee Rotation Mode. the User Wn Atlee aay IR fav dowat Paani Agta: Complukzon of sintivupe Servite, 182 bio needs Te be Veaek. This in called Crd of Wp 2, / INITIALISATION COMMAND WORDS Icw1 —> Ao=l and Dy 1 fo tnteiprted as 1cwl. ! Ae SESS ea eas wat eat as et + _AS-A1S: Page starting address of service routines .In an MCS 80/85 system, the 8 request levels will generate CALLs to 8 locations equally spaced in memory. These can be Programmed to be spaced at intervals of 4 or 8 memory locations, thus the 8 routines will occupy a page of 32 or 64 bytes, respectively. The address format is 2 bytes long (A0-A15). When the routine interval is 4, AO-A4 is automatically inserted by the 8259A, while AS-A15 is Programmed externally. When the routine interval is 8, AO-AS is automatically inserted by the 8259A, while AG-A1S are programmed externally. T:IFLTIM e 1, then the 82594 will operate in the level interrupt mode. Edge detect logic on | the interrupt inputs will be disabled, * ADI: CALL address interval. ADI =1 then interval = 4; ADI= 0 then interval = 8. ‘+ SNGL: Single. Means that this is the only 8259A in the system. If SNGL = 1 no ICW3 will be issued, + IC: If this bit is set ICW4 has to be read. If ICW4 is not needed, set IC4 = 0. ote 1cw2 A write command with preted 09 jong fo fos Tuts Tato [a eee EE us: fac wong ner aes seagey , tpsgrent ee Used % Load higher order Byte Of thtoyupt very adda, ews This word read only when there is more than one 8259A in the system and cascading is used, in which case SNGL € 0. It will load the 8-bit slave register. ‘The functions of this register are:

You might also like