Está en la página 1de 13
29e D mm 6249828 0015109 9 mm MITSUBISHI LSI MSL8279P-5 SHI (MICMPTR/MIPRC) MITSUBTSHT ( r62.83-1S PROGRAMMABLE KEYBOARD/DISPLAY INTERFACE DESCRIPTION Te HELI ogame hajoed ed any [ PIN CONFIGURATION (TOP VIEW) tae vce tht Cog be aed conan wien 1st mopar The dre aed wan Nope! scone EONOS prove twaaepy Snaa pach espn puna. aves cay ange [cpa as '5V power supply. a aE FEATURES 1 Single 5V supply volnge © TTL compatible (© Keyboard mods © Sonsor matrix mode ‘Strobed made Interaly provided key bounce protection eruit Programmable debounce time © 2-k9y lockoutN-koy rollover © B-character keyboard FIFO © ‘Iternally contained 18 X 8-bt ceplay RAM © Programmable right ana lft ery APPLICATION Microcomputer /0 devies 64 contact key Input dovice for such tame ‘ash rogictors Dual r single 16-tphanumerie deplay bounce butler and an 8 X B-bit FIFO/SENSOR RAM. I oporates in any ono ofthe scanned Keyboard mode, scan- FUNCTION fod sonsor matrix meds or strobed enty mode. The depiiy “Tho total chip, consisting ofa Keyboard Itortace and a als- potion Is provided with a 16 X 8.bitdsplay RAM that can play Interface, can be programmed by eight Bit cam- be organized Into a dual 16X 4 contguration, Alo, an 8g ‘mands. The keyboard potion is provided with a 64-bit key dleplay configuration Is possible by mene of programming. BLOCK DIAGRAM ee Sr a UR lS SS. ontrovonta SELECT WeUT i wos —] FEE) [ee] @vown wre srhose WruT eee Oe 7) voce roa eu m6 oT nO ae 2| | be moe aul | : rerun une meure {noe = | nce 4 7 : rn car oTTER | ~~ Soh Bi OR O Sass ir OO Disc GIYSARENS Su nana = MITSUBISHI o8 ELECTRIC. MITSUBISHI LSts MSL8279P-5 MITSUBISHI (MICMPTR/MIPRC) 52-33-15 PROGRAMMABLE KEYBOARD/DISPLAY INTERFACE. 256 D mm 6249828 OOLSLLO S mm PIN DISCRIPTION 5 we | Se rests _| eee = | rey |retminatges | in acre ater tt pan ee ht psoas : = egret ncn rept sere ny besa rt ne oe [Seco TH |G ara on ne son wih eon er an sia se FO aaa inl al bade Sa De at wr [engtmsanet | ou [toms crt tena enable : ‘nenataente veg como Foon pens sialoihv i tain TGS wk wy, noe S| reser | reset to |and' ey mote, td pero abe oe eck Deane 3. Ted MAM wee ee oc A eT Wa [ eos inst [Fonts tel enrmerl at it (=) [Barina bin | iv” tt nd corms ren Bo CPU ed i re ued Be eo east br iss phasor be eo eer ommend os [row _| Jett tonto tee eye a to [ee CO Bo [eomperpevomal ow [Thats en ey ps dy diy Sokatcins Hao ay Baw Me tera oa day ring cama zi sect een be eed le’ oa Gi CG aa Sage ON a Spt mo le on~om |owuytaient | gg, | meant cmos te stp RAM octet etn wn sen ig or. Tet 007-08, (shone {fax ptema oo bed input, Baking ay esas ta ore! Sa 2 yee oar onan " ° ay un sa Bo ay ath war apy Sah Tyo bo | sexs, [sanungeupan | on |comnearend bantnque or ond deo nh ate oth Sah 2s we red iota ESET niet oxirr [omg a oer, | comet : ‘dene ton up as MPO ae Yong eget tpt a ting ora typ ihe by nel ee OPERATION tion, Ais, an 8-igt dlaplay coniguraton is posible by ‘One of the three operating modes, the keyboard mode Is tne most dommen, and allows programmed 2-key lockout ‘and N-key rollover. Eneodod timing signsls coresponding ‘with Koy input aro stored In the FIFO through the keyde- ‘moans of programming. Input to the register can be per formed by eho let or eght entry modes. Inthe auto Inaro- rent mode, road and wilt ean be cai. out ater desig- nating the starting address ony Daunce logic, and the debouncing time of the Key is also programmable, Inthe sensor mode, the contents of tho 8 X ' key contacts are constantly stowed In the FIFO/sensor RAM, generating an iterupt signa to the CPU each time ‘there [aa change Inthe canents. Inthe strobed entry mode, the CNTL input signal le used a8 a strobe for string the 8 return tne Inputs tothe FIFO/sensor RAM ‘The dleplay parton te provided with a 16 X 6.bit deplay RAM that can be organized Into a dual 16 4-bitconfgura- Boh the Keyboard and display soctlons are scanned by ‘commen scan ining signals that are derived trom the basic flock pulse This trequenoy-dvidng rato Is changesblo by ‘means of programming. There are decode and encode mod- 8 for the scanning mode; timing signals that are deceded ‘tm the lower 2 bits of the sean counter are output in the ‘devode mode, while the 4bi binary cutpt from the scan ‘counter is decoded externally in the encode mode. abe TERS ELECTRIC 256 D M™ 6249828 OOLSLLL 7 mm MITSUBISHI (MICMPTR/MIPRC) MITSUBISHI LSIs, MSL8279P-5 T-52-33-\5 PROGRAMMABLE KEYBOARD/DISPLAY INTERFACE COMMAND DESCRIPTION hore ace eight commands provided for programming the ‘oporating modes of the MBLBZ79P-5. These commands are sont on the data bus wih the signal GS in low-evel and the ‘ignl Ayn and are stored in tho MSLE2I9P-5 atthe rising €edg@ of the signal WR, The order ofthe command execution ie wiry 4. Mode Set Command wen to owe: [oToTolo[o[e]RTR! D_(Oisplay mode set command) 0 88-bit character diepay—let entry 1 16-8-bit character ciplay—toft erry 0 8-8-bit earactercplay—rght entry 1. 16-8-bit character aplayright entry K.K. (Keyboard mode set command) Encoded dspay keyboard mod — 2.koy lockout > Decoded slsplay keyboard made —2-kay lockout Encoded dleplay keyboard mode —N-key rollover Decoded dleplay keyboard rhode — N-koy rollover Encoded dlsplay, sensor mode . Deceded aleplay, sensor mode Encoded display, strobed entry mode Decoded dlepay,strobed entry mode 2 Program Clock Command coe: [oToTTPlFlPlelr ‘The extemal clock Is divided by the prescaler value PPPPP dosignsad by tls command to obtain the basle Internal fre- ‘quonoy Wien the Interna cook fe st to TOOkHE, wil give a 6.1m keyboard soan time and a 10,%ms debounca time, The pre- ‘scale value that can bo spoctid by PPPPP le fom 210 31 In case PPPPP te 60000 or OOOO, the proscale Ie set to 2. Default ater reset pulse is 31, but the proscale value Is not cleared by the clear command, 8 Read FIFO Command 4. Read Display RAM Command This command Is used to speciy thatthe following readout (C8Ay-RD) Is from the dlaplay RAM. As long a data [st be read rom the display RAM, no addtional con- mands are neaeeeary. ‘The data AAAA ie the value with which the daplay RAM read/wite counter Is sot, and It species the address of the Aisplay RAM tobe road or wattan nox ‘AL is the auterncroment flag. Turning Al to 1 makes the ‘addross automatically incremented after the second road ‘ite opertin. This auto-increment bit doos not affect the ‘uto-inerement of FIFO readout nthe eensor mode. 5. Write Dieplay RAM Command cow: “TE DEEEEE) th tis command, following dlaplay RAM rond/wito adcressing Is achloved without changing the data readout source (FIFO or dlsplay RAM). Meaning of Aland AARA are dential with read splay RAM command. 6. Digplay Write inibivBlanking Command so se cose: ToT T Px where] x= port cae “The 1W fs 8 wrt hibit bt tothe dplay RAM that cove ponds with the cup A or 8. Inhibit Is activated by turning the 1, ‘Tho BL is usod In blanking ho out A oc B. Blanking Is act- vated by tuning the BL 1. Soting both BL fags makes the ‘signal 8D fow-lovel so that can be used in 8-bi dapiay mode. Resetting the Nags makes al IW and BL turn 0. 7. Clear Command as tse cose: [iJ eslesleslerles] se se ot lear th capay RAM, cose: [S[I[OTATRTATATA] x= oantctre "Op Op Op a” X" X’ No specie pertamence Tio command i used to specty at the flowing cata 1-0. X. Ente cortnta of tha play RAM re readout (C8'Re-RO) Te Kam the FIFO, A long as det eto ture be read tem the FIFO, no adatnal commands aro necos: 11-0 The contants of tho deply RAM re ats tured 20H (010000 = OAOADAOA, [Land AAA are used only i the sensor mode, AAA desl, 09,0606) nates the arose of tho FIFO tbe rad, and Alls tbe aulo- "1 1 1 Enlie contents of the dlpley RAM are Inorrient og Ting AI 101 makes the adress atemat- tured aly Inoramented alter the second texd. operation. This futesnorement Bit doos oot toc he aut-nremet ote lepay RAM no wuTsueisH ELECTRIC 2qE D MITSUBISHI (MICMPTR/MIPRC) mm 249828 OOLSL12 9 mm MITSUBISHI LSIs MSL8279P-S T-5Q-33-15~ PROGRAMMABLE KEYBOARD/DISPLAY INTERFACE er ! Clears the status word and (wn). (On : Clears the doplay RAM and the status word and resets the iterupt signal (INT). Clearing conden ef the display RAM Is determined by the lower bits ofthe Cp, ‘Clearing. the display RAM needs some time (~ 160 ‘usecond) and causes the deplay-unavaliable status (DU) in the statue word to be 1. The display RAM ts not accessl- blo for the duration of this time, even ifthe display mode was In €-cgt display modo or a dacaded mode. ‘hs both Cp and Cy funtion to reset the internal Koydo- bounce counter, the Key Input under counting Is lgncred, ‘andthe internal FIFO counter Is resot to make the interupt signal low-ovel. a resets tho Internal timing counter, foecing S)~Ss to start from 8388'S = C000 alter the execu ofthe command. 8, End Interup/Error Mode Set Command ‘the Intorupt signa STATUS WORD Paeeololr NNN: Indicates the number of characters n the FIFO during ‘the Keyboard and strobed entry mod F; Indicates that th FIFO Is ile up with characters ‘The number of characters exiting Inthe FIFO (0. charactors) can be known by means ofthe bits NNN ‘and F (FNNN = 0000~ENNN = 1000. Ur Undertun ero tag “This flag Is set when mastor CPU trios to read an comply FIFO. ©: Overrun error tag “This fag Ia aet when another charactor I stobed into full FEO. ‘The bls U and O cannot be cleared by status read, They willbe cleared by the clear commend. 30 8 ‘/&; Sentrcloucemutipe ero ag coco: [LR[H Le] e]x [ATR] x= oon care Wnon111E3000 ie execute by turing EO, tho bit ‘76 in the staus werd set whon tere Ise least In the sonsor matix mode, an inlaupt snl Is gonerated one sensor closure. ‘the beginning othe not Key ecan time fo Ir futher When ITTEXGX Is exocuted by tuning E = 1 weting tothe FIFO wien thre faa chango inthe sonsor _Cepectal error mode), the Bit SIE Is set when there Thich. The itaruptroquet cup INT reset wen the are. more than two Koy depressions made in «key ‘Soneor RAM la read wih the Autoineramont fg Oo the san tne ‘execution ofthis eomand. DU: Display unavaabio ‘nen ls Kopt In, dopression cf any serace makes tho This flag ls eat whon a clear dapay command is ex- evond highest bit oftho statue word I. When Els kept in T, 060d, and announces thatthe cepay RAM Is not the status kopt athe timo. scone. nen Els programmed to Tn the N-koy rover mode, the fexzcuton ets command makes the chip operate in spe- Gil error mode, ring which te depression of more than two Keys n a key dabounce ima causes an ower and sts the sooend highest it othe status word Mirsusisi ELECTRIC 5-89 256 D MITSUBISHI (MICMPTR/MIPRC) mm 6249828 0015113 0 mm MITSUBISHI LSIs MSL8279P-5 T-52-33-15° PROGRAMMABLE KEYBOARD/DISPLAY INTERFACE CPU INTERFACE 1. Command Write ‘A command Is witen on the sing edge of the signal WA with C5 low-level and Ae 1 2. Data Write Data is writen tothe daplay RAM on the rising edge of the signal WR with 2S low-level and Ay 0. ‘The address ofthe depiy RAM Is aso inoernented on the rising edge of th signal Wt Al is got fer th clspay RAM, 3, Status Read Tho status word Is read when GS and iD are low-iove! and ‘os 1. The status word appears onthe data bus as eng a¢ the signal RO is tow-ove 4. Data Read Data is road trom ether the FIFO or the dleplay RAM with {GS and AO are low-ovel and Ay 60. The soutce ef the data (FIFO of dleplay RAM) is decided by the latst command (rea dlaplay or road FIFO). Tho data read appears onthe ta buss long asthe signal RO Is low-level, However, both the key scan cycle and the key debounce yee are tho samo a in the encoded mode.) 4. 2-Key Lockout (Scanned Keyboard Mode) The detection of a new Key closure resots the internal de bounce counter and stats counting. At the ond ofa key de ‘bounce cycle, the Key is chocked and ontared into tho FIFO IVa atl down. An enty in the FIFO sets the INT output high. any otter Keys are dopressed in a key debounce oy- le, the internal key debounce counter Is reset each timo It ‘encounters a new key. Thus only a single-key depression within a key debounce duration I accepted, but al keys aro Ignored when more than two keys are depressed at tho same tin, : Example 1 : Accepting two succassive key depressions Teer oBBouncgyovoLe ‘The traling edge of the signal RO increments the address of “SY 7 2 {Sf [omni —_] example 2 Overlappod depression of tres keys (scala an rere eae UR L c 4 Data aod Lida a x x No opera y Key DEBOUNGE G1 KEYBOARD INTERFACE Keyboard intertace is done by the scan timing signals (S)~ :), the return line inputs (Ro~ Ry), the SHIFT and the CCNTRL inputs. In the decoded mode, the low-ordar of 2 bits ofthe internal ‘sean caunter are deceded and come out on the timing pins (S~). Inthe encoded mode, the four binary bts of the oan counter are drectly output onthe ting pie, thus a 3- {od decoder must be employed to generate Keyboard scan timing. ‘The retum line inputs (Ra), the SHIFT andthe CNTE ine puts are pulled up Nigh-evel by intemal pulup tranalators ‘nt switch closure pulls one low. The lateral key debounce loge works fof 64-key mati that Is obtained by combining the return ine inputs with the s0an timing. For the keyboard Interace, MSLBZ79P-S has four distinctive ‘modis that alow varus kinds of applications. Inthe fllow- Ing explanation, a "key scan cyte” is the te noeded to ‘uration of two “key scan” cycles. (In the decoded mode 32 keys, unlco 64 keys inthe encoded mode, can be employed for a maximum key matt due tothe limit ot imingelgnal. Note 3+ Oat tey2i scopes ‘MITSUBISHI ELECTRIC ase D MITSUBISHI (MICHPTR/MIPRC) mm 6249828 OOLS214 2 mm MITSUBISHI Lsts MSL8279P-5 52-33-15 PROGRAMMABLE KEYBOARD/DISPLAY INTERFACE 2. N-Key Rollover (Scanned Keyboard Mode) Each key dopression is treated Indopendonty trom all ‘thers so as to allow overlapped key depression. Datection ‘ot & now Koy dopression makos the internal Key debounce ‘counter reset and start to count Ina came manner as inthe ‘0a80 of 2-K0y lockout. But In N-key rollover, cther Key clo ‘ures aco entalyIgnccad within a key debounce oycle so that dopression of any other keys would not reset the key ddobounce counter. In his way, overlapped key deprésson Is Allowed 40 a8 to enable the following Koy input a en TUTE look AL petoinct ‘Tho scanned Key Input signal doos not always rflet the actual Key depressing action, asthe Key mati Is scanned by the timing signal With Ney ralover, there Is a mode provided with which terror Is caused when there are more than 2 Koy Inputs In @ key debounce cyele, which can be programmed by using the end interupvertor modo set command. In this made (epecialeror mode), recognition ofthe above error sets tho INT signal to high-level and gets tho bit S/E In the status Inc debounce cycle, 2 key envi are made separately In more than a re would be no problem, 86 key de 1, And no problem exits for 2- key lockout, a8 the both Keys ao recognized Invalid ‘Example of error (Special eror mode) al eet See ee 3. Sensor Matrix Modo The key debounce logic Is disabled in his mode. As tho Im- ‘age ofthe sencor switch is Kept inthe FIFO, any change In this statu is reported tothe CPU by means of the interupt signa INT. Although @ debounce circuit i not used in tis moda, it has an advantage In that the CPU Is able to know how lng and when the sensor was dep Inthe tensor matrix mode withthe bit = Oo ho ond intr- rupterror mode set command, the second most significant bof tho statue word (S/E bi) Is set to 1 when any sensor ‘swith fs depressed. ‘Any sensor change detected by the MLBZ79P-5 in one key scan eyole causes only once INT generation at the fist tin ing o the nant sean ete. 4. Strobe Mode “The data is entered into the FIFO trom the return nes (Ram ij) at the rising edge of a CNTL pulse, The INT goss high While any data exes in tho FIFO, in the same manner asin the Keyboard mode. The key debounce circuit will not Keybosré matric a T= ___-eweooeo return ONT HFT ogy Tne SIGNALS (6, SAND 5H) Sensor matrix mode es or = ane moe GER aoe ‘MITSUBISHI ELECTRIC. sa 296 D mm 6249828 OOSL1S 4 Me MITSUBISHI LSI MS5L8279P-5 MITSUBISHI (MICMPTR/MIPRC) 7-52-33-15 PROGRAMMABLE KEYBOARD/DI: LAY INTERFACE. used, DISPLAY INTERFACE ‘The splay ntrts (OAs O8~-08), a blanking signal (BD), and scan timing coxtputs (S3~8). ‘Tho relation between the deta bus and tho dleplay outputs Is shown below 1s done by 8 dleplay outputs (Ofy~ Oe Por y ee boug Of OA OA Of OB OB OB OB modes are shown balou. For the encoded mode, Auld, accorng to whothor 310-8 of 4016 décoder is 10> ght of sixteen cig daplay (1) Encoded mode s FOUL ht sO tt 0 ee sl (2) Decoded mode Note 4 Hare Pw la tne Re era lek togueoy Teast © ‘Timing relations of, BB, and cisplay outputs (OAy~Oks, (08~08s) are shown below. "HACE T soccer os, eA Note 6 5 Yue othe opt dt sown in the sata ne ates aro ie Be ely fA ar be Toe Te vasa be ‘Sted ton ter ratl wit go ev into sta mar ‘eh vues Ohy-Oh Obey dopa ot Bs 5-82 ‘MITSUBISHI ELECTRIC vo BIE D MITSUBISHI (MICHPTR/MIPRC) mm b249828 OOLSL1L & mm MITSUBISHI LSis MS5L8279P-5 T5a-33-15" PROGRAMMABLE KEYBOARD/DISPLAY INTERFACE KEY ENTRY METHODS 4, Loft Entry ‘Address 0 Inthe display RAM corresponds to the leftmost position (S386/S = 0000) ofa depiay and addross 15 (or ‘address 7 In B-charactr display) tothe rightmost postion (8188185 = 1111 or 88:80 = 11). The 17 (8th) charactor {is entered back into the leftmost postion. ‘Auto-Inoroment mode on 1415 -ogsyni wey LIZZ Z2 TO see ws 2d enty us 18 ey rs ot ts ann onty [21 ~~ ~~ Delis] e+ ws rom ony [ve] ~~ ~~ [ish Atorneroment mote Ounaysnane eo eee teeny [LI ames an ee and onty TE O otassser Execuen a fe conmand( Tz fresenmenofiT2T TTT TTI Semen sew GELTT ETT ever CETTE EEL 2. Right Enty ‘The first data Ie entered in the rightmost postion of a s+ play From the nox entry, the capi is shifted lat one char- Actor and the new dats placed Inthe rightmost positon. A spay position and a reistor address as viewed from the ‘CPU change each time and do not correspon. ‘Auto-inerement mode twenty CL I722 | eames a4 2nd entty TR] ed enty Ee tat entry 17% ety 188 erty Autoneroment made Teg 45 6 7 0 anne 1st entry TOLLE warned ma ony (LTT TTT] CLE aase7012 Execution of -2 the commana saoioror saeey CLIT TTL] Meets soon CEL MITSUBISHI ELECTRIC MITSUBISHI LSIs MSL8279P-5 MITSUBISHI (MICMPTR/MIPRC) T-52-33-15° PROGRAMMABLE KEYBOARD/DISPLAY INTERFACE 29E D mm b249428 OOLSLI7 8 mm ABSOLUTE MAXIMUM RATINGS oo Pena a a Veo | a vaae —_ v Vi [ett Went v [rene | = = e Taig = RECOMMENDED OPERATING CONDITIONS (1a-~20-750, ules cherie tected) meat Peametr | Vex [Betis — ssf v a oo) v ELECTRICAL CHARACTERISTICS (ra-—20~15c, Veo=t0410N, VisOV, ult cori nad) ‘yet “at codon ee] Yo - 22 v Vow 20 v Vac | eae net, 7 Terns ayy ce : eas] Fae v7 Von | Wate op votas| a za v Von | Bore soa aa a 38 v Vou [owt avons I= ae [ov tee rt nes 120" | mn Wns re ie pad co [ Won — pe a wmv Yo ~ io | aa ter erates aa [1 [pt omit spacer Weve 10 [er] Co | oven sen o=Vee 20 [oF MiTsuBisH a ELECTRIC s+ age Do Mm b249828 OOLSLL8 T ml MITSUBISHI LSis MITSUBISHI (MICHPTR/MIPRC) MS5L8279P-5 T-S5a-33-15° PROGRAMMABLE KEYBOARD/DISPLAY INTERFACE TIMING REQUIREMENTS (Te=-20~750, Vom8¥210%, Vow0V, ules ote red) Road Oyele art peo Toner ia on vee [ te | te Team [Reson _ = io = ce Pda wa ee Tenn [Aen ip tne RD + of unas [Ar i ete @ = Wate yoo = reonie tween |e we Tec | aie = io | “|i a we z 0 3 : = Tia @ ‘oymbot Pacumator ‘Test concn so = nt Tear omeo ce = = oe | oe tec [ea ew 5 Foran intra tock roquncy of okte © Key sean ce tine ~ 8 me 1 ‘singe cot apa tine: soy © Keydebaince cyte time: ~I0.2m 3 elaing tne 18a Shalectoy soa tne on © intemal lok yee: Te Dietey ~10.3me SWITCHING CHARACTERISTICS (te 72104, Yo, ste eben ste) ‘Symbol Parameter “Taat conctions aes unit ie [te [oe Feaaneas : | Feniay| Od sta ante | a veo) oe wo | yaw freay yen. MITSUBISHI ELECTRIC a ase > mm 6249828 0025119 1 Mm + MITSUBISHI-ESIs, MS5L8279P-5 T-5a-33-IB~ PROGRAMMABLE KEYBOARD/DISPLAY INTERFACE bine, MITSUBISHI (MICHPTR/MIPRC) TIMING DIAGRAM Read operation je oo» (onra SurbuTs) Wrtto operation (ons nits) lock Input MITSUBISHI 588 ELECTRIC MITSUBISHI LSts HI(MICHPTR/MIPRC) ee NrTsuBrS! T-52-33-IS" PROGRAMMABLE KEYBOARD/DISPLAY INTERFACE 25— ) mm L24s828 0015120 6 me DISPLAY (ris cxonpe encoded lye ety mate wih nl ok le Ouse, Sean Emin xp SS ar not shown) Note 7: The suaned dt onthe eu samo srt RR. Each lai ced in idl of he ach sampling pt. MITSUBISHI ELECTRIC ce 296 D mm 6249828 OOLSL2) T mm pees ee MSL8279P-5 1~52-3315 PROGRAMMABLE KEYBOARD/DISPLAY INTERFACE MITSUBISHI (MICHPTR/MIPRC) APPLICATION EXAMPLE Ir ata ou lo~oy ele aul "oT seoecoven | tote 8) sor steers | Sts , soos ws or cxvey ee id, ea08 oo TLR ‘Sry, td mayb aed ex nana ey scan = deer (Gekt vette toy dacatr wn te MGB ene sane) - MITSUBISHE oe ELECTRIC

También podría gustarte