Ordering number : ENA1636A LC87F7DJ2B CMOS IC FROM 192K byte, RAM 8K byte on-chip 8-bit 1-chip Microcontroller Overview The SANYO LC87F7DJ2B is an 8-bit microcomputer that, centered around a CPU running at a minimum bus cycle time of 83.3ns, integrates on a single chip a number of hardware features such as 192K-byte flash ROM (onboard programmable), 8K-byte RAM, an on-chip debugger, an LCD controller/driver, sophisticated 16-bit timer/counter (may be divided into 8-bit timers), a 16-bit timer/counter (may be divided into 8-bit timers/counters or 8-bit PWMs), four 8-bit timers with a prescaler, 16-bit timer with a prescaler (may be divided into 8-bit timers), a base timer serving as a time-ofday clock, a day and time counter, a synchronous SIO interface (with automatic block transmission/reception capabilities), an asynchronous/synchronous SIO interface, two UART interface (full duplex), a 12-bit 15-channel AD converter, two 12-bit PWM channels, a high-speed clock counter, a system clock frequency divider, a small signal detector, two infrared remote controller receiver function, and a 31-source 10-vector interrupt feature. Features Flash ROM • Capable of on-board-programming with a wide range of souce voltages: 3.0 to 5.5V • Block-erasable in 2-byte units • 196608 × 8 bits RAM • 8192 × 9 bits Minimum Bus Cycle Time • 66.6ns (15MHz) VDD=3.0 to 5.5V • 125ns (8MHz) VDD=2.5 to 5.5V • 250ns (4MHz) VDD=2.2 to 5.5V Note: The bus cycle time here refers to the ROM read speed. * This product is licensed from Silicon Storage Technology, Inc. (USA), and manufactured and sold by SANYO Semiconductor Co., Ltd. Any and all SANYO Semiconductor Co.,Ltd. products described or contained herein are, with regard to "standard application", intended for the use as general electronics equipment (home appliances, AV equipment, communication device, office equipment, industrial equipment etc.). The products mentioned herein shall not be intended for use for any "special application" (medical equipment whose purpose is to sustain life, aerospace instrument, nuclear control device, burning appliances, transportation machine, traffic signal system, safety equipment etc.) that shall require extremely high level of reliability and can directly threaten human lives in case of failure or malfunction of the product or may cause harm to human bodies, nor shall they grant any guarantee thereof. If you should intend to use our products for applications outside the standard applications of our customer who is considering such use and/or outside the scope of our intended standard applications, please consult with us prior to the intended use. If there is no consultation or inquiry before the intended use, our customer shall be solely responsible for the use. Specifications of any and all SANYO Semiconductor Co.,Ltd. products described or contained herein stipulate the performance, characteristics, and functions of the described products in the independent state, and are not guarantees of the performance, characteristics, and functions of the described products as mounted in the customer' s products or equipment. To verify symptoms and states that cannot be evaluated in an independent device, the customer should always evaluate and test devices mounted in the customer' s products or equipment. Ver.0.07 20310HKIM 20100118-S00001 No.A1636-1/26 LC87F7DJ2B Minimum Instruction Cycle Time (tCYC) • 200ns (15MHz) VDD=3.0 to 5.5V • 375ns (8MHz) VDD=2.5 to 5.5V • 750ns (4MHz) VDD=2.2 to 5.5V Ports • Normal withstand voltage I/O ports Ports whose I/O direction can be designated in 1 bit units 29 (P0n, P1n, P70 to P73, P8n, XT2) • Normal withstand voltage input port 1 (XT1) • LCD ports Segment output 54 (S00 to S53) Common output 4 (COM0 to COM3) Bias terminals for LCD driver 3 (V1 to V3) Other functions Input/output ports 54(P3n, PAn, PBn, PCn, PDn, PEn, PFn) Input ports 7 (PLn) • Dedicated oscillator ports 2 (CF1, CF2) • Reset pin 1 (RES) • Power pins 6 (VSS1 to VSS3, VDD1 to VDD3) LCD Controller 1) Seven display modes are available (static, 1/2, 1/3, 1/4 duty × 1/2, 1/3 bias) 2) Segment output and common output can be switched to general-purpose input/output ports Small Signal Detection (MIC signals etc) 1) Counts pulses with the level which is greater than a preset value 2) 2-bit counter Timers • Timer 0: 16-bit timer/counter with two capture registers. Mode 0: 8-bit timer with an 8-bit programmable prescaler (with two 8-bit capture registers) × 2 channels Mode 1: 8-bit timer with an 8-bit programmable prescaler (with two 8-bit capture registers) + 8-bit counter (with two 8-bit capture registers) Mode 2: 16-bit timer with an 8-bit programmable prescaler (with two 16-bit capture registers) Mode 3: 16-bit counter (with two 16-bit capture registers) • Timer 1: 16-bit timer/counter that supports PWM/toggle outputs Mode 0: 8-bit timer with an 8-bit prescaler (with toggle outputs) + 8-bit timer/counter with an 8-bit prescaler (with toggle outputs) Mode 1: 8-bit PWM with an 8-bit prescaler × 2 channels Mode 2: 16-bit timer/counter with an 8-bit prescaler (with toggle outputs) (toggle outputs also possible from the lower-order 8 bits) Mode 3: 16-bit timer with an 8-bit prescaler (with toggle outputs) (The lower-order 8 bits can be used as PWM.) • Timer 4: 8-bit timer with a 6-bit prescaler • Timer 5: 8-bit timer with a 6-bit prescaler • Timer 6: 8-bit timer with a 6-bit prescaler (with toggle output) • Timer 7: 8-bit timer with a 6-bit prescaler (with toggle output) • Timer 8: 16-bit timer Mode 0: 8-bit timer with an 8-bit prescaler × 2 channels Mode 1: 16-bit timer with an 8-bit prescaler • Base timer 1) The clock is selectable from the subclock (32.768kHz crystal oscillation), system clock, and timer 0 prescaler output. 2) Interrupts programmable in 5 different time schemes • Day and time counter 1) Using with a base timer, it can be used as 65000 day + minute + second counter. No.A1636-2/26 LC87F7DJ2B High-speed Clock Counter 1) Can count clocks with a maximum clock rate of 20MHz (at a main clock of 10MHz). 2) Can generate output real-time. SIO • SIO0: 8-bit synchronous serial interface 1) LSB first/MSB first mode selectable 2) Built-in 8-bit baudrate generator (maximum transfer clock cycle = 4/3 tCYC) 3) Automatic continuous data transmission (1 to 256 bits specifiable in 1-bit units, suspension and resumption of data transmission possible in 1-byte units) • SIO1: 8-bit asynchronous/synchronous serial interface Mode 0: Synchronous 8-bit serial I/O (2- or 3-wire configuration, 2 to 512 tCYC transfer clocks) Mode 1: Asynchronous serial I/O (half-duplex, 8-data bits, 1-stop bit, 8 to 2048 tCYC baudrates) Mode 2: Bus mode 1 (start bit, 8-data bits, 2 to 512 tCYC transfer clocks) Mode 3: Bus mode 2 (start detect, 8-data bits, stop detect) UART1 • Full duplex • 7/8/9 bit data bits selectable • 1 stop bit (2-bit in continuous data transmission) • Built-in baudrate generator UART2 • Full duplex • 7/8/9 bit data bits selectable • 1 stop bit (2-bit in continuous data transmission) • Built-in baudrate generator AD Converter: 12 bits × 15 channels PWM: Multi frequency 12-bit PWM × 2 channels Remote Control Receiver Circuit1 1) Noise rejection function (Units of noise rejection filter: about 120μs, when selecting a 32.768kHz crystal oscillator as a clock.) 2) Supporting reception formats with a guide-pulse of half-clock/clock/none. 3) Determines a end of reception by detecting a no-signal periods (No carrier). 4) X’tal HOLD mode release function Remote Control Receiver Circuit2 1) Noise rejection function (Units of noise rejection filter: about 120μs, when selecting a 32.768kHz crystal oscillator as a clock.) 2) Supporting reception formats with a guide-pulse of half-clock/clock/none. 3) Determines a end of reception by detecting a no-signal periods (No carrier). 4) X’tal HOLD mode release function Watchdog Timer • External RC watchdog timer • Interrupt and reset signals selectable Clock Output Function 1) Can output selected oscillation clock 1/1, 1/2, 1/4, 1/8, 1/16, 1/32, 1/64 as system clock. 2) Can output oscillation clock of sub clock. No.A1636-3/26 LC87F7DJ2B Interrupts • 31 sources, 10 vector addresses 1) Provides three levels (low (L), high (H), and highest (X)) of multiplex interrupt control. Any interrupt requests of the level equal to or lower than the current interrupt are not accepted. 2) When interrupt requests to two or more vector addresses occur at the same time, the interrupt of the highest level takes precedence over the other interrupts. For interrupts of the same level, the interrupt into the smallest vector address takes precedence. No. Vector Address Level Interrupt Source 1 00003H X or L INT0 2 0000BH X or L INT1 3 00013H H or L INT2/T0L/INT4/remote control receiver1 4 0001BH H or L INT3/base timer/INT5/remote control receiver2 5 00023H H or L T0H/INT6 6 0002BH H or L T1L/T1H/INT7 7 00033H H or L SIO0/UART1 receive/UART2 receive/T8L/T8H 8 0003BH H or L SIO1/UART1 transmit/UART2 transmit 9 00043H H or L ADC/MIC/T6/T7/PWM4/PWM5 10 0004BH H or L Port 0/T4/T5 • Priority levels X > H > L • Of interrupts of the same level, the one with the smallest vector address takes precedence. • IFLG (List of interrupt source flag function) 1) Shows a list of interrupt source flags that caused a branching to a particular vector address (shown in the diagram above). Subroutine Stack Levels: 4096 levels (The stack is allocated in RAM.) High-speed Multiplication/Division Instructions • 16 bits × 8 bits (5 tCYC execution time) • 24 bits × 16 bits (12 tCYC execution time) • 16 bits ÷ 8 bits (8 tCYC execution time) • 24 bits ÷ 16 bits (12 tCYC execution time) Oscillation Circuits • RC oscillation circuit (internal): For system clock • CF oscillation circuit: For system clock, with internal Rf and external Rd • Crystal oscillation circuit: For low-speed system clock, with internal Rf and external Rd • Frequency variable RC oscillation circuit (internal): For system clock 1) Adjustable in ±4% (typ.) step from a selected center frequency. 2) Measures the frequency of the source oscillation clock using the input signal from XT1 as the reference. System Clock Divider Function • Can run on low current. • The minimum instruction cycle selectable from 300ns, 600ns, 1.2μs, 2.4μs, 4.8μs, 9.6μs, 19.2μs, 38.4μs, and 76.8μs (at a main clock rate of 10MHz). System Clock Multiplier Function • Allows the 2 or 3 times the clock frequency to be selected when the crystal oscillation output is used as the system clock. Standby Function • HALT mode: Halts instruction execution while allowing the peripheral circuits to continue operation. (Some parts of the serial transfer function stops operation.) 1) Oscillation is not halted automatically. 2) Canceled by a system reset or occurrence of an interrupt Continued on next page. No.A1636-4/26 LC87F7DJ2B Continued from preceding page. • HOLD mode: Suspends instruction execution and the operation of the peripheral circuits. 1) The CF, RC, X’tal, and frequency variable RC oscillators automatically stop operation. 2) There are three ways of resetting the HOLD mode. (1) Setting the reset pin to the low level (2) Setting at least one of the INT0, INT1, INT2, INT4, and INT5 pins to the specified level (3) Having an interrupt source established at port 0 • X'tal HOLD mode: Suspends instruction execution and the operation of the peripheral circuits except the base timer and the remote control receiver circuit. 1) The CF, RC, and frequency variable RC oscillators automatically stop operation. 2) The state of crystal oscillation established when the X'tal HOLD mode is entered is retained. 3) There are five ways of resetting the X'tal HOLD mode. (1) Setting the reset pin to the low level (2) Setting at least one of the INT0, INT1, INT2, INT4, and INT5 pins to the specified level (3) Having an interrupt source established at port 0 (4) Having an interrupt source established in the base timer circuit (5) Having an interrupt source established in the remote control receiver circuit On-chip Debugger • Supports software debugging with the IC mounted on the target board. Package Form • QIP100E(14×20): Lead-free type/Halogen-free type • TQFP100(14×14): Lead-free type/Halogen-free type (Under Development) Development Tools • On-chip debugger: TCB87-TypeB + LC87F7DJ2B or TCB87 TypeC(3Lines Cable) + LC87F7DJ2B Flash ROM Programming Boards Package Programming boards QIP100E(14×20) W87FQ100 TQFP100(14×14) W87FSQ100 Flash ROM Programmer Maker Model Supported version Device (Note 2) LC87F7DJ2B AF9708 Single AF9709/AF9709B/AF9709C (Including product of Ando Electric Co., Ltd) Flash Support Group, Inc. AF9723/AF9723B(Main body) (FSG) (Including product of Ando Gang (Note 2) Electric Co., Ltd) LC87F7DJ2B AF9833(Unit) (Including product of Ando (Note 2) Electric Co., Ltd) Flash Support Group, Inc. AF9101/AF9103(Main body) (FSG) Onboard (FSG) + Single/Gang SIB87(interface driver) SANYO (Note 1) LC87F7DJ2B (SANYO) Single/Gang SANYO (Note 2) SKK/SKK Type B Application Version (SANYO FWS) After 1.05 Onboard SKK-DBG Type B Chip Data Version Single/Gang (SANYO FWS) After 2.23 LC87F7DJ2B Note 1: With the FSG onboard programmer (AF9101/AF9103) and the serial interface driver provided by SANYO, PC-less standalone onboard programming is possible Note 2: Depending on programming conditions, it is necessary to use a dedicated programming device and a program. Please contact SANYO or FSG if you have any questions or difficulties regarding this matter. No.A1636-5/26 LC87F7DJ2B Package Dimensions unit : mm (typ) 3151A 23.2 0.8 20.0 51 50 100 31 14.0 81 1 17.2 80 30 0.65 0.15 0.3 0.1 3.0max (2.7) (0.58) SANYO : QIP100E(14X20) Package Dimensions unit : mm (typ) 3274 [Under Development] 75 0.5 16.0 14.0 51 50 100 26 14.0 16.0 76 1 0.5 0.2 25 0.125 1.2max 0.1 (1.0) (1.0) SANYO : TQFP100(14X14) No.A1636-6/26 LC87F7DJ2B 80 79 78 77 76 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 V3/PL6/AN14/DBGP2 S47/PF7/INT7 S46/PF6/INT6 S45/PF5 S44/PF4 S43/PF3 S42/PF2 S41/PF1 S40/PF0 S39/PE7 S38/PE6 S37/PE5 S36/PE4 S35/PE3 S34/PE2 S33/PE1 S32/PE0 S31/PD7 S30/PD6 S29/PD5 S28/PD4 S27/PD3 S26/PD2 S25/PD1 S24/PD0 VSS2 VDD2 S23/PC7 S22/PC6 S21/PC5 Pin Assignments LC87F7DJ2B 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 S20/PC4 S19/PC3 S18/PC2 S17/PC1 S16/PC0 S15/PB7 S14/PB6 S13/PB5 S12/PB4 S11/PB3 S10/PB2 S9/PB1 S8/PB0 S7/PA7 S6/PA6 S5/PA5 S4/PA4 S3/PA3 S2/PA2 S1/PA1 P06/T6O P07/T7O P10/SO0 P11/SI0/SB0 P12/SCK0 P13/SO1 P14/SI1/SB1 P15/SCK1 P16/T1PWML P17/T1PWMH/BUZ RES XT1/AN10 XT2/AN11 VSS1 CF1 CF2 VDD1 P80/AN0 P81/AN1 P82/AN2 P83/AN3 P84/AN4 P85/AN5 P86/AN6 P87/AN7/MICIN P70/INT0/T0LCP/AN8 P71/INT1/T0HCP/AN9 P72/INT2/T0IN/NKIN P73/INT3/T0IN/RMIN S0/PA0 V2/PL5/AN13/DBGP1 V1/PL4/AN12/DBGP0 COM0/PL0 COM1/PL1 COM2/PL2 COM3/PL3 P30/INT4/T1IN/INT6/T0LCP1/PWM4/S48 P31/INT4/T1IN/PWM5/S49 VSS3 VDD3 P32/INT4/T1IN/UTX1/S50 P33/INT4/T1IN/URX1/S51 P34/INT5/T1IN/INT7/T0HCP1/UTX2/S52 P35/INT5/T1IN/URX2/S53 P00/DGBP0 P01/DGBP1 P02/DGBP2 P03/INT6 P04/INT7 P05/CKO Top view SANYO: QIP100E(14×20) “Lead-free type/Halogen-free type” No.A1636-7/26 75 74 73 72 71 70 69 68 67 66 65 64 63 62 61 60 59 58 57 56 55 54 53 52 51 S46/PF6 S45/PF5 S44/PF4 S43/PF3 S42/PF2 S41/PF1 S40/PF0 S39/PE7 S38/PE6 S37/PE5 S36/PE4 S35/PE3 S34/PE2 S33/PE1 S32/PE0 S31/PD7 S30/PD6 S29/PD5 S28/PD4 S27/PD3 S26/PD2 S25/PD1 S24/PD0 VSS2 VDD2 LC87F7DJ2B LC87F7DJ2B 50 49 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 32 31 30 29 28 27 26 S23/PC7 S22/PC6 S21/PC5 S20/PC4 S19/PC3 S18/PC2 S17/PC1 S16/PC0 S15/PB7 S14/PB6 S13/PB5 S12/PB4 S11/PB3 S10/PB2 S9/PB1 S8/PB0 S7/PA7 S6/PA6 S5/PA5 S4/PA4 S3/PA3 S2/PA2 S1/PA1 S0/PA0 P73/INT3/T0IN/RMIN 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 P11/SI0/SB0 P12/SCK0 P13/SO1 P14/SI1/SB1 P15/SCK1 P16/T1PWML P17/T1PWMH/BUZ RES XT1/AN10 XT2/AN11 VSS1 CF1 CF2 VDD1 P80/AN0 P81/AN1 P82/AN2 P83/AN3 P84/AN4 P85/AN5 P86/AN6 P87/AN7/MICIN P70/INT0/T0LCP/AN8 P71/INT1/T0HCP/AN9 P72/INT2/T0IN/NKIN S47/PF7 V3/PL6/AN14/DBGP2 V2/PL5/AN13/DBGP1 V1/PL4/AN12/DBGP0 COM0/PL0 COM1/PL1 COM2/PL2 COM3/PL3 P30/INT4/T1IN/INT6/T0LCP1/PWM4/S48 P31/INT4/T1IN/PWM5/S49 VSS3 VDD3 P32/INT4/T1IN/UTX1/S50 P33/INT4/T1IN/URX1/S51 P34/INT5/T1IN/INT7/T0HCP1/S52 P35/INT5/T1IN/S52 P00/DGBP0 P01/DGBP1 P02/T8LO/DGBP2 P03/T8HO P04 P05/CKO P06/T6O P07/T7O P10/SO0 Top view SANYO: TQFP100(14×14) “Lead-free type/Halogen-free type” (Under Development) No.A1636-8/26 LC87F7DJ2B System Block Diagram Interrupt control IR PLA Standby control Flash ROM RC VMRC Clock generator CF PC X’tal ACC B register C register ALU SIO0 Bus interface SIO1 Port 0 Timer 0 (High speed clock counter) Port 1 Timer 1 Port 3 PSW RAR Base timer Port 7 LCD Controller Port 8 INT0 to 7 Noise Rejection Filter ADC Timer 4 Small signal detector Timer 5 Timer 6 UART1 UART2 PWM4/5 Timer 7 Remote control receiver circuit 1 Timer 8 Remote control receiver circuit 2 Day and time counter RAM Stack pointer Watchdog timer On-chip debugger No.A1636-9/26 LC87F7DJ2B Pin Description Pin Name VSS1 VSS2 VSS3 VDD1 I/O Description Option - - power supply pin No - + power supply pin No • 8-bit I/O port Yes VDD2 VDD3 Port 0 I/O • I/O specifiable in 1-bit units P00 to P07 • Pull-up resistors can be turned on and off in 1-bit units. • Input for HOLD release • Input for port 0 interrupt • Shared pins P03: INT6 input P04: INT7 input P05: Clock output (system clock/can selected from sub clock) P06: Timer 6 toggle output P07: Timer 7 toggle output On chip debugger pins: DBGP0 to DBGP2(P00 to P02) Port 1 I/O • 8-bit I/O port Yes • I/O specifiable in 1-bit units P10 to P17 • Pull-up resistors can be turned on and off in 1-bit units. • Shared pins P10: SIO0 data output P11: SIO0 data input/bus I/O P12: SIO0 clock I/O P13: SIO1 data output P14: SIO1 data input/bus I/O P15: SIO1 clock I/O P16: Timer 1PWML output P17: Timer 1PWMH output/beeper output Port 3 P30 to P35 I/O • 6-bit I/O port Yes • Segment output for LCD • I/O specifiable in 1-bit units • Pull-up resistors can be turned on and off in 1-bit units. • Shared pins P30 to P33: INT4 input/HOLD release input/timer 1 event input/timer 0L capture input/ timer 0H capture input P34 to P35: INT5 input/HOLD release input/timer 1 event input/timer 0L capture input/ timer 0H capture input P30: PWM4 output/INT6 input/timer 0L capture 1 input P31: PWM5 output P32: UART1 transmit P33: UART1 receive P34: UART2 transmit/INT7 input/timer 0H capture 1 input P35: UART2 receive Interrupt acknowledge type Rising Falling INT4 enable enable INT5 enable enable INT6 enable INT7 enable Rising & H level L level enable disable disable enable disable disable enable enable disable disable enable enable disable disable Falling Continued on next page. No.A1636-10/26 LC87F7DJ2B Continued from preceding page. Pin Name Port 7 I/O I/O Description Option • 4-bit I/O port No • I/O specifiable in 1-bit units P70 to P73 • Pull-up resistors can be turned on and off in 1-bit units. • Shared pins P70: INT0 input/HOLD release input/timer 0L capture input/watchdog timer output P71: INT1 input/HOLD release input/timer 0H capture input P72: INT2 input/HOLD release input/timer 0 event input/timer 0L capture input/ high speed clock counter input P73: INT3 input (with noise filter)/timer 0 event input/timer 0H capture input/ remote control receiver input AD converter input ports: AN8 (P70), AN9 (P71) Interrupt acknowledge type Port 8 I/O Rising Falling INT0 enable enable INT1 enable enable INT2 enable INT3 enable Rising & H level L level disable enable enable disable enable enable enable enable disable disable enable enable disable disable Falling • 8-bit I/O port No • I/O specifiable in 1-bit units P80 to P87 • Shared pins AD converter input ports: AN0 to AN7 Small signal detector input port: MICIN (P87) S0/PA0 to I/O I/O I/O I/O I/O No • Segment output for LCD No • Segment output for LCD No • Can be used as general-purpose I/O port (PE) S39/PE7 S40/PF0 to • Segment output for LCD • Can be used as general-purpose I/O port (PD) S31/PD7 S32/PE0 to No • Can be used as general-purpose I/O port (PC) S23/PC7 S24/PD0 to • Segment output for LCD • Can be used as general-purpose I/O port (PB) S15/PB7 S16/PC0 to No • Can be used as general-purpose I/O port (PA) S7/PA7 S8/PB0 to • Segment output for LCD I/O • Segment output for LCD No • Can be used as general-purpose I/O port (PF) S47/PF7 PF6: INT6 input PF7: INT7 input COM0/PL0 to I/O No • Can be used as general-purpose input port (PL) COM3/PL3 V1/PL4 to • Common output for LCD I/O • LCD output bias power supply No • Can be used as general-purpose input port (PL) V3/PL6 • Shared pins AD converter input ports: AN12 (V1) to AN14 (V3) On-chip debugger pins: DBGP0 (V1) to DBGP2 (V3) RES Input Reset pin No XT1 Input • 32.768kHz crystal oscillator input pin No • Shared pins General-purpose input port AD converter input port: AN10 XT2 I/O Must be connected to VDD1 if not to be used. • 32.768kHz crystal oscillator output pin No • Shared pins General-purpose I/O port AD converter input port: AN11 Must be set for oscillation and kept open if not to be used. CF1 Input CF2 Output Ceramic resonator input pin No Ceramic resonator output pin No No.A1636-11/26 LC87F7DJ2B Port Output Types The table below lists the types of port outputs and the presence/absence of a pull-up resistor. Data can be read into any input port even if it is in the output mode. Port Name Option Selected in Units of Option Type P00 to P07 each bit 1 P10 to P17 each bit P30 to P35 each bit Output Type Pull-up Resistor CMOS Programmable 2 Nch-open drain Programmable 1 CMOS Programmable 2 Nch-open drain Programmable 1 CMOS Programmable 2 Nch-open drain Programmable Programmable P70 - No Nch-open drain P71 to P73 - No CMOS Programmable P80 to P87 - No Nch-open drain No S0/PA0 to S47/PF7 - No CMOS Programmable COM0/PL0 to - No Input only No COM3/PL3 V1/PL4 to V3/PL6 - No Input only No XT1 - No Input only No XT2 - No Output for 32.768kHz crystal oscillator No (Nch-open drain when in general-purpose output mode) User Option List Option Name Option Type P00 to P07 Mask Version *1 Flash Version { { Option Selected in Specified item Units of each bit CMOS Nch-open drain Port output form P10 to P17 { { each bit CMOS Nch-open drain P30 to P35 { { each bit CMOS Nch-open drain Program start address - × *2 { - 00000H 1FF00H *1: Mask option selection - No change possible after the mask is completed. *2: Program start address of the mask version is 00000h. LSI VDD1 Power supply For backup *2 VDD2 VDD3 VSS1 VSS2 VSS3 *1 Connect the IC as shown below to minimize the noise input to the VDD1 pin. Be sure to electrically short the VSS1, VSS2, and VSS3 pins. *2 The internal memory is sustained by VDD1. If none of VDD2 and VDD3 are backed up, the high level output at the ports are unstable in the HOLD backup mode, allowing through current to flow into the input buffer and thus shortening the backup time. Make sure that the port outputs are held at the low level in the HOLD backup mode. No.A1636-12/26 LC87F7DJ2B Absolute Maximum Ratings at Ta = 25°C, VSS1 = VSS2 = VSS3 = 0V Parameter Symbol Pin/Remarks Specification Conditions VDD[V] Maximum supply VDD max VDD1, VDD2, VDD3 VDD1=VDD2=VDD3 V1/PL4, V2/PL5, VDD1=VDD2=VDD3 voltage supply voltage for VLCD LCD V3/PL6 Input voltage VI(1) Port L XT1, CF1, RES VI(2) Input/output VIO(1) voltage VDD2, VDD3 min typ max -0.3 +6.5 -0.3 VDD -0.3 VDD+0.3 VSS VDD+0.1 -0.3 VDD+0.3 unit V Ports 0, 1, 3, 7, 8 Ports A, B, C Ports D, E, F XT2 Peak output IOPH(1) Ports 0, 1, 32 to 35 current • CMOS output selected • Current at each pin IOPH(2) Ports 30, 31 • CMOS output selected • Current at each pin IOPH(3) Ports 71 to 73 Current at each pin IOPH(4) Ports A, B, C Current at each pin Ports D, E, F High level output current Mean output IOMH(1) Ports 0, 1, 32 to 35 current (Note 1-1) • CMOS output selected • Current at each pin IOMH(2) Ports 30, 31 • CMOS output selected • Current at each pin IOMH(3) Ports 71 to 73 Current at each pin IOMH(4) Ports A, B, C Current at each pin Ports D, E, F -20 -5 -5 -7.5 -15 -3 -3 Total output ΣIOAH(1) Ports 0, 1, 32 to 35 Total of all pins -25 current ΣIOAH(2) Ports 30, 31 Total of all pins -25 -45 ΣIOAH(3) Ports 0, 1, 3 Total of all pins ΣIOAH(4) Ports 71 to 73 Total of all pins -5 ΣIOAH(5) Ports A, B, C Total of all pins -25 ΣIOAH(6) Ports D, E, F Total of all pins -25 ΣIOAH(7) Ports A, B, C Total of all pins Ports D, E, F -45 mA Peak output IOPL(1) Ports 0, 1, 32 to 35 Current at each pin 20 current IOPL(2) Ports 30, 31 Current at each pin 30 IOPL(3) Ports 7, 8 Current at each pin XT2 IOPL(4) Ports A, B, C Current at each pin Ports D, E, F Low level output current -10 10 10 Mean output IOML(1) Ports 0, 1, 32 to 35 Current at each pin 15 current IOML(2) Ports 30, 31 Current at each pin 20 IOML(3) Ports 7, 8 Current at each pin (Note 1-1) XT2 IOML(4) Ports A, B, C Current at each pin Ports D, E, F 7.5 7.5 Total output ΣIOAL(1) Ports 0, 1, 32 to 35 Total of all pins 45 current ΣIOAL(2) Ports 30, 31 Total of all pins 45 ΣIOAL(3) Ports 0, 1, 3 Total of all pins 80 ΣIOAL(4) Ports 7, 8 Total of all pins XT2 ΣIOAL(5) Ports A, B, C Total of all pins 45 ΣIOAL(6) Ports D, E, F Total of all pins 45 ΣIOAL(7) Ports A, B, C Total of all pins Ports D, E, F Maximum power dissipation 20 Pd max QIP100E(14×20) Ta=-40 to +85°C TQFP100(14×14) Ta=-40 to +85°C 80 mW Note 1-1: The mean output current is a mean value measured over 100ms. Continued on next page. No.A1636-13/26 LC87F7DJ2B Continued from preceding page. Parameter Symbol Pin/Remarks Specification Conditions VDD[V] Operating ambient Topr temperature Storage ambient min typ max -40 +85 -55 +125 unit °C Tstg temperature Allowable Operating Range at Ta = -40°C to +85°C, VSS1 = VSS2 = VSS3 = 0V Parameter Symbol Pin/Remarks Specification Conditions VDD[V] max unit 3.0 VDD(2) 0.356μs ≤ tCYC ≤ 200μs 2.5 5.5 VDD(3) 0.712μs ≤ tCYC ≤ 200μs 2.2 5.5 2.0 5.5 VDD(1) supply voltage Memory typ 0.190μs ≤ tCYC ≤ 200μs Operating (Note 2-1) min VHD VDD1=VDD2=VDD3 VDD1 sustaining 5.5 RAM and register contents sustained in HOLD mode. supply voltage High level input VIH(1) voltage Ports 0, 3, 8 Output disabled 2.2 to 5.5 Ports A, B, C, D, E, F Port L VIH(2) Port 1 • Output disabled Ports 71 to 73 • When INT1VTSL=0 (P71 only) P70 port input/ 2.2 to 5.5 0.3VDD +0.7 0.3VDD VDD +0.7 VDD 2.2 to 5.5 0.85VDD VDD 2.2 to 5.5 0.75VDD VDD 2.2 to 5.5 0.9VDD VDD 2.2 to 5.5 0.75VDD 4.0 to 5.5 VSS VDD 0.15VDD 2.2 to 4.0 VSS 4.0 to 5.5 VSS 2.2 to 4.0 VSS 0.2VDD 2.2 to 5.5 VSS 0.45VDD 2.2 to 5.5 VSS 0.25VDD 2.2 to 5.5 VSS 2.2 to 5.5 VSS 0.25VDD 3.0 to 5.5 0.190 200 2.5 to 5.5 0.356 200 interrupt side VIH(3) P71 interrupt side • Output disabled • When INT1VTSL=1 VIH(4) P87 small signal Output disabled input side VIH(5) P70 watchdog timer VIH(6) XT1,XT2,CF1, RES Output disabled side Low level input VIL(1) voltage Ports 0, 3, 8 Output disabled Ports A, B, C, D, E, F Port L VIL(2) Port 1 • Output disabled Ports 71 to 73 • When INT1VTSL=0 (P71 only) P70 port input/ interrupt side VIL(3) P71 interrupt side • Output disabled • When INT1VTSL=1 VIL(4) P87 small signal Output disabled input side VIL(5) P70 watchdog timer Output disabled side VIL(6) Instruction cycle XT1, XT2, CF1, RES tCYC time (Note 2-2) External system clock frequency FEXCF(1) CF1 V +0.4 0.2VDD 0.1VDD +0.4 0.8VDD -1.0 2.2 to 5.5 0.712 200 • CF2 pin open 3.0 to 5.5 0.1 15 • System clock frequency 2.5 to 5.5 0.1 8 2.2 to 5.5 0.1 4 • CF2 pin open 3.0 to 5.5 0.2 30 • System clock frequency 2.5 to 5.5 0.2 16 2.2 to 5.5 0.2 8 μs division ratio=1/1 • External system clock duty=50±5% division ratio=1/2 MHz Note 2-1: VDD must be held greater than or equal to 3.0V in the flash ROM onboard programming mode. Note 2-2: Relationship between tCYC and oscillation frequency is 3/FmCF at a division ratio of 1/1 and 6/FmCF at a division ratio of 1/2. Continued on next page. No.A1636-14/26 LC87F7DJ2B Continued from preceding page. Parameter Symbol Pin/Remarks Specification Conditions VDD[V] Oscillation FmCF(1) CF1, CF2 frequency range • 15MHz ceramic oscillation • See Fig. 1. FmCF(2) CF1, CF2 (Note 2-3) • 8MHz ceramic oscillation • See Fig. 1. FmCF(3) CF1, CF2 • 4MHz ceramic oscillation • See Fig. 1. FmRC Internal RC oscillation FmVMRC(1) • Frequency variable RC min typ max 3.0 to 5.5 15 2.5 to 5.5 8 2.2 to 5.5 4 2.2 to 5.5 0.3 1.0 unit 2.0 source oscillation MHz • When VMRAJ2 to 0=4, 2.2 to 5.5 10 2.2 to 5.5 4 2.2 to 5.5 32.768 VMFAJ2 to 0=0, VMSL4M=0 FmVMRC(2) • Frequency variable RC source oscillation • When VMRAJ2 to 0=4, VMFAJ2 to 0=0, VMSL4M=1 FsX’tal XT1, XT2 • 32.768kHz crystal oscillation • See Fig. 2. Frequency OpVMRC(1) When VMSL4M=0 variable RC OpVMRC(2) When VMSL4M=1 oscillation kHz 2.2 to 5.5 8 10 12 2.2 to 5.5 3.5 4 4.5 2.2 to 5.5 8 24 64 2.2 to 5.5 1 4 8 MHz usable range Frequency VmADJ(1) Each step of VMRAJn variable RC oscillation (Wide range) VmADJ(2) % Each step of VMFAJn adjustment (Small range) range Note 2-3: See Tables 1 and 2 for the oscillation constants. Electrical Characteristics at Ta = -40°C to +85°C, VSS1 = VSS2 = VSS3 = 0V Parameter Symbol Pin/Remarks Specification Conditions VDD[V] High level input IIH(1) current Ports 0, 1, 3, 7, 8 • Output disabled Ports A, B, C • Pull-up resistor off Ports D, E, F • VIN=VDD (Including output Tr's Port L typ max unit 2.2 to 5.5 1 2.2 to 5.5 1 2.2 to 5.5 1 off leakage current) IIH(2) RES VIN=VDD IIH(3) XT1, XT2 • For input port specification • VIN=VDD Low level input min IIH(4) CF1 VIN=VDD 2.2 to 5.5 IIH(5) P87 small signal 4.5 to 5.5 4.2 8.5 15 input side VIN=VBIS+0.5V (VBIS: Bias voltage) 2.2 to 4.5 1.5 5.5 10 Ports 0, 1, 3, 7, 8 • Output disabled Ports A, B, C • Pull-up resistor off Ports D, E, F • VIN=VSS (Including output Tr's 2.2 to 5.5 -1 2.2 to 5.5 -1 2.2 to 5.5 -1 -15 IIL(1) current Port L 15 off leakage current) IIL(2) RES VIN=VSS IIL(3) XT1, XT2 • For input port specification • VIN=VSS IIL(4) CF1 VIN=VSS 2.2 to 5.5 IIL(5) P87 small signal VIN=VBIS-0.5V (VBIS: Bias voltage) 4.5 to 5.5 -15 -8.5 -4.2 2.2 to 4.5 -10 -5.5 -1.5 input side µA Continued on next page. No.A1636-15/26 LC87F7DJ2B Continued from preceding page. Parameter Symbol Pin/Remarks Specification Conditions VDD[V] High level output VOH(1) Ports 0, 1, voltage VOH(2) 32 to 35 VDD-1 IOH=-0.4mA 3.0 to 5.5 VDD-0.4 2.2 to 5.5 VDD-0.4 IOH=-10mA 4.5 to 5.5 VDD-1.5 VOH(5) IOH=-1.6mA 3.0 to 5.5 VDD-0.4 VOH(6) IOH=-1mA 2.2 to 5.5 VDD-0.4 IOH=-0.4mA 3.0 to 5.5 VDD-0.4 IOH=-0.2mA 2.2 to 5.5 VDD-0.4 VOH(4) VOH(7) Ports 30, 31 Ports 71 to 73 VOH(8) max VOH(9) Ports A, B, C IOH=-1mA 4.5 to 5.5 VDD-1 VOH(10) Ports D, E, F IOH=-0.4mA 3.0 to 5.5 VDD-0.4 IOH=-0.2mA 2.2 to 5.5 VDD-0.4 IOL=10mA 4.5 to 5.5 1.5 IOL=1.6mA 3.0 to 5.5 0.4 2.2 to 5.5 0.4 VOH(11) voltage typ 4.5 to 5.5 IOH=-0.2mA VOH(3) Low level output min IOH=-1mA VOL(1) Ports 0, 1, VOL(2) 32 to 35 VOL(3) Ports 30,31 (PWM function IOL=1mA output mode) VOL(4) Ports 30, 31 IOL=30mA 4.5 to 5.5 1.5 VOL(5) (Port function IOL=5mA 3.0 to 5.5 0.4 IOL=2.5mA 2.2 to 5.5 0.4 VOL(6) LCD output voltage output mode) VOL(7) Ports 7, 8 IOL=1.6mA 3.0 to 5.5 0.4 VOL(8) XT2 IOL=1mA 2.2 to 5.5 0.4 VOL(9) Ports A, B, C IOL=1.6mA 3.0 to 5.5 0.4 VOL(10) Ports D, E, F IOL=1mA 2.2 to 5.5 0.4 VODLS S0 to S53 • IO=0mA regulation unit • VLCD, 2/3VLCD,1/3VLCD level output 2.2 to 5.5 0 ±0.2 2.2 to 5.5 0 ±0.2 V • See Fig. 8. VODLC COM0 to COM3 • IO=0mA • VLCD, 2/3VLCD,1/2VLCD, 1/3VLCD level output • See Fig. 8. LCD bias resistor RLCD(1) Resistance per See Fig. 8. one bias resister RLCD(2) Resistance per 2.2 to 5.5 60 2.2 to 5.5 30 See Fig. 8. one bias resister kΩ 1/2 mode Resistance of Rpu(1) Ports 0, 1, 3, 7 pull-up MOS Tr. Rpu(2) Ports A, B, C VOH=0.9VDD Ports D, E, F Hysterisis voltage VHYS(1) Ports 1, 7 RES VHYS(2) P87 small signal CP All pins 15 35 80 2.2 to 5.5 18 50 150 2.2 to 5.5 0.1VDD 2.2 to 5.5 0.1VDD 2.2 to 5.5 10 V input side Pin capacitance 4.5 to 5.5 • For pins other than that under test: VIN=VSS • f=1MHz pF • Ta=25°C Input sensitivity Vsen P87 small signal input side 2.2 to 5.5 0.12VDD Vp-p No.A1636-16/26 LC87F7DJ2B Serial I/O Characteristics at Ta = -40°C to +85°C, VSS1 = VSS2 = VSS3 = 0V 1. SIO0 Serial I/O Characteristics (Note 4-1-1) Parameter Symbol Pin/Remarks Specification Conditions Input clock VDD[V] Frequency tSCK(1) Low level tSCKL(1) SCK0(P12) See Fig. 6. tSCKH(1) 2.2 to 5.5 pulse width tSCKHA(1) tCYC 4 • (Note 4-1-2) Frequency tSCK(2) SCK0(P12) • CMOS output selected 4/3 • See Fig. 6. Output clock Low level tSCKL(2) 1/2 pulse width High level tSCK tSCKH(2) 2.2 to 5.5 pulse width tSCKHA(2) 1/2 • Continuous data transmission/reception mode tSCKH(2) • CMOS output selected +2tCYC • See Fig. 6. Data setup time Serial input unit 1 • Continuous data transmission/reception mode tsDI(1) SB0(P11), SI0(P11) tSCKH(2) +(10/3) tCYC tCYC • Must be specified with respect to rising edge of 2.2 to 5.5 0.03 2.2 to 5.5 0.03 SIOCLK. Data hold time Output clock Input clock Output delay Serial output max 1 • See Fig. 6. Serial clock typ 2 pulse width High level min • See Fig. 6. thDI(1) tdD0(1) time SO0(P10), SB0(P11) • Continuous data transmission/reception mode 2.2 to 5.5 • (Note 4-1-3) tdD0(2) • Synchronous 8-bit mode • (Note 4-1-3) tdD0(3) 2.2 to 5.5 (1/3)tCYC +0.05 μs 1tCYC +0.05 (Note 4-1-3) 2.2 to 5.5 (1/3)tCYC +0.05 Note 4-1-1: These specifications are theoretical values. Add margin depending on its use. Note 4-1-2: To use serial-clock-input in continuous trans/rec mode, a time from SI0RUN being set when serial clock is "H" to the first negative edge of the serial clock must be longer than tSCKHA. Note 4-1-3: Must be specified with respect to falling edge of SIOCLK. Must be specified as the time to the beginning of output state change in open drain output mode. See Fig. 6. No.A1636-17/26 LC87F7DJ2B 2. SIO1 Serial I/O Characteristics (Note 4-2-1) Parameter Symbol Pin/Remarks Specification Conditions Input clock Frequency tSCK(3) Low level tSCKL(3) SCK1(P15) typ See Fig. 6. tCYC 1 SCK1(P15) tSCK(4) • CMOS output selected 2 • See Fig. 6. Low level tSCKL(4) 2.2 to 5.5 pulse width High level 1/2 tSCK tSCKH(4) 1/2 pulse width Serial input Data setup time unit 1 tSCKH(3) Frequency max 2 2.2 to 5.5 pulse width High level min pulse width Output clock Serial clock VDD[V] tsDI(2) SB1(P14), SI1(P14) • Must be specified with respect to rising edge of 2.2 to 5.5 0.03 2.2 to 5.5 0.03 SIOCLK. Data hold time • See Fig. 6. thDI(2) Output delay time tdD0(4) SO1(P13), Serial output SB1(P14) • Must be specified with μs respect to falling edge of SIOCLK. • Must be specified as the time to the beginning of output (1/3)tCYC 2.2 to 5.5 +0.05 state change in open drain output mode. • See Fig. 6. Note 4-2-1: These specifications are theoretical values. Add margin depending on its use. Pulse Input Conditions at Ta = -40°C to +85°C, VSS1 = VSS2 = VSS3 = 0V Parameter Symbol Pin/Remarks Specification Conditions VDD[V] High/low level tPIH(1) INT0(P70), • Interrupt source flag can be set. pulse width tPIL(1) INT1(P71), • Event inputs for timer 0 or 1 INT2(P72), min typ max unit are enabled. INT4(P30 to P33), 2.2 to 5.5 1 2.2 to 5.5 2 2.2 to 5.5 64 2.2 to 5.5 256 2.2 to 5.5 1 2.2 to 5.5 4 2.2 to 5.5 200 INT5(P34 to P35), INT6(P30), INT7(P34) tPIH(2) INT3(P73) when • Interrupt source flag can be set. tPIL(2) noise filter time • Event inputs for timer 0 are constant is 1/1 tPIH(3) INT3(P73) when • Interrupt source flag can be set. tPIL(3) noise filter time • Event inputs for timer 0 are constant is 1/32 enabled. tPIH(4) INT3(P73) when • Interrupt source flag can be set. tPIL(4) noise filter time • Event inputs for timer 0 are constant is 1/128 tPIH(5) MICIN(P87) tPIL(5) tPIH(6) tPIL(7) enabled. Condition that signal is accepted to small signal detection counter. RMIN(P73) tPIL(6) Condition that signal is accepted to remote control receiver circuit. RES tCYC enabled. Resetting is enabled. RMCK (Note5-1) μs Note 5-1: RMCK is an unit for the base clock (40tCYC/50tCYC/Sub-Clock) of remote control receiver circuit. No.A1636-18/26 LC87F7DJ2B AD Converter Characteristics at VSS1 = VSS2 = VSS3 =0V <12bits AD Converter Mode at Ta =-20 to +70°C> Parameter Symbol Pin/Remarks Specification Conditions VDD[V] Resolution N AN0(P80) to Absolute ET AN7(P87), Conversion AN9(P71), tCAD time Analog input typ 3.0 to 5.5 (Note 6-1) • See Conversion time calculation AN10(XT1), formulas. AN11(XT2) (Note 6-2) IAINH VAIN=VDD IAINL VAIN=VSS 12 bit LSB 32 115 3.0 to 5.5 55.6 115 VSS VDD VAIN input current unit 4.0 to 5.5 voltage range Analog port max 3.0 to 5.5 AN8(P70), accuracy min 1 -1 μs V μA <8bits AD Converter Mode at Ta =-30 to +70°C> Parameter Symbol Pin/Remarks Specification Conditions VDD[V] Resolution N AN0(P80) to Absolute ET AN7(P87), Conversion TCAD time Analog input AN9(P71), typ 3.0 to 5.5 (Note 6-1) • See Conversion time calculation AN10(XT1), formulas. AN11(XT2) (Note 6-2) max VAIN voltage range unit 8 bit 3.0 to 5.5 AN8(P70), accuracy min 1.5 4.0 to 5.5 20 90 3.0 to 5.5 34.27 90 3.0 to 5.5 VSS VDD Analog port IAINH VAIN=VDD 3.0 to 5.5 input current IAINL VAIN=VSS 3.0 to 5.5 1 -1 LSB μs V μA <Conversion time calculation formulas> 12bits AD Converter Mode: TCAD(Conversion time)=((52/(division ratio)) + 2) × (1/3) ×tCYC 8bits AD Converter Mode: TCAD(Conversion time)=((32/(division ratio)) + 2) × (1/3) ×tCYC <Recommended Operating Conditions> External Operating supply oscillation voltage range FmCF [MHz] VDD [V] 12 15 System division ratio Cycle time (SYSDIV) tCYC [ns] AD division AD conversion time (tCAD) [μs] ratio (ADDIV) 12bit AD 8bit AD 4.0 to 5.5 1/1 250 1/8 34.8 21.5 3.0 to 5.5 1/1 250 1/16 69.5 42.8 3.0 to 5.5 1/1 200 1/16 55.6 34.27 Note 6-1: The quantization error (±1/2LSB) must be excluded from the absolute accuracy. The absolute accuracy must be measured in the microcontroller's state in which no I/O operations occur at the pins adjacent to the analog input channel. Note 6-2: The conversion time refers to the period from the time an instruction for starting a conversion process till the time the conversion results register(s) are loaded with a complete digital conversion value corresponding to the analog input value. The conversion time is 2 times the normal-time conversion time when: • The first AD conversion is performed in the 12-bit AD conversion mode after a system reset. • The first AD conversion is performed after the AD conversion mode is switched from 8-bit to 12-bit conversion mode. No.A1636-19/26 LC87F7DJ2B Consumption Current Characteristics at Ta = -40°C to +85°C, VSS1 = VSS2 = VSS3 = 0V Parameter Symbol Pin/ Remarks VDD[V] • FmCF=15MHz ceramic oscillation mode consumption VDD1 =VDD2 current =VDD3 • System clock set to 12MHz side Normal mode (Note 7-1) IDDOP(1) IDDOP(2) Specification Conditions • FmX’tal=32.768kHz crystal oscillation mode min typ max 4.5 to 5.5 8.7 23.7 3.0 to 3.6 5.6 12.0 4.5 to 5.5 6.1 15.0 3.0 to 3.6 4.0 8.8 2.5 to 3.0 3.0 6.8 4.5 to 5.5 2.1 8.7 3.0 to 3.6 2.0 5.3 2.2 to 3.0 1.7 4.4 4.5 to 5.5 0.7 3.1 3.0 to 3.6 0.4 1.7 2.2 to 3.0 0.3 1.35 4.5 to 5.5 6.5 20.0 3.0 to 3.6 4.3 12.0 4.5 to 5.5 3.25 11.5 3.0 to 3.6 2.1 6.6 2.2 to 3.0 1.7 3.5 4.5 to 5.5 32.8 128.7 3.0 to 3.6 17.4 56.9 2.2 to 3.0 13.0 43.3 unit • Internal RC oscillation stopped. • Frequency variable RC oscillation stopped. • 1/1 frequency division ratio IDDOP(3) • FmCF=8MHz ceramic oscillation mode • FmX’tal=32.768kHz crystal oscillation mode IDDOP(4) • System clock set to 8MHz side • Internal RC oscillation stopped. IDDOP(5) • Frequency variable RC oscillation stopped. • 1/1 frequency division ratio IDDOP(6) • FmCF=4MHz ceramic oscillation mode • FmX’tal=32.768kHz crystal oscillation mode IDDOP(7) • System clock set to 4MHz side • Internal RC oscillation stopped. IDDOP(8) • Frequency variable RC oscillation stopped. • 1/2 frequency division ratio IDDOP(9) • FmCF=0Hz (oscillation stopped) mA • FmX’tal=32.768kHz crystal oscillation mode IDDOP(10) IDDOP(11) • System clock set to internal RC oscillation • Frequency variable RC oscillation stopped. • 1/2 frequency division ratio IDDOP(12) • FmCF=0Hz (oscillation stopped) • FmX’tal=32.768kHz crystal oscillation mode • Internal RC oscillation stopped. IDDOP(13) • System clock set to 10MHz with frequency variable RC oscillation • 1/1 frequency division ratio IDDOP(14) • FmCF=0Hz (oscillation stopped) • FmX’tal=32.768kHz crystal oscillation mode IDDOP(15) • Internal RC oscillation stopped. • System clock set to 4MHz with IDDOP(16) frequency variable RC oscillation • 1/1 frequency division ratio IDDOP(17) • FmCF=0Hz (oscillation stopped) • FmX’tal=32.768kHz crystal oscillation mode IDDOP(18) • System clock set to 32.768kHz side • Internal RC oscillation stopped. IDDOP(19) μA • Frequency variable RC oscillation stopped. • 1/2 frequency division ratio Note 7-1: The consumption current value includes none of the currents that flow into the output Tr and internal pull-up resistors. Continued on next page. No.A1636-20/26 LC87F7DJ2B Continued from preceding page. Parameter Symbol Pin/ VDD[V] • HALT mode consumption VDD1 =VDD2 current =VDD3 • FmX’tal=32.768kHz crystal oscillation mode HALT mode (Note 7-1) IDDHALT(1) Specification Conditions Remarks • FmCF=15MHz ceramic oscillation mode min typ max 4.5 to 5.5 3.6 21.8 3.0 to 3.6 2.2 11.9 4.5 to 5.5 2.2 6.2 3.0 to 3.6 1.3 3.1 2.5 to 3.0 1.0 2.5 4.5 to 5.5 1.3 3.9 3.0 to 3.6 0.7 1.8 2.2 to 3.0 0.5 1.3 unit • System clock set to 12MHz side IDDHALT(2) • Internal RC oscillation stopped. • Frequency variable RC oscillation stopped. • 1/1 frequency division ratio IDDHALT(3) • HALT mode • FmCF=8MHz ceramic oscillation mode • FmX’tal=32.768kHz crystal oscillation mode IDDHALT(4) • System clock set to 8MHz side • Internal RC oscillation stopped. IDDHALT(5) • Frequency variable RC oscillation stopped. • 1/1 frequency division ratio • HALT mode IDDHALT(6) • FmCF=4MHz ceramic oscillation mode • FmX’tal=32.768kHz crystal oscillation mode IDDHALT(7) • System clock set to 4MHz side • Internal RC oscillation stopped. IDDHALT(8) • Frequency variable RC oscillation stopped. mA • 1/2 frequency division ratio • HALT mode IDDHALT(9) 4.5 to 5.5 0.3 1.3 3.0 to 3.6 0.18 0.75 2.2 to 3.0 0.14 0.54 4.5 to 5.5 2.6 7.7 3.0 to 3.6 1.6 4.6 4.5 to 5.5 1.3 3.5 3.0 to 3.6 0.7 1.75 2.2 to 3.0 0.6 1.2 4.5 to 5.5 18.6 207.8 3.0 to 3.6 7.7 48.1 2.2 to 3.0 4.8 27.3 • HOLD mode 4.5 to 5.5 0.14 38.8 • CF1=VDD or open (External clock mode) 3.0 to 3.6 0.030 18.4 • FmCF=0Hz (oscillation stopped) • FmX’tal=32.768kHz crystal oscillation mode IDDHALT(10) • System clock set to internal RC oscillation • Frequency variable RC oscillation stopped. IDDHALT(11) • 1/2 frequency division ratio IDDHALT(12) • HALT mode • FmCF=0Hz (oscillation stopped) • FmX’tal=32.768kHz crystal oscillation mode • Internal RC oscillation stopped. IDDHALT(13) • System clock set to 10MHz with frequency variable RC oscillation • 1/1 frequency division ratio IDDHALT(14) • HALT mode • FmCF=0Hz (oscillation stopped) • FmX’tal=32.768kHz crystal oscillation mode IDDHALT(15) • Internal RC oscillation stopped. • System clock set to 4MHz with IDDHALT(16) frequency variable RC oscillation • 1/1 frequency division ratio • HALT mode IDDHALT(17) • FmCF=0Hz (oscillation stopped) • FmX’tal=32.768kHz crystal oscillation mode IDDHALT(18) • System clock set to 32.768kHz side • Internal RC oscillation stopped. IDDHALT(19) • Frequency variable RC oscillation stopped. • 1/2 frequency division ratio HOLD mode consumption current IDDHOLD(1) IDDHOLD(2) VDD1 IDDHOLD(3) 2.2 to 3.0 0.025 14.0 Timer HOLD IDDHOLD(4) • Timer HOLD mode 4.5 to 5.5 15.5 91.0 mode IDDHOLD(5) • CF1=VDD or open (External clock mode) 3.0 to 3.6 6.3 34.4 2.2 to 3.0 3.6 24.6 consumption current IDDHOLD(6) μA • FmX’tal=32.768kHz crystal oscillation mode Note 7-1: The consumption current value includes none of the currents that flow into the output Tr and internal pull-up resistors. No.A1636-21/26 LC87F7DJ2B F-ROM Write Characteristics at Ta = +10°C to +55°C, VSS1 = VSS2 = VSS3 = 0V Parameter Onboard Symbol IDDFW(1) Pin/Rem VDD1 programming Specification Conditions arks VDD[V] min typ max unit • 128-byte programming • Erasing current included 3.0 to 5.5 25 40 mA 3.0 to 5.5 22.5 45 ms current Programming tFW(1) • 128-byte programming time • Erasing current included • Time for setting up 128-byte data is excluded. UART (Full Duplex) Operating Conditions at Ta = -40 to +85°C, VSS1 = VSS2 = VSS3 = 0V Parameter Symbol Pin/Remarks Specification Conditions VDD[V] Transfer ate UBR UTX(P32), 2.2 to 5.5 URX(P33) min typ max 16/3 8192/3 unit tCYC Data length: 7/8/9 bits (LSB first) Stop bits: 1 bit (2-bit in continuous data transmission) Parity bits: None Example of 8-bit Data Transmission Mode Processing (Transmit Data=55H) Start bit Start of transmission Stop bit Transmit data (LSB first) End of transmission UBR Example of 8-bit Data Reception Mode Processing (Receive Data=55H) Stop bit Start bit Start of reception Receive data (LSB first) End of reception UBR No.A1636-22/26 LC87F7DJ2B Characteristics of a Sample Main System Clock Oscillation Circuit Given below are the characteristics of a sample main system clock oscillation circuit that are measured using a SANYO-designated oscillation characteristics evaluation board and external components with circuit constant values with which the oscillator vendor confirmed normal and stable oscillation. Table 1 Characteristics of a Sample Main System Clock Oscillator Circuit with a Ceramic Oscillator Nominal Vendor Frequency Name Circuit Constant Oscillator Name Operating Oscillation Voltage Stabilization Time C1 C2 Rf1 Rd1 Range typ max [pF] [pF] [Ω] [Ω] [V] [ms] [ms] 15MHz MURATA CSTCE15M0V53-R0 (15) (15) Open 220 2.8 to 5.5 0.05 0.15 12MHz MURATA CSTCE12M0G52-R0 (10) (10) Open 470 2.8 to 5.5 0.05 0.15 CSTCE8M00G52-R0 (10) (10) Open 680 0.05 0.15 8MHz MURATA 0.05 0.15 0.05 0.15 0.05 0.15 4MHz Values shown in parentheses are capacitance included in the oscillator Values shown in parentheses are capacitance included in the oscillator Values shown in parentheses are capacitance included in the oscillator Values shown in parentheses are capacitance included in the oscillator 2.5 to 5.5 CSTLS8M00G52-B0 (15) (15) Open 15k CSTCR4M00F53-R0 (15) (15) Open 2.2k MURATA 2.2 to 5.5 CSTLS4M0053-B0 (15) (15) Open 2.2k Remarks The oscillation stabilization time refers to the time interval that is required for the oscillation to get stabilized after VDD goes above the operating voltage lower limit (see Figure 4). Characteristics of a Sample Subsystem Clock Oscillator Circuit Given below are the characteristics of a sample subsystem clock oscillation circuit that are measured using a SANYOdesignated oscillation characteristics evaluation board and external components with circuit constant values with which the oscillator vendor confirmed normal and stable oscillation. Table 2 Characteristics of a Sample Subsystem Clock Oscillator Circuit with a Crystal Oscillator Nominal Vendor Oscillator Frequency Name Name 32.768kHz EPSON TOYOCOM MC-306 Circuit Constant Operating Oscillation Voltage Stabilization Time C3 C4 Rf2 Rd2 Range typ max [pF] [pF] [Ω] [Ω] [V] [s] [s] 18 18 Open 560k 2.0 to 5.5 1.4 3.0 Remarks Applicable CL value =12.5pF The oscillation stabilization time refers to the time interval that is required for the oscillation to get stabilized after the instruction for starting the subclock oscillation circuit is executed and to the time interval that is required for the oscillation to get stabilized after the HOLD mode is reset (see Figure 4). Note: The components that are involved in oscillation should be placed as close to the IC and to one another as possible because they are vulnerable to the influences of the circuit pattern. CF1 XT1 CF2 Rf1 Rf2 Rd1 C1 C2 XT2 C3 Rd2 C4 CF X’tal Figure 1 CF Oscillator Circuit Figure 2 XT Oscillator Circuit No.A1636-23/26 LC87F7DJ2B 0.5VDD Figure 3 AC Timing Measurement Point VDD Operating VDD lower limit 0V Power supply Reset time RES Internal RC oscillation tmsCF CF1, CF2 tmsX’tal XT1, XT2 Operating mode Reset Unpredictable Instruction execution Reset Time and Oscillation Stabilization Time HOLD reset signal HOLD reset signal absent HOLD reset signal VALID Internal RC oscillation tmsCF CF1, CF2 tmsX’tal XT1, XT2 State HOLD HALT HOLD Reset Signal and Oscillation Stabilization Time Figure 4 Oscillation Stabilization Times No.A1636-24/26 LC87F7DJ2B VDD RRES Note: Determine the value of CRES and RRES so that the reset signal is present for a period of 200μs after the supply voltage goes beyond the lower limit of the IC's operating voltage. RES CRES Figure 5 Reset Circuit SIOCLK: DATAIN: DI0 DI1 DI2 DI3 DI4 DI5 DI6 DATAOUT: DO0 DO1 DO2 DO3 DO4 DO5 DO6 DI7 DI8 DO7 DO8 Data RAM transfer period (SIO0 only) tSCK tSCKH tSCKL SIOCLK: tsDI thDI DATAIN: tdDO DATAOUT: Data RAM transfer period (SIO0 only) tSCKL tSCKHA SIOCLK: tsDI thDI DATAIN: tdDO DATAOUT: Figure 6 Serial I/O Waveforms tPIL tPIH Figure 7 Pulse Input Timing Signal Waveform No.A1636-25/26 LC87F7DJ2B VDD SW : ON/OFF (programmable) RLCD RLCD SW: ON (VLCD=VDD) RLCD RLCD VLCD RLCD RLCD 2/3VLCD RLCD 1/2VLCD RLCD 1/3VLCD RLCD RLCD GND Figure 8 LCD Bias Resistor SANYO Semiconductor Co.,Ltd. assumes no responsibility for equipment failures that result from using products at values that exceed, even momentarily, rated values (such as maximum ratings, operating condition ranges, or other parameters) listed in products specifications of any and all SANYO Semiconductor Co.,Ltd. products described or contained herein. SANYO Semiconductor Co.,Ltd. strives to supply high-quality high-reliability products, however, any and all semiconductor products fail or malfunction with some probability. It is possible that these probabilistic failures or malfunction could give rise to accidents or events that could endanger human lives, trouble that could give rise to smoke or fire, or accidents that could cause damage to other property. When designing equipment, adopt safety measures so that these kinds of accidents or events cannot occur. Such measures include but are not limited to protective circuits and error prevention circuits for safe design, redundant design, and structural design. In the event that any or all SANYO Semiconductor Co.,Ltd. products described or contained herein are controlled under any of applicable local export control laws and regulations, such products may require the export license from the authorities concerned in accordance with the above law. No part of this publication may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying and recording, or any information storage or retrieval system, or otherwise, without the prior written consent of SANYO Semiconductor Co.,Ltd. Any and all information described or contained herein are subject to change without notice due to product/technology improvement, etc. When designing equipment, refer to the "Delivery Specification" for the SANYO Semiconductor Co.,Ltd. product that you intend to use. Information (including circuit diagrams and circuit parameters) herein is for example only; it is not guaranteed for volume production. Upon using the technical information or products described herein, neither warranty nor license shall be granted with regard to intellectual property rights or any other rights of SANYO Semiconductor Co.,Ltd. or any third party. SANYO Semiconductor Co.,Ltd. shall not be liable for any claim or suits with regard to a third party's intellectual property rights which has resulted from the use of the technical information and products mentioned above. This catalog provides information as of January, 2010. Specifications and information herein are subject to change without notice. PS No.A1636-26/26