Dear customers,
About the change in the name such as "Oki Electric Industry Co. Ltd." and
"OKI" in documents to OKI Semiconductor Co., Ltd.
The semiconductor business of Oki Electric Industry Co., Ltd. was succeeded to OKI
Semiconductor Co., Ltd. on October 1, 2008.
Therefore, please accept that although
the terms and marks of "Oki Electric Industry Co., Ltd.", “Oki Electric”, and "OKI"
remain in the documents, they all have been changed to "OKI Semiconductor Co., Ltd.".
It is a change of the company name, the company trademark, and the logo, etc. , and
NOT a content change in documents.
October 1, 2008
OKI Semiconductor Co., Ltd.
550-1 Higashiasakawa-cho, Hachioji-shi, Tokyo 193-8550, Japan
http://www.okisemi.com/en/
FEDL64P168-02
Semiconductor
ML64P168
GENERAL DESCRIPTION
This version: Sep. 27,1999
Previous version: Jun. 22,1999
4-Bit Microcontroller with Built-in RC Oscillation Type A/D Converter and LCD Driver
The ML64P168 is a one-time-programmable ROM-version product, which has one-time PROM (OTP)
as internal program memory. On the other hand, the ML64168 is a mask ROM-version product, which
has mask ROM as internal program memory.
Unlike the mask ROM-version product (ML64168), the ML64P168 cannot be supplied in the form of a
chip.
The ML64P168 has two operation modes, microcontroller operation mode and PROM mode. The
microcontroller operation mode is used to operate the ML64P168 like a ML64168 and the PROM
mode is used to program or read the PROM.
The ML64P168 is a low power 4-bit microcontroller incorporating the Oki’s original CPU core nX-
4/30.
The ML64P168 provides a minimum instruction execution time of 4.3µs (@700kHz).
The ML64P168 contains 8160-byte program memory, 512-nibble data memory, three 4-bit input-output
ports, 4-bit input port, 4-bit output port, 2-channel RC oscillation type A/D converter, LCD driver for
up to 120 segments, and buzzer output port.
APPLICATION
The ML64P168 is best suited for low power, high precision thermometers and hygrometers.
FEATURES
∙
Processing speed
Minimum instruction execution time
: 4.3
µs
@700 kHz
91.6
µs
@32.768 kHz
∙
Clock generation circuit
Low-speed clock
: 32.768 kHz crystal oscillator
High-speed clock
: 700 kHz RC oscillator ( with an external resistor )
CPU clock is selectable as Low-speed clock / High-speed clock by software.
∙
Operating voltage
: 1.5 V spec. / 3.0 V spec. ( selectable by mask option )
1.45 to 1.70 V (1.5V spec.)
2.7 to 3.5 V (3.0V spec.)
∙
Operating temperature
: 0 to +65°C
The information contained herein can change without notice owing to product and/or technical improvements.
Before using the product, please make sure that the information being referred to is up-to-date.
1/51
FEDL64P168-02
Semiconductor
ML64P168
∙
Memory space
Internal program memory
Internal data memory
∙
RC oscillation type A/D converter
Counter A
Counter B
∙
I/O port
Input-output port
Input port
Output port
: 8160 bytes
: 512 nibbles
: 2 channels
Time division 2-channel method
: 1 / ( 10
4
×
8 )
×
1
: 1 / 2
14
×
1
: 3 ports
×
4 bits
: 1 port
×
4 bits
: 1 port
×
4 bits
( 8 out of the 34 LCD driver outputs can be used as
output-only ports by mask option. )
∙
LCD driver
: 34 outputs
(1) At 1/4 duty and 1/3 bias
: 120 segments (max.)
(2) At 1/3 duty and 1/3 bias
: 93 segments (max.)
(3) At 1/2 duty and 1/2 bias
: 64 segments (max.)
Voltage Regulator for LCD Driver (selectable by mask option)
The LCD panel display is stable regardless of temporary supply voltage drop, because the
voltage generated by the voltage regulator for LCD driver is supplied to the bias voltage
generator as a reference voltage.
LCD Operating Voltage
When the voltage regulator for LCD driver is used
: 3.6 V ( Duty cycle = 1/4 or 1/3 )
: 2.4 V ( Duty cycle = 1/2 )
When the voltage regulator for LCD driver is not used
: 4.5 V ( Duty cycle = 1/4 or 1/3 )
: 3.0 V ( Duty cycle = 1/2 )
∙
Buzzer driver
: 1 output ( 4 output modes selectable )
∙
Serial port
: Synchronous 8-bit transfer
Selectable as external clock / internal clock
Selectable as MSB first / LSB first
∙
Capture circuit
: 2 channels ( 32Hz, 64Hz, 128Hz, 256Hz )
∙
Battery check circuit
: 1 ( incorporated into the input-only port )
∙
Watchdog timer
∙
Interrupt
External interrupt
: 2 sources
Internal interrupt
: 8 sources
∙
Package:
80-pin plastic QFP ( QFP80-P-1420-0.80-BK )
Product name : ML64P168 - xxxGP ( written PROM )
ML64P168 - NGP ( blanked PROM )
80-pin plastic QFP ( QFP80-P-1414-0.65-K )
Product name : ML64P168 - xxxGA ( written PROM )
ML64P168 - NGA ( blanked PROM )
xxx indicates a code number.
2/51
FEDL64P168-02
Semiconductor
ML64P168
PROGRAM DEVELOPMENT ENVIRONMENT
∙
Structured Assembler
∙
In Circuit Emulator
∙
Debugger
:
:
:
SASM64K
EASE64168
DT64K
3/51
FEDL64P168-02
Semiconductor
ML64P168
BLOCK DIAGRAM
CPU CORE: nX-4/30
V
PP
DATA BUS ( 8 )
IR
DECORDER
IR
PCM PCL
ROMR
PROM
8160
Bytes
BSR
MIEF
HALT
TR2
TR0
TR1
PCH
C
ALU
B A
DATA BUS ( 8 )
H L
X Y
TIMING
CONTROLLER
SP
RAM
512
Nibbles
V
DD1
V
DD2
V
DD3
C1
C2
L0
L1
to
L33
CAPR
V
DDI
P2
P3
P4
INT
V
DDI
P1.0
P1.1
P1.2
P1.3
P2.0
P2.1
P4.3
to
ADDRESS BUS
BC
INT
OSC1
OSC2
XT
XT
RST
TST1
TST2
5
2CLK
TBC
INT
BD
BD
SIOP
BIAS
RSTC
LCD
TST
INTC
WDT
INT
IN0
CS0
RS0
CRT0
RT0
IN1
CS1
RS1
RT1
P1
V
DDI
ADC
P0
INT
INT
P0.0
P0.1
P0.2
P0.3
4/51