SANYO LC87F1964A

Ordering number : ENA0496
LC87F1964A
CMOS IC
FROM 64K byte, RAM 5K byte on-chip
8-bit 1-chip Microcontroller
With USB-host Controller
Overview
The SANYO LC87F1964A 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 64K-byte flash ROM (onboard
programmable), 5120-byte RAM, an on-chip debugger, a sophisticated 16-bit timers/counters (may be divided into 8-bit
timers), 16-bit timers/counter (may be divided into 8-bit timers/counters or 8-bit PWMs), two 8-bit timers with a
prescaler, a base timer serving as a time-of-day clock, three synchronous SIO interface (with automatic block transmit/
receive function), an asynchronous/synchronous SIO interface, a UART interface (full duplex), a Full-Speed USB
interface (host controller), an 8-bit 12-channel AD converter, two 12-bit PWM channels, a system clock frequency
divider, and a 32-source 10-vector address 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
• 65536 × 8 bits
„RAM
• 5120 × 9 bits
„Minimum Bus Cycle
• 83.3ns (CF=12MHz)
Note: The bus cycle time here refers to the ROM read speed.
„Minimum Instruction Cycle Time
• 250ns (CF=12MHz)
* 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
N0106HKIM 20060713-S00003 No.A0496-1/28
LC87F1964A
„Ports
• I/O ports
Ports whose I/O direction can be designated in 1 bit units 28 (P10 to P17, P20 to P27, P30 to P34,
P70 to P73, PWM0, PWM1, XT2)
Ports whose I/O direction can be designated in 4 bit units
8 (P00 to P07)
• USB ports
2 (UHD+, UHD−)
• Dedicated oscillator ports
2 (CF1, CF2)
• Input-only port (also used for oscillation)
1 (XT1)
• Reset pins
1 (RES)
• Power pins
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)
+ 8-bit timer/counter with an 8-bit prescaler (with toggle outputs)
Mode 1: 8-bit PWM with an-8bit 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 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 programmable in 5 different time schemes
„SIO
• SIO0: Synchronous serial interface
1) LSB first/MSB first mode selectable
2) Transfer clock cycle: 4/3 to 512/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)
• SIO4: Synchronous serial interface
1) LSB first/MSB first mode selectable
2) Transfer clock cycle: 4/3 to 1020/3 tCYC
3) Automatic continuous data transmission (1 to 4096 bytes, specifiable in 1-byte units, suspension and resumption
of data transmission possible in 1-byte or 2-bytes units)
4) Auto-start-on-falling-edge function
5) Clock polarity selectable
6) CRC16 calculator circuit built in
Continued on next page.
No.A0496-2/28
LC87F1964A
Continued from preceding page.
• SIO9: Synchronous serial interface
1) LSB first/MSB first mode selectable
2) Transfer clock cycle: 4/3 to 1020/3 tCYC
3) Automatic continuous data transmission (1 to 4096 bytes, specifiable in 1-byte units, suspension and resumption
of data transmission possible in 1-byte or 2-bytes units)
4) Auto-start-on-falling-edge function
5) Clock polarity selectable
6) CRC16 calculator circuit built in
„Full duplex UART
• UART1
1) Data length: 7/8/9 bits selectable
2) Stop bits: 1 bit (2 bits in continuous transmission mode)
3) Baud rate: 16/3 to 8192/3 tCYC
„AD Converter : 8 bits × 12 channels
„PWM: Multifrequency 12-bit PWM × 2 channels
„ USB interface (host controller)
• Full-Speed is supported
• Transfer type: Control, Bulk, Interrupt, or Isochronous transfer possible
„Watchdog Timer
• External RC watchdog timer
• Interrupt and reset signals selectable
„Clock Output Function
• Able to output selected oscillation clock 1/1, 1/2, 1/4, 1/8, 1/16, 1/32, 1/64 as system clock.
• Able to output oscillation clock of sub clock.
„Interrupts
• 32 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/UHC bus active
4
0001BH
H or L
INT3/INT5/base timer
5
00023H
H or L
T0H/UHC device attach/UHC device detach/UHC resume
6
0002BH
H or L
T1L/T1H/SIO9
7
00033H
H or L
SIO0/UART1 receive
8
0003BH
H or L
SIO1/SIO4/UART1 transmit
9
00043H
H or L
ADC/T6/T7/UHC-ACK/UHC-NAK/UHC error/UHC STALL
10
0004BH
H or L
Port 0/PWM0/PWM1/UHC-SOF
• Priority levels X > H > L
• Of interrupts of the same level, the one with the smallest vector address takes precedence.
No.A0496-3/28
LC87F1964A
„Subroutine Stack Levels : 2560 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:
• PLL circuit (internal):
For system clock
For system clock, USB interface
For system clock, time-of-day clock
For USB interface (see Fig.5)
„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 PLL base clock generator, CF, RC and crystal oscillators automatically stop operation.
2) There are four 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
(4) Having an bus active interrupt source established in the USB host controller circuit
• X'tal HOLD mode: Suspends instruction execution and the operation of the peripheral circuits except the base timer.
1) The PLL base clock generator, CF and RC oscillator 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 bus active interrupt source established in the USB host controller circuit
„Package Form
• SQFP48(7×7):
• QIP48E(14×14):
Lead-free type
Lead-free type
„Development Tools
• On-chip debugger: TCB87 type-B + LC87F1964A
„Flash ROM programming boards
Package
Programming boards
QIP48E(14×14)
W87F55256Q
SQFP48(7×7)
W87F55256SQ
„Recommended EPROM programmer
Maker
Model
Flash Support Group, Inc.
AF9708/AF9709/AF9709B
(Single)
(including product of Ando Electric Co.,Ltd)
SANYO
SKK (SANYO FWS)
Supported version
Device
After Rev02.65
LC87F1964A
Application Version: After 1.03
Chip Data Version: After 2.01
LC87F1964
No.A0496-4/28
LC87F1964A
Package Dimensions
unit : mm (typ)
3163B
36
0.5
9.0
7.0
25
24
48
13
7.0
9.0
37
1
12
0.5
0.15
0.18
(1.5)
0.1
1.7max
(0.75)
SANYO : SQFP48(7X7)
Package Dimensions
unit : mm (typ)
3156A
17.2
0.8
14.0
24
48
13
14.0
37
1
17.2
25
36
12
1.0
0.35
0.15
0.1
3.0max
(2.7)
(1.5)
SANYO : QIP48E(14X14)
No.A0496-5/28
LC87F1964A
36
35
34
33
32
31
30
29
28
27
26
25
P27/INT5/SCK9
P26/INT5/SI9/WR9
P25/INT5/SO9/RD9
P24/INT5/SCK4
P23/INT4/SI4/WR
P22/INT4/SO4/RD
P21/INT4
P20/INT4
P07/AN7/T7O
P06/AN6/T6O
P05/AN5/CKO
P04/AN4/DBGP2
Pin Assignments
LC87F1964A
24
23
22
21
20
19
18
17
16
15
14
13
P03/AN3/DBGP1
P02/AN2/DBGP0
P01/AN1
P00/AN0
VSS2
VDD2
PWM0
PWM1
P17/T1PWMH/BUZ
P16/T1PWML
P15/SCK1
P14/SI1/SB1
1
2
3
4
5
6
7
8
9
10
11
12
37
38
39
40
41
42
43
44
45
46
47
48
P73/INT3/T0IN
RES
XT1/AN10
XT2/AN11
VSS1
CF1
CF2
VDD1
P10/SO0
P11/SI0/SB0
P12/SCK0
P13/SO1
UHDUHD+
VDD3
VSS3
P34/UFILT
P33
P32
P31/URX1
P30/UTX1
P70/INT0/T0LCP/AN8
P71/INT1/T0HCP/AN9
P72/INT2/T0IN
Top view
SANYO: SQFP48(7×7)
SANYO: QIP48E(14×14)
“Lead-free Type”
“Lead-free Type”
No.A0496-6/28
LC87F1964A
SQFP48/QIP48
NAME
SQFP48/QIP48
NAME
1
P73/INT3/T0IN
25
P04/AN4/DBGP2
2
RES
26
P05/AN5/CKO
3
XT1/AN10
27
P06/AN6/T6O
4
XT2/AN11
28
P07/AN7/T7O
5
VSS1
29
P20/INT4
6
CF1
30
P21/INT4
7
CF2
31
P22/INT4/SO4/RD
8
VDD1
32
P23/INT4/SI4/WR
9
P10/SO0
33
P24/INT5/SCK4
10
P11/SI0/SB0
34
P25/INT5/SO9/RD9
11
P12/SCK0
35
P26/INT5/SI9/WR9
12
P13/SO1
36
P27/INT5/SCK9
13
P14/SI1/SB1
37
UHD-
14
P15/SCK1
38
UHD+
15
P16/T1PWML
39
VDD3
16
P17/T1PWMH/BUZ
40
VSS3
17
PWM1
41
P34/UFILT
18
PWM0
42
P33
19
VDD2
43
P32
20
VSS2
44
P31/URX1
21
P00/AN0
45
P30/UTX1
22
P01/AN1
46
P70/INT0/T0LCP/AN8
23
P02/AN2/DBGP0
47
P71/INT1/T0HCP/AN9
24
P03/AN3/DBGP1
48
P72/INT2/T0IN
No.A0496-7/28
LC87F1964A
System Block Diagram
Interrupt control
FROM
Standby control
CF
USB PLL
RC
Clock
generator
X’tal
PLA
IR
PC
SIO0
Bus interface
ACC
SIO1
Port 0
B register
SIO4
Port 1
C register
SIO9
Port 2
ALU
Timer 0
Port 3
Timer 1
Port 7
Timer 6
INT0 to 5
Noise filter
Timer 7
UART1
Base timer
ADC
PWM0
PWM1
PSW
RAR
RAM
Stack pointer
Watchdog timer
On-chip debugger
USB host
No.A0496-8/28
LC87F1964A
Pin Description
Pin Name
I/O
VSS1,
VSS2,
VSS3
VDD1,
VDD2
VDD3
Port 0
I/O
Description
Option
-power supply pin
No
+power supply pin
No
USB reference voltage pin
Yes
• 8-bit I/O port
Yes
• I/O specifiable in 4-bit units
P00 to P07
• Pull-up resistors can be turned on and off in 4-bit units.
• HOLD reset input
• Port 0 interrupt input
• Pins functions
AD converter input port: AN0 to AN7 (P00 to P07)
On-chip debugger pins: DBGP0 to DBGP2 (P02 to P04)
P05: System Clock Output
P06: Timer 6 toggle outputs
P07: Timer 7 toggle outputs
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.
• Pin functions
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
Yes
• 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.
• Pin functions
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
P22: SIO4 date I/O/parallel interface RD output
P23: SIO4 date I/O/parallel interface WR output
P24: SIO4 clock I/O
P25: SIO9 date I/O/parallel interface RD9 output
P26: SIO9 date I/O/parallel interface WR9 output
P27: SIO9 clock I/O
Interrupt acknowledge type
Rising
Falling
INT4
enable
enable
INT5
enable
enable
Rising &
H level
L level
enable
disable
disable
enable
disable
disable
Falling
Continued on next page.
No.A0496-9/28
LC87F1964A
Continued from preceding page.
Pin Name
Port 3
I/O
I/O
Description
Option
• 5-bit I/O port
Yes
• I/O specifiable in 1-bit units
P30 to P34
• Pull-up resistors can be turned on and off in 1-bit units.
• Pin functions
P30: UART1 transmit
P31: UART1 receive
P34: USB interface PLL filter pin (see Fig.5)
Port 7
I/O
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.
• Pin functions
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
AD converter input port: AN8(P70), AN9(P71)Interrupt acknowledge type
PWM0
I/O
PWM1
UHD-
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
• PWM0 and PWM1 output port
No
• General-purpose input port
I/O
• USB data I/O pin UHD-
No
• General-purpose I/O port
UHD+
I/O
• USB data I/O pin UHD+
No
• General-purpose I/O port
RES
Input
Reset pin
No
XT1
Input
• 32.768kHz crystal oscillator input pin
No
• Pin functions
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
No
• Pin functions
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.A0496-10/28
LC87F1964A
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
1 bit
1
P10 to P17
1 bit
P20 to P27
Output type
Pull-up resistor
CMOS
Programmable (Note 1)
2
Nch-open drain
No
1
CMOS
Programmable
2
Nch-open drain
Programmable
Programmable
P30 to P34
P70
-
No
Nch-open drain
P71 to P73
-
No
CMOS
Programmable
PWM0, PWM1
-
No
CMOS
No
UHD+, UHD-
-
No
CMOS
No
XT1
-
No
Input only
No
XT2
-
No
32.768kHz crystal oscillator output
No
Note 1: Programmable pull-up resistors for port 0 are controlled in 4-bit units (P00 to 03, P04 to 07).
Power Pin Treatment
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.
Example 1: When the microcontroller is in the backup state in the HOLD mode, the power to sustain the high level of
output ports is supplied by their backup capacitors.
LSI
For backup
Power
supply
VDD1
VDD2
VDD3
VSS1 VSS2 VSS3
Example 2: The high level output at ports is not sustained and unstable in the HOLD backup mode.
LSI
For backup
Power
supply
VDD1
VDD2
VDD3
VSS1 VSS2 VSS3
No.A0496-11/28
LC87F1964A
USB Reference Power Option
When a voltage 4.5 to 5.5V is supplied to VDD1 and the internal USB reference voltage circuit is activated, the
reference voltage for USB port output is generated. The active/inactive state of the reference voltage circuit can be
switched by option selection. The procedure for marking the option selection is described below.
Option selection
Reference voltage
circuit state
(1)
(2)
(3)
(4)
USB Regulator
USE
USE
USE
NONUSE
USB Regulator in HOLD mode
USE
NONUSE
NONUSE
NONUSE
USB Regulator in HALT mode
USE
NONUSE
USE
NONUSE
Normal state
active
active
active
inactive
HOLD mode
active
inactive
inactive
inactive
HALT mode
active
inactive
active
inactive
• When the USB reference voltage circuit is made inactive, the level of the reference voltage for USB port output is
equal to VDD1.
• Selection (2) or (3) can be used to set the reference voltage circuit inactive in HOLD or HALT mode.
• When the reference voltage circuit is activated, the current drain increases by approximately 100µA compared with
when the reference voltage circuit is inactive.
Example 1: VDD1=VDD2=3.3V
• Inactivating the reference voltage circuit (selection (4)).
• Connecting VDD3 to VDD1 and VDD2.
LSI
Power supply
3.3V
For backup
VDD1
UHD+
33Ω
To USB connector
UHDVDD2
5pF
VDD3
15kΩ
UFILT
0Ω
VSS1 VSS2 VSS3
Example 2: VDD1=VDD2=5.0V
• Activating the reference voltage circuit (selection (1)).
• Isolating VDD3 from VDD1 and VDD2, and connecting capacitor between VDD3 and VSS.
LSI
For backup
Power supply
5V
VDD1
UHD+
33Ω
To USB connector
UHDVDD2
5pF
VDD3
2.2µF
0.1µF
15kΩ
UFILT
0Ω
VSS1 VSS2 VSS3
2.2µF
No.A0496-12/28
LC87F1964A
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
voltage
voltage
VDD1=VDD2=VDD3
PWM0, PWM1
min
typ
max
unit
-0.3
+6.5
-0.3
VDD+0.3
-0.3
VDD+0.3
V
XT2
Peak output
IOPH(1)
Ports 0, 1, 2
current
• When CMOS output
type is selected
-10
• Per 1 applicable pin
IOPH(2)
IOPH(3)
PWM0, PWM1
Per 1 applicable pin
Ports 3
• When CMOS output
P71 to P73
type is selected
-20
-5
High level output current
• Per 1 applicable pin
Average
IOMH(1)
Ports 0, 1, 2
output
type is selected
current
(Note 1-1)
• When CMOS output
-7.5
• Per 1 applicable pin
IOMH(2)
PWM0, PWM1
Per 1 applicable pin
IOMH(3)
Ports 3
• When CMOS output
P71 to P73
type is selected
-15
-3
• Per 1 applicable pin
Total output
ΣIOAH(1)
Ports 0, 2
Total of all applicable pins
current
ΣIOAH(2)
Ports 1
Total of all applicable pins
PWM0, PWM1
ΣIOAH(3)
Ports 0, 1, 2
Total of all applicable pins
PWM0, PWM1
ΣIOAH(4)
Ports 3
Total of all applicable pins
P71 to P73
Peak output
ΣIOAH(5)
UHD+, UHD-
Total of all applicable pins
IOPL(1)
P02 to P07
Per 1 applicable pin
current
-25
-25
-45
-10
mA
-25
Ports 1, 2
20
PWM0, PWM1
IOPL(2)
P00, P01
Per 1 applicable pin
IOPL(3)
Ports 3, 7
Per 1 applicable pin
30
10
Low level output current
XT2
Average
IOML(1)
P02 to P07
output
Ports 1, 2
current
PWM0, PWM1
(Note 1-1)
IOML(2)
IOML(3)
Per 1 applicable pin
15
P00, P01
Per 1 applicable pin
Ports 3, 7
Per 1 applicable pin
20
7.5
XT2
Total output
ΣIOAL(1)
Ports 0, 2
Total of all applicable pins
current
ΣIOAL(2)
Ports 1
Total of all applicable pins
45
45
PWM0, PWM1
ΣIOAL(3)
Ports 0, 1, 2
Total of all applicable pins
80
PWM0, PWM1
ΣIOAL(4)
Ports 3, 7
Total of all applicable pins
15
XT2
Allowable power
ΣIOAL(5)
UHD+, UHD-
Total of all applicable pins
Pd max
QIP48E(14×14)
Ta=-30 to +70°C
Dissipation
Operating ambient
SQFP48(7×7)
Topr
Temperature
Storage ambient
25
400
Tstg
temperature
mW
190
-30
+70
-55
+125
°C
Note 1-1: The mean output current is a mean value measured over 100ms.
.
No.A0496-13/28
LC87F1964A
Allowable Operating Range at Ta = -30°C to +70°C, VSS1 = VSS2 = VSS3 = 0V
Parameter
Symbol
Pin/Remarks
Specification
Conditions
VDD[V]
Operating
VDD(1)
VDD1=VDD2=VDD3
0.245µs ≤tCYC ≤ 200µs
supply voltage
0.490µs ≤ tCYC ≤ 200µs
(Note2-1)
Except for onboard
min
typ
max
unit
3.0
5.5
2.7
5.5
2.0
5.5
programming
Memory
VHD
VDD1=VDD2=VDD3
sustaining
RAM and register contents
sustained in HOLD mode.
supply voltage
High level input
VIH(1)
voltage
Port 0, 1, 2, 3
P71 to P73
P70 port input/
2.7 to 5.5
0.3VDD
+0.7
VDD
2.7 to 5.5
0.9VDD
VDD
2.7 to 5.5
0.75VDD
4.0 to 5.5
VSS
VDD
0.1VDD
2.7 to 4.0
VSS
4.0 to 5.5
VSS
2.7 to 4.0
VSS
2.7 to 5.5
VSS
2.7 to 5.5
VSS
0.25VDD
3.0 to 5.5
0.245
200
2.7 to 5.5
0.490
200
3.0 to 5.5
0.1
12
interrupt side
PWM0, PWM1
VIH(2)
Port 70 watchdog
timer side
Low level input
VIH(3)
XT1, XT2, CF1, RES
VIL(1)
Port 1, 2, 3
voltage
P71 to P73
VIL(2)
P70 port input/
interrupt side
VIL(3)
Port 0
PWM0, PWM1
VIL(4)
VIL(5)
Port 70 watchdog
timer side
VIL(6)
Instruction cycle
XT1, XT2, CF1, RES
tCYC
time
Except for onboard
(Note 2-2)
programming
External system
FEXCF(1)
CF1
clock frequency
V
+0.4
0.2VDD
0.15VDD
+0.4
0.2VDD
0.8VDD
-1.0
µs
• CF2 pin open
• System clock frequency
division ratio=1/1
• External system clock duty=
50±5%
MHz
• CF2 pin open
• System clock frequency
division ratio=1/1
2.7 to 5.5
0.1
6
• External system clock duty=
50±5%
Oscillation
FmCF(1)
CF1, CF2
frequency range
(Note 2-3)
12MHz ceramic oscillation
See Fig. 1.
FmCF(2)
CF1, CF2
6MHz ceramic oscillation
See Fig. 1.
FmRC
FsX’tal
Internal RC oscillation
XT1, XT2
32.768kHz crystal oscillation
See Fig. 2.
3.0 to 5.5
12
2.7 to 5.5
6
2.7 to 5.5
2.7 to 5.5
0.3
1.0
32.768
MHz
2.0
kHz
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.A0496-14/28
LC87F1964A
Electrical Characteristics at Ta = -30°C to +70°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
Port 7
Pull-up resistor off
RES
PWM0, PWM1
VIN=VDD
(Including output Tr's off
UHD+, UHD-
leakage current)
XT1, XT2
For input port specification
IIH(3)
CF1
VIN=VDD
VIN=VDD
IIL(1)
Ports 0, 1, 2, 3
Output disabled
Port 7
Pull-up resistor off
RES
PWM0, PWM1
VIN=VSS
(Including output Tr's off
UHD+, UHD-
leakage current)
current
IIL(2)
XT1, XT2
For input port specification
VIN=VSS
min
typ
1
2.7 to 5.5
1
2.7 to 5.5
15
2.7 to 5.5
-1
2.7 to 5.5
-1
-15
IIL(3)
CF1
VIN=VSS
2.7 to 5.5
VOH(1)
Ports 0, 1, 2, 3
IOH=-1mA
4.5 to 5.5
VDD-1
voltage
VOH(2)
P71 to P73
IOH=-0.4mA
3.0 to 5.5
VDD-0.4
IOH=-0.2mA
2.7 to 5.5
VDD-0.4
VOH(4)
PWM0, PWM1
IOH=-10mA
4.5 to 5.5
VDD-1.5
VOH(5)
P05 (CK0 when
IOH=-1.6mA
3.0 to 5.5
VDD-0.4
2.7 to 5.5
VDD-0.4
VOH(6)
using system
clock output
unit
2.7 to 5.5
High level output
VOH(3)
max
µA
IOH=-1mA
function)
Low level output
VOL(1)
voltage
IOL=30mA
4.5 to 5.5
1.5
VOL(2)
IOL=5mA
3.0 to 5.5
0.4
VOL(3)
IOL=2.5mA
2.7 to 5.5
0.4
IOL=10mA
4.5 to 5.5
1.5
0.4
P00, P01
VOL(4)
Ports 0, 1, 2
VOL(5)
PWM0, PWM1
VOL(6)
VOL(7)
XT2
Ports 3, 7
VOL(8)
Pull-up resistance
Hysteresis
3.0 to 5.5
2.7 to 5.5
0.4
IOL=1.6mA
3.0 to 5.5
0.4
IOL=1mA
2.7 to 5.5
VOH=0.9VDD
4.5 to 5.5
15
35
80
18
50
150
0.4
Rpu(1)
Ports 0, 1, 2, 3
Rpu(2)
Port 7
2.7 to 5.5
VHYS
RES
Port 1, 2, 3, 7
2.7 to 5.5
0.1VDD
V
CP
All pins
2.7 to 5.5
10
pF
voltage
Pin capacitance
IOL=1.6mA
IOL=1mA
V
kΩ
For pins other than that under
test:
VIN=VSS
f=1MHz
Ta=25°C
No.A0496-15/28
LC87F1964A
Serial Input/Output Characteristics at Ta = -30°C to +70°C, VSS1 = VSS2 = VSS3 = 0V
1. SIO0 Serial I/O Characteristics (Note 4-1-1)
Parameter
Symbol
Frequency
tSCK(1)
Low level
tSCKL(1)
Pin/
Remarks
SCK0(P12)
Specification
Conditions
VDD[V]
See Fig. 8.
tSCKH(1)
pulse width
tSCKHA(1a)
typ
max
unit
2
1
pulse width
High level
min
1
• Continuous data
transmission/reception mode
• USB, SIO4 nor SIO9 are
4
not in use simultaneous.
• See Fig. 8.
Input clock
• (Note 4-1-2)
tSCKHA(1b)
• Continuous data
transmission/reception mode
2.7 to 5.5
tCYC
• USB is in use simultaneous.
7
• SIO4 nor SIO9 are not in
use simultaneous.
• See Fig. 8.
• (Note 4-1-2)
tSCKHA(1c)
• Continuous data
transmission/reception mode
• USB, SIO4 and SIO9
9
are in use simultaneous.
Serial clock
• See Fig. 8.
• (Note 4-1-2)
Frequency
tSCK(2)
Low level
tSCKL(2)
SCK0(P12)
• CMOS output selected
4/3
• See Fig. 8.
1/2
pulse width
High level
tSCKH(2)
pulse width
tSCKHA(2a)
• Continuous data
transmission/reception mode
• USB, SIO4 nor SIO9 are
tSCKH(2)
not in use simultaneous.
+2tCYC
• CMOS output selected
Output clock
tSCK
1/2
tSCKH(2)
+(10/3)
tCYC
• See Fig. 8.
tSCKHA(2b)
• Continuous data
transmission/reception mode
• USB is in use simultaneous.
• SIO4 nor SIO9 are not in use
simultaneous.
2.7 to 5.5
tSCKH(2)
+2tCYC
tSCKH(2)
+(19/3)
tCYC
tCYC
• CMOS output selected
• See Fig. 8.
tSCKHA(2c)
• Continuous data
transmission/reception mode
• USB, SIO4 and SIO9
are in use simultaneous.
• CMOS output selected
tSCKH(2)
+2tCYC
tSCKH(2)
+(25/3)
tCYC
• See Fig. 8.
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.
Continued on next page.
No.A0496-16/28
LC87F1964A
Continued from preceding page.
Parameter
Serial input
Data setup time
tsDI(1)
Pin/
SB0(P11),
Specification
Conditions
Remarks
SI0(P11)
VDD[V]
min
typ
max
unit
• Must be specified with
respect to rising edge of
2.7 to 5.5
0.03
2.7 to 5.5
0.03
SIOCLK.
Data hold time
• See Fig. 8.
thDI(1)
tdD0(1)
time
SO0(P10),
SB0(P11)
• Continuous data
transmission/reception mode
(1/3)tCYC
2.7 to 5.5
+0.05
• (Note 4-1-3)
tdD0(2)
• Synchronous 8-bit mode
• (Note 4-1-3)
tdD0(3)
Output clock
Input clock
Output delay
Serial output
Symbol
µs
1tCYC
2.7 to 5.5
+0.05
(Note 4-1-3)
(1/3)tCYC
2.7 to 5.5
+0.05
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. 8.
2. SIO1 Serial I/O Characteristics (Note 4-2-1)
Symbol
Frequency
tSCK(3)
Low level
tSCKL(3)
Pin/
SCK1(P15)
VDD[V]
min
See Fig. 8.
Frequency
SCK1(P15)
• CMOS output selected
1
2
tSCKL(4)
1/2
2.7 to 5.5
pulse width
High level
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.7 to 5.5
0.03
2.7 to 5.5
0.03
SIOCLK.
Data hold time
Output delay time
• See Fig. 8.
thDI(2)
tdD0(4)
SO1(P13),
SB1(P14)
Serial output
unit
1
• See Fig. 8.
Low level
max
tCYC
tSCKH(3)
tSCK(4)
typ
2
2.7 to 5.5
pulse width
High level
Specification
Conditions
Remarks
pulse width
Output clock
Serial clock
Input clock
Parameter
• Must be specified with
µs
respect to falling edge of
SIOCLK.
• Must be specified as the
time to the beginning of
2.7 to 5.5
output
(1/3)tCYC
+0.05
state change in open drain
output mode.
• See Fig. 8.
Note 4-2-1: These specifications are theoretical values. Add margin depending on its use.
No.A0496-17/28
LC87F1964A
3. SIO4 Serial I/O Characteristics (Note 4-3-1)
Parameter
Symbol
Frequency
tSCK(5)
Low level
tSCKL(5)
Pin/
Remarks
SCK4(P24)
Specification
Conditions
VDD[V]
See Fig. 8.
tSCKH(5)
pulse width
tSCKHA(5a)
typ
max
unit
2
1
pulse width
High level
min
1
• USB, SIO9 nor continuous
data transmission/eception
mode of SIO0 are not in
4
use simultaneous.
• See Fig. 8.
Input clock
• (Note 4-3-2)
tSCKHA(5b)
• USB is in use simultaneous.
• SIO9 nor continuous data
2.7 to 5.5
tCYC
transmission/reception mode
7
of SIO0 are not in use
simultaneous.
• See Fig. 8.
• (Note 4-3-2)
tSCKHA(5c)
• USB, SIO9 and continuous
data transmission/eception
mode of SIO0 are in use
12
simultaneous.
Serial clock
• See Fig. 8.
• (Note 4-3-2)
Frequency
tSCK(6)
Low level
tSCKL(6)
SCK4(P24)
• CMOS output selected
4/3
• See Fig. 8.
1/2
pulse width
High level
tSCK
tSCKH(6)
1/2
pulse width
tSCKHA(6a)
• USB, SIO9 nor continuous
data transmission/eception
mode of SIO0 are not in use
simultaneous.
Output clock
• CMOS output selected
tSCKH(6)
tSCKH(6)
+(5/3)
+(10/3)
tCYC
tCYC
• See Fig. 8.
tSCKHA(6b)
• USB is in use simultaneous.
2.7 to 5.5
• SIO9 nor continuous
tSCKH(6)
tSCKH(6)
mode of SIO0 are not in use
+(5/3)
+(19/3)
simultaneous.
tCYC
tCYC
tSCKH(6)
tSCKH(6)
+(5/3)
+(34/3)
tCYC
tCYC
data transmission/eception
tCYC
• CMOS output selected
• See Fig. 8.
tSCKHA(6c)
• USB, SIO9 and continuous
data transmission/eception
mode of SIO0 are in use
simultaneous.
• CMOS output selected
Serial input
• See Fig. 8.
Data setup time
tsDI(3)
SO4(P22),
SI4(P23)
• Must be specified with
respect to rising edge of
2.7 to 5.5
0.03
µs
SIOCLK.
Data hold time
thDI(3)
• See Fig. 8.
2.7 to 5.5
0.03
Note 4-3-1: These specifications are theoretical values. Add margin depending on its use.
Note 4-3-2: To use serial-clock-input in continuous trans/rec mode, a time from SI4RUN being set when serial clock
is "H" to the first negative edge of the serial clock must be longer than tSCKHA.
Continued on next page.
No.A0496-18/28
LC87F1964A
Continued from preceding page.
Parameter
Output delay time
Symbol
tdD0(5)
Pin/
SO4(P22),
Serial output
SI4(P23)
Specification
Conditions
Remarks
VDD[V]
min
typ
max
unit
• Must be specified with
respect to rising edge of
SIOCLK.
• Must be specified as the
time to the beginning of
(1/3)tCYC
2.7 to 5.5
+0.05
µs
output state change in open
drain output mode.
• See Fig. 8.
4. SIO9 Serial I/O Characteristics (Note 4-4-1)
Parameter
Symbol
Frequency
tSCK(7)
Low level
tSCKL(7)
Pin/
Remarks
SCK9(P27)
Specification
Conditions
VDD[V]
See Fig. 8.
tSCKH(7)
pulse width
tSCKHA(7a)
typ
max
unit
2
1
pulse width
High level
min
1
• USB, SIO4 nor continuous
data transmission/reception
mode of SIO0 are not in use
4
simultaneous.
Input clock
Serial clock
• See Fig. 8.
• (Note 4-4-2)
tSCKHA(7b)
• USB is in use simultaneous.
• SIO4 nor continuous data
2.7 to 5.5
tCYC
transmission/reception mode
of SIO0 are not in use
7
simultaneous.
• See Fig. 8.
• (Note 4-4-2)
tSCKHA(7c)
• USB, SIO4 and continuous
data transmission/reception
mode of SIO0 are in use
simultaneous.
13
• See Fig. 8.
• (Note 4-4-2)
Note 4-4-1: These specifications are theoretical values. Add margin depending on its use.
Note 4-4-2: To use serial-clock-input in continuous trans/rec mode, a time from SI9RUN being set when serial clock
is "H" to the first negative edge of the serial clock must be longer than tSCKHA.
Continued on next page.
No.A0496-19/28
LC87F1964A
Continued from preceding page.
Parameter
Symbol
Frequency
tSCK(8)
Low level
tSCKL(8)
Pin/
Remarks
SCK9(P27)
Specification
Conditions
VDD[V]
• CMOS output selected
min
tSCK
tSCKH(8)
1/2
tSCKHA(8a)
• USB, SIO4 nor continuous
data transmission/reception
mode of SIO0 are not in use
simultaneous.
• CMOS output selected
Output clock
unit
tCYC
1/2
pulse width
Serial clock
max
• See Fig. 8.
pulse width
High level
typ
4/3
tSCKH(8)
tSCKH(8)
+(5/3)
+(10/3)
tCYC
tCYC
• See Fig. 8.
tSCKHA(8b)
• USB is in use simultaneous.
2.7 to 5.5
• SIO4 nor continuous data
transmission/reception mode
tSCKH(8)
tSCKH(8)
of SIO0 are not in use
+(5/3)
+(19/3)
simultaneous.
tCYC
tCYC
tSCKH(8)
tSCKH(8)
+(5/3)
+(37/3)
tCYC
tCYC
tCYC
• CMOS output selected
• See Fig. 8.
tSCKHA(8c)
• USB, SIO4 and continuous
data transmission/reception
mode of SIO0 are in use
simultaneous.
• CMOS output selected
Serial input
• See Fig. 8.
Data setup time
tsDI(4)
SO9(P25),
SI9(P26)
respect to rising edge of
2.7 to 5.5
0.03
2.7 to 5.5
0.03
SIOCLK.
Data hold time
thDI(4)
Output delay time
tdD0(6)
• See Fig. 8.
SO9(P25),
SI9(P26)
Serial output
• Must be specified with
• Must be specified with
µs
respect to rising edge of
SIOCLK.
• Must be specified as the time
to the beginning of output
2.7 to 5.5
(1/3)tCYC
+0.05
state change in open drain
output mode.
• See Fig. 8.
No.A0496-20/28
LC87F1964A
Pulse Input Conditions at Ta = -30°C to +70°C, VSS1 = VSS2 = VSS3 = 0V
Parameter
Symbol
Pin/Remarks
Specification
Conditions
VDD[V]
High/low level
tP1H(1)
INT0(P70),
• Interrupt source flag can be set.
pulse width
tP1L(1)
INT1(P71),
• Event inputs for timer 0 or 1 are
INT2(P72),
enabled.
min
typ
2.7 to 5.5
1
2.7 to 5.5
2
2.7 to 5.5
64
2.7 to 5.5
256
2.7 to 5.5
200
max
unit
INT4(P20 to P23),
INT5(P24 to 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
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
tPIL(5)
RES
tCYC
enabled.
enabled.
Resetting is enabled.
µs
AD Converter Characteristics at Ta = -30°C to +70°C, VSS1 = VSS2 = VSS3 = 0V
Parameter
Symbol
Pin/Remarks
Specification
Conditions
VDD[V]
Resolution
N
AN0(P00) to
Absolute
ET
AN7(P07),
(Note 6-1)
accuracy
AN8(P70),
Conversion
AN9(P71),
AD conversion time=32×tCYC
AN10(XT1),
(when ADCR2=0) (Note 6-2)
TCAD
time
typ
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
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
max
unit
8
bit
±1.5
3.0 to 5.5
AN11(XT2)
Analog input
min
3.0 to 5.5
15.68
97.92
(tCYC=
(tCYC=
0.49µs)
3.06µs)
23.52
97.92
(tCYC=
(tCYC=
0.735µs)
3.06µs)
18.82
97.92
(tCYC=
(tCYC=
0. 294µs)
1.53µs)
47.04
97.92
(tCYC=
(tCYC=
0. 735µ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
till the time the complete digital value corresponding to the analog input value is loaded in the required
register.
No.A0496-21/28
LC87F1964A
Consumption Current Characteristics at Ta = -30°C to +70°C, VSS1 = VSS2 = VSS3 = 0V
Parameter
Normal mode
Symbol
IDDOP(1)
Pin/
VDD[V]
• FmCF=12MHz ceramic oscillation mode
consumption
VDD1
=VDD2
current
=VDD3
• System clock set to 12MHzside
(Note 7-1)
IDDOP(2)
Specification
Conditions
Remarks
typ
max
9.3
23
5.3
13
4.5 to 5.5
12
28
3.0 to 3.6
6.4
16
4.5 to 5.5
6.1
15
3.0 to 3.6
3.5
8.2
• 1/2 frequency division ration
2.7 to 3.0
2.9
6.4
• FmCF=0MHz (oscillation stopped)
4.5 to 5.5
0.68
3.3
3.0 to 3.6
0.36
1.6
2.7 to 3.0
0.30
1.2
4.5 to 5.5
40
160
3.0 to 3.6
17
64
2.7 to 3.0
13
46
4.5 to 5.5
4.2
10
3.0 to 3.6
2.3
5.5
4.5 to 5.5
6.1
15
• FsX’tal=32.768kHz crystal oscillation mode
• Internal PLL oscillation stopped
• Internal RC oscillation stopped
4.5 to 5.5
min
3.0 to 3.6
unit
• 1/1 frequency division ration
IDDOP(3)
• FmCF=12MHz ceramic oscillation mode
• FsX’tal=32.768kHz crystal oscillation mode
• System clock set to 12MHz side
IDDOP(4)
• Internal PLL oscillation mode
• Internal RC oscillation stopped
mA
• 1/1 frequency division ration
IDDOP(5)
• FmCF=12MHz ceramic oscillation mode
• FsX’tal=32.768kHz crystal oscillation mode
IDDOP(6)
IDDOP(7)
IDDOP(8)
IDDOP(9)
• System clock set to 6MHz side
• Internal RC oscillation stopped
• FsX’tal=32.768kHz crystal oscillation mode
• System clock set to internal RC oscillation
IDDOP(10)
• 1/2 frequency division ration
IDDOP(11)
• FmCF=0MHz (oscillation stopped)
• FsX’tal=32.768kHz crystal oscillation mode
IDDOP(12)
IDDOP(13)
• System clock set to 32.768kHz side
• 1/2 frequency division ration
HALT mode
IDDHALT(1)
• HALT mode
consumption
• FmCF=12MHz ceramic oscillation mode
current
• FsX’tal=32.768kHz crystal oscillation mode
(Note 7-1)
IDDHALT(2)
µA
• Internal RC oscillation stopped
• System clock set to 12MHz side
• Internal PLL oscillation stopped
• Internal RC oscillation stopped
• 1/1 frequency division ration
IDDHALT(3)
• HALT mode
• FmCF=12MHz ceramic oscillation mode
• FsX’tal=32.768kHz crystal oscillation mode
IDDHALT(4)
mA
• System clock set to 12MHz side
• Internal PLL oscillation mode
• Internal RC oscillation stopped
3.0 to 3.6
3.3
7.9
4.5 to 5.5
2.6
6.4
3.0 to 3.6
1.4
3.3
2.7 to 3.0
1.2
2.6
• 1/1 frequency division ration
IDDHALT(5)
• HALT mode
• FmCF=12MHz ceramic oscillation mode
IDDHALT(6)
• FsX’tal=32.768kHz crystal oscillation mode
• System clock set to 6MHz side
IDDHALT(7)
• Internal RC oscillation stopped
• 1/2 frequency division ration
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.A0496-22/28
LC87F1964A
Continued from preceding page.
Parameter
HALT mode
Symbol
IDDHALT(8)
consumption
current
(Note 7-1)
IDDHALT(9)
Pin/
Specification
Conditions
Remarks
VDD[V]
VDD1
=VDD2
• HALT mode
=VDD3
• FsX'tal=32.768kHz crystal oscillation mode
4.5 to 5.5
0.37
1.8
3.0 to 3.6
0.18
0.84
2.7 to 3.0
0.15
0.63
4.5 to 5.5
25
102
3.0 to 3.6
7.6
32
2.7 to 3.0
5.4
20
HOLD mode
4.5 to 5.5
0.10
24
• CF1=VDD or open
3.0 to 3.6
0.04
15
12
• HALT mode
• FmCF=0MHz (oscillation stopped)
• FsX'tal=32.768kHz crystal oscillation mode
IDDHALT(12)
• System clock set to 32.768kHz side
• 1/2 frequency division ration
IDDHOLD(2)
current
VDD1
(External clock mode)
IDDHOLD(3)
2.7 to 3.0
0.03
Timer HOLD
IDDHOLD(4)
Timer HOLD mode
4.5 to 5.5
21
88
mode
IDDHOLD(5)
• CF1=VDD or open
3.0 to 3.6
5.0
23
2.7 to 3.0
3.2
14
consumption
current
unit
mA
• Internal RC oscillation stopped
IDDHALT(13)
IDDHOLD(1)
max
• FmCF=0MHz (oscillation stopped)
• 1/2 frequency division ration
IDDHALT(11)
consumption
typ
• System clock set to internal RC oscillation
IDDHALT(10)
HOLD mode
min
µA
(External clock mode)
IDDHOLD(6)
• 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.
USB Characteristics and Timing at Ta=0 to +70°C, VSS1=VSS2=VSS3=0V
Parameter
Symbol
Specification
Conditions
min
typ
max
unit
High level output
VOH(USB)
• 15 kΩ±5% to GND
2.8
3.6
V
Low level output
VOL(USB)
• 1.5 kΩ±5% to 3.6 V
0.0
0.3
V
Output signal crossover voltage
VCRS
1.3
2.0
V
Differential input sensitivity
VDI
Differential input common mode range
VCM
0.8
High level input
VIH(USB)
2.0
Low level input
VIL(USB)
0.8
V
USB data rise time
tR
• RS=33Ω,CL=50pF
4
20
ns
USB data fall time
tF
• RS=33Ω,CL=50pF
4
20
ns
• |(UHD+)-(UHD-)|
0.2
V
2.5
V
V
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
3.0 to 5.5
programming
5
10
mA
20
30
ms
40
60
µs
current
Programming
tFW(1)
• Erasing
time
tFW(2)
• Programming
3.0 to 5.5
No.A0496-23/28
LC87F1964A
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
Rd1
Range
[pF]
[pF]
[Ω]
[V]
typ
Remarks
max
[ms]
[ms]
6MHz
MURATA
CSTCR6M00G15***-R0
(39)
(39)
1k
2.7 to 5.5
0.10
0.50
8MHz
MURATA
CSTCE8M00G15***-R0
(33)
(33)
680
3.0 to 5.5
0.10
0.50
10MHz
MURATA
CSTCE10M0G15***-R0
(33)
(33)
470
3.0 to 5.5
0.10
0.50
12MHz
MURATA
CSTCE12M0G15***-R0
(33)
(33)
470
3.0 to 5.5
0.10
0.50
Built in 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
Rf
Rd2
Range
typ
max
[pF]
[pF]
[Ω]
[Ω]
[V]
[s]
[s]
18
18
OPEN
510k
2.7 to 5.5
1.1
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
Rf
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.A0496-24/28
LC87F1964A
VDD
Operating VDD
lower limit
GND
Power supply
Reset time
RES
Internal RC
oscillation
tmsCF
CF oscillation
(XT1, XT2)
tmsX’tal
Crystal
oscillation
(XT1, XT2)
State
Unpredictable
Reset
Instruction execution
Reset Time and Oscillation Stabilization Time
HOLD reset
signal
HOLD reset signal
absen
HOLD reset signal valid
Internal RC
oscillation
tmsCF
CF
oscillation
(XT1, XT2)
tmsX’tal
Crystal
Oscillation
(XT1, XT2)
State
HOLD
HALT
HOLD Reset Signal and Oscillation Stabilization Time
Figure 4 Oscillation Stabilization Times
No.A0496-25/28
LC87F1964A
P34/FILT
Rd
0kΩ
When using the internal PLL circuit to generate the
48MHz clock for USB, it is necessary to connect a
filter circuit such as that shown to the left to the
P34/FILT pin.
+ Cd
- 2.2µF
Figure 5 Filter Circuit for the Internal PLL Circuit
UHD+
33Ω
5pF
15kΩ
Note:
It’s necessary to adjust the Circuit Constant of the
USB Port Peripheral Circuit each mounting board.
UHD33Ω
5pF
15kΩ
Figure 6 USB Port Peripheral Circuit
VDD
RRES
RES
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.
CRES
Figure 7 Reset Circuit
No.A0496-26/28
LC87F1964A
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, 4, 9 only)
tSCK
tSCKH
tSCKL
SIOCLK:
tsDI
thDI
DATAIN:
tdDO
DATAOUT:
Data RAM
transfer period
(SIO0, 4, 9 only)
tSCKL
tSCKHA
SIOCLK:
tsDI
thDI
DATAIN:
tdDO
DATAOUT:
Figure 8 Serial I/O Output Waveforms
tPIL
tPIH
Figure 9 Pulse Input Timing Signal Waveform
Voh
tr
D+
tr
90%
90%
Vcrs
10%
Vol
10%
D-
Figure 10 USB Data Signal Timing and Voltage Level
No.A0496-27/28
LC87F1964A
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
intellctual property rights which has resulted from the use of the technical information and products mentioned
above.
This catalog provides information as of November, 2006. Specifications and information herein are subject
to change without notice.
PS No.A0496-28/28