3. Bank address output: Use normal I/O ports as bank address output by program control.
- External prog ram memory access fu nction
External program memory space: 64K bytes
Internal/external program can be switched by program. (at initial: internal program operation mode)
Enabling/ disabling of switching from external program to internal program is provided.
- External data memory access function
By LDC instruction execution:
External data memory space: 64K bytes
(Use normal I/O ports as bank address output by program control.)
1. When internal program is operating:
Access to the internal or external ROM data is selectable by program.
2. When external program is operating:
Only the external ROM data can be accessed.
(Only the external program memory space (64K bytes) can be referred.)
- External RAM memory access function (Able to be used when internal program is executed)
By LDX instruction/STX instruction execution:
External RAM space: 64K bytes (Use normal I/O ports as bank address output by program control.)
(When using the external RAM space in the external program operation mode, refer to the “LC868364 User’s Manual”
for details.)
- Graphic display
A maximum of 1,024 dots capability (without external segment driver)
32 × 80 dots display capability per each segment driver (LC868920A) can be expanded, when 1/32 duty is selected.
Note: If the display capability is expanded by the LC86920A when 1/16 du ty is selected, only S1-S32 of the LC868364 A can be
used, and S33-S48 can not be used. (Refer to the LC 868920A specification sheet.)
No.6722-2/29
Page 3
LC868364A
- LCD contrast
LCD display contrast is changeable by program.
- LCD power supply (max. 6V): externally boosted output terminal
(assigned at P40 termina l, The terminal fu nction is selec table by program.)
- LCD driver
Following two kinds of combination can be switched by mask option.
Generates an overflow every 500ms for a clock application. (using a 32.768kHz crystal oscillation for the base timer
clock.)
Clock for the base timer is selectable from 32.768kHz crystal oscillation, system clock or programmable prescaler
output of Timer 0.
(9) Buzzer Output
- Built-in 4kHz and 2kHz buzzer generation function
(10) Remote Receiver Circuit (shares with P73/INT3/T0IN terminal)
- Noise re jection function
- Polarity switch function
(11) Watchdog Timer
- External RC circuit is required (connected to P70/INT0 terminal)
- Interrupt or system reset is activated when the timer overflows.
6. Timer T1L (lower 8 bits of Timer 1), Timer T1H (upper 8 bits of Timer 1)
7. Serial interface SIO0
8. Serial interface SIO1
9. Port 0 or Port 3
- Built-in Interrupt Priority Control
Three interrupt priorities are supported (low, high and highest) and multi-level nesting is possible. Low or high
priori ty can be assig ned to the 11 inter rupt sour ces, fro m the extern al interr upt INT2 , Timer /Counter T0L (T imer 0,
lower 8 bits) to Port 0 or Port 3. For the external interrupt INT0 and INT1, low or highest priority can be set
regardless of the interrupt priority register.
(13) Sub-routine Stack Level
- A maximum of 128 levels: (sets stack inside RAM)
(14) Multiplication/Division Instru cti on
- 16 bits × 8-bit (7 instruction-cycle-times)
- 16 bits ÷ 8-bit (7 instruction-cycle-ti mes)
(15) Three Types of Oscillation Circuit
- Built-in/external RC oscillation circuit used for the system clock
- CF oscillation circuit used for the sy s tem clock
- Xtal oscillation circuit used for the clock, system clock and LCD
* Crystal oscillation clock is also used as LCD display base clock. T he current consumption of this microcontroller
becomes smaller than the Sanyo’s previous microcontrollers by this configuration.
Built-in/external RC oscillation circuit: switched by mask option
(16) Standby Function
- HALT mode
In this operation mode, the program execution is stopped. The mode can be released by a system reset or an
interrupt request.
- HOLD mode
The HOLD mode is used to stop the oscillations;
CF, RC, and Xtal oscillations. This mode can be released by the following conditions:
• System reset
• Feed the selected level to INT0 or INT1 terminals.
P43 Alternate signal M
P44 General output port P44
P45 General output port P45
P46 Read signal
P47 Write signal
(Note 2)
(Note 2)
LCDP2
RD
WR
-
!
Pull-up resistor:
provided/not provided
!
Output form:
CMOS/N-ch open drain
!
Output form:
CMOS/N-ch open drain
!
Output form:
CMOS/N-ch open drain
!
Pull-up resistor:
provided/not provided
!
Output form:
CMOS/N-ch open drain
!
Pull-up resistor:
provided/not provided
!
Output form:
CMOS/N-ch open drain
(Note 1)
(Note 1)
(Note 1)
(Note 1)
(Note 1)
No.6722-11/29
Page 12
LC868364A
Name No. I/O Function Description Option
Port5
P50 to P57
Port7
P70 to P73
C1 to C32
(Note 3)
S1 to S32 10-41 O LCD output terminals for segment -
RES
ADLC 128 O Address control signal for external memory -
EROE
XT1 131 I In put terminal for 32.768kHz Xtal
XT2 132 O Output terminal for 32. 768kHz Xtal
CF1 134 I Input terminal for ceramic resonator
CF2 135 O Output terminal for ceramic resonator
RC1 3 I Input terminal for RC oscillation (when external RC
RC2 2 O Output terminal for RC oscillation (when external RC
I/O
102-95
8-bit input/output port
⋅
Data direction programmable for each bit individually
⋅
Pull-up resistor:
⋅
provided/not provided
Output form:
⋅
CMOS/N-ch open drain
83-86
I
4-bit input port
⋅
Other functions
⋅
P70
INT0 input/HOLD release/N-ch Tr.
output for watchdog timer
INT1 input/HOLD release input
P71
INT2 input/Timer 0 event input
P72
INT3 input with noise filter/Timer 0
P73
Pull-up resistor:
⋅
provided/not provided
event input
Interrupt detection style, vector address
⋅
Rising Falling
INT0
Yes
INT1
Yes
INT2
Yes
INT3
Yes
73-42 O LCD output terminals for common
Yes
Yes
Yes
Yes
Rising/
H level L level Vect or
Falling
No
Yes
No
Yes
Yes
No
Yes
No
Yes
Yes
No
No
03H
0BH
13H
1BH
Segment output/
⋅
common output
130 I Reset -
129 O Enable signal of external ROM output -
-
When not in use, connect to VDD.
-
When not in use, leave open circuit.
-
When not in use, connect to VDD.
-
When not in use, leave open circuit.
Internal/external
oscillation is used)
Put a resistor between RC1 and RC2, and a capacitor
between RC1 and VSS externally.
Leave open when internal RC oscillation is used.
Internal/external
oscillation is used)
Put a resistor between RC1 and RC2 externally.
Leave open when internal RC oscillation is used.
(Note 1)
(Note 1) Nch-OD: N-channel open-drain output
(Note 2) P30INT: Bit 0 of Port 3 interrupt control register (P3INT).
* Port options can be specified for each bit individually.
(Note 3) C1-C32 are the terminal names when 1/32 duty is selected.
C1-C16 and S48-S33 are the terminal names when 1/16 duty is selected.
Refer to “Pad Assignment” in pages 5-6.
* A state of port at initial
Pin Name Input/output Mode Style of pull-up resistors when pull-up option is enabled
Port 0, 7 Input Fixed pull-up resistor provided
Ports 1, 2
Input Programmable pull-up resistor OFF
Ports 3, 5
Port 4 Input Programmable pull-up resistor ON
Name Output Level
C1 to C32 V SS (display OFF)
S1 to S32 VSS (display OFF)
No.6722-12/29
Page 13
LC868364A
V
1. Absolute Maximum Ratings at VSS=0V and Ta=25°C
Parameter Symbol Pins Conditions
Ratings
[V]
DD
min. typ. max.
Supply Voltage VDDMAX VDD -0.3 - +7.0
Input Voltage
VI(1) ·Ports 71,72,73
RES
·
-0.3 - VDD+0.3
VI(2) VLCD -0.3 - +7.0
VO(1) ·C1 to C32
-0.3 - VLCD+0.3 Output Volt age
·S1 to S32
-0.3 - VDD+0.3
-0.3 - VDD+0.3
Input/output
Voltage
VO(2)
ADLC,
EROE
VIO(1) ·Ports 0,1,2,3,4,5
·Port 70
·ADLC
High
Level
Output
urrent
C
Low
Level
Output
C
urrent
Operating
Peak
Output
Current
Total
Output
Current
Peak
Output
Current
Total
Output
Current
IOPH(1) ·Ports 0,1,2,3,4,5
EROE
IOAH(1)
Σ
·ADLC,
·Ports 0,2,3
·CMOS output
-4
·For each pin
Total of all pins -25
·C1-C32,S1-S32
EROE
EROE
For each pin 20
·ADLC,
IOAH(2)
Σ
Ports 1, 4, 5 Total of all pins -25
IOPL(1) ·Ports 0,1,2,3,4,5
·ADLC,
IOPL(2) Port 70 For each pin 15
IOAL(1)
Σ
IOAL(2)
Σ
IOAL(3)
Σ
IOAL(4)
Σ
IOAL(5)
Σ
IOAL(6)
Σ
IOAL(7)
Σ
Port 0 Total of all pins 40
·Port 2
·ADLC,
EROE
Total of all pins 40
Port 3 Total of all pins 40
Ports 1, 5 Total of all pins 40
Port 4 Total of all pins 40
Port 70 Total of all pins 15
C1-C32,S1-S32 Total of all pins 30
Topr -30 - +70
Temperature
Range
Storage
Tstg -55 - +125
Temperature
Range
unit
V
mA
C
°
Notes:
The specification above indicates the state when a die is mounted in a package, SQFC144.
However, we ship this product in a chip, not in a package.
Make sure that the operational characteristics may vary by the user’s package techniques.
No.6722-13/29
Page 14
LC868364A
2. Recommended Operating Range at Ta=-30°C to +70°C, VSS=0V
Parameter Symbol Pins Conditions
Operating
Supply
Voltage
VDD(1)
VDD(2)
VDD(3)
VDD
0.98µs ≤ tCYC ≤ 400µs
1.49µs ≤ tCYC ≤ 400µs
1.98µs ≤ tCYC ≤ 400µs
Range
Hold Voltage VHD VDD RAM and register
data are kept in
HOLD mode.
LCD Display
VLCD VLCD
Voltage
Input High
VIH(1) Port 0 (Schmitt) Output disable 2.4-6.5 0 .4VDD
·VIN=VDD
(including the o ff leak current of the
output Tr.)
·Output Nch Tr. OFF
·VIN=VDD
(including the o ff leak current of the
output Tr.)
VIN=VDD 2.5-6.5 1
·Output disable
Pull-up MOS Tr. OFF
·
·VIN=VSS
(including the o ff leak current of the
output Tr.)
·Output Nch Tr. OFF
·VIN=VSS
(including the o ff leak current of the
output Tr.)
VIN=VSS 2.5-6.5 -1
IOH=-1mA 2.5-6.5 VDD-0.4
IOH=-0.1mA 2.5-6.5 VDD-0.5
·IOL=1.0mA
Every pin’s IOL≤1mA
·
IOL=0.5mA 2.5-6.5 0.4
VOH=0.9VDD
Output disable 2.5-6.5 0.1VDD V
·All pins except the
measured terminal:
VIN=VSS
·Ta=25°C
Ratings
VDD[V] min. typ. max.
2.5-6.5 1
2.5-6.5 1
2.5-6.5 -1
2.5-6.5 -1
2.5-6.5 0.4
4.5-6.5 50 70 100 Pull-up MOS
2.5-4.5 60 100 200
2.5-6.5 10 pF
unit
A
µ
V
kΩ
No.6722-15/29
Page 16
LC868364A
4. Pulse Input Conditions at Ta=-30°C to +70°C, VSS=0V
Parameter Symbol Pins Conditions
Level
Pulse Width
tPIH(1)
tPIL(1)
tPIH(2)
tPIL(2)
tPIH(3)
tPIL(3)
tPIL(4)
·INT0, INT1
·INT2/T0IN
·Refer to figure 7
·INT3/T0IN
(The noise rejection
clock is selected to
1/1.)
·Refer to figure 7
·INT3/T0IN
(The noise rejection
clock is selected to
1/64.)
·Refer to figure 7
RES
·
·Refer to figure 7
Interrupt acceptable
·
·Timer 0-countable
Interrupt acceptable
·
·Timer 0-countable
Interrupt acceptable
·
·Timer 0-countable
Reset acceptable 2.5-6.5 200
Ratings
VDD[V] min. typ. max.
2.5-6.5 1
2.5-6.5 2
2.5-6.5 128
unit
CYC
t
µ
High/low
s
No.6722-16/29
Page 17
LC868364A
5. Sample Current Consumption Characteristics at Ta=-30°C to +70°C, VSS=0V
The sample current consumption characteristics are the measurement result of Sanyo provided evaluation board. The currents
through the output transistors, the pull-up MOS transistors and the bleeder resistors for the LCD are not included.
(Note 2) The curren ts of the output tran sistors, pull-up MOS transistors, th e LCD bleeder resi stors and the LCD driver are
not included.
No.6722-18/29
Page 19
LC868364A
6. LCD Voltage and LCD Driver Characteristics at Ta=-30°C to +70°C, VSS=0V
Parameter Symbol Pins, Conditions
(X: 1 to 5)
|VD1|
(i: 1 to 32)
|VD2|
(X: 1 to 5)
(i: 1 to 32)
|VD3|
(X: 1 to 5)
(i: 1 to 32)
|VD4|
(X: 1 to 5)
(i: 1 to 32)
·Only a Ci terminal for –15µA
·LCD display ON
·1/5 bias
·V5=VLCD=VDD
·Only a Ci terminal for +15µA
·LCD display ON
·1/5 bias
·V5=VLCD=VDD
·Only a Si terminal for -15µA
·LCD display ON
·1/5 bias
·V5=VLCD=VDD
·Only a Si terminal for +15µA
·LCD display ON
·1/5 bias
·V5=VLCD=VDD
·LCD clock frequency=0Hz
·LCD display ON
·1/5 bias
·V5=VLCD=VDD
·Refer to figure 10
Ratings
VDD[V] min. typ. max.
2.9 120 VX-Ci Drop Voltage
5.0 200
2.9 -120 VX-Ci Drop Voltage
5.0 -200
2.9 120 VX-Si Drop Voltage
5.0 200
2.9 -120 VX-Si Drop Voltage
5.0 -200
2.9 V4 Output Voltage VV4
0.75VDD 0.80VDD 0.85VDD
5.0
2.9 V3 Output Voltage VV3
0.55VDD 0.60VDD 0.65VDD
5.0
2.9 V2 Output Voltage VV2
0.35VDD 0.40VDD 0.45VDD
5.0
2.9 V1 Output Voltage VV1
0.15VDD 0.20VDD 0.25VDD
5.0
7. Sample LCD Driver Characteristics at Ta=-30°C to +70°C, VSS=0V
Parameter Symbol Pins, Conditions
LCD Display Current
Contrast Current
ILCD2
ILC1 VCCR=1 2.9 125 250 500
ILC2 VCCR=2 2.9 62 125 250
ILC3 VCCR=4 2.9 31 62 125
ILC4 VCCR=8 2.9 15 31 62
ILC5
·LCD display ON
·1/5 bias
·VLCD=5V
·V1-V5 are open.
·Refer to figure 9
·LCD display ON
·VLCD=5V
·V5=VLCD-0.5V
·Refer to figure 11
100kΩ
mode
50kΩ
mode
VCCR=10H 2.9 8 15 31
Ratings
VDD[V] min. typ. max.
2.9 5 10 20 ILCD1
5 5 10 20
2.9 10 20 40
5 10 20 40
unit
mV
V
unit
A
µ
VCCR: LCD contrast control register
No.6722-19/29
Page 20
LC868364A
Recommended Oscillation Circuit and Characteristics
The oscillation circuit characteristics in the table below are based on the following conditions:
•
Recommended circuit parameters are verified by an oscillator manufacturer using a Sanyo provided oscillation evaluation
board.
•
The characteristics are the results of the evaluation with the recommended circuit parameters connected externally.
Recomm ended Ceramic Oscillation Cir c uit and Characteristics (Ta = -30°C to +70°C)
Frequency Manufacturer
12MHz
6MHz
4MHz
3MHz
MURATA
KYOCERA KBR-12.0M 22pF 22pF
MURATA
KYOCERA KBR-6.0MSA 33pF 33pF
MURATA
KYOCERA KBR-4.0MSA 33pF 33pF
MURATA
KYOCERA KBR-3.0MS 33pF 33pF
Oscillator
CSA12.0MTZ 30pF 30pF
CST12.0MTW (30pF) (30pF)
CSA6.00MG 30pF 30pF
CSTS0600MG03 (15pF) (15pF)
CSA4.00MG 30pF 30pF
CSTS0400MG03 (15pF) (15pF)
CSA3.00MG 30pF 30pF
CST3.00MGW (30pF) (30pF)
Recommended Circuit
Parameter
C1 C2 Rd1
0kΩ
0kΩ
0kΩ
0kΩ
0kΩ
0kΩ
0kΩ
0kΩ
0kΩ
0kΩ
0kΩ
0kΩ
Operating
supply Voltage
Range
3.3 to 6.5V
3.3 to 6.5V
3.3 to 6.5V
2.8 to 6.5V
2.4 to 6.5V
2.4 to 6.5V
2.7 to 6.5V
2.4 to 6.5V
2.4 to 6.5V
2.4 to 6.5V
2.4 to 6.5V
2.4 to 6.5V
Oscillation
Stabilizing Time
Period (typ.) *
0.06ms
0.06ms built-in capacitor type
0.04ms
0.08ms
0.04ms built-in capacitor type
0.05ms
0.05ms
0.03ms built-in capacitor type
0.04ms
0.06ms
0.06ms built-in capacitor type
0.05ms
Notes
Recommended Crystal Oscillation Circuit and Characteristics (Ta = -30°C to +70°C)
Frequency Manufacturer Oscillator
32.768kHz
Seiko Instruments VT-200 12pF 12pF
Seiko Epson C-002RX/MC-306 12pF 12pF
Recommended Circuit
Parameter
C3 C4 Rd2
330kΩ
330kΩ
Operating supply
Voltage Range
2.2 to 6.5V
2.2 to 6.5V
Oscillation
Stabilizing Time
Period (typ.) *
0.6s
0.8s
Notes
* The oscillation stabilizing time period is the time until the oscillation becomes stable after the VDD becomes higher than the
minimum operating volt age.
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.
• If you use other oscillators herein, we provide no guarantee for the characteristics.
The oscillation circuit characteristics may differ by applications. For further assistance, please contact with the oscillator
manufacturer with the following notes in your mind.
Since the oscillation frequency precision is affected by wiring capacity of the application board, etc., adjust the oscillation
•
frequency on the production board.
The above oscillation frequency and the operating supply voltage range are based on the operating temperature of -30°C to
•
+70°C. For the use with the temperature outside of the range herein, or in the applications requiring high reliability such
as car products, please consult with oscillator manufacturer.
Since the oscillation circuit characteristics are affected by the noise, wiring capacity, etc., refer to the following notices.
•
The distance between the clock I/O terminal and external parts should be as short as possible.
•
The capacitors’ VSS should be allocated close to the microcontroller’s GND terminal and be away from other GND.
The signal lines with rapid state changes or the signal line with large amplitude such as middle withstand voltage port or
•
LCD driver output should be allocated away from the clock oscillation circuit.
The signal lines with large current should be allocated away from the oscillation circuit.
Figure 3 RC Oscillation Circuit.
(when external RC oscillation is sel ected)
No.6722-21/29
Page 22
LC868364A
Power Supply
RES
Reset Time
VDD
VDD Limit
0V
RC Oscillation
tmsCF
CF1, CF2
tssXtal
XT1, XT2
Operation Mode
Unstable
Execution of Instructions Reset
Reset Time and Oscillation Stabilizing Time Period
HOLD Release Signal
Valid
RC Oscillation
tmsCF
CF1, CF2
tssXtal
XT1, XT2
Operation Mode
HOLD
Execution of Instructions
HOLD Release Signal and Oscillation Stabilizing Time Period (OCR6=1 at entering HOLD)
tmsCF: Oscillation stabilizing time period when using the ceramic resonator oscillator.
tssXtal: Oscillation stabilizing time period when using the Xtal oscillator.
Figure 4 Oscillation Stabilizing Time Period.
No.6722-22/29
Page 23
LC868364A
VDD
RES
R
RES
RES
generate more than 200µs reset time.
C
(Note) Determine the CRES, RRES value to
Figure 5 Reset Circuit.
<AC Timing Point>
0.5VDD
tCKCY
tCKH tCKL
VDD
SCK0
SCK1
SI0
SI1
SO0, SO1
SB0, SB1
tCKO
tCKI tICK
<Timing>
1kΩ
50pF
<Test Load>
Figure 6 Serial Input/Output Test Condition.
tPIH tPIL
Figure 7 Pulse Input Timing Condition.
No.6722-23/29
Page 24
LC868364A
VDD
A
VDD
VDD
CF1 CF2
VSS
XT1 XT2
V5
V4
V3
V2
V1
VLCD
OPEN
VDD
CF1 CF2
VSS
V5
V4
V3
V2
VLCD
XT1 XT2
A
OPEN
5V
VSS
VSS
Figure 8 Current Consumption Measurement. Figure 9 LCD Display Current Measurement.
VDD
VDD
VLCD
VDD
V5
V4
V3
V2
V1
VDD
VDD
VDD
VLCD
V5
V4
V3
V2
V1
5V
A
VLCD-0.5V
OPEN
CF1 CF2
XT1 XT2
VSS
CF1 CF2
V
XT1 XT2
VSS
VSS
VSS
Figure 10 Output Voltage of V1-V4 Measurement. Figure 11 Contrast Current Measurement.
Notes: • Figu re 8-11 ind icate the measurement circuits when using the internal RC oscillator.
• When external RC oscillation is selected, an external circuit needs to be connected to RC1 and RC2 terminals.
Figure 14 External RC Oscillation Frequency Characteristics. (Ta=25°C)
No.6722-27/29
Page 28
LC868364A
!
Evaluation Sample (ES)
Shipping Form: LC868364: chip, Evaluation sample: SQFC144 (shown below) or chip
If you use the ES in the package to design and fabricate an evaluation board, refer to the following pin assignment.
• Pin Assignment of evalua tion sample (Package type)