* Bus cycle time means ROM-read period.
OCR7 : Bit-7 of the oscillation control register.
(4) Ports
- Input / output ports : 6 ports (47 terminals)
Input/output port programmable in a nibble : 1 port (8 terminals)
Input/output port programmable every function unit : 1 port (7 terminals)
Input/output port programmable in a bit : 4 ports (32 terminals)
- Input port : 1 port (4 terminals)
- Ports at external memory mode
1. External Latch
Port 0 : Address output of lower 8-bit, input/output of data
Port 2 : Address output of upper 8-bit
Port 5 : Bank address output
2. No External Latch
Port 0 : Input/output of data
Port 3 : Address output of lower 8-bit
Port 2 : Address output of upper 8-bit
Port 5 : Bank address output
(Set whether the external latch is used or not by program.)
- LCD segment driver output ports : 48 terminals
(Function change available : segment/common)
- LCD common driver output ports : 16 terminals
(1/32 duty maximum : at using segment output ports as common output by mask option)
(5) External memory access
- Externa l progra m memor y acce ss function
External program memory capacity : 64K bytes
Programable switch internal program/external program
(At initial : Internal program)
Enable/disable control of external program ! internal p rogr am memo ry switch
excluding
external memory
access function
for external
memory acce ss
No.6724-2/28
Page 3
LC868116/12/08A
- Ports
Port 2 : Address output of upper 8-bit
Uses
EROE terminal (OE signal of the external ROM)
1. Using the external latch
Port 0 : Address output of lower 8-bit, data input port
Uses the ADLC terminal (latch clock of the lower 8-bit address signal)
2. Not use the external latch
Port 0 : Input port of data
Port 3 : Addres s output of lowe r 8-bit
- External data memory access function
Using the LDC instruction
External memory capacity : 16M bytes
1. Internal prog ram memory
Switch the reference of internal ROM data/external ROM data by program.
2. External program memory
Reference external ROM data only.
Ports
Port 2 : Address output of upper 8-bit
Port 5 : Bank address output
Uses
EROE terminal (OE signal of the external ROM)
1. Using external latch
Port 0 : Address output of lower 8-bit, input port of data
Uses the ADLC terminal (latch clock of the lower 8-bit address signal)
2. Not use external latch
Port 0 : Input port of data
Port 3 : Addres s output of lowe r 8-bit
- External RAM memory access function
Using the LDX, STX instruction
External memory capacity : 16M bytes
Ports
Port 2 : Address output of upper 8-bit
Port 5 : Bank address output
Uses the P46 terminal (
Uses the P47 terminal (
OE signal of external RAM) : the LDX instruction execution
WE signal of external RAM) : the STX instruction execution
1. Using the external latch circuit
Port 0 : Address output of lower 8-bit, input/output port of data
Uses the ADLC terminal (latch clock of the lower 8-bit address signal)
2. Not use the external latch circuit
Port 0 : Input/output port of data
Port 3 : Addres s output of lowe r 8-bit
(6) LCD automatic display controller
- Display duty : 1/4 - 1/32 duty
* Up to 1/32 display duty can be specified by program. V DD allows up to 6V. Select the preferable LCD panel within
this range.
- Displ ay bias : 1/4, 1/5, 1/ 7 bias
- Programmable character display / graphic display
- Character display
1. On-chip char acter generator ROM
ROM capacity : 8960 bits
Character font : 5 × 7 dots Number of Characters : 256
No.6724-3/28
Page 4
LC868116/12/08A
2. LCD instruction
Display : ON/OFF
Cursor : ON/OFF/BLINK
Character blink : ON/OFF
Character scroll : Control by specified starting address
- Graphic display
LC868100 series : 1024 dots Maximum
External segment driver : Enable to extend of LCD drive
- LCD contrast
LCD display contrast programmable
- LCD display power supply
Doubler circuit available wi thin VDD≤3V.
* Doubler generates up to 6V.
- LCD driver
Following two kinds of combination can be selected by mask option
No. Segment output port Common output port
1 48 16
2 32 32
* Up to 32 commons can be specified by mask option. As maximum LCD display voltage is 6V, please select
the preferable LCD panel and the display condition with this range.
* In general, the LCD driver cannot be expanded.
(7) Serial-interface
- Two 8-bit serial-interf ace circuits
LSB first / MSB first function available
- Internal 8-bit baud-rate generator in common with two serial-interface circuits
Every 500ms overflow system for a clock application (using 32.768kHz crystal oscilla tion for Base timer clock)
The Base timer clock selectable ; 32.768kHz crystal oscillation, System clock, and programmable prescaler output of
Timer 0
(9) Buzzer output
- The Buzzer sound frequency selectable ; 4KHz, 2KHz
(10) Remote control receiver circuit (using P73/INT3/T0IN terminal)
- Noise rejection available
- The interrupt polarity selectable
No.6724-4/28
Page 5
LC868116/12/08A
(11) Watchdog timer
- The watchdog timer is taken on RC outside. (using P70/INT0 terminal)
- Watchdog timer operation selectable : interrupt system, system reset
Microcomputer allows 3 levels of interrupt; low level, high level and highest level of multiplex interrupt. It can specify
a low level or a high level interrupt priority from INT2/T0L through port 0 or port 3 (the above interrupt number from
three through nine). It can also specify a low level or the highest level interrupt priority to INT0 and INT1.
(13) Sub-routine stack levels
- 128 levels (Max.) : stack area included in RAM area
(14) Multiplication and division
- 16 bits × 8-bit (7 instruction cycle times)
- 16 bits / 8-bit (7 instruction cycle times)
(15) Three oscillation circuits
- On-chip RC oscillation circuit using for the system clock, for the LCD display and for the step-up circuit.
- On-chip CF oscillation circuit using for the system clock, for the LCD display and for the step-up circuit.
- On-chip crystal oscillation circuit using for the system clock, for time-base clock and for the LCD display.
(16) Standby function
- HALT mode function
The HALT mode is used to reduce the power dissipation. In this operation mode, the program execution is stopped.
This operation mode can be released by the interrupt request signals or setting to low level for the reset terminal
RES).
(
- HOLD mode function
The HOLD mode is used to freeze all the oscillations ;
RC (internal), CF and Crystal oscillations. This mode can be released by the following operations:
• Reset terminal (
RES) set to low level.
• Set to assigned level to INT0/1 terminals.
• Set to assigned level to Port 0/3.
(17) Factory shipment
- Chip
QIC160 package shipping available for sample evaluation.
46 S45 -836 -2875 92 P15 2240 824
The values (X, Y) indicate the coordinates of each pad center with the center of the chip as the origin.
Connect the substrate of chip to VSS or open.
Pad
No.
Name
EROE
RES
Xµm Yµm
-1403 2875
-1538 2875
No.6724-7/28
Page 8
System Bl ock Diagram
LC868116/12/08A
Base Timer
SIO0
SIO1
Timer 0
Interrupt Control
Standby Control
CF
RC
Clock
X'tal
Generator
Bus Interface
Port 1
Port 7
IRPLA
ROM
PC
ACC
B Register
C Register
ALU
Timer 1
INT0-3
Noise Rejection Filter
XRAM
128 Bytes
CGROM
LCD Display
Controller
LCD Driver
Port 2
Port 3
Port 4
Port 5
EXT RegisterWatchdog Timer
PSW
RAR
RAM
Stack Pointer
Port 0
No.6724-8/28
Page 9
LC868116/12/08A
Pin Description
Name No. I/O Function description Option
VSS 75,133 - Power terminal (-) VDD 1,103 - Power terminal (+) VLCD 71 - Power terminal (+) for LCD driver *2 V1 to V5 66-70 - Voltage supply terminals to LCD drivers *2 VOUT2 72 -
Output terminals for doubler VOUT2 ≅ 2X(VDD-VSS)
CUP1,2 74,73 - Capacitor connecting terminals for doubler, tripler Port0
P00 to P07
112-119
I/O •8-bit input/output port
•Input/output can be specified in 4-bit
•External memory mode
1. EXT resistor bit 2=0
•Pull-up resistor :
Provided/Not provided
•Output form :
CMOS/N-ch open drain
Address output of lower 8-bit, input/output
of data
2. EXT resistor bit 2=1
•Input/output of data
•Input for key interrupt (P30INT=0) *1
Port1
P10 to P17
87-94
•8-bit input/output port
I/O
•Input/output can be specified in a bit
•Output form :
CMOS/N-ch open drain
•Another functions
P10
SIO0 data output
P11
SIO0 data input, bus input/output
P12
SIO0 clock input/output
P13
SIO1 data output
P14
SIO1 data input, bus input/output
P15
SIO1 clock input/output
P16
Buzzer output
P17
Timer 1 output (PWM output)
Port2
P20 to P27 120-127
I/O •8-bit input/output port
•Input/output can be specified in a bit
•Output form :
CMOS/N-ch open drain
•External memory mode
Address output of upper 8-bit
Port3
P30 to P37 104-111
I/O •8-bit input/output port
•Input/output in a bit
•External memory mode
1. EXT resistor bit 2=0 : input/output port
•Pull-up resistor :
Provided/Not provided
•Output form :
CMOS/N-ch open drain
2. EXT resistor bit 2=1 : address output of lower
8-bit for external memory
•Input for key interrupt (P30INT=L) *1
*1 P30INT : Bit 0 of Port 3 interrupt control register.
*2 The structure of the LCD power supply is shown below.
VLCD
V5
V4
V3
Resistor for
LCD contrast
adjustment
Note : If the microcontroller is operated at 3V, the voltage doubler
output (VOUT2) should be connected to the LCD power
terminal (VLCD ) .
(o r the output of an external voltage doubler should be
INT0 input/HOLD release/N-ch Tr.
output for watchdog timer
INT1 input/HOLD release
INT2 input/timer 0 event input
INT3 input with noise filter/timer 0
•Pull-up resistor :
Provided/Not provided
event input
•Interrupt received form, vector address
leading trailing leading
&
high
level
low
level
vector
trailing
INT0
INT1
INT2
INT3
enable
enable
enable
enable
enable
enable
enable
enable
disable
disable
enable
enable
enable
enable
disable
disable
enable
enable
disable
disable
03H
0BH
13H
1BH
No.6724-10/28
Page 11
LC868116/12/08A
Name No. I/O Function description Option
C1 to C16 65-50 O LCD o u tput terminals fo r common S1 to S48 2-49 O LCD output terminals for segment LCD output terminals :
segment/common
RES
130 I Reset -
ADLC 128 O Address control signal for external memory -
EROE
XT1 131 I Input for 32.768kHz crystal oscillation
129 O Enable signal of external ROM output -
-
In case of non use, connect to VDD
XT2 132 O Output for 32.768kHz crystal oscillation
-
In case of non use, should be left unconnected
CF1 134 I Input for ceramic resonator oscillation
-
In case of non use, connect to VDD
CF2 135 O Output for ceramic resonator oscillation
-
In case of non use, should be left unconnected
* Port options can be specified in a bit.
* A state of port at initial
Pin name Input/output mode A state of pull-up resistor specified at pull-up option
Port 0, 7 Input Fixed pull-up resistor exist
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 C16 VSS (Display OFF)
S1 to S48 VSS (Display OFF)
No.6724-11/28
Page 12
LC868116/12/08A
V
1. Absolute Maximum Ratings at VSS=0V and Ta=25°C
Parameter Symbol Pins Conditions
Ratings
DD[V]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
unit
V
VI(2) VLCD -0.3 +7.0
Output voltage
VO(1) •C1 to C16
-0.3 VLCD+0.3
•S1 to S48
VO(2) •VOUT2
-0.3 VDD+0.3
•CUP1,CUP2
-0.3 VDD+0.3
-0.3 VDD+0.3
•CMOS output
-4
mA
•At each pin
Total all pins -25
At each pin 20
Total all pins 40
C
°
Input/output
voltage
High
level
output
current
Peak
output
current
Total
output
current
Low
level
output
current
Peak
output
current
Total
output
current
Operating
VO(3)
ADLC,
EROE
VIO(1) •Ports 0,1,2,3,4,5
•Port 70
IOPH(1) •Ports 0,1,2,3,4,5
EROE
ΣIOAH(1)
•ADLC,
•Ports 0,2,3
•C1-C16,S1-S48
EROE
ΣIOAH(2)
•ADLC,
Ports 1, 4, 5 Total all pins -25
IOPL(1) •Ports 0,1,2,3,4,5
•ADLC,
EROE
IOPL(2) Port 70 At each pin 15
ΣIOAL(1)
IOAL(2)
Σ
ΣIOAL(3)
IOAL(4)
Σ
ΣIOAL(5)
IOAL(6)
Σ
ΣIOAL(7)
Port 0 Total all pins 40
•Port 2
EROE
•ADLC,
Port 3 Total all pins 40
Ports 1, 5 Total all pins 40
Port 4 Total all pins 40
Port 70 Total all pins 15
C1-C16,S1-S48 Total all pins 30
Topr -30 +70
temperature
range
Storage
Tstg -65 +150
temperature
range
Notes :
The specifications above are for a die mounted in a QIC160 type package.
However, we ship this product as a die only, not a package chip.
Therefore, the operational characteristics may vary depending on the user’s packaging techniques.
No.6724-12/28
Page 13
LC868116/12/08A
2. Recommended Operating Range at Ta=-30°C to +70°C, VSS=0V
Parameter Symbol Pins Conditions
Operating
supply voltage
range
VDD(1)
VDD(2)
VDD
0.98µs ≤ tCYC ≤
400µs
1.9µs ≤ tCYC ≤
400µs
VDD(3)
3.9µs ≤ tCYC ≤
400µs
Hold voltage VHD VDD RAMs and the
registers hold
voltage at HOLD
mode.
VLCD VLCD
voltage
Input high
VIH(1) Port 0 (Schmitt) Output disable 2.5-6.0 0.4VDD
SII DT-VT-200 18pF 18pF
* Both C3 and C4 must use J rank (±5%) and CH characteristics.
(It is about the application which is not in need of high precision. Use K rank (±10%) and SL characteristics.)
(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.
4.5 - 6.0 tCLCL-40 Address settling time tAVLL For ADLC
2.5 - 6.0 tCLCL-160
4.5 - 6.0 tCLCL-35 Address hold time tLLAX For ADLC
2.5 - 6.0 tCLCL-140
4.5 - 6.0 tCLCL-25 ADLC ! control signal tLLEL
2.5 - 6.0 tCLCL-100
4.5 - 6.0 3tCLCL-35
2.5 - 6.0 3tCLCL-140
4.5 - 6.0 3tCLCL-125 Data delay time tELIV
2.5 - 6.0 3tCLCL-400
4.5 - 6.0 0 Data hold time tEHIX
2.5 - 6.0 0
4.5 - 6.0 tCLCL-8
2.5 - 6.0 tCLCL-32
tCLCL
unit
ns
Port 2
Port 3
EROE
Port 0
Port 2
Port 3
Port 5
A15-A8
A7-A0
A7-A0DATA
A15-A8
A7-A0
Bank
A15-A8
Figure 12 Timing of the external Program Memory/Data Memory
A7-A0
No.6724-25/28
Page 26
LC868116/12/08A
Ext ernal data memory timing
Parameter Symbol Pads and Conditions
RD
pulse width
WR
pulse width
tRLRH
tWLWH
Data address hold time tLLAX
For ADLC (at STX)
RD
RD
RD
From
From
From
tAVLL For ADLC
time
ADLC ! control signal
Data in
WR
=1
Control signal ! ADLC
tLLWL
tQVWH
tWHLH
For
For
For
From
For
For
RD
WR
WR
RD
WR
WR
Refer to figure 13.
tCLCL
Ratings
VDD[V] min. max.
4.5 - 6.0 6tCLCL-80
2.5 - 6.0 6tCLCL-320
4.5 - 6.0 6tCLCL-80
2.5 - 6.0 6tCLCL-320
4.5 - 6.0 2tCLCL-35 For ADLC (at LDX)
2.5 - 6.0 2tCLCL-140
4.5 - 6.0 2tCLCL-35
2.5 - 6.0 2tCLCL-140
4.5 - 6.0 5tCLCL-125 Data delay time tRLDV
2.5 - 6.0 5tCLCL-400
4.5 - 6.0 0 Data hold time tRHDX
2.5 - 6.0 0
4.5 - 6.0 2tCLCL-70 2tCLCL+70 Data floating time tRHDZ
2.5 - 6.0 2tCLCL-280 2tCLCL+280
4.5 - 6.0 tCLCL-40 Data address setting
2.5 - 6.0 tCLCL-160
4.5 - 6.0 3tCLCL-50 3tCLCL+50 tLLRL
2.5 - 6.0 3tCLCL-200 3tCLCL+200
4.5 - 6.0 3tCLCL-50 3tCLCL+50
2.5 - 6.0 3tCLCL-200 3tCLCL+200
4.5 - 6.0 tCLCL-60 Data settling time tQVWL
2.5 - 6.0 tCLCL-240
4.5 - 6.0 7tCLCL-140
2.5 - 6.0 7tCLCL-560
4.5 - 6.0 tCLCL-50 Data hold time tWHQX
2.5 - 6.0 tCLCL-200
4.5 - 6.0 tCLCL-50 tCLCL+50 tRHLH
2.5 - 6.0 tCLCL-200 tCLCL+200
4.5 - 6.0 tCLCL-50 tCLCL+50
2.5 - 6.0 tCLCL-200 tCLCL+200
1 tCYC
unit
ns
SCLK
ADLC
EROE
RD
Port 0
WR
Port 0
Port 2
Port 5
Port 3
tLLRL
tAVLL tLLAX
(at reading)
A7-A0
tLLWLtWLWHtWHLH
tLLAX
(at writing)
A7-A0DATA
tQVWLtWHQX
tRLRHtRHLH
tRLDV
tRHDZ
tRHDX
DATAZ
tQVWH
A15-A8
Bank
A7-A0
Figure 13 Timing of the external RAM
No.6724-26/28
Page 27
LC868116/12/08A
2
Evaluation Sample (ES)
•
The factory shipment of this microcomputer is chip.
But there are two types of shipment of evaluation sample.
One type is chip and the other is package (QIC160).
If you selected package type, please refer to the following pin assignment and layout, and make the user target board.
• Pin Assignment of evaluation sample (Package type)