Ordering number : EN8296A
LC87F5864B
Overview
CMOS IC FROM 64K byte, RAM 2048 byte on-chip
8-bit 1-chip Microcontroller
The SANYO LC87F5864B is an 8-bit microcomputer that, centered around a CPU running at a minimum bus cycle time of 100ns, integrates on a single chip a number of hardware features such as 64K-byte flash ROM (onboard programmable), 2048-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, 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 11-channel AD converter, two 12-bit PWM channels, a system clock frequency divider, and a 23-source 10-vector interrupt feature.
Features
Flash ROM • Runs on a 3V single power source and supports onboard programming. • Block-erasable in 128 byte units • 65536 × 8-bits (LC87F5864B) RAM • 2048 × 9 bits (LC87F5864B) Minimum Bus Cycle • 100ns (10MHz) VDD=3.0 to 3.6V • 125ns (8MHz) VDD=2.5 to 3.6V • 500ns (2MHz) VDD=2.2 to 3.6V Note: The bus cycle time here refers to the ROM read speed. Minimum Instruction Cycle Time • 300ns (10MHz) VDD=3.0 to 3.6V • 375ns (8MHz) VDD=2.5 to 3.6V • 1.5µs (2MHz) VDD=2.2 to 3.6V
*This product incorporates technology licensed from Silicon Storage Technology Inc
Any and all SANYO Semiconductor products described or contained herein do not have specifications that can handle applications that require extremely high levels of reliability, such as life-support systems, aircraft's control systems, or other applications whose failure can be reasonably expected to result in serious physical and/or material damage. Consult with your SANYO Semiconductor representative nearest you before usingany SANYO Semiconductor products described or contained herein in such applications. SANYO Semiconductor 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 products described or contained herein.
Ver.1.05
83006 / 42706HKIM No.8296-1/23
LC87F5864B
Ports • Normal withstand voltage I/O ports Ports whose I/O direction can be designated in 1-bit units Ports whose I/O direction can be designated in 4-bit units • Normal withstand voltage input port • Dedicated oscillator ports • Reset pins • Power pins
46 (P1n, P2n, P70 to P73, P80 to P86, PBn, PCn, PWM2, PWM3, XT2) 8 (P0n) 1 (XT1) 2 (CF1, CF2) 1 (RES) 6 (VSS1 to 3, VDD1 to 3)
Timers • Timer 0 : 16-bit timer/counter with a capture register Mode 0 : 8-bit timer with an 8-bit programmable prescaler (with an 8-bit capture register) × 2-channels Mode 1 : 8-bit timer with an 8-bit programmable prescaler (with an 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 a 16-bit capture register) Mode 3 : 16-bit counter (with a 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) + with an 8-bit prescaler 8-bit timer/counter (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 outputs) • Timer 7 : 8-bit timer with a 6-bit prescaler (with toggle outputs) • 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 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) UART • Full duplex • 7/8/9 bit data bits selectable • 1 stop bit (2-bit in continuous data transmission) • Built-in baudrate generator
No.8296-2/23
LC87F5864B
AD Converter : 8-bits × 11-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) Able to output selected oscillation clock 1/1, 1/2, 1/4, 1/8, 1/16, 1/32, 1/64 as system clock. 2) Able to output oscillation clock of sub clock. Interrupts • 23 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. 1 2 3 4 5 6 7 8 9 10 Vector Address 00003H 0000BH 00013H 0001BH 00023H 0002BH 00033H 0003BH 00043H 0004BH Level X or L X or L H or L H or L H or L H or L H or L H or L H or L H or L INT0 INT1 INT2/T0L/INT4 INT3/INT5/base timer0/ base timer1 T0H T1L/T1H SIO0/UART1 receive SIO1/UART1 transmit ADC/T6/T7 Port 0/T4/T5/PWM2, PWM3 Interrupt Source
• Priority levels X > H > L • Of interrupts of the same level, the one with the smallest vector address takes precedence. Subroutine Stack Levels : 1024 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) : • CF oscillation circuit : • Crystal oscillation circuit :
For system clock For system clock, with internal Rf For low-speed system clock, with internal Rf
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).
No.8296-3/23
LC87F5864B
Standby Function • HALT mode : Halts instruction execution while allowing the peripheral circuits to continue operation. 1) Oscillation is not halted automatically. 2) Canceled by a system reset or occurrence of an interrupt • HOLD mode : Suspends instruction execution and the operation of the peripheral circuits. 1) The CF, RC, and crystal oscillators automatically stop operation. 2) There are three ways of resetting the HOLD mode. (1) Setting the reset pin to the lower 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. 1) The CF and 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 four ways of resetting the Xtal 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 ROM Correction Function • Executes the correction program on detection of a match with the program counter value. • Correction program area size : 128 bytes Onchip Debugger • Supports software debugging with the IC mounted on the target board. Package Form • QIP64E (14 × 14): • TQFP64 (10 × 10): • TQFP64J (10 × 10): • TQFP64J (7 × 7): • VQFN64 (10 × 10): Development Tools • Evaluation chip : • Emulator :
Lead-free type Lead-free type Lead-free type Lead-free type Lead-free type
LC87EV690 EVA62S + ECB876600D + SUB875800 + POD64QFP or POD64SQFP (* Tools for VQFN64 (10 × 10) and TQFP64J(7 × 7) version of PODs to be determined)
Programming Boards • W87F50256Q (For QIP64E (14 × 14) package) • W87F57256SQ (For TQFP64 (10 × 10) and TQFP64J (10 × 10) packages) • W87F58256TQ7 (For TQFP64J (7 × 7) packages) • W87F58256VQ (For VQFN64 (10 × 10) package)
No.8296-4/23
LC87F5864B
Package Dimensions
unit : mm 3159A
17.2 14.0 48 49 33 32
49
14.0 17.2
Package Dimensions
unit : mm 3296
12.0
0.8
10.0 48 33 32
10.0
64
17 1 16 0.2
64 1 0.8 (1.0)
(2.7)
17 16 0.35 0.15
(1.25)
0.5
12.0
0.15
3.0max
1.2max
0.1
0.1
(1.0)
SANYO : QIP64E(14X14)
SANYO : TQFP64(10X10)
Package Dimensions
unit : mm 3310
12.0
Package Dimensions
unit : mm 3289
9.0
0.5
10.0 48 49 33 32
48 49
10.0 12.0
33 32
7.0
64 1 (1.25) 0.5 16 0.18
17
64
0.125
17 1 0.4 16 0.16 0.125
(0.5)
1.2 MAX (1.0)
0.1
SANYO : TQFP64J(10X10)
1.2max
0.1
(1.0)
SANYO : TQFP64J(7X7)
9.0
No.8296-5/23
0.5
7.0
0.5
LC87F5864B
Package Dimensions
unit : mm 3323
TOP VIEW 10.2 10.0 48 49 33 32
0.3
SIDE VIEW
BOTTOM VIEW Depth:0.03 MIN 0.5
0.3
0. 2
8.0 Typ
8.0 Typ
10.0
64 1 (1.25) 0.5 0.2 16
11
SIDE VIEW
0.85MAX
(0.8)
10.2
Do Not Connect
SANYO : VQFN64(10X10)
Pin Assignments
P83/AN3 P84/AN4 P85/AN5 P86/AN6 VDD3 VSS3 PC0 PC1 PC2 PC3 PC4 PC5 PC6 PC7 PB0 PB1 32 31 30 29 28 27 26
48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 P70/INT0/T0LCP/AN8 P71/INT1/T0HCP/AN9 P72/INT2/T0IN P73/INT3/T0IN RES XT1/AN10 XT2/AN11 VSS1 CF1 CF2 VDD1 P80/AN0 P81/AN1 P82/AN2 P10/SO0 P11/SI0/SB0 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 1 P12/SCK0 2 P13/SO1 3 P14/SI1/SB1 4 P15/SCK1 5 P16/T1PWML 6 P17/T1PWMH/BUZ 7 PWM2 8 PWM3 9 10 11 12 13 14 15 16 P05/CKO VDD2 VSS2 P00 P01 P02 P03 P04 Top view PB2 PB3 PB4 PB5 PB6 PB7 P27/INT5/T1IN P26/INT5/T1IN P25/INT5/T1IN P24/INT5/T1IN P23/INT4/T1IN P22/INT4/T1IN P21/URX/INT4/T1IN P20/UTX/INT4/T1IN P07/T7O P06/T6O
0.5
LC87F5864B
25 24 23 22 21 20 19 18 17
SANYO: QIP64E (14 × 14) “Lead-free Type” SANYO: TQFP64 (10 × 10) “Lead-free Type” SANYO: TQFP64J (10 × 10) “Lead-free Type” SANYO: TQFP64J (7 × 7) “Lead-free Type”
No.8296-6/23
LC87F5864B
P21/URX/INT4/T1IN
P20/UTX/INT4/T1IN
P22/INT4/T1IN
P23/INT4/T1IN
P24/INT5/T1IN
P25/INT5/T1IN
P26/INT5/T1IN
P27/INT5/T1IN
P06/T6O
P07/T7O
48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33 P05/CKO P04 P03 P02 P01 P00 VSS2 VDD2 PWM3 PWM2 P17/T1PWMH/BUZ P16/T1PWML P15/SCK1 P14/SI1/SB1 P13/SO1 P12/SCK0 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 1 P11/SI0/SB0 2 P10/SO0 3 P82/AN2 4 P81/AN1 5 P80/AN0 6 VDD1 7 CF2 8 CF1 9 10 11 12 13 14 15 16 XT2/AN11 XT1/AN10 VSS1 P71/INT1/T0HCP/AN9 P70/INT0/T0LCP/AN8 RES P73/INT3/T0IN P72/INT2/T0IN 32 31 30 29 28 27 26 PB1 PB0 VSS3 VDD3 PC7 PC6 PC5 PC4 PC3 PC2 PC1 PC0 P86/AN6 P85/AN5 P84/AN4 P83/AN3
PB2 25 24 23 22 21 20 19 18 17
LC87F5864B
PB3
PB7
PB6
PB5
PB4
Top view
SANYO: VQFN64 (10 × 10) “Lead-free Type”
No.8296-7/23
LC87F5864B
System Block Diagram
Interrupt control
IR
PLA
Standby control
ROM correct Flash ROM
CF RC X’tal Clock generator
PC SIO0 Bus interface
SIO1
Port 0
ACC
Timer 0
Port 1
B register
Timer 1
Port 2
C register
Timer 4
Port 7 ALU
Timer 5
Port 8
Timer 6
ADC
PSW
Timer 7
INT0 to INT5 Noise filter
RAR
Base timer
Port B
RAM
PWM2/3
Port C
Stack pointer
UART
Watchdog timer
On-chip debugger
No.8296-8/23
LC87F5864B
Pin Description
Pin Name VSS1, VSS2 VSS3 VDD1, VDD2 VDD3 Port 0 P00 to P07 I/O • 8-bit I/O port • I/O specifiable in 4-bit units • Pull-up resistor can be turned on and off in 4-bit units • HOLD release input • Port 0 interrupt input • Shared Pins P05 : System clock output (system clock / can selected from sub clock) P06 : Timer 6 toggle output P07 : Timer 7 toggle output Port 1 P10 to P17 I/O • 8-bit I/O port • I/O specifiable in 1-bit units • Pull-up resistor 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 1 PWML output P17 : Timer 1 PWMH output/beeper output Port 2 P20 to P27 I/O • 8-bit I/O port • I/O specifiable in 1-bit units • Pull-up resistors can be turned on and off in 1-bit units • Shared pins P20 : UART transmit P21 : UART receive 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 Rising INT4 INT5 enable enable Falling enable enable Rising/ Falling enable enable H level disable disable L level disable disable Yes Yes Yes + Power supply pin No I/O - Power supply pin Description No Option
Port 7 P70 to P73
I/O
• 4-bit I/O port • I/O specifiable in 1-bit units • Pull-up resistor can be turned on and off in 1-bit units • Shared pins AD converter input port : AN8 (P70), AN9 (P71) 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 Rising INT0 INT1 INT2 INT3 enable enable enable enable Falling enable enable enable enable Rising/ Falling disable disable enable enable H level enable enable disable disable L level enable enable disable disable
No
Continued on next page.
No.8296-9/23
LC87F5864B
Continued from preceding page.
Pin Name Port 8 P80 to P86 I/O I/O • 7-bit I/O port • I/O specifiable in 1-bit units • Shared pins AD converter input port : AN0 (P80) to AN6 (P86) PWM2, PWM3 Port B PB0 to PB7 Port C PC0 to PC7 I/O I/O I/O • PWM2 and PWM3 output ports • General-purpose I/O available • 8-bit I/O port • I/O specifiable in 1-bit units • Pull-up resistor can be turned on and off in 1-bit units • 8-bit I/O port • I/O specifiable in 1-bit units • Pull-up resistor can be turned on and off in 1-bit units • Shared pins On-chip debugger pins : DBGP0 to DBGP2 (PC5 to PC7) RES XT1 Input Input Reset pin • 32.768kHz crystal oscillator input pin • Shared pins General-purpose input port AD converter input port : AN10 Must be connected to VDD1 if not to be used. XT2 I/O • 32.768kHz crystal oscillator output pin • 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 CF2 Input Output Ceramic resonator input pin Ceramic resonator output pin No No No No No Yes Yes No Description No Option
No.8296-10/23
LC87F5864B
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 Option Selected in Units of 1-bit Option Type 1 2 P10 to P17 1-bit 1 2 P20 to P27 1-bit 1 2 P70 P71 to P73 P80 to P86 PWM2, PWM3 PB0 to PB7 1-bit No No No No 1 2 PC0 to PC7 1-bit 1 2 XT1 XT2 No No CMOS Nch-open drain CMOS Nch-open drain CMOS Nch-open drain Nch-open drain CMOS Nch-open drain CMOS CMOS Nch-open drain CMOS Nch-open drain Input only Output for 32.768kHz crystal oscillator (Nch-open drain when in general-purpose output mode) Output Type Pull-up Resistor Programmable (Note 1) No Programmable Programmable Programmable Programmable Programmable Programmable No No Programmable Programmable Programmable Programmable No No
Note 1 : Programmable pull-up resistors for port 0 are controlled in 4-bit units (P00 to 03, P04 to 07). *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.8296-11/23
LC87F5864B
Absolute Maximum Ratings at Ta = 25°C, VSS1 = VSS2 = VSS3 = 0V
Parameter Maximum supply voltage Input voltage Input/output voltage VI(1) VIO(1) XT1, CF1 Ports 0, 1, 2 Ports 7, 8 Ports B, C PWM2, PWM3, XT2 Peak output IOPH(1) Ports 0, 1, 2, 7 Ports B, C PWM2, PWM3 CMOS output select Per 1 applicable pin Total of all applicable pins Total of all applicable pins Total of all applicable pins Total of all applicable pins Total of all applicable pins Per 1 applicable pin 6 mA -4 -10 -25 -25 -25 -25 current (Note 1-1) Total output current -0.3 Symbol VDD max Pin/Remarks VDD1, VDD2, VDD3 Conditions VDD [V] VDD1=VDD2=VDD3 min -0.3 -0.3 Specification typ max +4.6 unit
VDD+0.3
V
VDD+0.3
High level output current
ΣIOAH(1) ΣIOAH(2) ΣIOAH(3) ΣIOAH(4) ΣIOAH(5)
Port 7 Port 1 PWM2, PWM3 Ports 0, 2 Port B Port C P02 to P07 Ports 1, 2, 7, 8 Ports B, C PWM2, PWM3, XT2
Peak output current (Note 1-1)
IOPL(1)
Low level output current
IOPL(2) Total output current
P00, P01 Port 7 P83 to P86, XT2 P80 to P82 Port 1 PWM2, PWM3 Ports 0, 2 Port B Port C QIP64E (14 × 14) TQFP64 (10 × 10) TQFP64J (10 × 10) TQFP64J (7 × 7) VQFN64 (10 × 10)
Per 1 applicable pin Total of all applicable pins Total of all applicable pins Total of all applicable pins Total of all applicable pins Total of all applicable pins Total of all applicable pins Ta= -20 to +70°C
15 10 10 25 25 25 25 414 236 284 192 209 -20 -55 +70 mW
ΣIOAL(1) ΣIOAL(2) ΣIOAL(3) ΣIOAL(4) ΣIOAL(5) ΣIOAL(6)
Power dissipation
Pd max
Operating ambient temperature Storage ambient temperature
Topr Tstg
°C
+125
Note 1-1 : The average current per applicable pin must not exceed 1mA.
No.8296-12/23
LC87F5864B
Allowable Operating Conditions at Ta = -20°C to +70°C, VSS1 = VSS2 = VSS3 = 0V
Parameter Operating supply voltage (Note 2-1) Symbol VDD(1) Pin/Remarks VDD1=VDD2=VDD3 Conditions 0.294µs ≤ tCYC ≤ 200µs 0.367µs ≤ tCYC ≤ 200µs Except for FROM onboard programming 1.47µs ≤ tCYC ≤ 200µs Except for FROM onboard programming Memory sustaining supply voltage High level input voltage VIH(1) Ports 1, 2 P71 to P73 P70 port input /interrupt side VIH(2) VIH(3) VIH(4) Low level input voltage VIL(1) Ports 0, 8, B, C PWM2, PWM3 Port 70 watchdog timer side XT1, XT2, CF1, RES Ports 1, 2 P71 to P73 P70 port input /interrupt side VIL(2) VIL(3) VIL(4) Instruction cycle time (Note 2-2) External system clock frequency FEXCF(1) CF1 tCYC Except for FROM onboard programming • CF2 pin open • System clock frequency division ratio=1/1 • External system clock duty=50±5% • CF2 pin open • System clock frequency division ratio=1/2 Oscillation frequency range (Note 2-3) FmCF(2) FmCF(3) FmRC FsX’tal XT1, XT2 CF1, CF2 CF1, CF2 FmCF(1) CF1, CF2 10MHz ceramic oscillation See Fig. 1. 8MHz ceramic oscillation See Fig. 1. 4MHz ceramic oscillation See Fig. 1. Internal RC oscillation 32.768kHz crystal oscillation See Fig. 2. 3.0 to 3.6 2.5 to 3.6 2.2 to 3.6 3.0 to 3.6 2.5 to 3.6 2.2 to 3.6 2.2 to 3.6 2.2 to 3.6 0.3 0.2 0.2 0.2 10 8 4 1.0 2.0 kHz 20 16 4 MHz 2.2 to 3.6 0.1 2 Ports 0, 8, B, C PWM2, PWM3 Port 70 watchdog timer side XT1, XT2, CF1, RES 2.2 to 3.6 2.2 to 3.6 2.2 to 3.6 3.0 to 3.6 2.5 to 3.6 2.2 to 3.6 3.0 to 3.6 2.5 to 3.6 VSS VSS VSS 0.294 0.367 1.47 0.1 0.1 0.2VDD 0.8VDD -1.0 2.2 to 3.6 VSS 0.2VDD 2.2 to 3.6 2.2 to 3.6 2.2 to 3.6 0.3VDD +0.7 0.9VDD 0.75VDD VDD VDD VDD V 2.2 to 3.6 0.3VDD +0.7 VDD VHD VDD1=VDD2=VDD3 RAM and register contents sustained in HOLD mode. 2.0 3.6 2.2 3.6 2.5 3.6 Specification VDD[V] min 3.0 typ max 3.6 unit
0.25VDD
200 200 200 10 8
µs
32.768
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. Note 2-3 : See Tables 1 and 2 for the oscillation constants.
No.8296-13/23
LC87F5864B
Electrical Characteristics at Ta = -20°C to +70°C, VSS1 = VSS2 = VSS3 = 0V
Parameter High level input current Symbol IIH(1) Pins Ports 0, 1, 2 Ports 7, 8 Ports B, C RES PWM2, PWM3 IIH(2) IIH(3) Low level input current IIL(1) XT1, XT2 Conditions Output disabled Pull-up resistor off VIN=VDD (Including output Tr's off leakage current) For input port specification VIN=VDD CF1 Ports 0, 1, 2 Ports 7, 8 Ports B, C RES PWM2, PWM3 IIL(2) IIL(3) High level output voltage VOH(1) VOH(2) VOH(3) VOH(4) Low level output voltage VOL(2) VOL(3) VOL(4) Pull-up resistor Hysteresis voltage Pin capacitance CP Rpu VHYS Ports 0, 1, 2, 7 Ports B, C RES Ports 1, 2, 7 All pins For pins other than that under test : VIN=VSS f=1MHz Ta=25°C 2.2 to 3.6 10 pF VOL(1) Ports 0, 1, 2, 7, 8 Ports B, C PWM2, PWM3 XT2 P00, P01 IOL=5mA IOL=2.5mA VOH=0.9VDD IOL=0.8mA XT1, XT2 VIN=VDD Output disabled Pull-up resistor off VIN=VSS (Including output Tr's off leakage current) For input port specification VIN=VSS CF1 Ports 0, 1, 2, 7 Ports B, C PWM2, PWM3 PWM2, PWM3 VIN=VSS IOH= -0.4mA IOH= -0.2mA IOH= -1.6mA IOH= -0.8mA IOL=1.6mA 2.2 to 3.6 2.2 to 3.6 3.0 to 3.6 2.2 to 3.6 3.0 to 3.6 2.2 to 3.6 3.0 to 3.6 2.2 to 3.6 3.0 to 3.6 2.2 to 3.6 2.2 to 3.6 2.2 to 3.6 25 50 0.1 -1 -8 VDD-0.4 VDD-0.4 VDD-0.4 VDD-0.4 0.4 0.4 0.4 0.4 200 kΩ V V 2.2 to 3.6 -1 2.2 to 3.6 2.2 to 3.6 1 8 2.2 to 3.6 1 Specification VDD[V] min typ max unit
µA
No.8296-14/23
LC87F5864B
Serial Input/Output Characteristics at Ta = -20°C to +70°C, VSS1 = VSS2 = VSS3 = 0V
1. SIO0 Serial I/O Characteristics (Note 4-1-1)
Parameter Frequency Low level Symbol tSCK(1) tSCKL(1) tSCKH(1) tSCKHA(1) • Continuous data transmission/reception mode • See Fig. 6. • (Note 4-1-2) Frequency Low level tSCK(2) tSCKL(2) tSCKH(2) tSCKHA(2) • Continuous data transmission/reception mode • CMOS output selected • See Fig. 6. Data setup time tsDI(1) SB0(P11), SI0(P11) Data hold time thDI(1) 2.2 to 3.6 Output delay tdD0(1) SO0(P10), SB0(P11) tdD0(2) • Continuous data transmission/reception mode • (Note 4-1-3) • Synchronous 8-bit mode • (Note 4-1-3) tdD0(3) (Note 4-1-3) 2.2 to 3.6 2.2 to 3.6 2.2 to 3.6 0.03 • Must be specified with respect to rising edge of SIOCLK. • See Fig. 6. 2.2 to 3.6 0.03 SCK0(P12) • CMOS output selected • See Fig. 6. 4/3 1/2 tSCK 2.2 to 3.6 1/2 4 Pin/Remarks SCK0(P12) See Fig. 6. Conditions VDD [V] min 2 1 2.2 to 3.6 1 tCYC Specification typ max unit
Input clock Serial clock Output clock
pulse width High level pulse width
pulse width High level pulse width
tSCKH(2) +2tCYC
tSCKH(2) +(10/3) tCYC
tCYC
Serial input
Input clock
time
(1/3)tCYC +0.05
1tCYC +0.05
µs
Serial output
Output clock
(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.8296-15/23
LC87F5864B
2. SIO1 Serial I/O Characteristics (Note 4-2-1)
Parameter Frequency Symbol tSCK(3) tSCKL(3) tSCKH(3) tSCK(4) tSCKL(4) tSCKH(4) tsDI(2) SB1(P14), SI1(P14) Data hold time thDI(2) 2.2 to 3.6 Output delay time tdD0(4) SO1(P13), SB1(P14) • 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. 2.2 to 3.6 0.03 • Must be specified with respect to rising edge of SIOCLK. • See Fig. 6. 2.2 to 3.6 0.03 SCK1(P15) • CMOS output selected • See Fig. 6. Low level pulse width High level pulse width Data setup time 2.2 to 3.6 Pin/Remarks SCK1(P15) See Fig. 6. Conditions VDD [V] min 2 2.2 to 3.6 1 tCYC 1 2 1/2 tSCK 1/2 Specification typ max unit
Input clock Output clock
Low level pulse width High level pulse width Frequency
Serial input
Serial clock
µs
Serial output
(1/3)tCYC +0.05
Note 4-2-1: These specifications are theoretical values. Add margin depending on its use.
No.8296-16/23
LC87F5864B
Pulse Input Conditions at Ta = -20°C to +70°C, VSS1 = VSS2 = VSS3 = 0V
Parameter High/low level pulse width Symbol tPIH(1) tPIL(1) Pins/Remarks INT0(P70), INT1(P71), INT2(P72), INT4(P20 to P23), INT5(P24 to P27) tPIH(2) tPIL(2) tPIH(3) tPIL(3) tPIH(4) tPIL(4) tPIL(5) INT3(P73) when noise filter time constant is 1/1 INT3(P73) when noise filter time constant is 1/32 INT3(P73) when noise filter time constant is 1/128 RES • Interrupt source flag can be set. • Event inputs for timer 0 are enabled. • Interrupt source flag can be set. • Event inputs for timer 0 are enabled. • Interrupt source flag can be set. • Event inputs for timer 0 are enabled. Resetting is enabled. 2.2 to 3.6 200 2.2 to 3.6 256 2.2 to 3.6 64 2.2 to 3.6 2 tCYC Conditions • Interrupt source flag can be set. • Event inputs for timer 0 or 1 are enabled. 2.2 to 3.6 1 Specification VDD [V] min typ max unit
µs
AD Converter Characteristics at Ta = -20°C to +70°C, VSS1 = VSS2 = VSS3 = 0V
Parameter Resolution Absolute accuracy Conversion time Symbol N ET TCAD Pins/Remarks AN0(P80) to AN6(P86) AN8(P70) AN9(P71) AN10(XT1) AN11(XT2) AD conversion time=64 × tCYC (when ADCR2=1) Analog input voltage range Analog port input current IAINH IAINL VAIN=VDD VAIN=VSS VAIN (Note 6-2) 3.0 to 3.6 (Note 6-1) AD conversion time=32 × tCYC (when ADCR2=0) (Note 6-2) 3.0 to 3.6 Conditions VDD [V] 3.0 to 3.6 3.0 to 3.6 31.36 (tCYC= 0.980µs) 31.36 (tCYC= 0.490µs) 3.0 to 3.6 3.0 to 3.6 3.0 to 3.6 -1 VSS min Specification typ 8 ±1.5 97.92 (tCYC= 3.06µs) 97.92 (tCYC= 1.53µs) VDD 1 V max unit bit LSB
µs
µ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 till the time the complete digital value corresponding to the analog input value is loaded in the required register.
No.8296-17/23
LC87F5864B
Consumption Current Characteristics at Ta = -20°C to +70°C, VSS1 = VSS2 = VSS3 = 0V
Parameter Normal mode consumption current (Note 7-1) IDDOP(2) Symbol IDDOP(1) Pin/ Remarks VDD1 =VDD2 =VDD3 Conditions VDD[V] • FmCF=10MHz ceramic oscillation mode • FmX’tal=32.768kHz crystal oscillation mode • System clock set to 10MHz side • Internal RC oscillation stopped • 1/1 frequency division ratio • CF1=20MHz external clock • FmX’tal=32.768kHz crystal oscillation mode • System clock set to CF1 side • Internal RC oscillation stopped • 1/2 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 • 1/1 frequency division ratio IDDOP(5) • FmCF=4MHz ceramic oscillation mode • FmX’tal=32.768kHz crystal oscillation mode IDDOP(6) • System clock set to 4MHz side • Internal RC oscillation stopped • 1/2 frequency division ratio IDDOP(7) IDDOP(8) IDDOP(9) • FmCF=0Hz (oscillation stopped) • FmX’tal=32.768kHz crystal oscillation mode • System clock set to internal RC oscillation • 1/2 frequency division ratio • FmCF=0Hz (oscillation stopped) • FmX’tal=32.768kHz crystal oscillation mode IDDOP(10) • System clock set to 32.768kHz side • Internal RC oscillation stopped • 1/2 frequency division ratio HALT mode consumption current (Note 7-1) IDDHALT(1) HALT mode • FmCF=10MHz ceramic oscillation mode • FmX’tal=32.768kHz crystal oscillation mode • System clock set to 10MHz side • Internal RC oscillation stopped • 1/1 frequency division ratio IDDHALT(2) • CF1=20MHz external clock • FmX’tal=32.768kHz crystal oscillation mode • System clock set to CF1 side • Internal RC oscillation stopped • 1/2 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 • 1/1 frequency division ratio IDDHALT(5) • HALT mode • FmCF=4MHz ceramic oscillation mode • FmX’tal=32.768kHz crystal oscillation mode IDDHALT(6) • System clock set to 4MHz side • Internal RC oscillation stopped • 1/2 frequency division ratio IDDHALT(7) • HALT mode • FmCF=0Hz (oscillation stopped) IDDHALT(8) • FmX’tal=32.768kHz crystal oscillation mode • System clock set to internal RC oscillation • 1/2 frequency division ratio 2.2 to 3.0 0.16 0.77 3.0 to 3.6 0.23 1.0 2.2 to 3.0 0.53 1.5 3.0 to 3.6 0.81 2.0 2.5 to 3.0 1.3 3.2 3.0 to 3.6 1.8 4.3 mA 3.0 to 3.6 2.6 6.8 3.0 to 3.6 2.1 5.1 2.2 to 3.0 15 58 3.0 to 3.6 24 81 3.0 to 3.6 2.2 to 3.0 0.39 0.27 1.7 1.3 2.2 to 3.0 0.94 2.5 3.0 to 3.6 1.4 3.3 2.5 to 3.0 3.2 7.1 3.0 to 3.6 4.2 9.8 mA 3.0 to 3.6 5.6 14 3.0 to 3.6 5.2 12 min Specification typ max unit
µA
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.8296-18/23
LC87F5864B
Continued from preceding page.
Parameter HALT mode consumption current (Note 7-1) IDDHALT(10) Symbol IDDHALT(9) Pin/ Remarks VDD1 =VDD2 =VDD3 • HALT mode • FmCF=0Hz (oscillation stopped) • FmX’tal=32.768kHz crystal oscillation mode • System clock set to 32.768kHz side • Internal RC oscillation stopped • 1/2 frequency division ratio HOLD mode consumption current Timer HOLD mode consumption current IDDHOLD(4) IDDHOLD(2) IDDHOLD(3) IDDHOLD(1) VDD1 HOLD mode • CF1=VDD or open (external clock mode) Timer HOLD mode • CF1=VDD or open (external clock mode) • FmX’tal=32.768kHz crystal oscillation mode 2.2 to 3.0 3.0 to 3.6 2.2 to 3.0 0.03 4.7 3.0 6 16 11 3.0 to 3.6 0.04 8 2.2 to 3.0 4.6 17 3.0 to 3.6 7.0 24 Conditions VDD[V] min Specification typ max unit
µA
Note 7-1 : The consumption current value includes none of the currents that flow into the output Tr and internal pull-up resistors.
F-ROM Programming Characteristics at Ta = +10°C to +55°C, VSS1 = VSS2 = VSS3 = 0V
Parameter Onboard programming current Programming time tFW(1) • 128-byte programming • Erasing current included • Time for setting up 128-byte data is excluded. 3.0 to 3.6 20 40 ms Symbol IDDFW(1) Pin/Remarks VDD1 Conditions VDD [V] • 128-byte programming • Erasing current included 3.0 to 3.6 15 40 mA min Specification typ max unit
UART (Full Duplex) Operating Conditions at Ta = -20°C to +70°C, VSS1 = VSS2 = VSS3 = 0V
Parameter Transfer rate Symbol UBR Pin/Remarks UTX(P20), URX(P21) Conditions VDD [V] 2.2 to 3.6 min 16/3 Specification typ max 8192/3 unit tCYC
Data length: Stop bits: Parity bits:
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 Stop bit Transmit data (LSB first) End of transmission
Start of transmission
UBR
Example of Continuous 8-bit Data Reception Mode Processing (first receive data=55H)
Start bit Start of reception Receive data (LSB first) Stop bit End of reception
UBR
No.8296-19/23
LC87F5864B
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 Frequency Circuit Constant Vendor Name Oscillator Name C1 [pF] 10MHz MURATA KYOCERA 8MHz MURATA KYOCERA 4MHz MURATA KYOCERA CSTCE10M0G52-R0 PBRC10.00HR CSTCE8M00G52-R0 PBRC8.00HR CSTCR4M00G53-R0 PBRC4.00HR (10) (10) (10) (30) (15) (30) C2 [pF] (10) (10) (10) (30) (15) (30) Rd1 [Ω] 470 0 1k 0 2.2k 0 Operating Voltage Range [V] 3.0 to 3.6 3.0 to 3.6 2.5 to 3.6 2.5 to 3.6 2.2 to 3.6 2.2 to 3.6 typ [ms] 0.1 0.09 0.1 0.07 0.1 0.07 Oscillation Stabilization Time max [ms] 0.5 0.45 0.5 0.35 0.5 0.35 Internal C1,C2 Internal C1,C2 Internal C1,C2 Internal C1,C2 Internal C1,C2 Internal C1,C2 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 Frequency Circuit Constant Vendor Name Oscillator Name C3 [pF] 32.768kHz SEIKO EPSON MC-306 10 C4 [pF] 10 Rf [Ω] 10M Rd2 [Ω] 510k Operating Voltage Range [V] Oscillation Stabilization Time typ [s] 1.0 max [s] Applicable 2.2 to 3.6 3.0 CL value =12.5pF Remarks
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
CF2
XT1
XT2
Rf Rd1 Rd2
C1 CF
C2
C3 X’tal
C4
Figure 1 CF Oscillator Circuit
Figure 2 XT Oscillator Circuit
0.5VDD
Figure 3 AC Timing Measurement Point
No.8296-20/23
LC87F5864B
VDD Power supply Operating VDD lower limit 0V Reset time RES
Internal RC oscillation
tmsCF CF1, CF2
tmsX’tal XT1, XT2
Operating mode
Unpredictable
Reset
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.8296-21/23
LC87F5864B
VDD
RRES
RES CRES
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.
Figure 5 Reset Circuit
SIOCLK :
DATAIN :
DI0
DI1
DI2
DI3
DI4
DI5
DI6
DI7
DI8
DATAOUT :
DO0
DO1
DO2
DO3
DO4
DO5
DO6
DO7 Data RAM transfer period (SIO0 only)
DO8
tSCK tSCKL SIOCLK : tsDI DATAIN : tdDO DATAOUT : Data RAM transfer period (SIO0 only) tSCKL SIOCLK : tsDI DATAIN : tdDO DATAOUT : thDI tSCKHA thDI tSCKH
Figure 6 Serial I/O Output Waveforms
tPIL
tPIH
Figure 7 Pulse Input Timing Signal Waveform
No.8296-22/23
LC87F5864B
Specifications of any and all SANYO Semiconductor 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. SANYO Semiconductor Co., Ltd. strives to supply high-quality high-reliability products. However, any and all semiconductor products fail with some probability. It is possible that these probabilistic failures could give rise to accidents or events that could endanger human lives, that could give rise to smoke or fire, or 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 products (including technical data,services) described or contained herein are controlled under any of applicable local export control laws and regulations, such products must not be exported without obtaining 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 permission 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 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. SANYO Semiconductor believes information herein is accurate and reliable, but no guarantees are made or implied regarding its use or any infringements of intellectual property rights or other rights of third parties.
This catalog provides information as of April, 2006. Specifications and information herein are subject to change without notice.
PS No.8296-23/23