0% found this document useful (0 votes)
31 views28 pages

microprocessor

The document discusses microprocessors and microcontrollers, detailing their roles in embedded systems and decision-making processes. It covers the architecture, memory types, input/output operations, and the significance of buses in data transfer. Additionally, it highlights the differences between microprocessors and microcontrollers, along with their applications in various devices.

Uploaded by

inertiaofrest1
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)
31 views28 pages

microprocessor

The document discusses microprocessors and microcontrollers, detailing their roles in embedded systems and decision-making processes. It covers the architecture, memory types, input/output operations, and the significance of buses in data transfer. Additionally, it highlights the differences between microprocessors and microcontrollers, along with their applications in various devices.

Uploaded by

inertiaofrest1
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
You are on page 1/ 28
Dee E EEE EEE HEO EEE HEEEECE @ Teacher's Sign & Remarks | ap i dare 26/7 262% —H_saivopro ces0%. [the micropyocetoy “ts _o__3 nammahle linteguated device that nas _—remmpe Fimy ow decizion making capobe Ide aim lay a to cpu of a somputex proceso > Outport Micve powtyo\ley tBleck dtingrams Micro contro Nex: | Micvo contyolle ig a tes nich consiat i og _micropyocewox memory input, Output I a These gouy someone wh yoork Jeyice. i Aegehone topes goa a __aivern kask + Softw a3 & Hard he plyscal camre se earls a xe ¢ Linvteuchon wailten coy the nacroproceyey & lo pexporgy a task is called Pyoqyamme. yd on qvoer 5 preqgram x catlleof Bopteave- I catleot hasdware polite QO se [Pageno: [> OG —micko procemoy clans =) Micro procexcey AVE _pyimoavily -epteqerixcal EA indo too cake gowi&se Re- preayamabl yetern - a * 0)! Embedded atent : 1 « - WW Repregramable Gysterna tte includes 1 Lasvesal purpose microprocessor capable 5 ee 1 oe lhordiins loyge dala mar atéxace levices 4 7 . a oo & : fa (eevdyive, cpeem, USB, HDD.) ond pexiphesals C printer key boorel mouse Leen ke ). + 4 eee pee grememag arc! - ¢ : oa d 4 -f Ste seproquammahle number oF 4 times ¢ usemal ta apistey tA an 4 | | example pe a enpuagrammab(e Sy cher. @ | 4 oe ‘ Ji UD Embedded Syetem + “4 : cae 8 = St i a eovt _o¢ pina! precduct and able” gan we -pangx0 m7 end uRex. Evomple = -colatatey, oa plots copying Thee. want hie. Matic... ataalimanaivia ching § 9 Siaiaiaege HIN > Bit aytiem[wride) Kiem, Ueitori rs cl 4 Byte. = @ bite ; wT 7 etiobyte eB) = 1024 bytes I 1 Meg as opts (MB) = 1024 KS I 4 bai byte (4p) = 1024 Me Si (Tea) = 1024 he 1 Ter be 42 O ; Gate LPR) = 1024 TS = 1024 FE | feta | 1 fv byte 1E8) Bit ~—> Rinayy — Vdd | A gt |g Bit youu Ey | toou fio be 1O24 Mega byt | ipo ato kt | t02u Teawite L192 _Petad | {O24 Ero bs 1024 Leta dadddddggyyy é Page No Date 2 e¥ i202 se __between _ malcroprocesox ru'cro¢antroller Microcontyrn) lex i - 7 ll Microproceso y | 1 The waicyeprocesa UW de heart she utey oyster - a ° QW) the microcontroller a the heast OF a embedaleot cyaten ! ' Gy the microconkreller 4 NM st is just a proce r mobile, PC Srample > embeded Aytem aming _cornole , higl Yeroy machine, AC machins MPS player automplty oe Rexgowtonce camplding |. a 7 TT custem . meclical fevices Ui oe rays, ORE machine.) DoT device. ..2te. he - VIDS IEEE | Componenty op raicre controller} a) || microprocessor / CPU! | The c@V we the byain of dhe wocve- L soaeel ex BeerO% ave cyecuter instyuchent St peyeormt arithmebc and togieal Oper dion amd combye! Hae _pvevall’ Opesat BE ile device. : =e [Taw | ddddd dd] Te ndyal 29) pistes | per St Hy \ —S cru Comme and Logical “onit) : ‘ ALU (asithmetics! eT amit ta caved gos pergodovters : : ( advent uel ot osoleit fom Vorwthmette 0 abdsaction, minth'ph'e real opsactont froma, oblyision and. other to OK Ase delay “al. Cont se Lcombsoale. a z ALU which unt quid Aion “to be pergs yn col = joasty ugtens ts = EC KB EQUCANCE er the 1 conhelled — by dhe | combel uit’ og j 1 Reqistse 7 caed te held] xteve the intew I i444 = 4t_iz tl west /data he certain opexations jane performing ; ere 14 at te _epmbi motion og clipe ploes $—t + ™ = (men ~~ Co ms ~~ ~ ee ae uh. Oe SQ E00 x4 ce th Papgr am memory Leom) a. FL Tas db Where the pregsam cod att 3 vu CHET stoved . thurs CPU petches bepress Exom aWwsr memory and srecites, them qd Ui) | Dota mem oy cram) sl Tuts ts reo to eteye temporary Ave | eduryiya evecut ion. Va iodeles se gesters dma < and Space aye exit $ #8 picathy atlocatect fm tS memory. © 9 4 AS.) aneut J output post =These ave the imterpacel tivo ey whieh sHye wiicvocontrottey — Communicater with the exteynal sonic . Sypd output port allows the vverccontyoler omnect with and other Sempre Sevicer. ae eeqeererverrvvvweere [Page No. ti \ \ Bates lope HF aterm ‘ 3 1 Noted | The maly nm powends Of the paicrecantel ley Gy _dnpd /dudped post memory - QARQNNQNHS CO prem tis there aye Boome | buck ax timeyg I analog aed digital convestes, sexial [ocommnication! —iwhergacet , b clock generator, a Loyeret civ power monagement! unit, intescupt contrelles and but jtesface. Qua_intesgace in _micvocontroller™ | components oe. Hes | watevo conbrolley’ to ammunicate with each other =) the bux imterpace aWows Sigg] etent : | 1 i There ase racindy thy 2° Sees DEE bYy ts - [e- ort £ 90 0H. > 8008 g000 9860 oad eree Sasa teed peta . Bam bus = off = cure . 2 = birt 2 O00 0000 H t Hddid ddd ddd d I VIII Iss ddadedece erereree a =~ dals bus Shit Ss Une. Pat “| gewit HC Lie: wit Nc | eo-uit uc © \8- wit dodo lous |O \e-bit dete bus] @_22 bit dato SA process Abit | Ak procerd “bus, 4b Agile at a Atmel tg bit dala a proces $2 bit a Aime - | data ab o dime. a \ S-bit addvos Are bi oddven | bur. S34 allows fi) e2-bit add (ers bus dt allows di ablows 2S bhata| OS. cuee of | 2? = Yue of 7 | e28) og memory. MEMORY . sa smErmovy + a UTD St consumes tow Ki) 44 “conmumess (ii) St Consumes waedeiade proceming arg bode precession | processing Powe owes Gy powey_ than & one! _ ! _ th prt Be + SS w |] 4b wused fox fm st wusecl _<& lematley code por Sligidly (iv st_U wed Ger ge [eize, dueteitt_{ tanger cole siz" taygey cade sige : Compare 7° ie upto Fue. wre) €-bid ue. dinmele yample "SOS 1, Sharp LH79520 || metaolla 6gtt Example + [Ztteg ze motorola eaHeTES | Microchip PIC | Apwit UC | @enasas meucor orpipipieiege99994 baron tecture write Page No. about Sue ee: TSS tucks, _ goes MICRO PROCESSOR at WS an S-bit _micraprocewsor derqned by imteh jn 1974 using NMS dechnalogy + a dd the con€iguyation of Kpgs in vod &- bit dodo bue Gil 1e- bit addren bus, whioh can adolrers upto M6 ke. fe bit proaranr aware. Ath. bit” sacle pointer, Six g- birt ecaishere asyangel Vn poive Wit] Requives 96V atioply cto ppckade wot Conotf Single phase tod uni ds rectoval - 4b & urd te tsompcey ths deta ane! addres any 4 Jowtput devices. Ww} Foes Microprocesox Axchitechire | SOKS consiste pe the fetlewing functions ; 5S 4 unite — (|| Accumulator? at Woan get yegiter used 4° perform llasith metic | Lowveal | Tio and SfoRe/loAn oceratons. St" ic mnmmected to internal | Vata bug ALU. BEGG EEEE LEI ISI ISIS IIE ECE EE cece Page No: ) Date: I ft Axithmeb'e awd’ togi¢ unit! SA__perposems anitimetic and vical i nperations like Addition , cuptaction® AnD. jor . . ete On bit data. ¢ | _ =e a 1 (ed (General pu pes: weqinter s a yo = There ave G- gengal pun pose teg iste 2 i in S08 oc woh + Each eqister con € | Weld = Et tobe, € t These Veyisberg Can werle x poly che hole ea bit' data. amet 4 [eee Repti ney z 4 t a i (4) Program _countes: 4 alot Qo 1G bit xesitter wed to atore ¢ i T die memory addyey! locnhon of The 7 al 2 § lomext IwatSburshon to be executed. 4 || mrcropso cemoy Jneements the proqra lebendn an instvuction UW bel} 5 levecubed , go that tHe prayam {i { q i € counter pornte de ths mevdboy adden ‘ Tog tte next instructions arat Sy going de be execute! ; (E)_ stack pointes’, ‘ elga iu abso a je -bit Begistey wsvsee! Ilike Stock | olieh & ” atannye incremerdsh op decvemmented 1, 2 duane pusl and poe operaliov . @ d tT udev & 49 § em yond yeqs sm pons 4 Ga D> bolls the bee & bit seqisher cb Jerpeaory dota of amithmet © avd Joaical operation 5 a Of F less megisker Beer est Wan Se bif veqither basing 3 VILE ELS “ d-bid plWe~ clog south _Welel ajith O eva 'adbencling upon ‘ wired in the “Accuyulator » Where ave the get Cf give elip- Lleps — ay Siqn (5) diy Zero (Z) fi) Pasihany Coase = QY] Pawity (FP) Cassy (C) = tas dustwuchon yeqister anal te cocler : = al44 Ww an oBYE weg iter. When a» —y isbuchen iy betcha pxom Sy then ib be xco! fn he =, Beg TEX systyuchion decodes 5 “Tht jngeymabicn pacvent fn tras ts uchson mequier. _ s — | Timing | uik provides timing and control lid aignal Eu Ke everbesoceysox FS pet osm mi -opsiahions. feltewing ave tus Airs g —— vad conyoy *analh, hich conhZJdI — | external wel internet ——5 Gol] contye! stavels | READY, RD we’ ALe ——5 Gd] slabe sigmab so, SL rolm —s HNLDMA Ciqnalt 7 HOLD, HUdA uy RESET Sty nals J RESET IN, ZRESET OUT. i Xl __\n)| Suter sup + control ! gis cei controls tha iwterrupta olusing @ | pYoces . aw oan a mttro oben u ox gu Hin - L maln PRDg raw and! Bhenevey an Hinieyyueh occurs , the pate veo procen oY 7 | Suter the contol prom the maln —._ | pooguam te proces the intoming request: Apley he veauest td Completed tie | contre} ines leat bo +h. ywrartn proqyam. Thexe ate © Lnseronpt! AG nals th g08$ pale poecesox! INTR eeT ge Ret 6S, KST 5.¢, TRAP. Tal sal Seerep Lf le le le la la la al WD Sexial input / sutpar condrol | 4 control $ The gertat dol commounicationg “on Ls ny there Awd tysrouctone + _4 “4 stb Serial tnput data) and cod a CSeyial qukput data) ’ | LP Aad yess bu eferr and addlrers ada huge — =i Tv content Blored in the atade pointer lexnd wogyam counter i foadeol pte tHe 7 _ || addval CT hugrer and aadtew- data buyeey | te cemrmunicate yoith the CPU. The | men and flo clips ave connected oe tl te cthete lowre, the CPU can eychang « [one aesixed doda with pm mo te and || + lo cats « I i Bago Vo. | \ > Ub | Addyes bus and date bus Fl Doda bw, cowie Hu data 72 2 lex bicisectronal , where ot LLcoyyien Har location do whe Le teved . andi tt RKSI] Ue MH | S081 microcontroller + i £0S\__ an §-id mievocontvoller hich t__intro-luced Ly inte) cox povatior . Tak micvocowotley at 1 2B pyle ;-2 6 RAM, 4ke eom , 9 Aimer $ © vial Post and coffe €-bit ct. ar dt 0 also tenon au) mes ait families OF S0St UC? = BOS 2 microcontroller : €OL2 MC UW Ahe member o¢ the gosh family. The oS2 hak all Ane Standaye ceotures oe £OSd os Wed) & oy an _extsa 2% bu fe og RAM and an extra timer, gf alto” hos &ke oF RAM Zoek) microcontroller + =iquy U__ another member of ost faelly This chip is «OM lem goss To e thu clip 42 mut adh external Rom SS |[eas) microcontroller ce OM , i Be ar only 48 og SF 8 roSBE— Abe Bage Vo. Jaia22 fevl20nk 3) Features oF Rosa mi'erocontretter: oe O) || e- bik ceu. uy lace eom 7 5 2 = 2s6 b 2 Can be lake (ly) | dntevyupt _cimeuth =2 . LY | pacittator amd clocks cect - wi Control weqitres . Wii} te-bit timer Catt Pxoqvarn counter’ (| anpud Jow\pes pin Lo jack pointer _ UNS covial dota tyansmusion and wecelwer Anterrupt in Ost. mvcrocontrotler : Snrerr up SS a Gost MC hos tera 5S interyupt in whieh aoe axe hardware intessupts (into and Int 1), ome # +00 time overplow intes nal inkexyupt (TEO, TED) and one testa corm umication inkesnat index yupt hel rend rPctewity og —loakertep td S0St ALG ) ) ) > y » » > > > > > > > » J ~~ ~~ ~~ “S “~~ “~~ = = —~ =s wale aianla ae aiQhaaanaias © Snteseupt _pxiost ty neg tater eqgiter | Rooker Teo Torro) 7 Oo oO eo t oO © o a : “ Si dntews wpe enable — ‘weqiater a 4 — 5 @ Orie Enable Enable Enable trasle Enatle Regier [ 2 =f Jeerial [tea fiwra Jrre [nro] ¢ 6. oO o 1 0 0 O : | Te enable he priowtty ey ister fives = [To ditable He purity repiiber giver = eaanlealialaiaiaiadaaské countex ar'reutt ! GEE ee Idg__ctocke to the count UU ven by internal clock pe KOS! then Yt will “be 3G ener and & ie clock 'w _@iven by exterra) clock . Ko and T1 I then Jit wit be counter. S0St hab two tb-bit timer TO ard TL wosking as a up-~ counter. a f To avd TA i custhey divided info &-bit Be gine e Te Tal £ —- Fo ge TLL THI TL THO TH TeTaya Le fe J [3 toe oH Less LS aes POH © + += Pe Mov. THO FAH | Mov. TLOFFH ‘cpwaun 3° _toumbers ay n L pyos Location addressed by x0 S 3S memory that ase ad byte ave Yam — coundes ‘Dd ince mentee -Agv«© teats wu fetched . ounto voiced ly - on every imadrucdy * Data poirdex 1DPTED betTe Ww ymade Wwe istey = named >DPH Lis ured do _gurnish acces and __exjernal | ali intemal _and__e#ternal “cote pe dwo @- bit and DPL« dt memory aiclel ers CA data acces. . oll lelelele eee eae H #4 Stack and __ SIFFEECCEE ol Stack Pointer » | The Us A AKea ing eoinker ekyive- data quickly 1 bua stack pointe s neqixkey lun tte indeymal 9 AM 1A wite of dola woab stored pperation. 428i i os! op Mee Microconkeller 25 | |< fPoxt OJ &oS! ah *Padeereal enable Proysam ctove Enable Proqaarn: Btove _ tl Vee and GND : i | . EI Pin 40 pxovices Aupply voltage te the clip, { a the voltage RBouyce tu _+SV7a@nd_ PIN 20 provides Stound (ond =| | Qua st2 wystal cilloJoe ik _comnected Le input “xraca tems) -aned xT AL 2 (Pw Ie) external Cagetal CXTALI “anal XTAL2) hae maa amalaiaialdalaa al 60S) hos onechip pacillater but .it veqwi¥es external clock to yun it 05 operate fl A 4444 Resek pin i= SERS PIN? uw the et pin, The microcondvoller will weret On app)ly fing high pulse (4) 4 this pin otd dermindte? AU activities - Onee ft activated the contents of aU _svegistes becomes zerd except the Covrtends Of SP (sack pointes) yohiil, YU OH ptipelrwieeree2¢ it fz : Fl rw pint, ence to. Vee ~ have oy-crie eM Cthey Wve 4 in case og £021 JC avd POZ2IIC becaure lin case of 202) and £082 there 46 nO _ on- chip Rom i «Adder Latch enable’ When S05! is connected +e external memory , addyex and date ove tzowmeperr= (pind. Addven latch enable used to cemuttiplex addyew, data | Progam texye Enable * [Sn cote of £02! bared IVY IVI Id So. Law external Rom holds || To xead thes code thu [qo the pin of the ROM dbddddd ddd & pins Cho — f4). aedicated only pox input /outpw «St have’ pyovicled internally Qvequtex. Ths pin te pudlecl tap down Hasorgh internal pull-up wequiey When we Want to iniHaxe ar 1 av output povt - PoRT 2 .- es $t is ured pov highes evtexnal addvexs pegs: O¥ a “nova! input/output port - I the ineut Jpmtput operation py similar do povt 1. Port 2 laid vemalny ptable when poyt2 ping ave Uzed por external - L Memory accet, AMMAN FAGUALUGRLN rerer ac PorTO Pin conpiqurakion, _ sso om s_—s (SJ cont: Signe Read Take buss ebral sin . Vee Addrevs)daty, = — — =, SE STA = tontrol | = = toaic = wvite tp {EE St = TaFeH :s Me Read Pin data ( SISIPWOGDSGE eS PPL YCVPYVVY VY eee

You might also like