SANYO LC877816A

Ordering number : ENA0635
LC877816A
CMOS IC
16KB-byte and 512-byte RAM
8-bit 1-chip Microcontroller
Overview
The LC877816A is an 8-bit single chip microcontroller with the following on-chip functional blocks:
• CPU: operable at a minimum bus cycle time of 250ns
• ROM: 16 Kbytes
• RAM: 512 × 9 bits
• LCD controller/driver
• 16bit timer × 2ch + 8bit timer × 1ch or more
• Synchronous serial I/O port (with automatic block transmit/receive function)
• Asynchronous/synchronous serial I/O port
• System clock divider
• 8-bit AD converter × 9-channel
• 17-source 10-vectored interrupt system
• Power save mode
All of the above functions are fabricated on a single chip.
Features
„ROM
• 16384 × 8 bits
„RAM
• 512 × 9 bits
„Minimum Bus Cycle Time
• 250ns (4MHz)
Note: The bus cycle time indicates ROM read time.
„Minimum Instruction Cycle Time (tCYC)
• 750ns (4MHz)
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.00
51607HKIM 20061017-S00010 No.A0635-1/21
LC877816A
„Power Save Mode
• Power save mode is available, when system clock is RC oscillation or crystal oscillation.
„Ports
• Input/output ports
Data direction programmable for each bit individually:
12 (P1n, P70 to P73)
Data direction programmable in nibble units:
8 (P0n)
(When N-channel open drain output is selected, data can be input in bit units.)
• LCD ports
Segment output:
24 (S00 to S23)
Common output:
4 (COM0 to COM3)
Bias terminals for LCD driver
5 (V1 to V3, CUP1, CUP2)
Other functions
Input/output ports:
8(PCn)
• Oscillator pins:
4 (CF1, CF2, XT2, XT1)
• Reset pin:
1 (RES)
• Power supply:
4 (VSS1 to 2, VDD1 to 2)
1 (VDC)
„LCD Controller
• Seven display modes are available.
• Segment output (S16 to S23) can be switched to general purpose input/output ports.
• Duty: 1/3duty, 1/4duty
• Bias: 1/2bias, 1/3bias
• LCD power
1) 1/3bias V1: 1.2V to 1.8V
V2: 2.4V to 3.6V
V3: 3.6V to 5.4V
2) 1/2bias V1: 1.2V to 1.8V
V2: 2.4V to 3.6V
V3: 2.4V to 3.6V
(connect V2 and V3)
„Timers
• Timer 0: 16 bit timer/counter with capture register
Mode 0: 2 channel 8-bit timer with programmable 8 bit prescaler and 8 bit capture register
Mode 1: 8 bit timer with 8 bit programmable prescaler and 8 bit capture register
+ 8 bit counter with 8-bit capture register
Mode 2: 16 bit timer with 8 bit programmable prescaler and 16 bit capture register
Mode 3: 16 bit counter with 16 bit capture register
• Timer 1: PWM/16 bit timer/counter with toggle output function
Mode 0: 2 channel 8 bit timer/counter (with toggle output)
Mode 1: 2 channel 8 bit PWM
Mode 2: 16 bit timer/counter (with toggle output) Toggle output from lower 8 bits is also possible.
Mode 3: 16 bit timer (with toggle output) Lower order 8 bits can be used as PWM.
• Timer 4: 8-bit timer with 6-bit prescaler
• Timer 5: 8-bit timer with 6-bit prescaler
• Timer 6: 8-bit timer with 6-bit prescaler (with toggle output)
• Timer 7: 8-bit timer with 6-bit prescaler (with toggle output)
• Base Timer
1) The clock signal can be selected from any of the following :
Sub-clock (32.768kHz crystal oscillator), system clock, and prescaler output from timer 0
2) Interrupts of five different time intervals are possible.
No.A0635-2/21
LC877816A
„SIO
• SIO0: 8 bit synchronous serial interface
1) LSB first/MSB first is selectable
2) Internal 8 bit baud-rate generator (fastest clock period 4/3 tCYC)
3) Consecutive automatic data communication (1 to 256 bits)
• SIO1: 8 bit asynchronous/synchronous serial interface
Mode 0: Synchronous 8 bit serial I/O (2-wire or 3-wire, transmit clock 2 to 512 tCYC)
Mode 1: Asynchronous serial I/O (half duplex, 8 data bits, 1 stop bit, baud rate 8 to 2048 tCYC)
Mode 2: Bus mode 1 (start bit, 8 data bits, transmit clock 2 to 512 tCYC)
Mode 3: Bus mode 2 (start detection, 8 data bits, stop detection)
„AD Converter:
• 8 bits × 9 Channels
„Remote Control Receiver Circuit (connected to P73/INT3/T0IN terminal)
• Noise rejection function (noise rejection filter’s time constant can be selected from 1/32/128 tCYC)
„Watchdog Timer
• Watchdog timer can produce interrupt or system reset.
• Watchdog timer has two types.
1) Use an external RC circuit
2) Use the microcontroller’s base timer
„Interrupts
• 17 sources, 10 vectors
1) Three priority (low, high and highest) multiple interrupts are supported. During interrupt handling, an equal or
lower priority interrupt request is postponed.
2) If interrupt requests to two or more vector addresses occur at once, the higher priority interrupt takes precedence.
In the case of equal priority levels, the vector with the lowest 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
4
0001BH
H or L
INT3/Base timer
5
00023H
H or L
T0H
6
0002BH
H or L
T1L/T1H
7
00033H
H or L
SIO0
8
0003BH
H or L
SIO1
9
00043H
H or L
ADC/T6/T7
10
0004BH
H or L
Port 0/T4/T5
• Priority levels X > H > L
• For equal priority levels, vector with lowest address takes precedence.
„Subroutine Stack Levels
• 256 levels maximum (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
• On-chip RC oscillation
for system clock use.
• CF oscillation (4MHz)
for system clock use. (Rf built in)
• Crystal oscillation (32.768kHz) low speed system clock use. (Rf built in)
No.A0635-3/21
LC877816A
„System Clock Divider Function
• Low power consumption operation is available
• Minimum instruction cycle time (0.75µs, 1.5µs, 3µs, 6µs, 12µs, 24µs, 48µs, 96µs, 192µs can be switched by
program (when using 4MHz main clock)
„Standby Function
• HALT mode: HALT mode is used to reduce power consumption. During the HALT mode, program execution is
stopped but peripheral circuits keep operating (some parts of serial transfer operation stop.)
1) Oscillation circuits are not stopped automatically.
2) Released by the system reset or interrupts.
• HOLD mode: HOLD mode is used to reduce power consumption. Program execution and peripheral circuits are
stopped.
1) CF, RC and crystal oscillation circuits stop automatically.
2) Released by any of the following conditions.
(1) Low level input to the reset pin
(2) Specified level input to one of INT0, INT1, INT2
(3) Port 0 interrupt
• X'tal HOLD mode: X’tal HOLD mode is used to reduce power consumption. Program execution is stopped.
All peripheral circuits except the base timer are stopped.
1) CF and RC oscillation circuits stop automatically.
2) Crystal oscillator operation is kept in its state at HOLD mode inception.
3) Released by any of the following conditions
(1) Low level input to the reset pin
(2) Specified level input to one of INT0, INT1, INT2
(3) Port 0 interrupt
(4) Base-timer interrupt
„Debugger
• On chip debugger (LC87F7032A)
LC87F7032A and LC877816A differ in following points.
When LC87F7032A is power save mode, Current consumption doesn’t decrease.
When LC87F7032A is power save mode, X’tal voltage level doesn’t change.
LC87F7032A has P2 registers (P2, P2DDR). But, LC877816A doesn’t have them.
„Package Form
• ΤQFP64J(7×7): Lead-free type
• QIP64E(14×14): Lead-free type
No.A0635-4/21
LC877816A
Package Dimensions
unit : mm (typ)
3289
9.0
33
32
64
17
7.0
49
1
9.0
48
0.5
7.0
16
0.4
0.125
0.16
0.1
1.2max
(1.0)
(0.5)
SANYO : TQFP64J(7X7)
Package
unit : mm (typ)
3159A
33
32
64
17
14.0
49
1
17.2
48
0.8
17.2
14.0
16
0.8
0.35
0.15
0.1
3.0max
(2.7)
(1.0)
SANYO : QIP64E(14X14)
No.A0635-5/21
LC877816A
S08
S09
S10
S11
S12
S13
S14
S15
S16/PC0
S17/PC1
S18/PC2
S19/PC3
S20/PC4
S21/PC5
S22/PC6
S23/PC7
Pin Assignment
48 47 46 45 44 43 42 41 40 39 38 37 36 35 34 33
RES
49
32
S07
XT1
50
31
S06
XT2
51
30
S05
VSS1
52
29
S04
CF1
53
28
S03
CF2
54
27
S02
VDD1
55
26
S01
P00/AN0
56
25
S00
P01/AN1
57
24
COM3
P02/AN2
58
23
COM2
P03/AN3
59
22
COM1
P04/AN4
60
21
COM0
P05/CKO/DBGP0
61
20
V3
P06/T6O/DBGP1
62
19
V2
P07/T7O/DBGP2
63
18
V1
NC
64
17
VDC
VSS2
CUP2
VDD2
10 11 12 13 14 15 16
CUP1
P73/INT3/T0IN/AN8
9
P17/T1PWMH
P72/INT2/T0IN/AN7
8
P15/SCK1
P71/INT1/T0HCP/AN6
7
P16/T1PWML
6
P14/SI1/SB1
5
P13/SO1
4
P12/SCK0
3
P10/SO0
2
P11/SI0/SB0
1
P70/INT0/T0LCP/AN5
LC877816A
Top view
SANYO: TQFP64J(7×7)
SANYO: QIP64E(14×14)
“Lead-free Type”
“Lead-free Type”
No.A0635-6/21
LC877816A
System Block Diagram
Interrupt control
IR
PLA
CF
RC
X’tal
Clock generator
Standby control
ROM
PC
SIO0
Bus interface
SIO1
Port 0
ACC
Timer 0
Port 1
B Register
Timer 1
Port 7
C Register
Timer 4
ADC
ALU
Timer 5
Timer 6
Timer 7
PSW
INT0 to 3
Noise rejection filter
RAR
Base timer
RAM
LCD controller
Stack pointer
Watchdog timer
No.A0635-7/21
LC877816A
Pin Description
Pin name
I/O
Function
Option
VSS1, VSS2
-
- Power supply
VDD1, VDD2
-
+ Power supply
No
VDC
-
+ Power supply
No
CUP1, CUP2
PORT0
I/O
P00 to P07
No
• Capacitor connecting terminals for step-up/step-down
No
• 8bit input/output port
Yes
• Data direction programmable in nibble units
• Use of pull-up resistor can be specified in nibble units
• Input for HOLD release
• Input for port 0 interrupt
• Other pin functions
Input for ADC channel (AN0 to AN4)
P05: Clock output (system clock/subclock)
When it’s LC87F7032A, P05 uses as DBGP0.
P06: Timer 6 toggle output
When it’s LC87F7032A, P06 uses as DBGP1.
P07: Timer 7 toggle output
When it’s LC87F7032A, P07 uses as DBGP2.
PORT1
I/O
P10 to P17
Yes
• 8bit input/output port
• Data direction programmable for each bit
• Use of pull-up resistor can be specified for each bit individually
• Other pin functions
P10: SIO0 data output
P11: SIO0 data input or bus input/output
P12: SIO0 clock input/output
P13: IO1 data output
P14: SIO1 data input or bus input/output
P15: SIO1 clock input/output
P16: Timer 1 PWML output
P17: Timer 1 PWMH output/Buzzer output
PORT7
I/O
P70 to P73
• 4bit Input/output port
No
• Data direction can be specified for each bit
• Use of pull-up resistor can be specified for each bit individually
• Other functions
P70: INT0 input/HOLD release input/Timer0L capture input/output for watchdog timer/AN5
P71: INT1 input/HOLD release input/Timer0H capture input/AN6
P72: INT2 input/HOLD release input/timer 0 event input/Timer0L capture input/AN7
P73: INT3 input (noise rejection filter attached)/timer 0 event input/Timer0H capture input/AN8
Input for ADC channel (AN5 to AN8)
• Interrupt acknowledge type
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
S0 to S15
O
• Segment output for LCD
No
S16/PC0 to
I/O
• Segment output for LCD
No
COM0 to COM3
O
• Common output for LCD
No
V1 to V3
I/O
• LCD output bias power supply
No
S23/PC7
• Can be used as general purpose input/output port (PC)
• Capacitor connecting terminals for step-up/step-down
RES
I
• Reset terminal
No
XT1
I
• Input for 32.768kHz crystal oscillation
No
XT2
I/O
• When not in use, connect to VDD2
• Output for 32.768kHz crystal oscillation
No
• When not in use, set to oscillation mode and leave open
CF1
I
• Input terminal for ceramic oscillator
No
• When not in use, connect to VDD2
CF2
O
• Output terminal for ceramic oscillator
No
• When not in use, leave open
No.A0635-8/21
LC877816A
Port Output Types
Port form and pull-up resistor options are shown in the following table.
Port status can be read even when port is set to output mode.
Port Name
Option selected in
units of
Option type
P00 to P07
1 bit
1
P10 to P17
1 bit
2
Output type
Pull-up resistor
CMOS
Programmable(Note 1)
2
Nch-open drain
No
1
CMOS
Programmable
Nch-open drain
Programmable
Programmable
P70
-
No
Nch-open drain
P71 to P73
-
No
CMOS
Programmable
S16(PC0) to
-
1
CMOS,
No
2
Pch-Open Drain
3
Nch-Open Drain
S23(PC7)
Note 1: Attachment of Port0 programmable pull-up resistors is controllable in nibble units (P00 to 03, P04 to 07).
*1: Connect as follows to reduce noise on VDD.
VSS1 and VSS2 must be connected together and grounded.
LSI
VDD1
Power
supply
VDD2
V1
V2
Back up capacitors *2
V3
CUP1
VDC
CUP2
VSS1 VSS2
*2: The power supply for the internal memory is VDC. VDD1 and VDD2 are used as the power supply for ports.
When VDD1 and VDD2 are not backed up, the port level does not become “H” even if the port latch is in the “H”
level. Therefore, when VDD1 and VDD2 are not backed up and the port latch is “H” level, the port level is unstable
in the HOLD mode, and the back up time becomes shorter because the through current runs from VDD to GND in
the input buffer. If VDD1 and VDD2 are not backed up, output “L” by the program or pull the port to “L” by the
external circuit in the HOLD mode so that the port level becomes “L” level and unnecessary current consumption is
prevented.
No.A0635-9/21
LC877816A
Absolute Maximum Ratings at Ta = 25°C, VSS1 = VSS2 = 0V
Parameter
Symbol
Pins/Remarks
Specification
Conditions
VDD[V]
Supply voltage
VDD max
VDD1, VDD2, V2
Supply voltage
VLCD
For LCD
VDD1=VDD2=V2
-0.3
1/2 VDD
V2
-0.3
VDD
V3
-0.3
3/2 VDD
-0.3
VDD+0.3
-0.3
VDD+0.3
Input/Output voltage
VIO(1)
• Port0, 1, 7
• PortC
High level output current
Low level output current
Ports 0, 1, 7, C
-4
Total output
ΣIOAH(1)
Port 7
Total of all pins
-10
current
ΣIOAH(2)
Port 0
Total of all pins
-25
ΣIOAH(3)
Port 1
Total of all pins
-25
ΣIOAH(4)
Port C
Total of all pins
-15
IOPL(1)
Ports 02 to 07
Current at each pin
mA
6
Port 1, 7, C
IOPL(2)
Port 00, 01
Current at each pin
15
Total output
ΣIOAL(1)
Port 7
Total of all pins
10
current
ΣIOAL(2)
Port 0
Total of all pins
35
ΣIOAL(3)
Port 1
Total of all pins
25
ΣIOAL(4)
Port C
Total of all pins
15
Pd max
TQFP64J(7×7)
Ta=-30 to+70°C
200
Allowable power
dissipation
Operating ambient
QIP64E(14×14)
Topr
temperature
Storage ambient
temperature
Tstg
V
• CMOS output selected
• Current at each pin
current
current
unit
V1,
XT1, CF1, RES
Peak output
max
+4.3
VI
IOPH(1)
typ
-0.3
Input voltage
Peak output
min
mW
420
-30
+70
-55
+125
°C
No.A0635-10/21
LC877816A
Allowable Operating Conditions at Ta = -30°C to +70°C, VSS1 = VSS2 = 0V
Parameter
Symbol
Pins/Remarks
Specification
Conditions
VDD
Operating
VDD(1)
supply voltage
VDD(2)
range
VDD(3)
VDD(4)
Supply
VHD
VDD1=VDD2=V2
Normal mode
min
typ
max
unit
0.37µs≤tCYC≤200µs
3.0
3.6
0.75µs≤tCYC≤200µs
2.4
3.6
VDD1=VDD2=V2
Power save mode
2.25µs≤tCYC≤200µs
3.0
3.6
4.28µs≤tCYC≤200µs
2.4
3.6
VDD1=VDD2=V2
Keep RAM and register data in
2.2
3.6
HOLD mode.
voltage range
in Hold mode
Input high
VIH(1)
voltage
• Ports 1, 71 to 73
Output disable
2.4 to 3.6
• Port 70
input/interrupt
VIH(2)
VIH(3)
• Ports 0, C
Port 70
Output disable
Output disable
Watchdog timer
Input low
VIH(4)
XT1, CF1, RES
VIL(1)
• Ports 1, 71 to 73
Voltage
2.4 to 3.6
0.3VDD
VDD
+0.7
0.3VDD
+0.7
VDD
2.4 to 3.6
0.9VDD
VDD
2.4 to 3.6
0.75VDD
VDD
2.4 to 3.6
VSS
0.2VDD
2.4 to 3.6
VSS
2.4 to 3.6
VSS
0.2VDD
0.8VDD
2.4 to 3.6
VSS
V
Output disable
• Port 70
input/interrupt
VIL(2)
• Ports 0, C
Output disable
VIL(3)
Port 70
Output disable
Watchdog timer
VIL(4)
Operation
XT1, CF1, RES
tCYC
2.4 to 3.6
cycle time
External
FEXCF(1)
CF1
system clock
Oscillation
200
200
2.4 to 3.6
0.1
4
µs
MHz
• external clock DUTY=50 ± 5%
FmCF
CF1, CF2
4MHz ceramic resonator
frequency
oscillation
range
See fig. 1
(Note 2-1)
2.25
4.28
• CF2 open
• system clock divider:1/1
frequency
-1.0
0.25VDD
FmRC
RC oscillation
VDD=3.0V, Ta=25°C
FsX’tal
XT1, XT2
2.4 to 3.6
2.4 to 3.6
4
300
500
MHz
700
kHz
32.768kHz crystal resonator
oscillation
2.4 to 3.6
32.768
kHz
See fig. 2
Note 2-1: The parts value of oscillation circuit is shown in table 1 and table 2.
No.A0635-11/21
LC877816A
Electrical Characteristics at Ta = -30°C to +70°C, VSS1 = VSS2 = 0V
Parameter
Symbol
Pins/Remarks
Specification
Conditions
VDD[V]
High level
IIH(1)
input current
• Ports 0, 1, 7
• Output disabled
• Port C
• RES
• Pull-up resister OFF.
• VIN=VDD
min
typ
max
unit
2.4 to 3.6
1
2.4 to 3.6
1
2.4 to 3.6
8
(including OFF state leak current of
the output Tr.)
IIH(2)
XT1, XT2
When configured as an input port
VIN=VDD
Low level
IIH(3)
CF1
VIN=VDD
IIL(1)
• Ports 0, 1, 7
• Output disabled
• Port C
• RES
• Pull-up resister OFF.
input current
• VIN=VSS
2.4 to 3.6
-1
2.4 to 3.6
-1
µA
(including OFF state leak current of
the output Tr.)
IIL(2)
XT1, XT2
When configured as an input port
IIL(3)
CF1
VIN=VSS
VIN=VSS
2.4 to 3.6
-8
VOH(1)
Ports 0, 1, 7
IOH=-0.4mA
3.0 to 3.6
VDD-0.4
output
CMOS
IOH=-0.2mA
voltage
output option
2.4 to 3.6
VDD-0.4
VDD-0.4
High level
Low level
VOH(2)
Port C
IOH=-0.1mA
2.4 to 3.6
VOL(1)
Ports 0, 1, 7
IOL=1.6mA
3.0 to 3.6
0.4
IOL=0.8mA
2.4 to 3.6
0.4
IOL=5.0mA
3.0 to 3.6
0.4
IOL=2.5mA
2.4 to 3.6
0.4
0.4
output
voltage
VOL(2)
P00, P01
VOL(3)
Port C
IOL=0.1mA
2.4 to 3.6
VODLS
S0 to S23
voltage
IO=0mA
V1, V2, V3
2.4 to 3.6
0
±0.2
regulation
LCD level output
2.4 to 3.6
0
±0.2
2.4 to 3.6
25
LCD output
VODLC
COM0 to COM3
V
IO=0mA
V1, V2, V3
LCD level output
Resistance
Rpu
• Ports 0, 1, 7
VOH=0.9VDD
of pull-up
50
200
kΩ
MOS Tr.
Hysterisis
VHYS(1)
Pin
capacitance
• Ports 1, 7
2.4 to 3.6
• RES
voltage
CP
All pins
0.1
×VDD
V
• All Other Terminals Connected To
VSS.
• F=4MHz
2.4 to 3.6
10
pF
• Ta=25°C
No.A0635-12/21
LC877816A
Serial I/O Characteristics at Ta = -30°C to +70°C, VSS1 = VSS2 = 0V
1. SIO0 Serial I/O Characteristics (Note 4-1-1)
Parameter
Symbol
Pin/Remarks
Specification
Conditions
Input clock
VDD
Frequency
tSCK(1)
Low level
tSCKL(1)
SCK0(P12)
See Fig. 6.
tSCKH(1)
2.4 to 3.6
pulse width
tSCKHA(1)
tCYC
4
• (Note 4-1-2)
Frequency
tSCK(2)
SCK0(P12)
• CMOS output selected
4/3
• See Fig. 6.
Output clock
Low level
tSCKL(2)
1/2
pulse width
High level
tSCK
tSCKH(2)
2.4 to 3.6
pulse width
tSCKHA(2)
1/2
• Continuous data
transmission/reception mode
tSCKH(2)
• CMOS output selected
+2tCYC
• See Fig. 6.
Data setup time
Serial input
unit
1
• Continuous data
transmission/reception mode
tsDI(1)
SB0(P11),
SI0(P11)
tSCKH(2)
+(10/3)
tCYC
tCYC
• Must be specified with
respect to rising edge of
2.4 to 3.6
0.03
2.4 to 3.6
0.03
SIOCLK.
Data hold time
Output clock
Input clock
Output delay
Serial output
max
1
• See Fig. 6.
Serial clock
typ
2
pulse width
High level
min
• See Fig. 6.
thDI(1)
tdD0(1)
time
SO0(P10),
SB0(P11)
• Continuous data
transmission/reception mode
2.4 to 3.6
• (Note 4-1-3)
tdD0(2)
• Synchronous 8-bit mode
• (Note 4-1-3)
tdD0(3)
2.4 to 3.6
(1/3)tCYC
+0.05
µs
1tCYC
+0.05
• (Note 4-1-3)
2.4 to 3.6
(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.A0635-13/21
LC877816A
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.
tCYC
SCK1(P15)
• CMOS output selected
2
• See Fig. 6.
tSCKL(4)
2.4 to 3.6
pulse width
High level
1/2
tSCK
tSCKH(4)
1/2
pulse width
Serial input
Data setup time
unit
1
tSCK(4)
Low level
max
1
tSCKH(3)
Frequency
typ
2
2.4 to 3.6
pulse width
High level
min
pulse width
Output clock
Serial clock
VDD
SB1(P14),
tsDI(2)
SI1(P14)
• Must be specified with
respect to rising edge of
2.4 to 3.6
0.03
2.4 to 3.6
0.03
SIOCLK.
Data hold time
• See Fig. 6.
thDI(2)
Output delay time
tdD0(4)
SO1(P13),
Serial output
SB1(P14)
• Must be specified with
µs
respect to falling edge of
SIOCLK.
• Must be specified as the
time to the beginning of
(1/3)tCYC
2.4 to 3.6
+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.
Pulse Input Conditions at Ta = -30°C to +70°C, VSS1 = VSS2 = 0V
Parameter
Symbol
Pins
Specification
Conditions
VDD[V]
High/low
tPIH(1)
INT0(P70),
• Condition that interrupt is accepted
level pulse
tPIL(1)
INT1(P71),
• Condition that event input to timer
width
INT2(P72)
INT3(P73)
• Condition that interrupt is accepted
tPIL(2)
(Noise rejection
• Condition that event input to timer
INT3(P73)
• Condition that interrupt is accepted
tPIL(3)
(Noise rejection
• Condition that event input to timer
INT3(P73)
• Condition that interrupt is accepted
tPIL(4)
(Noise rejection
• Condition that event input to timer
tPIL(6)
RES
1
2.4 to 3.6
2
max
unit
tCYC
2.4 to 3.6
64
2.4 to 3.6
256
2.4 to 3.6
200
0 is accepted
tPIH(4)
ratio is 1/128.)
2.4 to 3.6
0 is accepted
tPIH(3)
ratio is 1/32.)
typ
0 is accepted
tPIH(2)
ratio is 1/1.)
min
0 is accepted
• Condition that reset is accepted
µs
No.A0635-14/21
LC877816A
AD Converter Characteristics at Ta = -30°C to +70°C, VSS1 = VSS2 = 0V
Parameter
Symbol
Pin/Remarks
Specification
Conditions
VDD[V]
Resolution
N
AN0(P00) to
Absolute
ET
AN4(P04),
accuracy
AN5(P70) to
Conversion
AN8(P73)
tCAD
time
typ
max
unit
8
(Note 6-1)
AD conversion time=32×tCYC
(ADCR2=0) (Note 6-2)
3.0 to 3.6
2.4 to 3.6
AD conversion time=32×tCYC
(ADCR2=0) (Note6-2)
2.4 to 3.6
Power save mode
AD conversion time=64×tCYC
(When ADCR2=1) (Note 6-2)
3.0 to 3.6
Normal mode
2.4 to 3.6
AD conversion time=32×tCYC
(ADCR2=0) (Note6-2)
Power save mode
VAIN
voltage range
Analog port
IAINH
VAIN=VDD
input current
IAINL
VAIN=VSS
bit
±1.5
Normal mode
Analog input
min
2.4 to 3.6
22.4
640
(tCYC=
(tCYC=
0.70µs)
20µs)
128
640
(tCYC=
(tCYC=
4.00µs)
20µs)
128
640
(tCYC=
(tCYC=
4.00µs)
20µs)
44.8
1280
(tCYC=
(tCYC=
0.70µs)
20µs)
256
1280
(tCYC=
(tCYC=
4.00µs)
20µs)
256
1280
(tCYC=
(tCYC=
4.00µs)
20µs)
VSS
VDD
1
-1
LSB
µ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.A0635-15/21
LC877816A
Consumption Current Characteristics at Ta = -30°C to +70°C, VSS1 = VSS2 = 0V
Parameter
Current
Symbol
IDDOP(1)
Pins/
Specification
Conditions
Remarks
VDD[V]
• FmCF=4MHz Ceramic resonator oscillation
consumption
VDD1=
VDD2=
during normal
V2
• System clock: CF 4MHz oscillation
min
typ
max
unit
• FsX’tal=32.768kHz crystal oscillation
operation
• Internal RC oscillation stopped.
(Note 7-1)
• Divider: 1/1
2.4 to 3.6
1100
3200
2.4 to 3.6
150
600
2.4 to 3.6
50
225
2.4 to 3.6
40
180
2.4 to 3.6
15
60
2.4 to 3.6
2.5
17
2.4 to 3.6
1.5
15
2.4 to 3.6
460
1600
2.4 to 3.6
50
300
2.4 to 3.6
35
150
• Normal mode
IDDOP(2)
• FmCF=0Hz (No oscillation)
• FsX’tal=32.768kHz crystal oscillation
• System clock: RC oscillation
• Divider: 1/1
• Normal mode
IDDOP(3)
• FmCF=0Hz (No oscillation)
• FsX’tal=32.768kHz crystal oscillation
• System clock: RC oscillation
• Divider: 1/1
• Power save mode
IDDOP(4)
• FmCF=0Hz (No oscillation)
• FsX’tal=32.768kHz crystal oscillation
• System clock: RC oscillation
• Divider: 1/2
• Power save mode
IDDOP(5)
• FmCF=0Hz (No oscillation)
• FsX’tal=32.768kHz crystal oscillation
• System clock: 32.768kHz
• Internal RC oscillation stopped.
• Divider: 1/1
• Normal mode
IDDOP(6)
• FmCF=0Hz (No oscillation)
• FsX’tal=32.768kHz crystal oscillation
• System clock: 32.768kHz
• Internal RC oscillation stopped.
µA
• Divider: 1/1
• Power save mode
IDDOP(7)
• FmCF=0Hz (No oscillation)
• FsX’tal=32.768kHz crystal oscillation
• System clock: 32.768kHz
• Internal RC oscillation stopped.
• Divider: 1/2
• Power save mode
Current
IDDHALT(1)
HALT mode
consumption
• FmCF=4MHz Ceramic resonator oscillation
during HALT
• FsX’tal=32.768kHz crystal oscillation
mode
• System clock: CF 4MHz oscillation
(Note 7-1)
• Internal RC oscillation stopped.
• Divider: 1/1
• Normal mode
IDDHALT(2)
HALT mode
• FmCF=0H (Oscillation stop)
• FsX’tal=32.768kHz crystal oscillation
• System clock: RC oscillation
• Divider: 1/1
• Normal mode
IDDHALT(3)
HALT mode
• FmCF=0H (Oscillation stop)
• FsX’tal=32.768kHz crystal oscillation
• System clock: RC oscillation
• Divider: 1/1
• Power save mode
Note 7-1: The currents through the output transistors and the pull-up MOS transistors are ignored.
Continued on next page.
No.A0635-16/21
LC877816A
Continued from preceding page.
Parameter
Current
Symbol
IDDHALT(4)
Pins/
Specification
Conditions
Remarks
VDD[V]
min
typ
max
unit
HALT mode
consumption
VDD1=
VDD2=
• FmCF=0H (Oscillation stop)
during HALT
V2
• FsX’tal=32.768kHz crystal oscillation
mode
• System clock: RC oscillation
(Note 7-1)
• Divider: 1/2
2.4 to 3.6
30
135
2.4 to 3.6
7.0
60
2.4 to 3.6
1.0
15
2.4 to 3.6
0.8
14
2.4 to 3.6
0.03
30
2.4 to 3.6
5.0
45
2.4 to 3.6
0.5
15
• Power save mode
IDDHALT(5)
HALT mode
• FmCF=0Hz (Oscillation stop)
• FsX’tal=32.768kHz crystal oscillation
• System clock: 32.768kHz
• Internal RC oscillation stopped.
• Divider: 1/1
• Normal mode
IDDHALT(6)
HALT mode
• FmCF=0Hz (Oscillation stop)
• FsX’tal=32.768kHz crystal oscillation
• System clock: 32.768kHz
• Internal RC oscillation stopped.
• Divider: 1/1
• Power save mode
IDDHALT(7)
HALT mode
• FmCF=0Hz (Oscillation stop)
• FsX’tal=32.768kHz crystal oscillation
• System clock: 32.768kHz
µA
• Internal RC oscillation stopped.
• Divider: 1/2
• Power save mode
Current
IDDHOLD(1)
HOLD mode
• CF1=VDD or open
consumption
(when using external clock)
during HOLD
mode
Current
IDDHOLD(2)
Date/time clock
consumption
HOLD mode
during
• CF1=VDD or open
Date/time
(when using external clock)
X’tal HOLD
• FmX’tal=32.768kHz crystal oscillation
mode
• Internal RC oscillation stopped.
• Divider: 1/1
• Normal mode
IDDHOLD(3)
Date/time clock
HOLD mode
• CF1=VDD or open
(when using external clock)
• FmX’tal=32.768kHz crystal oscillation
• Internal RC oscillation stopped.
• Divider: 1/1
• Power save mode
Note 7-1: The currents through the output transistors and the pull-up MOS transistors are ignored.
No.A0635-17/21
LC877816A
Main System Clock Oscillation Circuit Characteristics
The characteristics in the table bellow is based on the following conditions:
Use the standard evaluation board SANYO has provided.
Use the peripheral parts with indicated value externally.
The peripheral parts value is a recommended value of oscillator manufacturer
Table 1. Main system clock oscillation circuit characteristics using ceramic resonator
Circuit parameters
Frequency
4.00MHz
Manufacturer
Murata
Type
Oscillator
C1
C2
Rd
Operating
supply voltage
range[V]
Oscillation
stabilizing time
typ
max
[ms]
[ms]
[pF]
[pF]
[Ω]
SMD
CSTCR4M00G53-R0
(15)
(15)
1k
2.4 to 3.6
0.2
0.6
Lead
CSTLS4M00G53-B0
(15)
(15)
2.2k
2.4 to 3.6
0.2
0.6
Notes
The oscillation stabilizing time is a period until the oscillation becomes stable after VDD becomes higher than
minimum operating voltage. (See Fig. 4)
Subsystem Clock Oscillation Circuit Characteristics
The characteristics in the table bellow is based on the following conditions:
Use the standard evaluation board SANYO has provided.
Use the peripheral parts with indicated value externally.
The peripheral parts value is a recommended value of oscillator manufacturer
Table 2. Subsystem clock oscillation circuit characteristics using crystal oscillator
Circuit parameters
Frequency
Manufacturer
Oscillator
32.768kHz
Epson Toyocom
MC-146
C3
C4
[pF]
10
Operating
Oscillation
supply
stabilizing time
voltage range
typ
max
[Ω]
[V]
[s]
[s]
0
2.4 to 3.6
1
3
Rf
Rd2
[pF]
[Ω]
10
Open
Notes
The oscillation stabilizing time is a period until the oscillation becomes stable after executing the instruction which
starts the sub-clock oscillation or after releasing the HOLD mode. (See Fig. 4)
Notes: Since the circuit pattern affects the oscillation frequency, place the oscillation-related parts as close to the
oscillation pins as possible with the shortest possible pattern length.
CF1
XT1
CF2
Rd
C1
CF
C2
XT2
Rf
C3
Rd2
C4
X’tal
Figure 1 Ceramic Oscillation Circuit
Figure 2 Crystal Oscillation Circuit
0.5VDD
Figure 3 AC Timing Measurement Point
No.A0635-18/21
LC877816A
VDD
Power Supply
VDD limit
0V
Reset time
RES
Internal RC
Resonator
oscillation
tmsCF
CF1, CF2
tmsX’tal
XT1, XT2
Operation
mode
Unfixed
Reset
Instruction execution
Reset Time and Oscillation Stabilization
HOLD release
signal
Without HOLD
Release signal
HOLD release signal
Internal RC
Resonator
oscillation
tmsCF
CF1, CF2
tmsX’tal
XT1, XT2
Operation mode
HOLD
HALT
HOLD Release Signal and Oscillation Stabilization
Figure 4 Oscillation Stabilizing Time
No.A0635-19/21
LC877816A
VDD
Note:
Select CRES and RRES value to assure that at least
200µs reset time is generated after the VDD becomes
higher than the minimum operating voltage.
RRES
RES
CRES
Figure 5 Reset Circuit
SIOCLK:
DATAIN:
DI0
DI1
DI2
DI3
DI4
DI5
DI6
DI7
DI8
DATAOUT:
DO0
DO1
DO2
DO3
DO4
DO5
DO6
DO7
DO8
Data RAM
transfer period
(only SIO0)
tSCK
tSCKL
tSCKH
SIOCLK:
tsDI
thDI
DATAIN:
tdDO
DATAOUT:
Data RAM
transfer period
(only SIO0)
tSCKL
tSCKHA
SIOCLK:
tsDI
thDI
DATAIN:
tdDO
DATAOUT:
Figure 6 Serial Input/Output Wave Form
No.A0635-20/21
LC877816A
tPIL
tPIH
Figure 7 Pulse Input Timing Signal Waveform
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 September, 2006. Specifications and information herein are subject
to change without notice.
PS No.A0635-21/21