80C321 Microcontroller

You might also like

You are on page 1of 25
80C521/80C321/80C541 CMOS Single-Chip Microcontroller FINAL DISTINCTIVE CHARACTERISTICS Software and pin-compatbie with 80651 Dedicated Watchdog Timer —Rbust: Immune to software cables —Flexibi: user programmable trom 128 microseconds to 4 seconde at 12 MHz © Dual Data Pointers —Fastor external memory access © Software Reset FAM _ (oytes) aoa 256 = ‘0cs21 26 i socsat 256 18K 800521 = 800321 + BK bytes ROM 80541 = B0C321 + 16K bytes ROM GENERAL DESCRIPTION ‘The 800521 Family (80C52", 80C321, ang BOCE41) is @ fully instruction-setcompatibie and pin-compalbie en- hancement of the indusin-standard 80C51 architecture. ‘These procucts include a programmable Watchdog Time? Pointers to enhance ralabity and improve the 800541 has 16K byt on-chip ROM. A dedicated Watchdoy hhanced system reel ESO, and software fara tres. For exam t we Ta 5S ca eo Power Down Caret Woes? 8 ¥ tole 3) cy MAXIMUM Icc (mA) Operating (Note 4) Tale (Wate 8) Frea. Veo aay By 55 7 av BBV 0.1 Miz 22 at 38 07 08 95 Miz 6 8 10 18 2 80 wie " 16 8 28 38 12 MHz | 2 a 35 5 36 Mie 8 2 32 45 65 Notes: 1. Capactve loading on ports may cause spurious noise puises to be superimposed on the Vo.S of ALE and other pots, ‘The noise is duo to external bus capacitance discharging into the port pins when these pins make 1-0-0 vransitons 100 pF, the nolge pulse on the ALE line may excood 10.8 V. In such cases It may be desiablo to quality ALE with a Schmitt Tigger, or use an adress latch with a Schit “riggee STROBE input. This note pertains to dualn-ne packages only. The additonal Voc and Vs connections onthe PLCC package trom AMD removes this design consideration 2. Capacitive loading on ports may cause the Voy on ALE and PSEN to momentary fail below the 0.9 Vcc spectication when the address bits ave stabilizing. This note pertains to dualn-ine packages only. The additional Voc and Vs Gonnections on the PLCC package from AMD remove this design consideration Powor-Down loc is measured with all output pins disconnected: EA = Port 0 = Voc: XTAL2 NC: RST = Vsg. log 18 measured with all output pins disconnected; XTAL; driven with TCLCH, TCHCL = 5 ns, Vi = Ves + 05 V, Vin = Voc~05 V: XTALz NG; EX= AST = Port 0= Voc. Typical values are approxmately 50% lower. og would be sightly highor # & crystal osclator was used. ‘5. Ide ccf mengured with all output pins deconnected:; XTAL; driven with TCLCH, TCHCL = 5 ns, Vi. = Vss +05 V, Vin = Voo~0.5 V; XTALz NC; Port 0 Voc; EX= AST Vsg. and the Watchdog Timer dsabied. s0cs21/800321/800541 ang SWITCHING CHARACTERISTICS over operating range (Ci for Port 0, ALE and PSEN Outputs = 100 pF; x for All Other Outputs = 80 pF) ae parameter se-mHs Ove. | 12MiHz Osc. | Variable Oscillator ‘Symbol Description min. | tax. | win, [ max. [min Max. | unit EXTERNAL PROGRAM AND DATA MEMORY CHARACTERISTICS TTCLOL__T Oscitator Frequency To 7 We oat [ALE Puss wet & Tr FeCl oe TaviL | accross Vals 19 ALE Low 7 Ey TOLL 85 re TAK | Across Hott tr ALE Low 2 2 TEC 35 8 Tov TALE Low © Vaid fot 0 w ze aTOLEL= 65] me Tut [ALE Low to PEER Low % co Taw ne TeLeH | PEN use warn ve 205 STCLGL as ry Teuv PEEN Low 10 Vad iain = 1 BTGLEL= 105 | THK Teput at Hokd Aer PEER 3 7 @ re TPKZ Teput iat Foal Aor SER w w TELE =25 | AVIV 7Aaarose 10 Val inte 208 a2 BTGLCL = 105] Tez | PEN Low wo Asorons Font 10 0 10 oe TTRLAH [RD Pave Wn a 0 TELE 10 7 a 2 0 [TOLL 100) ne TaLOY | FD Low io Vata Dea Ta a ea STOLE 165 |e TRHOX | Oata Hols Aner FD 2 z 2 re TRHOZ | Date Feat Ato FD = 7 FELL =70 | ne TUDY [ALE Low te veld Oxla 30 Bi eTeuoL= 160] re AVG [Adress to Vat Ota 398 236 oreuot—165| ne Tew ACE Low to RD or WH tow ar_| ae [200 [300 | arene =| aries +60 | TavWi___| Aaa Vai fo Read or Wile Low ia 209 aTeucl = 190 te "Tawwx | Data vais o WF Tranaton 2 2 "TeucL=60 ra Taw | Vale Daa Yo Write High 287 = Tree -165] oI “Twrex | Bata Hols Ar WA 7 3 TOLL 80 ae TRLAZ | PD Low w Adiess Fat 7 7 2 ne TTwHc | RO or WH Figh to ALE Hh zs sa | rece ee |e ata socs21/e0C321/800541 ae Porro Porto Ponta SWITCHING WAVEFORMS. wrozv9e2 External Program Memory Read Cycle i ~s a wroz0e82 External Dat Memory Read Cycle 800521/800321/900541 815 SWITCHING WAVEFORMS (continued) orm) rome a [ anerKY, 2 Ge Port 2 x 720-727 GR Agnayg FROM O™H Tyas FOU POH wroeoese External Data Memory Write Cycle aes 999 Le rovsibe—ot Ferm | ex 08 XIE OOOO t wee ae a |. pre “ oe EX OE OCBOBOBOPBIOBOER t weozenss Shift Register Timing Waveforms 816 socs21/80C321/800541 EXTERNAL CLOCK DRIVE Parameter 7 Parameter Symbo! Description | ain Max. Unit. Trew ‘Oscllator Frequency oo 16 re TOHGX High Time 20 ne ToLcx Low Time 2 8 ToLGH Rise Tine 2 8 ToHCL Fal Time, 2 ~—s SERIAL PORT TIMING—SHIFT REGISTER MODE Esto ee wFoz0811 nal Clock Drive Waveform ear awe ome — Se ree |} fame : ac Testing cow ve No — {oge'6: Timing mecsuremonts are rade at Vig tm. for age 1 aNd Vic Input/Output Wavetorm Ireende Yonvax tra oor Tay ion 22 mh Float Waveform 800521/806321/80C541 CLOCK WAVEFORMS (INTERNAL, STATE ‘| ‘stare 5| STATE ‘| STATE 1| STATE 2 STATE 9] stave a| staTE 5 mia prleeterteetertect et eel er tral er teeter | relent pe rrr Eee can me SEE ETE em a soon, ek TE oar be Fh bette sachs SSSR TST woe en Si Saas 10 -ADy mc ox “jes song ee Sp Tae Fee 50-40, a r nr our POL OUT (F PROGRAM de-Ais MEMGAY EXTERNAL) PORT OPERATION eS MOV Dest, P+ (CURES NT, NT, TO. TH a Tt ma i od SERAL PORT suET clock PT PN SAMPLED PM saveteD “] 1x0 (ODE 0) xD SAMPLED XD SAMPLED ‘This lagram icicates when signals aro clocked internal. The time it takes the signals to propagate to tho pins, nowover, ran ‘rom 2540 1251. The propagation dlay fs dope era a ro es ‘rom output to output and component to component. Typically though (T= 25°C, tly ioaded), approximately 20° ns. Tho oe " ‘oh varables Such es fomperture and pn toading, Propagation aso va 53D ana WH ropenatondoinys or janals are ypicaly 85 ns. Propagation dolays tre meorporated i tne AC spocticatens 18 socs21/eocs21/800541 THLE SOGTETASRE/SOGEAT STRUCTION GET Instructions That Affect Flag Setting" ‘Interrupt Response Time: To finish execution of current eels lene lameness Spe | eee ee a Be ee re ae eae as ADD x x x CLRO oO Mia) cA x ORL Clit x "Note that operations on SFR byte address DOH or bit RRC x MOV C, bit x addresses DO - D7H {.e., the PSW or bits in the PSW) will also FL x (CINE x attect flag settings. ere Sara TR San ears = So rales ieee ee ree ee cee ee a wom (iemecom. [i] (a sev leeserensee [2] Sie [Er fi) | | I oe i toe fiesta, 1) 1 |S ee eee, |i | | Se on ficcimacarciemme [2] |S Ae eee. |i |! we we ficricrmmrcee ||) ee [Rmeeoecaee |i | Wi Roce ficeceemome, (|i ae Sea mee. || t we mex |icciemeceaoe | (2) 1 a SR eee eeron.| i | | det lioecee” [i]: ke ee 2 3 fede fi Seterocoe, | 2 |! ne Seg Stmiemee EE ro, ee Shmowams || + data |e tomaw sees | 3)? ay ger faces Tt ee [Sotecmmemennel ¢ | + Seton ec career, [2] tlm gees, Eee seem encom) 3 | 2 B ae torees iis See Ale nn “aa cee Rotale Accumulator Lat aya woe haters [Seeetom mene |e [e [eek [Rater ence | ||} ee ree oe |i [a fae a (bem : Fcc at [RSET nce eee erecreceenes | = ieee eee ae poeermeensmaaea tt Se |S Sens ve coma [isiistee scan fo | > Om Sea Seen ooerera co ee ee eae or ‘oirect ‘Pop Gract byte off of slack 2|2 oye x Ane Exchange regieter with Accumsator 1] ) [ano Aan ‘Ads rogiater to Accumsator rid TAS, Emam Sette wan enum | 2] 3 [AD AR | Ag eg ale Bie (SRS 3/1 Be eerie i): 3 Set, ieee Reme || i ee ee || (Bh Mom |Smmeamemetie | | rate Wit KLE (NDDC Avdirect (MiG Grect byte to Accumustor win aatan iF Fi ea Seasons sone nam) gy at ow tinemonie [Description y[ ye | 100° Avena | arta ca aa Cary Fuge | 2 | 1 a = Pole ragga eee epaeetrecer ag asco yf [am ite |BStacweemcemae ||: seTR ‘Set Cary Flag. via vat lot mi |eere iif [SEE Be Ee ale aoe gee | Sect omc GE erceecene | cere memrenma =e (Seem fil: Seon mi (em. (iile . eee vl Rex Seer E/E &. iceman if Sig (Stern aaetbewom | 3) FRE see (fer Rete il Be fee |i) | eee i Sh, [mst ih pao 2 Ee, iy me (eee cont i oral sarees melen|ts S” (Geen «=| | es ouerpten —_—_prsers S eeeao : it wemmmemenen [2]: se Aoceermenaree, |i % | it ese |i! 00821/800321/800541 a19 OTHER CONTROL TRANSFER (SUBROUTINE) RAM and Jump fot Eau eemarie—[eseipton axe] 6 | tnemonie | Deseeption Breer | Nor No Opeaton + | + [aca scars | pmo suri ca 22 (Sat ais | one Samet 5/3 ‘CONTROL TRANSFER (BRANCH) et fenton Siesta car | 3 | ; Se See Soemene Description viel CY" Notes on Data Addressing Modes: fAaup ears | encate sro ole Che Se | a | 5] 2 | pn -wortng rpstorRO-A7 ofthe curentiy slcted Sie ee ee ee cea a) 2/3 Tayote bene Sle” Ga corm |stnp nate weatwe ome ta | + | 2 | aroct 128 mit Mitt cations, ny 1/0 pon, con [eso Nae Pew es | 2 |G Specal Fanci Regeton ie Se seer 8 Te 1 treet tna RAM Tcaon edrosed by register xm ‘lump I Cary Flag is oot z|2 _ pipet ew we re too poet 2 f0ata_ b+ constant included in instructon Re Be fmm mega retort 01 2/2 | Sittte “tea cornet eid eT Sg or eS ime Sane # Sea ok) 3 | inercton eel acenia bt Ta8 otras as, any Op, contol, or tata ne sree | Someta op 0 ale ee eee ‘Accumulator and Jump it not Equa Notes on Program Addressing Mod cne Mecen Eee Tins | > 1? | tie -oesnaan ain CALL ard LP ry bo one mvcins [Snort emees's wg aw | a | 2 snyware wat he Sei progam any Sine ae choc soc, Gone onieenum Gow reste nar | 3 | 2 | adois Denne Slvene for ACALL and AIMP wi bo within the same 2-clobyte page of program memory cunz. rit | Dactomane roguar and durp i not] 2 | 2 85 the frst byte ofthe folowing instruction. me ‘ol -SIMP" and al conetonal jumps ineude a6 8-31 ONE recat | Decrement diet ois and sump | 9 | 2 aitset by Range is +127, ~128 bytes alte to is i bto of the fotowng narucon TABLE 4, INSTRUCTION OPCODES IN HEXADECIMAL ORDER Hex Code Byles Mnemonic Operands Hex Code Byles Mnemonic _Operande 0 3 noe 2 1 300 AR e 3 Mie coe aa a i moo AR e 3 tie 2 : mo Re 8 ; fa = : soo Ake a } ne 5 : moo ARS & : Re = i noo Ane fe i Ne = i soo An? ° i ne & } BS Bssnzate aaer % : ihe = 3 Ma Gade : Ne & ; fer : Ne S } ms : ne x 3 soo : ne = : oe : ne = ; soe | i ine 2 ; See i Re x ' sOoe 3 6 = : soe i rau x i reed i fire 2 : ee : mee x : soos i es | 8 ; See : Bee x : soe ; oe ¥ : ose oe & 2 %. : oe a 3 Xue : bes a : oat i bee 8 i a : oe a : a : eee 6 i oa ; ee a ; oe : me s : Sa : oe a : oa 3 2 s : oe : ne a i oe ; ner ra 1 oat i a s 1 Sat 2 Bo 3 1 oa 2 eo Rta 2 : Sat i soo Rim é } oa : soo RSar & 2 a : moo ORR 8 : wea 8.20 socs2vsocsz1/s0cs41 Tar Coens Wnenen opener Game im Waanone ope i 5 She Ecce : # = i; BR Se m8 cee Booman : & } 88 Se : te ee i & ga of & / & ge { & i # 8 a ft & 1 go $ : # > & & g i § i & a i &§ i & Be ag | : g i &§ ie 2 { & : S$ i & i # i & ; & 2 of RF BES i 2 i GSS i 5 } & BSS i 2 i; BSE i e + He REE i f ) Se RES i Bee 5 BF i Bie a i #8 f i & : & Boo; he i ie # } & Ee io ae hoo} 6 OR Se Bo; i Bt 2 BM ong 2 i: @ St 2 "aes S | ie gt i 8 RSS 2 | i me socsavencaaseocsts eat a nm manu am mera acon aa moan EIS ESS ESSE ESSE ISIS ADVANCED MICRO DEVICES 26— D M@ 0257525 OO3242b 4 mm AMD CHAPTER 11 Bie ac Oley Package Outlines : PHYSICAL DIMENSIONS* . Plastic Dual-In-Line Package (PD) PD 040 2.040 2 ooo pooner le ae alee 4g TT 2 128 “ie0 3B a £ ie Plow oseesa * For rolarence only. NOTE: Package cimonsions aro alven in in ‘To.convort to millmators, multiply by 25.4. 14 ADVANCED CHAPTER 11 MICRO DEVICES uttines 26 D m™@ 0257525 0032427 & mm AMD T-90-20 Ceramic Hermetic Dual-In-Line Packages (CD/CDV) cp 040 189 2a 1 60, | 2.038. 2080 [__ c88 ae ax 585 bee 4 i --| eT ‘ : aos 065 BsO 005, ae MIN: joa — 590 __ 015 816 1080 0 fae i” lL 018 et we conn cpv oso 2.036, 2080 na aa OC |k 08 3 4 OT me 280 005 ‘ 065 Bsc Pid 15 [~~ 080 008 39 i 2 od “180 ¥ FU fas r le i700 et oresee NOTE: Packago cimonsions aro ghon in inches. To convert to mitimeters, mulipy by 26.4, ADVANCED MICRO DEVICES | 2@8E D Mm™@ 0257525 0032426 & mm AND CHAPTER 11 kage Outlines Plastic Leaded Chip Carriers (PL) PL O44 NOTE: Package dimensions are given in Inches. To convert to ilimetrs, multiply by 28.4, 113 EEOEOEOE_E_—_——_ EEE ADVANCED MICRO DEVICES 2BE D mi 0257525 0032429 T mm AND CHAPTER 11 Package Outlines T-90-20 Ceramic Leadiess Chip Carrler (CLV) cLv 044 e NOTE: Package cimaneione azo glon In inches, To convert to ilimeters, multiply by 254. 114

You might also like