Ordering number : ENA1211 LC87F2924B CMOS IC FROM 26K byte, RAM 768 byte on-chip 8-bit 1-chip Microcontroller Overview The SANYO LC87F2924B 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 26K-byte flash ROM (onboard programmable), 768-byte RAM, an on-chip debugger, sophisticated 16-bit timers/counters (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, a base timer serving as a time-of-day clock, day and time counter, a high-speed clock counter, a synchronous SIO interface (with automatic block transmission/reception capabilities), an asynchronous/synchronous SIO interface, a UART interface (full duplex), an 8-bit 13-channel AD converter, two 12-bit PWM channels, a system clock frequency divider, frequency variable RC oscillation circuit, and a 26-source 10-vector interrupt feature. Features Flash ROM • Capable of on-board-programming with wide range, 3.0 to 5.5V, of voltage source. • Block-erasable in 128-byte units • Writable in 2-byte units • 26624 × 8 bits RAM • 768 × 9 bits Minimum Bus Cycle • 83.3ns (12MHz) 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.1.02 60408HKIM 20080425-S00011 No.A1211-1/28 LC87F2924B Minimum Instruction Cycle Time • 250ns (12MHz) 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 • Normal withstand voltage input port • Reset pins • Power pins 59 (P0n, P1n, P2n, P30 to P33, P70 to P73, P80 to P86, PBn, PCn, PWM2, PWM3, CF2, XT2) (Ports P30 to P33 are available in FLGA68K(6.0×6.0) package only.) 2 (CF1, XT1) 1 (RES) 6 (VSS1 to 3, VDD1 to 3) 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 register) × 2 channels Mode 1: 8-bit timer with an 8-bit programmable prescaler (with two 8-bit capture register) + 8-bit counter (with an 8-bit capture register) Mode 2: 16-bit timer with an 8-bit programmable prescaler (with two 16-bit capture register) Mode 3: 16-bit counter (with two 16-bit capture register) • 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) • Base timer 1) The clock is selectable from the subclock (32.768kHz crystal oscillation), system clock, and timer 0 prescaler output. 2) Interrupts are programmable in 5 different time schemes Day and Time Counter 1) With a base timer, it can be used as 65535days + 23hours + 59minutes + 59seconds counter. 2) Interrupts are programmable in 4 different time schemes (day, hour, minute or second). 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) No.A1211-2/28 LC87F2924B UART • Full duplex • 7/8/9 bit data bits selectable • 1 stop bit (2-bit in continuous data transmission) • Built-in baudrate generator AD Converter: 8 bits × 13 channels PWM: Multifrequency 12-bit PWM × 2 channels Remote Control Receiver Circuit (sharing pins with P73, INT3, and T0IN) • Noise rejection function (noise filter time constant selectable from 1 tCYC, 32 tCYC, and 128 tCYC) Watchdog Timer • External RC watchdog timer • Interrupt and reset signals selectable Clock Output Function 1) Outputs clock with a frequency 1/1, 1/2, 1/4, 1/8, 1/16, 1/32, 1/64 of the source clock of the system clock 2) Outputs clock of the subclock Interrupts • 26 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 1 00003H X or L INT0 Interrupt Source 2 0000BH X or L INT1 3 00013H H or L INT2/T0L/INT4 4 0001BH H or L INT3/INT5/ BT0/BT1/DHMSC 5 00023H H or L T0H/INT6 6 0002BH H or L T1L/T1H/INT7 7 00033H H or L SIO0/UART1 receive 8 0003BH H or L SIO1/UART1 transmit 9 00043H H or L ADC/T6/T7 10 0004BH H or L Port 0/T4/T5/PWM2, PWM3 • 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 table above). Subroutine Stack Levels: 384 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) No.A1211-3/28 LC87F2924B Oscillation Circuits • RC oscillation circuit (internal): For system clock • CF oscillation circuit: For system clock, with internal Rf • Crystal oscillation circuit: For low-speed system clock, with internal Rf • Frequency variable RC oscillation circuit (internal): For system clock 1) Adjustable in ±4% (typ) step from a selected center frequency. 2) Measures oscillation clock using a input signal from XT1 as a 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). Standby Function • HALT mode: Halts instruction execution while allowing the peripheral circuits to continue operation. 1) Oscillation is not halted automatically. 2) There are three ways of resetting the HALT mode. (1) Setting the reset pin to the low level (2) System resetting by watchdog timer (3) Occurrence of an interrupt • 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 four ways of resetting the HOLD mode. (1) Setting the reset pin to the low level. (2) System resetting by watchdog timer (3) Setting at least one of the INT0, INT1, INT2, INT4, INT5, INT6, and INT7 pins to the specified level (4) 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. 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 six ways of resetting the X'tal HOLD mode. (1) Setting the reset pin to the low level (2) System resetting by watchdog timer (3) Setting at least one of the INT0, INT1, INT2, INT4, INT5, INT6, and INT7 pins to the specified level (4) Having an interrupt source established at port 0 (5) Having an interrupt source established in the base timer circuit (6) Having an interrupt source established in the day and time counter circuit On-chip Debugger • Supports software debugging with the IC mounted on the target board (LC87D2932A). LC87F2924B has an On-chip debugger but its function is limited. Package Form • TQFP64J (7 × 7): Lead-free type • FLGA68K (6.0 × 6.0): Lead-free type • FLGA64 (5.0 × 5.0): Lead-free type Development Tools • On-chip debugger: TCB87- TypeB + LC87D2932A Programming Boards Package Programming boards TQFP64J (7×7) W87F58256TQ7 FLGA68K (6.0×6.0) W87F58256FL6 * This board is Built To Order. It may take about a month to deliver. FLGA64 (5.0×5.0) W87F59256FL5 * This board is Built To Order. It may take about a month to deliver. No.A1211-4/28 LC87F2924B Flash ROM Programmer Maker Model Supported version Device Rev 02.82 or later LC87F2924B (Note 2) LC87F2924B AF9708 Flash Support Group, Inc. Single Programmer (FSG) AF9709/AF9709B/AF9709C (Including Ando Electric Co., Ltd. models) Flash Support Group, Inc. AF9101/AF9103(Main body) (FSG) (FSG models) In-circuit Programmer + SIB87(Inter Face Driver) SANYO (SANYO model) (Note 1) SANYO Application Version Single/Gang SKK/SKK Type B Programmer (SANYO FWS) 1.04 or later In-circuit/Gang SKK-DBG Type B Chip Data Version Programmer (SANYO FWS) 2.11 or later LC87F2924 Note1: On-board-programmer from FSG (AF9101/AF9103) and serial interface driver from SANYO (SIB87) together can give a PC-less, standalone on-board-programming capabilities. Note2: It needs a special programming devices and applications depending on the use of programming environment. Please ask FSG or SANYO for the information. Package Dimensions unit : mm (typ) 3289 9.0 33 32 64 17 7.0 49 1 16 0.4 0.16 9.0 48 0.5 7.0 0.125 0.1 1.2max (1.0) (0.5) SANYO : TQFP64J(7X7) No.A1211-5/28 PB1 PB0 VSS3 VDD3 PC7/DBGP2 PC6/DBGP1 PC4 PC3/AN11 PC2/AN10 PC1/AN9 PC0/AN8 P86/AN6 P85/AN5 P84/AN4 P83/AN3 Pin Assignment PC5/DBGP0 LC87F2924B 48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 P70/INT0/T0LCP 49 32 PB2 P71/INT1/T0HCP 50 31 PB3 P72/INT2/T0IN 51 30 PB4 P73/INT3/T0IN 52 29 PB5 RES 53 28 PB6 XT1 54 27 PB7 XT2 55 26 P27/INT5/T1IN/INT7/T0HCP1 VSS1 56 25 P26/INT5/T1IN/INT6/T0LCP1 CF1/AN12 57 24 P25/INT5/T1IN CF2/AN13 58 23 P24/INT5/T1IN VDD1 59 22 P23/INT4/T1IN P80/AN0 60 21 P22/INT4/T1IN P81/AN1 61 20 P21/URX/INT4/T1IN LC87F2924B 8 9 10 11 12 13 14 15 16 P05/CKO 7 P04 6 P03 5 P02 4 P01 3 P00 2 VSS2 1 VDD2 P06/T6O PWM3 17 PWM2 64 P16/T1PWML P11/SI0/SB0 P17/T1PWMH/BUZ P07/T7O P15/SCK1 P20/UTX/INT4/T1IN 18 P14/SI1/SB1 19 63 P13/SO1 62 P12/SCK0 P82/AN2 P10/SO0 Top view Note: Port P30, p31, p32, p33 are not available in the above package. SANYO: TQFP64J(7 × 7) “Lead-free Type” No.A1211-6/28 LC87F2924B Package Dimensions unit : mm (typ) 3326 BOTTOM VIEW 6.0 1 2 3 4 56 7 8 9 10 11 0.5 0.5 0.3 0.5 6.0 (0.45) TOP VIEW L K J H G F ED C BA 0.5 0.3 0.4 0.0NOM SIDE VIEW 0.85MAX (0.45) SANYO : FLGA68K(6.0X6.0) Package Dimensions unit : mm (typ) 3328 5.0 1 2 34 5 5.0 6 78 0.5 0.75 0.75 H G FE DC B A 0.5 0.8 0.0NOM 0.3 SANYO : FLGA64(5.0X5.0) No.A1211-7/28 LC87F2924B Pin Assignments 11 51 49 47 45 43 41 39 37 35 48 46 44 42 40 38 36 33 34 10 52 50 9 54 53 31 32 8 56 55 29 30 7 58 57 27 28 6 60 59 25 26 5 62 61 23 24 4 64 63 21 22 3 66 65 19 20 2 68 67 2 4 6 8 10 12 14 16 18 1 3 5 7 9 11 13 15 17 C D E F G H J K 1 A B LC87F2924B L Top view Pin Pin Name No. Pin Pin Name No. Pin No. Pin Name Pin Pin Name No. 1 P12/SCK0 18 P06/T6O 35 PB1 52 P70/INT0/T0LCP 2 P13/SO1 19 P07/T7O 36 PB0 53 P71/INT1/T0HCP 3 P14/SI1/SB1 20 P20/UTX/INT4/T1IN 37 VSS3 54 P72/INT2/T0IN 4 P15/SCK1 21 P21/URX/INT4/T1IN 38 VDD3 55 P73/INT3/T0IN 5 P16/T1PWML 22 P22/INT4/T1IN 39 PC7/DBGP2 56 RES 6 P17/T1PWMH/BUZ 23 P23/INT4/T1IN 40 PC6/DBGP1 57 XT1 7 PWM2 24 P24/INT5/T1IN 41 PC5/DBGP0 58 XT2 8 PWM3 25 P25/INT5/T1IN 42 PC4 59 VSS1 9 VDD2 26 P26/INT5/T1IN/INT6/TOLCP1 43 PC3/AN11 60 CF1/AN12 10 VSS2 27 P27/INT5/T1IN/INT7/T0HCP1 44 PC2/AN10 61 CF2/AN13 11 P00 28 PB7 45 PC1/AN9 62 VDD1 12 P01 29 PB6 46 PC0/AN8 63 P80/AN0 13 P02 30 PB5 47 P86/AN6 64 P81/AN1 14 P03 31 PB4 48 P85/AN5 65 P82/AN2 15 P04 32 PB3 49 P84/AN4 66 P10/SO0 16 P05/CKO 33 PB2 50 P83/AN3 67 P11/SI0/SB0 17 P30 34 P31 51 P32 68 P33 Note: A1, A11, L1, L11 are dummy terminals for the package. These terminals need to be bonded with foot pattern for the secure bonding of the package. SANYO: FLGA68K(6.0 × 6.0) “Lead-free Type” No.A1211-8/28 LC87F2924B LC87F2924B 8 47 48 43 41 40 38 33 31 7 49 50 45 42 37 36 34 32 6 54 52 51 44 39 35 29 27 5 56 53 55 46 30 28 26 25 4 57 58 60 62 14 23 21 24 3 59 61 3 7 12 19 20 22 2 64 2 4 5 10 13 18 17 1 63 1 6 8 9 11 16 15 A B C D E F G H Top view Pin Pin Name No. Pin Pin Name No. Pin No. Pin Name Pin Pin Name No. 1 P12/SCK0 17 P06/T6O 33 PB1 49 P70/INT0/T0LCP 2 P13/SO1 18 P07/T7O 34 PB0 50 P71/INT1/T0HCP 3 P14/SI1/SB1 19 P20/UTX/INT4/T1IN 35 VSS3 51 P72/INT2/T0IN 4 P15/SCK1 20 P21/URX/INT4/T1IN 36 VDD3 52 P73/INT3/T0IN 5 P16/T1PWML 21 P22/INT4/T1IN 37 PC7/DBGP2 53 RES 6 P17/T1PWMH/BUZ 22 P23/INT4/T1IN 38 PC6/DBGP1 54 XT1 XT2 7 PWM2 23 P24/INT5/T1IN 39 PC5/DBGP0 55 8 PWM3 24 P25/INT5/T1IN 40 PC4 56 VSS1 9 VDD2 25 P26/INT5/T1IN/INT6/T0LCP1 41 PC3/AN11 57 CF1/AN12 10 VSS2 26 P27/INT5/T1IN/INT7/T0HCP1 42 PC2/AN10 58 CF2/AN13 11 P00 27 PB7 43 PC1/AN9 59 VDD1 12 P01 28 PB6 44 PC0/AN8 60 P80/AN0 13 P02 29 PB5 45 P86/AN6 61 P81/AN1 14 P03 30 PB4 46 P85/AN5 62 P82/AN2 15 P04 31 PB3 47 P84/AN4 63 P10/SO0 16 P05/CKO 32 PB2 48 P83/AN3 64 P11/SI0/SB0 Note: Port P30, p31, p32, p33 are not available in the above package. SANYO: FLGA64(5.0 × 5.0) “Lead-free Type” No.A1211-9/28 LC87F2924B System Block Diagram Interrupt control IR PLA Standby control CF VMRC Clock generator RC Flash ROM X’tal PC SIO0 Bus interface SIO1 Port 0 ACC Timer 0 Port 1 B register Timer 1 Port 2 C register Timer 4 Port 3 ALU Timer 5 Port 7 Timer 6 Port 8 PSW Timer 7 ADC RAR Base timer INT0 to 7 Noise filter RAM Port B Stack pointer Port C Watchdog timer UART1 On-chip debugger Day and time counter PWM2/3 No.A1211-10/28 LC87F2924B Pin Description Pin Name VSS1 VSS2 I/O Description Option - -power supply pin No - +power supply pin No • 8-bit I/O port Yes VSS3 VDD1 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. • HOLD reset input • Port 0 interrupt input • Shared pins P05: Clock output (system clock/can selected from sub clock) P06: Timer 6 toggle output P07: Timer 7 toggle output Port 1 I/O Yes • 8-bit I/O port • 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 2 I/O Yes • 8-bit I/O port • I/O specifiable in 1-bit units P20 to P27 • Pull-up resistors can be turned on and off in 1-bit units. • Shared pins P20: UART transmit P21: UART receive P26: INT6 input/HOLD reset input/timer 0L capture 1 input P27: INT7 input/ HOLD reset input/timer 0H capture 1 input P20 to P23: INT4 input/HOLD reset input/timer 1 event input/timer 0L capture input/ timer 0H capture input P24 to P27: INT5 input/HOLD reset input/timer 1 event input/timer 0L capture input/ timer 0H capture input Interrupt acknowledge type Port 3 P30 to P33 I/O 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 • 4-bit I/O port Yes (These ports are available in FLGA68K(6.0×6.0) package only.) • I/O specifiable in 1-bit units • Pull-up resistors can be turned on and off in 1-bit units. Continued on next page. No.A1211-11/28 LC87F2924B Continued from preceding page. Pin Name Port 7 I/O I/O Description Option No • 4-bit I/O port • 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 reset input/timer 0L capture input/watchdog timer output P71: INT1 input/HOLD reset input/timer 0H capture input P72: INT2 input/HOLD reset 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 Interrupt acknowledge type Port 8 I/O Rising Falling INT0 enable enable INT1 enable enable INT2 enable enable INT3 enable enable Rising & H level L level disable enable enable disable enable enable enable disable disable enable disable disable Falling • 7-bit I/O port No • I/O specifiable in 1-bit units P80 to P86 • Shared pins AD converter input port: AN0 (P80) to AN6 (P86) PWM2 I/O PWM3 Port B • PWM2 and PWM3 output ports No • General-purpose I/O available I/O • 8-bit I/O port Yes • I/O specifiable in 1-bit units PB0 to PB7 • Pull-up resistors can be turned on and off in 1 bit units. Port C I/O • 8-bit I/O port Yes • I/O specifiable in 1-bit units PC0 to PC7 • Pull-up resistors can be turned on and off in 1-bit units. • Shared pins AD converter input port: AN8 (PC0) to AN11 (PC3) On-chip debugger pins: DBGP0 to DBGP2 (PC5 to PC7) RES Input Reset pin No XT1 Input • 32.768kHz crystal oscillator input pin No • Shared pins General-purpose input port XT2 I/O • 32.768kHz crystal oscillator output pin No • Shared pins General-purpose I/O port CF1 Input • Ceramic resonator input pin No • Shared pins General-purpose input port AD converter input port: AN12 CF2 I/O • Ceramic resonator output pin No • Shared pins General-purpose I/O port AD converter input port: AN13 No.A1211-12/28 LC87F2924B On-chip Debugger Pin Connection Requirements For the treatment of the on-chip debugger pins, refer to the separately available documents entitled “RD87 On-chip Debugger Installation Manual” Recommended Unused Pin Connections Recommended Unused Pin Connections Port Name Board Software P00 to P07 Open Output low P10 to P17 Open Output low P20 to P27 Open Output low P30 to P33 Open Output low P70 to P73 Open Output low P80 to P86 Open Output low PWM2,PWM3 Open Output low PB0 to PB7 Open Output low PC0 to PC6 Open Output low PC7 Pulled low with a 100kΩ resistor or less. Output disable XT1 Pulled low with a 100kΩ resistor or less - XT2 Open Output low CF1 Pulled low with a 100kΩ resistor or less - CF2 Open Output low 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 P00 to P07 P10 to P17 P20 to P27 Option Selected in Units of 1 bit 1 bit 1 bit Option Type 1 bit Pull-up Resistor 1 CMOS Programmable 2 Nch-open drain Programmable 1 CMOS Programmable 2 Nch-open drain Programmable 1 CMOS Programmable Nch-open drain Programmable 2 P30 to P33 Output Type 1 CMOS Programmable 2 Nch-open drain Programmable P70 - No Nch-open drain Programmable P71 to P73 - No CMOS Programmable P80 to P86 - No Nch-open drain No PWM2, PWM3 - No CMOS No PB0 to PB7 PC0 to PC7 XT1 1 bit 1 CMOS Programmable 2 Nch-open drain Programmable 1 bit 1 CMOS Programmable 2 Nch-open drain Programmable - No Input for 32.768kHz crystal oscillator No (Input only) XT2 - No Output for 32.768kHz crystal oscillator No (Nch-open drain when in general-purpose output mode) CF1 - No Input for ceramic oscillator No (Input only) CF2 - No Output for ceramic oscillator No (Nch-open drain when in general-purpose output mode) No.A1211-13/28 LC87F2924B User Option Table Option Name Option to be Applied on P00 to P07 Flash-ROM Version { Option Selected in Units of Option Selection CMOS 1 bit Nch-open drain P10 to P17 { CMOS 1 bit Nch-open drain P20 to P27 { CMOS 1 bit Nch-open drain Port output type P30 to P33 { CMOS 1 bit Nch-open drain PB0 to PB7 { CMOS 1 bit Nch-open drain PC0 to PC7 { CMOS 1 bit Nch-open drain Program start address - { 00000h - 07E00h *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. LSI VDD1 Power supply For backup *2 VDD2 VDD3 VSS1 VSS2 VSS3 *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.A1211-14/28 LC87F2924B 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 Input voltage VI(1) XT1, CF1 Input/output VIO(1) Ports 0, 1, 2, 3, 7, 8 VDD1=VDD2=VDD3 voltage voltage min typ max -0.3 +6.5 -0.3 VDD+0.3 unit V Ports B, C -0.3 PWM2, PWM3, XT2, VDD+0.3 CF2 Peak output IOPH(1) current High level output current Mean output CMOS output select Per 1 applicable pin PWM2, PWM3 Per 1 applicable pin -20 IOPH(3) P71 to P73 Per 1 applicable pin -5 IOMH(1) Ports 0, 1, 2, 3 CMOS output select Ports B, C Per 1 applicable pin IOMH(2) PWM2, PWM3 Per 1 applicable pin IOMH(3) P71 to P73 Per 1 applicable pin Total output ΣIOAH(1) P71 to P73, P32 Total of all applicable pins current ΣIOAH(2) Port 1, P33 Total of all applicable pins PWM2, PWM3 ΣIOAH(3) Ports 0, 2, P30 Total of all applicable pins ΣIOAH(4) Ports 0, 1, 2, P30, Total of all applicable pins PWM2, PWM3, P33 Peak output -10 IOPH(2) current (Note 1-1) Ports 0, 1, 2, 3 Ports B, C -7.5 -10 -3 -10 -25 -25 -45 ΣIOAH(5) Port B, P31 Total of all applicable pins -25 ΣIOAH(6) Port C Total of all applicable pins -25 ΣIOAH(7) Ports B, C, P31 Total of all applicable pins -45 IOPL(1) P02 to P07 Per 1 applicable pin current Ports 1, 2, 3, B, C 20 PWM2, PWM3 Low level output current Mean output IOPL(2) P00, P01 Per 1 applicable pin 30 IOPL(3) Ports 7, 8, XT2, CF2 Per 1 applicable pin 10 P02 to P07 Per 1 applicable pin IOML(1) current Ports 1, 2, 3, B, C (Note 1-1) PWM2, PWM3 15 IOML(2) P00, P01 Per 1 applicable pin IOML(3) Ports 7, 8 Per 1 applicable pin XT2, CF2 Total output ΣIOAL(1) current Port 7, P32 mA 20 7.5 Total of all applicable pins P83 to P86, XT2, 15 CF2 ΣIOAL(2) P80 to P82 Total of all applicable pins ΣIOAL(3) Ports 7, 8, P32 Total of all applicable pins XT2, CF2 ΣIOAL(4) Port 1, P33 Total of all applicable pins PWM2, PWM3 ΣIOAL(5) Ports 0, 2, P30 Total of all applicable pins ΣIOAL(6) Ports 0, 1, 2 Total of all applicable pins P30, P33 15 20 45 45 80 PWM2, PWM3 ΣIOAL(7) Port B, P31 Total of all applicable pins 45 ΣIOAL(8) Port C Total of all applicable pins 45 ΣIOAL(9) Ports B, C, P31 Total of all applicable pins 80 Note 1-1: The mean output current is a mean value measured over 100ms. Continued on next page. No.A1211-15/28 LC87F2924B Continued from preceding page. Parameter Symbol Pin/Remarks Specification Conditions VDD[V] Power dissipation Operating ambient Pd max TQFP64J(7×7) typ max unit 133 FLGA68K(6.0×6.0) 96 FLGA64(5.0×5.0) 91 Topr temperature Storage ambient min Ta=-40 to +85°C -40 +85 -55 +125 mW °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] min typ max unit 0.245µs ≤ tCYC ≤ 200µs 3.0 supply voltage 0.367µs ≤ tCYC ≤ 200µs 2.5 5.5 (Note 2-1) 0.681µs ≤ tCYC ≤ 200µs 2.2 5.5 2.0 5.5 Operating Memory VDD(1) VHD VDD1=VDD2=VDD3 VDD1=VDD2=VDD3 sustaining 5.5 RAM and register contents sustained in HOLD mode. supply voltage High level input VIH(1) voltage Ports 1, 2 P71 to P73 2.2 to 5.5 P70 port input/ 0.3VDD +0.7 VDD interrupt side VIH(2) Ports 0, 3, 8, B, C 2.2 to 5.5 PWM2, PWM3 VIH(3) Port 70 watchdog timer side VIH(4) Low level input VIL(1) voltage XT1, XT2, CF1, CF2, RES Ports 1, 2 P71 to P73 P70 port input/ interrupt side VIL(2) Ports 0, 3, 8, B, C PWM2, PWM3 VIL(3) Port 70 watchdog timer side VIL(4) Instruction cycle XT1, XT2, CF1, CF2, RES tCYC time (Note 2-2) External system clock frequency FEXCF(1) CF1 0.3VDD +0.7 VDD 2.2 to 5.5 0.9VDD VDD 2.2 to 5.5 0.75VDD VDD 4.0 to 5.5 VSS 2.2 to 4.0 VSS 4.0 to 5.5 VSS 2.2 to 4.0 VSS 2.2 to 5.5 VSS 2.2 to 5.5 VSS 0.25VDD 3.0 to 5.5 0.245 200 2.5 to 5.5 0.367 200 V 0.1VDD +0.4 0.2VDD 0.15VDD +0.4 0.2VDD 0.8VDD -1.0 2.2 to 5.5 0.681 200 • CF2 pin open 3.0 to 5.5 0.1 12 • System clock frequency 2.5 to 5.5 0.1 8 2.2 to 5.5 0.1 4 μs division ratio=1/1 • External system clock duty =50±5% • CF2 pin open 3.0 to 5.5 0.2 24.4 • System clock frequency 2.5 to 5.5 0.2 16 2.2 to 5.5 0.2 8 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.A1211-16/28 LC87F2924B Continued from preceding page. Parameter Symbol Pin/Remarks Specification Conditions VDD[V] Oscillation FmCF(1) CF1, CF2 frequency range • 12MHz 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 12 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 • When VMRAJ2 to 0=4, MHz 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) variable RC oscillation adjustment Each step of VMRAJn (Wide range) VmADJ(2) % Each step of VMFAJn (Small range) range Note 2-3: See Tables 1 and 2 for the oscillation constants. No.A1211-17/28 LC87F2924B 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 IIH(2) Low level input Ports 0, 1, 2, 3 Output disabled Ports 7, 8 Pull-up resistor off Ports B, C RES VIN=VDD (Including output Tr's off PWM2, PWM3 leakage current) XT1, XT2, For input port specification CF1, CF2 IIH(3) CF1 VIN=VDD VIN=VDD IIL(1) Ports 0, 1, 2, 3 Output disabled Ports 7, 8 Pull-up resistor off Ports B, C RES VIN=VSS (Including output Tr's off PWM2, PWM3 leakage current) XT1, XT2, For input port specification CF1, CF2 VIN=VSS current IIL(2) min typ 1 2.2 to 5.5 1 2.2 to 5.5 15 2.2 to 5.5 -1 2.2 to 5.5 -1 -15 IIL(3) CF1 VIN=VSS 2.2 to 5.5 VOH(1) Ports 0, 1, 2, 3 IOH=-1mA 4.5 to 5.5 VDD-1 voltage VOH(2) Ports B, C IOH=-0.4mA 3.0 to 5.5 VDD-0.4 IOH=-0.2mA 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 IOH=-10mA 4.5 to 5.5 VDD-1.5 VOH(7) IOH=-1.6mA 3.0 to 5.5 VDD-0.4 VOH(8) IOH=-1mA 2.2 to 5.5 VDD-0.4 VOH(4) P71 to P73 VOH(5) VOH(6) PWM2, PWM3 unit 2.2 to 5.5 High level output VOH(3) max V Low level output VOL(1) Ports 0, 1, 2, 3 IOL=10mA 4.5 to 5.5 1.5 voltage VOL(2) Ports B, C IOL=1.6mA 3.0 to 5.5 0.4 VOL(3) Pull-up resistance Hysteresis voltage PWM2, PWM3 IOL=1mA 2.2 to 5.5 0.4 VOL(4) Ports 7, 8 IOL=1.6mA 3.0 to 5.5 0.4 VOL(5) XT2, CF2 IOL=1mA 2.2 to 5.5 0.4 VOL(6) P00, P01 IOL=30mA 4.5 to 5.5 1.5 VOL(7) IOL=5mA 3.0 to 5.5 0.4 VOL(8) IOL=2.5mA 2.2 to 5.5 0.4 VOH=0.9VDD 4.5 to 5.5 15 35 80 2.2 to 5.5 18 50 150 Rpu(1) Ports 0, 1, 2, 3 Rpu(2) Ports 7, B, C VHYS RES Ports 1, 2, 7 Pin capacitance CP All pins μA kΩ 2.2 to 5.5 0.1VDD V 2.2 to 5.5 10 pF For pins other than that under test: VIN=VSS f=1MHz Ta=25°C No.A1211-18/28 LC87F2924B Serial Input/Output 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) pulse width tSCKHA(1) 2.2 to 5.5 tCYC 4 • (Note 4-1-2) Frequency tSCK(2) SCK0(P12) • CMOS output selected 4/3 • See Fig. 6. Output clock tSCKL(2) 1/2 pulse width High level tSCK tSCKH(2) 2.2 to 5.5 pulse width tSCKHA(2) 1/2 • Continuous data tSCKH(2) transmission/reception mode • CMOS output selected +2tCYC • See Fig. 6. Data setup time Serial input unit 1 • Continuous data • See Fig. 6. Low level 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 transmission/reception mode 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.15 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.A1211-19/28 LC87F2924B 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) See Fig. 6. 2.2 to 5.5 pulse width High level Frequency SCK1(P15) • CMOS output selected tSCKL(4) 2 1/2 tSCK tSCKH(4) 1/2 pulse width Serial input Data setup time 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 Output delay time • See Fig. 6. thDI(2) tdD0(4) SO1(P13), SB1(P14) Serial output unit 1 2.2 to 5.5 pulse width High level max 1 • See Fig. 6. Low level typ tCYC tSCKH(3) tSCK(4) min 2 pulse width Output clock Serial clock VDD[V] • Must be specified with μs respect to falling edge of SIOCLK. • Must be specified as the time to the beginning of 2.2 to 5.5 (1/3)tCYC +0.05 output 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. No.A1211-20/28 LC87F2924B 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. INT3(P73) when 2.2 to 5.5 noise filter not used, 1 INT4(P20 to P23), INT5(P24 to P27), INT6(P26), INT7(P27) 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 INT3(P73) when • Interrupt source flag can be set. tPIL(3) noise filter time • Event inputs for timer 0 are INT3(P73) when • Interrupt source flag can be set. tPIL(4) noise filter time • Event inputs for timer 0 are tPIL(5) RES 2 2.2 to 5.5 64 2.2 to 5.5 256 2.2 to 5.5 200 enabled. tPIH(4) constant is 1/128 2.2 to 5.5 enabled. tPIH(3) constant is 1/32 tCYC enabled. Resetting is enabled. μs AD Converter Characteristics at Ta = -40°C to +85°C, VSS1 = VSS2 = VSS3 = 0V Parameter Symbol Pin/Remarks Specification Conditions VDD[V] Resolution N AN0(P80) to Absolute ET AN6(P86), (Note 6-1) accuracy AN8(PC0), Conversion AN9(PC1), AD conversion time=32×tCYC AN10(PC2), (when ADCR2=0) (Note 6-2) tCAD time typ max unit 8 3.0 to 5.5 bit ±1.5 15.68 97.92 (tCYC= (tCYC= AN11(PC3), 0.49µs) 3.06µs) AN12(CF1), 21.8 97.92 (tCYC= (tCYC= 0.681µs) 3.06µs) 18.82 97.92 AN13(CF2) 4.5 to 5.5 3.0 to 5.5 AD conversion time=64×tCYC (when ADCR2=1) (Note 6-2) 4.5 to 5.5 3.0 to 5.5 Analog input min 3.0 to 5.5 VAIN 3.0 to 5.5 voltage range Analog port IAINH VAIN=VDD 3.0 to 5.5 input current IAINL VAIN=VSS 3.0 to 5.5 (tCYC= (tCYC= 0.294µs) 1.53µs) 43.6 97.92 (tCYC= (tCYC= 0.681µs) 1.53µs) VSS VDD LSB 1 -1 μs V μA Note 6-1: The quantization error (±1/2LSB) is excluded from the absolute accuracy value. Note 6-2: The conversion time refers to the interval from the time the instruction for starting the converter is issued to the time the complete digital value corresponding to the analog input value is loaded in the required register. No.A1211-21/28 LC87F2924B Consumption Current Characteristics at Ta = -40°C to +85°C, VSS1 = VSS2 = VSS3 = 0V Parameter Symbol Pin/ Remarks VDD[V] • FmCF=12MHz ceramic oscillation mode mode VDD1 =VDD2 consumption =VDD3 • System clock set to 12MHz side Normal current IDDOP(1) IDDOP(2) • FsX’tal=32.768kHz crystal oscillation mode min typ max unit 4.5 to 5.5 8.3 20.9 3.0 to 3.6 4.8 11.9 4.5 to 5.5 6.3 15.7 3.0 to 3.6 3.6 9.1 2.5 to 3.0 2.4 7.1 4.5 to 5.5 2.4 6 3.0 to 3.6 1.3 3.3 2.2 to 3.0 0.86 2.5 4.5 to 5.5 0.75 3.1 3.0 to 3.6 0.4 1.7 2.2 to 3.0 0.28 1.35 4.5 to 5.5 8 20 3.0 to 3.6 4.7 12 4.5 to 5.5 4.5 11.5 3.0 to 3.6 2.6 6.6 2.2 to 3.0 1.7 5 4.5 to 5.5 35 115 3.0 to 3.6 18 65 2.2 to 3.0 12 46 • Internal RC oscillation stopped. • Frequency variable RC oscillation stopped. (Note 7-1) Specification Conditions • 1/1 frequency division ratio IDDOP(3) • FmCF=8MHz ceramic oscillation mode • FsX’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 • FsX’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 • FsX’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) • FsX’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) • FsX’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) • FsX’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.A1211-22/28 LC87F2924B Continued from preceding page. Parameter Symbol Pin/ VDD[V] • HALT mode consumption VDD1 =VDD2 current =VDD3 • FsX’tal=32.768kHz crystal oscillation mode HALT mode (Note 7-1) IDDHALT(1) Specification Conditions Remarks • FmCF=12MHz ceramic oscillation mode min typ max unit 4.5 to 5.5 3.6 8.2 3.0 to 3.6 2 4.6 4.5 to 5.5 2.6 5.9 3.0 to 3.6 1.4 3.3 2.5 to 3.0 1 2.5 4.5 to 5.5 1.15 2.65 3.0 to 3.6 0.6 1.5 2.2 to 3.0 0.4 1.1 • 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 • FsX’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 IDDHALT(6) • HALT mode • FmCF=4MHz ceramic oscillation mode • FsX’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. • 1/2 frequency division ratio • HALT mode IDDHALT(9) 4.5 to 5.5 0.37 1.3 3.0 to 3.6 0.2 0.75 2.2 to 3.0 0.13 0.54 4.5 to 5.5 3.6 8.2 3.0 to 3.6 2 4.6 4.5 to 5.5 1.7 4 3.0 to 3.6 1 2.5 2.2 to 3.0 0.7 1.8 4.5 to 5.5 18.5 68 3.0 to 3.6 10 38 2.2 to 3.0 6.5 26 • HOLD mode 4.5 to 5.5 0.05 20 • CF1=VDD or open (External clock mode) 3.0 to 3.6 0.03 12 2.2 to 3.0 0.02 8 • FmCF=0Hz (oscillation stopped) • FsX’tal=32.768kHz crystal oscillation mode IDDHALT(10) mA • 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) • FsX’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 • HALT mode IDDHALT(14) • FmCF=0Hz (oscillation stopped) • FsX’tal=32.768kHz crystal oscillation mode IDDHALT(15) • Internal RC oscillation stopped. • System clock set to 4MHz with frequency IDDHALT(16) variable RC oscillation • 1/1 frequency division ratio • HALT mode IDDHALT(17) • FmCF=0Hz (oscillation stopped) • FsX’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 IDDHOLD(1) consumption IDDHOLD(2) current VDD1 IDDHOLD(3) Timer HOLD IDDHOLD(4) • Timer HOLD mode 4.5 to 5.5 16 58 mode IDDHOLD(5) • CF1=VDD or open (External clock mode) 3.0 to 3.6 8.5 32 2.2 to 3.0 5 20 consumption current IDDHOLD(6) μA • FsX’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.A1211-23/28 LC87F2924B F-ROM Programming Characteristics at Ta = -10°C to +55°C, VSS1 = VSS2 = VSS3 = 0V Parameter Symbol Pin/Remarks Specification Conditions VDD[V] Onboard IDDFW(1) VDD1 min typ max unit • Without CPU current programming 3.0 to 5.5 5 10 mA 20 30 ms 40 60 μs current Programming tFW(1) • Erasing time tFW(2) • Programming 3.0 to 5.5 UART (Full Duplex) Operating Conditions at Ta = -40°C to +85°C, VSS1 = VSS2 = VSS3 = 0V Parameter Symbol Pin/Remarks Specification Conditions VDD[V] Transfer rate UBR UTX(P20), 2.2 to 5.5 URX(P21) Data length: Stop bits: Parity bits: min typ 16/3 max unit 8192/3 tCYC 7, 8, and 9 bits (LSB first) 1 bit (2-bit in continuous data transmission) None Example of Continuous 8-bit Data Transmission Mode Processing (first transmit data=55H) Start bit Start of transmission Stop bit Transmit data (LSB first) End of transmission UBR Example of Continuous 8-bit Data Reception Mode Processing (first receive data=55H) Stop bit Start bit Start of reception Receive data (LSB first) End of reception UBR No.A1211-24/28 LC87F2924B 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 12MHz 8MHz 4MHz MURATA MURATA MURATA Operating Circuit Constant Oscillator Name C1 C2 Rf1 Rd1 [pF] [pF] [Ω] [Ω] CSTCE12M0G52-R0 (10) (10) Open 680 CSTCE8M00G52-R0 (10) (10) Open CSTLS8M00G53-B0 (15) (15) CSTCR4M00G53-R0 (15) CSTLS4M00G53-B0 (15) Voltage Range Oscillation Stabilization Time Remarks typ max [ms] [ms] 3.0 to 5.5 0.05 0.15 1k 2.5 to 5.5 0.13 0.4 Internal Open 1k 2.5 to 5.5 0.12 0.4 C1, C2 (15) Open 2.2k 2.2 to 5.5 0.07 0.2 Internal (15) Open 2.2k 2.2 to 5.5 0.05 0.15 C1, C2 [V] Internal C1, C2 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 Frequency Circuit Constant Vendor Name Oscillator Name Oscillation Voltage Stabilization Time C3 C4 Rf2 Rd2 Range typ max [pF] [pF] [Ω] [Ω] [V] [s] [s] 18 18 Open 560k 2.2 to.5.5 1.3 3.0 Remarks Applicable EPSON 32.768kHz Operating MC-306 TOYOCOM 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 XT2 Rf2 Rf1 Rd2 Rd1 C1 C2 C3 C4 CF X’tal Figure 1 CF Oscillator Circuit Figure 2 XT Oscillator Circuit 0.5VDD Figure 3 AC Timing Measurement Point No.A1211-25/28 LC87F2924B 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.A1211-26/28 LC87F2924B 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.A1211-27/28 LC87F2924B 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 April, 2008. Specifications and information herein are subject to change without notice. PS No.A1211-28/28