TMP87CS38F TOSHIBA | Alldatasheet
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 9
Technical content
Features
@8-bit single chip microcomputer TLCS-870 Series @ instruction execution time : 0.5 us (at 8 MHz) 412 basic instructions @ Multiplication and Division (8bits x 8bits , 16bits + 8bits) @ Bit manipulations(Set/Clear/Complement/Move/Test/Exclusive Or) @ 16-bit data operations @ 1-byte jump /subroutine-call (Short relative jump / Vector call) 14 interrupt sources (External: 5, Internal: 9) @ All sources have independent latches each, and nested interrupt control is available. © 3 edge-selectable external interruptswith noise reject @ High-speed task switching by register bank changeover @ROM Corrective Function
6 Input / Output ports (33 pins)
@ High current output : 4 pins (typ. 20 mA) @Two 16-bit Timer / Counters © Timer, Event counter, Pulse width measurement, External trigger timer, Window modes 030619EBP1 @ The information contained herein is subject to change without notice. @ The information contained herein is presented only as a guide for the applications of our products. No responsibility is assumed by TOSHIBA for any infringements of patents or other rights of the third parties which may result from its use. No license is granted by implication or otherwise under any patent or patent rights of TOSHIBA or others. @ TOSHIBA is continually working to improve the quality and reliability of its products. Nevertheless, semiconductor devices in general can malfunction or fail due to their inherent electrical sensitivity and vulnerability to physical stress. It is the responsibility of the buyer, when utilizing TOSHIBA, products, to comply with the standards of ‘safety. in making a safe design for the entire system, and to avoid situations in which a malfunction or failure of such TOSHIBA products could cause loss of human life, bodily injury or damage to property. In developing your designs, please ensure that TOSHIBA products are used within specified operating ranges as set forth in the most recent TOSHIBA products specifications, Also, please keep in mind the precautions and conditions set forth in the “Handling Guide for Semiconductor Devices,” or “TOSHIBA Semiconductor Reliability Handbook” etc. @The TOSHIBA products listed in this document are intended for usage in general electronics applications (computer, personal equipment, office equipment, measuring equipment, industrial robotics, domestic appliances, etc.) These TOSHIBA products are neither intended nor warranted for usage in equipment that requires extraordinarily high quality and/or reliability or a, malfunction or failure of which may cause loss of human life or. bodily injury (“Unintended Usage”). Unintended Usage include atomic energy control instruments, airplane or spaceship instruments, transportation instruments, traffic signal instruments, combustion control instruments, medical instruments, all types of safety devices, etc.. Unintended Usage of TOSHIBA products listed in this document shall be made at the customer's ‘own risk. @ The products described in this document are subject to the foreign exchange and foreign trade laws. @ TOSHIBA products should not be embedded to the downstream products which are prohibited to be produced and sold, under any law and regulations. @For a discussion of how the reliability of microcontrollers can be predicted, please refer to Section 1.3 of the chapter entitled Quality and Reliability Assurance / Handling Precautions. . - a 2rra Purchase of TOSHIBA |? C components conveys a license under the Philips |? C Patent Rights to use these | (lus components in an I? C system, provided that the system conforms to the I? C Standard Specification as defined by BUS) Philips. 87CM38-1 2004-10-01
@Two 8-bit Timer / Counters @ Timer, Event counter, Capture (Pulse width / duty measurement) modes @Time Base Timer (Interrupt frequency : 1 Hz to 16 kHz) @ Watchdog Timer @ Interrupt source / reset output (programmable) @Serial bus Interface @ |2C-bus, 8-bit SIO modes On-screen display circuit © Character patterns : 256 characters © Characters displayed : 24columnsx 12 lines @ Composition : 14x18 dots © Size of character : 3 kinds (line by line) © Color of character : 8 kinds (character by character) © Variable display position : Horizontal 128 steps, Vertical 256 steps Fringing, Smoothing function @DV/A conversion (Pulse Width Modulation) outputs @ 14-bit resolution (1 channel) @ 7-bit resolution (9 channels) @8-bit successive approximate type A/D converter with sample and hold @Remote control signal preprocessor @Two Power saving operating modes @ STOP mode : Oscillation stops. Battery / Capacitor back-up. Port output hold / high-impedance. @ IDLE mode : CPU stops, and Peripherals operate. Release by interrupts. Jitter Elimination @Emulation Pod : BM87CS38NO0A 87CM38-2 2004-10-01
P-QFP44-1414-0.80D S P-QFP44-1414-0.80D 3 se 3 2 fg
3 EID
EE ele) e sees g22%8s SeSsestsaar ~ gegcleextsse xe > HAA AH eHeeee > <4 OAAA AR AAA A Migr oe 33 32 31 30 29 28 27 26 25 24 23 (Scao) p35/(TCa) P33 CIC] 34 22 FEO P70 (HD) Meeschane P57(SCLo) P34 LIL] 35, 21 [50D P67 (vB) TMP87CS38F (iNT4) P32MSDAD) P35 CI] 36 20 [EID P66 (8) ‘TMPB7PS38F (rca) p33/57 COX 37 19 FD P65 (6) nc CId 38 18 Foo P64) voo CIT) 39 wom NC vss I ao 16 =m VSS (Pwo) P40 COI 41 15 Fp P63 wm) par Od a2 14 Fam P62 (csouT) (wma) p42 CO 43 13 FD P61 (AINS) (Pwws) p43 CO ag 42 Fem P60 (AINA) ° 123456789 1011 HHO UWB H HEE OOOGBBEd008 Peepecansnes aaacaceeccaae THC Ree csolaa SISISIE/E/E Qa zac wees ess os8e fo OR E > 8 za oF Ee E ta Package Pin Assignments P-SDIP42-600-1.78 vss aa pe voD (PWMi) Pai] 3 40 [=> P35 (SDAO) / P32 (INTA) (PWM2) P42 G4 39 "P34 (SCLO)/P57 (PW3) PaaS 38 [> P33 (TCA) /P35 (SDAO) PW) Pas<>O 6 37 <> p32 «inT4)/P34 (ScLo) PARAS) pas <>] 7 36 fl<>e31 crea) ) (WE) Pac=<>O 8 35 <> P30 (INT3 /RXIN) (WT) P47 <> 9 34 f<> p20 (INTS /STOP) (70/72 / PWNS) P50<>T] 10 33 [<> RESET (S11 /SCL1 / PMS) P51 <> 11 32 f->xout TMP87CM38N (501/S0A1) 52> 12 31 P<—xin TMP87CP38N (SCRT/INT2 /TC1 /AINO) P53 <>] 13 30 f<—test TMP87CS38N (aint) Psa<> 14 29 f->osc2 TMP87PS38N (AIN2) PSS <T] 15, 28 <—oser (AIN3) P56 16 27 P71 (VD) (ana) P60-—<>U) 17 26 P<>P70 D) (AINS) P61 <>] 18 25 [> P67 (Y/BL) (csour) P62<>4] 19 24 P<>Ps6 (8) vss—>Q 21 22 <> P64 (R) 87CM38-3 2004-10-01
display [DD iA O if o a Sul “{ VSS: —— Timer Timer __| | timer/counter = Resonator { XIN=PP| neon {ot High Clock Inst. Register tH O | OES 0 _ | —o BiAConverta SbtAD Remote contol Lee em [rs] Converter [rs ][rora signal Interface-ver.A ] ] Output (Slor2c) P20 PAT P57 P63 P36 VO Ports 87CM38-4 2004-10-01
eT Te eT ete UE POT wie Peet; [External interrupt input 5 or STOP mode P20((INTS/STOP) | VO (Input) Mus be see 19”, input port, the late release signal input P35 (SDAO) VO (V/0) 12Cbus serial data input/output 6-bit input/output port with latch. P34 (SCLO) VO (VO) When used as an input port, a serial bus _ | !@Cbus serial clock input/output 33 (TCA) interface input/output, a timer/counter Timer / Counter 4 input input, a remote control signal P32 (INT4) VO (Input) preprocessor input, or an external External interrupt input 4 p31 (TC3) interrupt input, the latch must beset to | Timer Counter 3input edn hee ee ee Eaieiaal inavhigk pit’ 8F veimOis eel P30(INT3/RXIN)_| I/O (Input/Input) signal preprocessor input Pa7 (PWT) Each bit ens portcan be indiidualy configured to.P4i (PWM), as an input or an outputunder software conta. |7-bit D/A conversion (PWM) outputs. pooeittenstadrerssss-t-] UO (Output) During reset, all bits are configured as inputs. p40 (PWM) When used 25 a PWM output, the latch must be set | 14.bit D/A conversion (PWM) output P57 Bee Talis)" VO input) bit inputfoutput pore withatch sven to P53 (AINO) 8-bit A/D conversion inputs 53 (AINO/ TCAs J" When used asan input port, a analog [A/D conversion inputs or Timer /Counter tinputsor joo dNT2ISCKD) [VO interrupt input 2 or SIO serial clock inputoutput input, a PWM output, or a pulse output, P52 (SDA1/SO1) ?Cbus serial data input/output or SIO Serial data output psi wing] VO the latch must be set to “1”, abit DIA Hebus Seria data input/output esocseeyeee/SCLV/SI1) | (Input/Output) conversion jorsiO Serial data input | P50 (PWMa/TC2 (PWM) outputs Timer / Counter 2 input/ AINTO) External interrupt input 0 Focus signal output or Background blanking control signal P67 (Y/BL) 8-bit programmable input/output port cout pereeeenrerenenneesnes (P67 to P64 : tri-state, P63 to P6O : High [oP srs srenerennrnerntennsinnnnnnnntnernned P66 (B) current output). Each bit of this port jeanne YO(Output) t P65 (6) can be individually configured as an | egg output secenenseesenne input or an output under software P64 (R) control. During reset, all bits are . . P63 configured as inputs. When used as the ~ R, G, B, Y / BL outputs of on-screen ~ P62 (CSOUT) vo display circuit, each bit of the P6 port |High current ;_ Test video signal output P61 (AINS) data selection register (bits 7 to 4 in Joutput. - address 0F91},) must be set to “1”. AID conversion inputs P60 (AIN4) 2-bit input/output port with latch. . P71 (VD) When used as an input ports, ‘or a | Vertical synchronous signal input ened YE (Input) Yerlical synchronous Segnah inpit°and [ernsenstosnenesn srt P70 (HD) fgrizontal synchronous signal input, the | Horizontal synchronous signal input OSC1, OSC2 Resonator connecting pins for on-screen display circuitry. echoed Input, Output pte teenies tetta dvi XIN, XOUT Resonator connecting pins. For inputting external clock, XIN is used and XOUT is opened VDD, VSS Power Supply +5V, 0V(GND) 87CM38-5 2004-10-01
Electrical Characteristics
Absolute maximum ratings (Vss = 0 V) smoot [is | ratings | nt | Ports P2, P3, P4, P5, P64 to P67, P7 [32 Output Current (Per 1 pin) mA Ports P2, P3, P4, P5, P64 to P67, P7 Output Current (Total Note: The absolute maximum ratings are rated values which must not be exceeded during operation, even for an instant. Any one of the ratings must not be exceeded. If any absolute maximum rating is exceeded, a device may break down or its performance may be degraded, causing it to catch fire or explode resulting in injury to the user. Thus, when designing products which include this device, ensure that no absolute maximum rating value will ever be exceeded. Recommended operating conditions (Vss=0V, Topr= - 30 to 70°C) symoot | ins | conttons tino | un | NORMAL mode sto? ose Input High Voltage Voo v Input Low Voltage v Normal frequency mode Tosc= Clock Frequency (FORS = 0, Vpp = 4.5 to 5.5 V) fx 1.258.0 fosc | OSC1,OSC2 Double frequency mode fosc= (FORS = 1, Vpp = 4.5t0 5.5 V) fcx0.654.0 Note1: The recommended operating conditions for a device are operating conditions under which it can be guaranteed that the device will operate as specified. If the device is used under operating conditions other than the recommended operating conditions (supply voltage, operating temperature range, specified AC/DC values etc.), malfunction may occur. Thus, when designing products which include this device, ensure that the recommended operating conditions for the device are always adhered to. Note2: Clock Frequency fc ; The condition of supply voltage range is the value in NORMAL and IDLE modes. Note3: When using test video signal circuit and data slicer circuit, high frequency must be 8 MHz. 87CM38-135 2004-10-01
D.C. characteristics (Vss =0V, Topr= - 30 to 70°C) CSCIC Open drain ports Vpn =5.5V, Viv=5.5V/0V [ - | - | +2] Input Current uA | tina _| RESET, STOP Voo=55VVn=ssviov | - | - | #2 | Output Leakage Sink open drain ports Vp =5.5V, Vour=5.5V [- | -][2] uA Except XOUT, OSC2 and . . Output Low Voltage Vou | port P60 to P63 Vop=4.5V, lo.=1.6mA v Output Low Current Ports P60 to P63 Vop=4.5V, VoL=1.0V [ - | 20 [| - | ma] Supply Current in NORMAL mode Vop=5.5V 4 | 17 | ma ; fe=8MHz Supply Current in Vin=5.3V/0.2V IDLE mode 7 | 10) ma Supply Current in Vop=5.5V STOP mode Vin =5.3V/0.2V 0.5 | 10 | uA Note 1: Typical values show those at Topr = 25°C, Vop =5 V. Note 2: Input Current Iiy1, nya ; The current through pull-up or pull-down resistor is not included. Note3: Supply Current Ipp ; The current (Typ. 0.5 mA) through ladder resistors of ADC is included in NORMAL mode and IDEL mode. A/D conversion characteristics (Vss = OV, Vpp = 4.5 Vto 5.5V Topr = — 30 to 70°C) symbot | condone in| tym | won | unit_| Analog Reference Voltage AnalogReferencevotage Range | Var |=Voo=Vs |= | Yoo | =| Analog np Volage Pv fos Te | vee | wroroimern | [= | - [| Vpp=4.5V to 5.5V LsB frotenor P= | = [ss | 87CM38-136 2004-10-01
A.C. characteristics (Vss = OV, Vpp = 4.5 to 5.5 V, Topr = — 30 to 70°C) In NORMAL mode Machine Cycle Time ty 1.0 “s In IDLE mode High-Level Clock Pulse Width For external clock operation 625 Low-Level Clock Pulse Width (XIN input), fe= BMHz Recommended oscillating condition | (Vss=0V, Vpp=4.5to 5.5V, Topr= - 30 to 70°C) p. Recommended Conditions arameter at if | ewe | KYOCERA KBR8.0M Ceramic Resonator 30 pF amuz KYOCERA KBR4.0MS High-frequency MURATA _CSA4.00MG Oscillation TOYOCOM 2108 8.0000 Crystal Oscillator 20 pF | ewe | TOKO —A28STNIS-11695 (5 mm) LC Resonator TOKO —TBEKSES-30375FBY xIN xour osc osc2 a Z a - aaemaae Oe (1) High-frequency (2) LC Resonator for OSD Note: On our OSD circuit, the horizontal display start position is determined by counting the clock from LC oscillator. So, the unstable start of oscillation after the rising edge of Horizontal Sync. Signal will be cause the OSD distortion. Generally, smaller C and larger L make clearer wave form at the beginning of oscillation. We recommend that the value of LC oscillator should be equal and bigger than 33H. Note: To keep reliable operation, shield the device electrically with the metal plate on its package mold surface against the high electric field, for example, by CRT (Cathode Ray Tube). 87CM38-137 2004-10-01