RTS2100B Series E A SY (E Z )-SP E E CH G eneral D es crip tion The R TS 2100B series are desig ned for toy s. They prov ide speech up to 40 seconds. In addition, since the R TS 2100B series are m icroprocessor b ased and interrupt input driv en controllers, they can deal w ith com plex prog ram s and b ecom e a product of rich functions. The R TS 2100B series prov ide the m ax im um flex ib ility in application w ith the m inim um prog ram m ing effort, and, m ost im portantly , reduce the tim e to g et the product ready for the m ark et. M icro-controller Core Features : O perating v oltag e rang e : 2.4V to 5 .0V@ 1M H z 25 6 K X 5 b its speech R O M (m ax im um ) R TP C M (hardw are) speech A sing le R O M contains all prog ram codes and speech . A n 6 -b it tim er prov ide the appication for a g eneral purpose tim er. 3 - 40 seconds speech duration prov ided F ull rang e of sam ple rates prov ided P ow er O N initializ ation is b ootstrapped from the R O M M inim um stand -b y current (pow er consum ption) in P ow er dow n m ode E x ternal E P R O M is prov ided for easy prog ram m ing and further dev elopm ent. O TP function prov ide. B uilt-in L ow Voltag e R eset function. V3.0 D ec/6 /2001 P erip h eral Features : 3 interrupt Input pins (INT0-INT2) w hich support b oth rising and falling edg e trig g er ty pes. Trig g er pin b uilt-in C D S application circuit(option). 2 direct control output pins(O 0,O 1) 1 independent flag can store the prog ram m ing state of the v ariab les and add flex i -b ility to prog ram m ing . Sp ecial M icro-controller Features : A udio output : R ealtek ’ s A P W M w ith 4-step v olum e control. The L E D flash ty pe is prog ram m ab le to b e D C , 2 H z flash,or flash w ith speech (pulse w idth 100m s) or flash w ith speech v olum e. C an b e play S peech-/M elody F unction A p p lication Field : toy s www.msquaretech.com P ag e 1 of 1 The above information is the exclusive intellectual property of M-S quare Technolog ies C orporation and shall not be d isclosed , d istributed without permission from M-S quare. RTS2100B Se r ie s 1.0 BONDING INFORMATION 1.1 Bo n d in g Dia g r a m FIGU RE 1-1: BONDING DIAGRAM TE S T P VD D A UD IO2 P G N D A UD IO1 RTS2103 B about 1.130 m m IN T0B IN T1B OS C I IN T2B OS C O OUT0 OUT1 L E D D e s ig n a tio n X IN T0B IN T1B IN T2B G N D OUT0 OUT1 LE D VD D OS C O OS C I A UD IO1 P G N D A UD IO2 P VD D TE S T Y 8 4 .05 8 4 .05 8 4 .05 14 3.9 5 7 6 0.7 5 8 8 3.5 5 1008 .5 5 114 9 .15 126 4 .5 5 126 4 .5 5 106 0.4 5 8 01.15 5 4 1.8 5 221.15 7 9 .05 4 7 4 .5 5 35 1.7 5 228 .9 5 8 0.00 8 5 .00 8 5 .00 8 5 .00 8 5 .00 36 2.35 4 8 2.35 104 5 .00 104 5 .00 104 5 .00 104 5 .00 104 5 .00 VD D G N D Un it: in u m X : 1130 Y: 135 0 N o tic e : S u b s tra te is c o n n e c te d to G N D a b o u t 1.35 0 m m D e s ig n a tio n TE S T P VD D about 1.130 m m A UD IO2 P G N D A UD IO1 RTS2106 B IN T0B IN T1B OS C I IN T2B OS C O OUT0 OUT1 L E D IN T0B IN T1B IN T2B G N D OUT0 OUT1 LE D VD D OS C O OS C I A UD IO1 P G N D A UD IO2 P VD D TE S T X 8 4 .05 8 4 .05 8 4 .05 14 3.9 5 7 6 0.7 5 8 8 3.5 5 1008 .5 5 114 9 .15 126 4 .5 5 126 4 .5 5 106 0.4 5 8 01.15 5 4 1.8 5 221.15 7 9 .05 Y 4 7 4 .5 5 35 1.7 5 228 .9 5 8 0.00 8 5 .00 8 5 .00 8 5 .00 8 5 .00 36 2.35 4 8 2.35 104 5 .00 104 5 .00 104 5 .00 104 5 .00 104 5 .00 VD D G N D Un it: in u m X : 1130 Y: 135 0 N o tic e : S u b s tra te is c o n n e c te d to G N D a b o u t 1.35 0 m m V3.0 D e c /6 /2001 www.msquaretech.com P age 1of2 The above information is the exclusive intellectual property of M-S quare Technolog ies C orporation and shall not be d isclosed , d istributed without permission from M-S quare. RTS2100B D e s ig n a tio n TE S T P VD D A UD IO2 P G N D A UD IO1 RTS2120B about 2 .08 0 m m IN T0B IN T1B OS C I IN T2 B OS C O OUT0 OUT1 L E D IN T0B IN T1B IN T2 B G N D OUT0 OUT1 LE D VD D OS C O OS C I A UD IO1 P G N D A UD IO2 P VD D TE S T X 8 4 .05 8 4 .05 8 4 .05 14 3.9 5 7 6 0.7 5 8 8 3.5 5 1008 .5 5 114 9 .15 12 6 4 .5 5 12 6 4 .5 5 106 0.4 5 8 01.15 5 4 1.8 5 2 2 1.15 7 9 .05 Se r ie s Y 4 7 4 .5 5 35 1.7 5 2 2 8 .9 5 8 0.00 8 5 .00 8 5 .00 8 5 .00 8 5 .00 36 2 .35 4 8 2 .35 18 6 5 .00 18 6 5 .00 18 6 5 .00 18 6 5 .00 18 6 5 .00 VD D G N D Un it: in u m X : 2 08 0 Y: 14 6 0 N o tic e : S u b s tra te is c o n n e c te d to G N D a b o u t 1.4 6 0 m m D e s ig n a tio n TE S T P VD D about 2 .08 0 m m A UD IO2 P G N D A UD IO1 RTS213 0B IN T0B IN T1B OS C I IN T2 B OS C O OUT0 OUT1 L E D IN T0B IN T1B IN T2 B G N D OUT0 OUT1 LE D VD D OS C O OS C I A UD IO1 P G N D A UD IO2 P VD D TE S T X 8 4 .05 8 4 .05 8 4 .05 14 3.9 5 7 6 0.7 5 8 8 3.5 5 1008 .5 5 114 9 .15 12 6 4 .5 5 12 6 4 .5 5 106 0.4 5 8 01.15 5 4 1.8 5 2 2 1.15 7 9 .05 Y 4 7 4 .5 5 35 1.7 5 2 2 8 .9 5 8 0.00 8 5 .00 8 5 .00 8 5 .00 8 5 .00 36 2 .35 4 8 2 .35 18 6 5 .00 18 6 5 .00 18 6 5 .00 18 6 5 .00 18 6 5 .00 VD D G N D Un it: in u m X : 2 08 0 Y: 14 6 0 N o tic e : S u b s tra te is c o n n e c te d to G N D a b o u t 1.4 6 0 m m V3.0 D e c /6 /2 001 w w w .msq uaretech.com P age 1of3 The above information is the exclusive intellectual property of M-S q uare Technolog ies C orporation and shall not be d isclosed , d istributed w ithout permission from M-S q uare. RTS2100B De s ig n a tio n A UDIO2 TE S T PVDD PG N D A UDIO1 IN T0B IN T1B IN T2B G N D OUT0 OUT1 LE D VDD OS C O OS C I A UDIO1 PG N D A UDIO2 PVDD TE S T RTS214 0B about 2.08 0 m m IN T0B IN T1B OS C I IN T2B OS C O X 8 4.05 8 4.05 8 4.05 143.9 5 7 6 0.7 5 8 8 3.5 5 1008 .5 5 1149 .15 126 4.5 5 126 4.5 5 106 0.45 8 01.15 5 41.8 5 221.15 7 9 .05 Series Y 47 4.5 5 35 1.7 5 228 .9 5 8 0.00 8 5 .00 8 5 .00 8 5 .00 8 5 .00 36 2.35 48 2.35 18 6 5 .00 18 6 5 .00 18 6 5 .00 18 6 5 .00 18 6 5 .00 OUT0 OUT1 L E D VDD G N D Un it: in u m X : 208 0 Y: 146 0 N o tic e : S u b s tra te is c o n n e c te d to G N D a b o u t 1.46 0 m m 1.2 P inou t Description TA BL E 1-2: P IN O U T DE SC RIP TIO N P in N a m e Ty pe VDD G N D PVDD PG N D OS C I OS C O IN T0 - 2 O0 - 1 LE D A UDIO1-2 TE S T P P P P I O I O O O I/O Description Po s itiv e p o w e r s u p p ly fo r d ig ita l c irc u it N e g a tiv e p o w e r s u p p ly fo r d ig ita l c irc u it Po s itiv e p o w e r s u p p ly fo r PW M N e g a tiv e p o w e r s u p p ly fo r PW M . R C o s c illa tio n in p u t p in . R C o s c illa tio n o u tp u t p in . In te rru p t in p u t p in s G e n e ra l p u rp o s e o u tp u t p in s Pro g ra m m a b le L E D o u tp u t p in Th e o u tp u t fu n c tio n o f PW M (a u d io ) fu n c tio n F o r IC te s t o n ly Legend : I = I np u t, O = O u tp u t, P = P o w er V3.0 De c /6 /2001 w w w .msq uaretech.com Pa g e 1 o f 4 The above information is the exclusive intellectual property of M-S q uare Technolog ies C orporation and shall not be d isclosed , d istributed w ithout permission from M-S q uare. RTS2100B Se r ie s 2.0 A RC H ITE C TU RA L O V E RV IE W 2.1 Blo c k D ia g r a m F IG U RE 2-1: F U N C TIO N BL O C K D IA G RA M Blo c k D ia g r a m O SC I O SC O VD D VSS TEST C LO C K G EN. INT0 INT1 INT2 O UT0 O UT1 INTA SP EEC H SYNTH. O UT O UTP UT BUFFER A UD IO 1 A UD IO 2 L ED C O NTRO L L ER C lo c k G e n e ra to r: g e n e ra te s th e s y s te m fre q u e n c y b a s e d o n th e re s is to r c o n n e c te d e x te rn a lly to a d ju s t th e s p e e d o f th e s y s te m o p e ra tio n . Th e C o n tro lle r is a m ic ro -p ro c e s s o r th a t c a n d is p a tc h th e p ro g ra m e x e c u tio n b a s e d o n a ll th e in te rru p t in p u t s ig n a ls . Th e A d d re s s G e n e ra to r is u s e d to tra n s la te th e o p e ra n d in to a s p e c ific a d d re s s to a d d re s s th e p ro p e r RO M c o d e (d a ta ). Th e p ro g ra m a n d s p e e c h d a ta a re s to re d in th e RO M , in w h ic h th e d a ta w id th is 5-b its a n d th e m e m o ry c a n b e e x p a n d e d u p to 2 56 K . Ex te rn a l EP RO M c a n b e tie d d ire c tly to th e b a n d -o u t c h ip fo r fu rth e r d e v e lo p in g . A u d io o u tp u t : RTD M w ith 4 -s te p v o lu m e c o n tro l to d riv e s p e a k e r. V3.0 D e c /6 /2 001 w w w .msq uaretech.com P age 1 of5 The above information is the exclusive intellectual property of M-S q uare Technolog ies C orporation and shall not be d isclosed , d istributed w ithout permission from M-S q uare. RTS2100B Se r ie s 3 .0 F U N C TIO N D E SC RIP TIO N IN T0 ~ IN T2 are the interru pt inpu t pins that will b e m apped to the d ed ic ated sec tor ac c ord ing to the c orrespond ing pin nam e. These pins are applied with d ifferent priority ac c ord ing to the c orrespond ing pin nu m b er when m ore than 2 pins inpu tting sim u ltaneou sly . O U T0 ~ O U T1 are the g eneral-pu rpose ou tpu t sig nal to either g enerate the stop sig nal or to d riv e the L E D d ev ic e. The L E D ou tpu t sig nal has 4 prog ram m ing m od es: flash m od e, D C m od e (alway s O N ) , or 2 H z flash or flash with speec h(pu lse wid th 1 00m s) or flash with speec h v olu m e. The O S C I & O S C O are d esig ned to b e c onnec ted with a resistor. The operational freq u enc y rang es arou nd 1 M H z . TE S T will only b e ac tiv ated when testing is in prog ress.P u ll d own this pin c an switc h the IN TA and O U T pins as the d ata b u s to d u m p the internal test patterns. VD D c an b e applied to rang e from 2 .4 to 5 .0 V for proper operation. VS S is norm ally tied to the sy stem G rou nd . 4 .0 M A TRIX K E Y -P A D A RRA N G E M E N T The inpu t c an b e d esig ned u p to 9 k ey s b y im plem enting the m atrix m ec hanism . P ower-O N initializ ation operation initiates IN TA = 0x 0F , O U T = 0x 0 to d etec t the falling ed g es of trig g er inpu ts (IN T0 ~ IN T2 ). IN T0 IN T1 IN T2 O U T0 O U T1 V3.0 D ec /6/2 001 w w w .msq uaretech.com P ag e 1 of 6 The above information is the exclusive intellectual property of M-S q uare Technolog ies C orporation and shall not be d isclosed , d istributed w ithout permission from M-S q uare. RTS2100B Se r ie s 5 .0 P RO G RA M M IN G M O D E L A N D IN STRU C TIO N SE T D estination (D E S T ) register keeps the indirectly b ranching destination w hile executing control program. Interrupt inp uts (IN T A ) specify the expected trigger condition to detect the interrupt signal and b ranching to the program sector address. Initializ e all b its to "0" (disab le) w hen pow er O N the chip. F lag (F L G ) keeps the program executing states; b ased on these flags, it can b e designed to b ecome a more complicated system for more applications. T imer (T M R ) w orks either as a general-purpose timer or speech duration control. It automatically counts dow n w hen loading a non-z ero v alue into it. T his timer w ill keep the z ero-state flag to b e checked b y instruction, W A IT M R , w hen it counts dow n to 0. T he O utput signal (O U T ) can w ork as the L E D driv ing circuit, b y sending the conditional pulse to interface the sequential logic or scanning the key pad matrix w hen the high input pin count is required in the application. Initializ e all b its to "0" w hen pow er O N the chip. M ode (M O D ) sets all the options for different applications. T he initial state is set to "0000". [D B 1 ,D B 0] defines the de-b ounce time interv al w hich can b e 8 £gs (set to [1 ,1 ]), 8 ms (set to [1 ,0]), 1 6 ms (set to [0,1 ]) or 32 ms (set to [0,0]). [F D 1 ,F D 0] defines the dedicated L E D operation in 2 H z F lash (set to[0,0]) mode or D C (set to[1 ,0]) state (turned on continuously).or L E D flashes w ith speech (pulse w idth 1 00ms (set to[0,1 ]) or L E D flashes w ith speech v olume (set to[1 ,1 ]). T he Volume(VO L U M E ) control. [VL 1 ,VL 0] defines the1 /4 v olume(set to[0,0]) or 1 /2 v olume (set to[0,1 ]) or 3/4 v olume(set to[1 ,0]) or full v olume(set to[1 ,1 ]). V3.0 D ec/6 /2 001 w w w .msq uaretech.com P age 1 of 7 The above information is the exclusive intellectual property of M-S q uare Technolog ies C orporation and shall not be d isclosed , d istributed w ithout permission from M-S q uare. RTS2100B Se r ie s 5 .1 P r o g r a m m in g M o d e l b 5 (m s b ) b 0(ls b ) D EST IN T A - 2R 1R 0R - 2F 1F VL 1 VO L U M E 0F VL 0 TM R F0 FLG O U T /L E D M O D V3.0 D e c /6 /2 001 LE D D B 1 - O 1 O 0 D B 0 FD 1 FD 0 w w w .msq uaretech.com P age 1 of8 The above information is the exclusive intellectual property of M-S q uare Technolog ies C orporation and shall not be d isclosed , d istributed w ithout permission from M-S q uare. RTS2100B Se r ie s 6 .0 IN STRU C TIO N SE T SU M M A RY All p ro g ra m c o d e s c a n u s e th e 6 4 la b e ls a s th e p ro g ra m e n tra n c e s fo r c o n d itio n a l b ra n c h . All s p e e c h c o d e s (m a x im u m 2 5 6 K ) a re d iv id e d in to s e c tio n s . In s tr u c tio n (Sta te m e n t) Su m m a r y D ES T = la b e l IN TA = o p e ra n d M O D = o p e ra n d TM R = tim e r S TO P W A ITM R O i = lo g ic -s ta te L ED = o n [o ff] F i = lo g ic -s ta te G O TO D ES T G O TO la b e l IF IN Ti= 0 G O TO la b e l IF F i= 0 G O TO la b e l IF TM R= 0 G O TO la b e l P L A Y S p e e c h (h e llo , 6 ) P L A Y S p h M ld (S o n g [A = d o g , D o = 6 ;B = c a t,D o = 8 ;… ],Te m po Vo lu m e = o p e ra n d Re p e a t1 = n S TA TEM EN T1 Re p e a t2 = m S TA TEM N ET2 EN D R2 EN D R1 C A L L S u b Ro u tin e F u n c tio n Br ie fs C om m ent S e t th e D ES T re g is te r L a b e l= 1-6 4 S e t IN T0 ~ 2 trig g e r 0= d is a b le ,1= e n a b le c o n d itio n s S e t s y s te m o p e ra tio n m o d e 8 m s + [(tim e r-1)x 32 S e t tim e in te rv a l m s] En te r p o w e r s a v in g m o d e W a itin g fo r tim e o u t (TM R= 0) S e t o u tp u t p in s s ta te i= 0-1 Tu rn o n (o r o ff) th e L ED in d ic a to r S e t F la g s s ta te i= 0 J u m p to th e a d d re s s o f D ES T J u m p to "la b e l" C o n d itio n a l ju m p w h e n i= 0-2 "IN Ti= 0" C o n d itio n a l ju m p w h e n i= 0 "F i= 0" C o n d itio n a l ju m p w h e n "TM R= 0" P la y th e s p e e c h "h e llo " s a m p le w ith a s a m p le ra te 6 K ra te = 4-5 12K H z P la y a n a n im a l s o n g w h ic h is e d ite d b y a te x t fo rm a t. Te m p o = 30-300 W ith 4 s te p v o lu m e c o n tro l Vo lu m e = 1-4 D u p lic a te S TA TEM EN T1 c o d e w ith "n " tim e s a n d S TA TEM EN T2 c o d e w ith "n x m " tim e s REP EA Ti= v a lu e EN D i i= 1-4 , v a lu e = 1-128 D ES T re g is te r re s e rv e d fo r in te rn a l u s a g e . RET V3.0 D e c /6 /2001 w w w .msq uaretech.com P age 1of9 The above information is the exclusive intellectual property of M-S q uare Technolog ies C orporation and shall not be d isclosed , d istributed w ithout permission from M-S q uare. RTS2100B 7 .0 7 .1 Ser ies E L E CTRICA L CH A RA CTE RISTICS A b solu te Ma x imu m Ra ting P a r a meter s O p e ra ting v o lta g e Inp u t v o lta g e O p e ra ting te m p e ra tu re S to ra g e te m p e ra tu re Comments: N e v e r a llo w Sy mb ol VD D Vi To Ts Min. -0.5 G N D -0.5 -10 -2 5 Ma x . + 6 .0 VD D + 0.5 60 12 5 U nit V V C C a s tre s s to e x c e e d th e v a lu e s lis te d u nd e r "A b s o lu te M a x im u m Ra ting s ", o th e rw is e th e d e v ic e w o u ld s u ffe r fro m a p e rm a ne nt d a m a g e . N o r is a s tre s s a t th e lis te d v a lu e b e a llo w e d to p e rs is t o v e r a p e rio d , s inc e a n e x te nd e d e x p o s u re to th e a b s o lu te m a x im u m ra ting c o nd itio n m a y a ls o a ffe c t th e re lia b ility o f th e d e v ic e , if no t c a u s ing a d a m a g e th e re o f. 7 .2 D C E lec tr ic a l Ch a r a c ter istic s VD D = 5 .0V, G N D = 0.0V a nd T A = 2 5 ° C P a r a meter s Sy mb ol Test Cond ition D C s u p p ly v o lta g e VD D O p e ra ting c u rre nt Id d U nlo a d S ta nd -b y c u rre nt Is tb F u ll lo a d O u tp u t d riv ing c u rre nt Id riv Vo h = 2 .0V L E D d riv ing c u rre nt Id riv Vo h = 2 .0V A U D IO 1 Id riv Load=8Ù A U D IO 2 Id riv Load=8Ù Rin W h e n inp u t p in is Inp u t p u ll h ig h re s is to r c o nne c te d g ro u nd Low Volta g e R e s e t VLVR T ole ra n c e = + /-0.2V O s c illa tor F re q u e n c y ¡ F /F D e v ia tion P e r Lot V3.0 D e c /6 /2 001 w w w .msq uaretech.com Min. 2 .4 - Ty p . 3.0 1 1 10 15 -100 100 Ma x . 5 .0 - U nit V m A uA m A m A m A m A - 1 - M Ù 2.0 - 2.0 2.0 V ¡ 15% % - P a g e 1 o f 10 The above information is the exclusive intellectual property of M-S q uare Technolog ies C orporation and shall not be d isclosed , d istributed w ithout permission from M-S q uare. RTS2100B 8 .0 Series A P P LICA TION CIRCU IT S(FOR REFERENCE ONLY) Value of OSC Resistance is for r efer ence only . 82 K ohm VD D OS C O OS C I LE D OUT0 OUT1 P VD D A UD IO2 P G N D A UD IO1 RTS2100B 0.1u F G N D IN T0B IN T1B IN T2 B TE S T Note : Y ou m u s t c on n ec tin g a c a p a c itor (0 .1 u F ) n ea r th e V D D a n d G ND p in , it c a n s ta b liz e fu n c tion a n d op er a tion of R T S 2 1 0 0 B I C M-Square Technologies Corporation A Subsidiary of Realtek Group H EA D Q U A RTER F lo o r 4 , N o . 2 , In d u s try E . R D . IX , S c ie n c e -B a s e d In d u s tria l P a rk , H s in c h u , 300 Ta iw a n , R .O.C . Te l: 8 8 6 -3-6 6 6 102 8 F a x : 8 8 6 -3-6 6 6 19 2 8 H ONG K ONG OFFICE SH ENZ H EN OFFICE R o o m 14 03, C h a rm C e n tre 7 00 C a s tle P e a k R d ., L a i C h i K o k K o w lo o n , H o n g K o n g Te l: 8 5 2 -2 9 5 9 32 35 F a x :8 5 2 -2 7 4 2 5 2 6 7 V3.0 D e c /6 /2 001 R o o m 15 08 , B lo c k A , Un io n S q u a re , N o .5 02 2 C a itia n R d ..F u tia n ,S h e n z h e n Te l:6 -7 5 5 -2 9 006 7 2 F a x :8 6 -7 5 5 -2 9 006 8 1 w w w .msq uaretech.com P a g e 1 o f 11 The above information is the exclusive intellectual property of M-S q uare Technolog ies C orporation and shall not be d isclosed , d istributed w ithout permission from M-S q uare.