OKI’s High-Performance CMOS 32-Bit Single Chip Microcontroller
GENERAL DESCRIPTION
The ML670100 is a high-performance 32-bit microcontroller combining a RISC based, 32-bit CPU core the ARM7TDMITM - with memory and such peripheral circuits as timers, serial ports, and analog-todigital converter. This combination of 32-bit data processing, built-in memory, and on-chip peripherals
make it ideal for controlling equipment requiring both high speed and high functionality. An external
memory controller supports direct connection to memory and peripheral devices for adding even more
functionality.
FEATURES
Operating Voltage2.7 to 3.6V
Operating Frequency 25MHz maximum(3.0 to 3.6V)
On-chip memory-ROM: 128 kilobytes
-RAM: 4 kilobytes
I/O FunctionI/O ports: 8 bits x 9, I/O directions are specified at the bit level
Timer-Flexible timer (16-bit multi-function timer with six channels)
Choice of operating modes: auto-reload timer, compare output, PWM
and capture
-Time base counter with WDT function
Serial Port-One asynchronous serial port (UART) with baud rate generator
-Two clock synchronous serial port
A-to-D Converter-8-bit resolution A-to-D converter with eight analog input ports
Interrupt
Controller
External Memory
Controller
Clock Generator-Built-in crystal oscillation circuit and PLL
Package144-pin LQFP ( LQFP144-P-2020-0.50-K)
-Support for 28 interrupt sources: 9 external and 19 internal
-Choice of eight priority levels for each source
-Direct connection to ROM, SRAM, DRAM and peripheral devices
-Support for four banks: two for ROM, SRAM and I/O devices plus two for
DRAM
-User-configurable bus width (8/16 bits) and wait control and other
parameters for accessing memory and external devices
-Choice of divider ratio (1/1, 1/2, 1/4) for adjusting operating clock frequency
to match the load of processing
ARM POWERED logo is the registered trademark of ARM Limited. ARM7TDMI is the trademark of ARM Limited.
The Information contained herein can change without notice owing to product and/or technical improvement.
The signal name of negative logic is being changed to nXXX from XXX in this data sheet.
BusnCS0OutputThis output is the chip select signal for bank 0.
control
signals
XA23 -
XA16
XA15 -
XA0
XD8
XD7- -XD0 Bidirectional These are bits 7-0 of the external data bus.
nCS1OutputThis output is the chip select signal for bank 1. It represents a
nRDOutputThis output is the read signal for SRAM banks (0 and 1).
nWRLOutputThis output is the Write Enable Low signal for SRAM banks (0
nWRHOutputThis output is the Write Enable High signal for SRAM banks (0
nWREOutputThis output is the Write Enable signal for SRAM banks (0 and
nLBOutputThis output is the Low Byte Select signal for SRAM banks (0
nHBOutputThis output is the High Byte Select signal for SRAM banks (0
nRAS0OutputThis output is the Row Address Strobe signal for bank 2.
nRAS1OutputThis output is the Row Address Strobe signal for banks 3.
nCASLOutputThis output is the Column Address Strobe Low signal for
nCASHOutputThis output is the Column Address Strobe High signal for
nWEOutputThis output is the Write Enable signal for DRAM banks (2 and
nCASOutputThis output is the Column Address Strobe signal for DRAM
nWHOutputThis output is the Write Enable High signal for DRAM banks
nWLOutputThis output is the Write Enable Low signal for DRAM banks (2
nXWAITInputThis input pin controls insertion of wait cycles. It represents a
I/O Direction Description
OutputThese are bits 23-16 of the external address bus. They represent
secondary functions for I/O port PIO0[7:0].
OutputThese are bits 15 - 0 of the external address bus.
Bidirectional These are bits 15-8 of the external data bus. They represent
secondary functions for I/O port PIO1[7:0].
secondary function for I/O port PIO2[6].
and 1).
and 1). It represents a secondary function for I/O port
PIO2[5].
1).
and 1).
and 1). It represents a secondary function for I/O port PIO2[5].
It represents a secondary function for I/O port PIO2[2].
It represents a secondary function for I/O port PIO2[4].
DRAM banks (2 and 3). It represents a secondary function for
I/O port PIO2[1].
DRAM banks (2 and 3). It represents a secondary function for
I/O port PIO2[3].
3). It represents a secondary function for I/O port PIO2[0].
banks (2 and 3). It represents a secondary function for I/O port
PIO2[1].
(2 and 3). It represents a secondary function for I/O port
PIO2[3].
and 3). It represents a secondary function for I/O port PIO2[0].
secondary function for I/O port PIO2[7].
/ 274
Page 5
Semiconductor
ML670100
PIN DESCRIPTIONS (Cont.)
TypeSignal Name I/O Direction Description
Bus
control
signals nBACKOutputThis output is an acknowledgment signal to a bus request signal
Interrupts
Timers TMIN[5:0]InputThese pins function as capture trigger input pins for Flexible
Serial
ports
nBREQInputThis input is a bus request signal from an external device.
It represents a secondary function for I/O port PIO7[6].
from an external device. It represents a secondary function for
I/O port PIO7[7].
nEFIQInputThis input is an external fast interrupt request (FIQ). When
accepted, the request is processed as an FIQ exception.
nEIR[7:0]InputThis inputs are external interrupt requests. They represent
secondary functions for I/O port PIO3[7:0].
Timer channels 5-0 in capture mode. They represent secondary
functions for I/O port PIO4[5:0].
TMOUT[5:0] OutputThese pins function as output pins for Flexible Timer channels
5-0 in compare output or PWM mode. They represent
secondary functions for I/O port PIO4[5:0].
TMCLK[1:0] InputThese pins function as Flexible Timer channels 1 and 0 clock
input pins. They represent secondary functions for I/O port
PIO4[7:6].
ASI_TXDOutputThis output is the transmit data for the Asynchronous Serial
Interface. It represents a secondary function for I/O port
PIO5[7].
ASI_RXDInputThis input is the receive data for the Asynchronous Serial
Interface. It represents a secondary function for I/O port
PIO5[6].
CSI0_TXDOutputThis output is the transmit data for the Clock Synchronous
Serial Interface 0. It represents a secondary function for I/O
port PIO5[2].
CSI0_RXDInputThis input is the receive data for the Clock Synchronous Serial
Interface 0. It represents a secondary function for I/O port
PIO5[1].
CSI0_SCLK Bidirectional This pin accepts/provides clock signal for the Clock
Synchronous Serial Interface 0. It represents a secondary
function for I/O port PIO5[0].
CSI1_TXDOutputThis output is the transmit data for the Clock Synchronous
Serial Interface 1. It represents a secondary function for I/O
port PIO5[5].
CSI1_RXDInputThis input is the receive data for the Clock Synchronous Serial
Interface 1. It represents a secondary function for I/O port
PIO5[4].
CSI1_SCLK Bidirectional This pin accepts/provides clock signal for the Clock
Synchronous Serial Interface 1. It represents a secondary
function for I/O port PIO5[3].
/ 275
Page 6
Semiconductor
PIN DESCRIPTIONS (Cont.)
ML670100
TypeSignal
Name
Analogto-digital
converter AI[7:0]InputThese are analog signal input pins for analog-to-digital
Debugging
interface TDOOutputThis output is the serial data output for the debugging scan
I/O ports PIO8[7:0]Bidirectional These form an 8-bit I/O port. I/O directions are specified at the
VREFInputThis input is the reference voltage for the analog-to-digital
TDIInputThis input is the serial data input for the debugging scan circuit.
nTRSTInput"L" level input to this pin resets the debugging scan circuit.
TMSInputThis input selects the mode for the debugging scan circuit.
TCKInputThis input is the serial clock input for the debugging scan
DBGENInput"H" level input to this pin enables the CPU's debugging
DBGRQInputThis input is a debugging request signal from an external
DBGACKOutputThis output is an acknowledgment signal to a debugging
PIO7[7:0]Bidirectional These form an 8-bit I/O port. I/O directions are specified at the
PIO6[7:0]Bidirectional These form an 8-bit I/O port. I/O directions are specified at the
PIO5[7:0]Bidirectional These form an 8-bit I/O port. I/O directions are specified at the
PIO4[7:0]Bidirectional These form an 8-bit I/O port. I/O directions are specified at the
PIO3[7:0]Bidirectional These form an 8-bit I/O port. I/O directions are specified at the
PIO2[7:0]Bidirectional These form an 8-bit I/O port. I/O directions are specified at the
PIO1[7:0]Bidirectional These form an 8-bit I/O port. I/O directions are specified at the
PIO0[7:0]Bidirectional These form an 8-bit I/O port. I/O directions are specified at the
I/O Direction Description
converter channels 7-0. Connect it to VDD.
converter channels 7-0.
It represents a secondary function for I/O port PIO8[7].
circuit. It represents a secondary function for I/O port
PIO8[6].
It represents a secondary function for I/O port PIO8[5].
It represents a secondary function for I/O port PIO8[4].
circuit. It represents a secondary function for I/O port
PIO8[3].
function. It represents a secondary function for I/O port
PIO8[2].
device. It represents a secondary function for I/O port
PIO8[1].
request signal from an external device. It represents a secondary
function for I/O port PIO8[0].
bit level.
bit level.
bit level.
bit level.
bit level.
bit level.
bit level.
bit level.
bit level.
/ 276
Page 7
Semiconductor
PIN DESCRIPTIONS (Cont.)
ML670100
TypeSignal
Name
Clock
control
System
control
Power
Supply
OSC0InputThis pin is for connecting a crystal oscillator. If an external
OSC1OutputThis pin is for connecting a crystal oscillator. If an external
CLKOUTOutputThis output is the internal system clock signal.
FSELInputConnect this pin to VDD or ground to indicate the frequency
PLLENInputConnect this pin to VDD to enable the built-in phase-looked
VCOMInputThis input controls the oscillation frequency of the PLL's
nRSTInput"L" level input to this pin produces an external system reset for
DBSELInputDuring a system reset of this LSI, this input specifies the width
nEAInputDuring a system reset of this LSI, this input controls the use of
TESTInputDuring a system reset of this LSI, this input controls the initial
VDDInputThese pins are this LSI's power supply pins. Connect them all to
GNDInputThese pins are this LSI's ground pins. Connect them all to
AVDDInputThis pin is the analog-to-digital converter's power supply.
AGNDInputThis pin is the analog-to-digital converter's ground pin.
I/O
Direction
Description
clock is used, supply it to this pin.
clock is used, leave this pin open.
range for the basic clock.
loop. If the PLL is not used because an external clock with a
guaranteed duty is available, connect this pin to ground.
voltage-controlled oscillator. Connect it to ground.
this LSI. "H" level input then causes execution to resume from
address 0x000000.
of the external data bus for bank 0. Connect this pin to VDD for
a data bus width of 16bits and to ground for 8bits.
the internal ROM. Connect this pin to VDD to enable the ROM
and to ground to disable it.
pin functions for the I/O port 8 pins(PIO8[7:0]). Connect this
pin to VDD to initialize the port for its secondary function, the
debugging interface, and to ground for I/O.
VDD.
ground.
Connect it to VDD.
Connect it to ground.
/ 277
Page 8
Semiconductor
ML670100
OUTLINE of PERIPHERAL FUNCTIONS
I/O Ports
The I/O ports consist of nine 8-bit ports: PIOn(n=0 - 8). I/O directions are specified at the bit level. When
configured for input, the pins use high-impedance input.
Flexible Timer
The flexible timer consists of six 16-bit timer channels. Each channel offers independent choice of four
operating modes and of eight count clocks.
-Timer operating modes
- Auto-reload timer
- Compare output
- Pulse width modulation (PWM)
- Capture input
-Timer synchronization
- Timer channels can be started and stopped in union.
-External clocks
- Timer channels 0 and 1 accept external clock signals.
Time Base Generator
The time base generator consists of the time base counter, a frequency divider which derives the time base
signals for the on-chip peripherals from the system clock signals, and watchdog timer, which counts time
base clock cycles and produces a system reset signal when its internal counter overflows.
Asynchronous Serial Interface
The asynchronous serial interface is a serial port that frames each character of information with start and
stop elements. Parameters control transfer speed (using a dedicated baud rate generator), character length,
number of stop bits and use of parity.
-Built-in baud rate generator
-Character length: 7 or 8 bits
-Stop bits: 1 or 2
-Parity: none, odd, or even
-Error detection for receiving: parity, framing and overrun errors
-Full duplex operation
Clock Synchronous Serial Interface
The clock synchronous serial interface are two channels of serial ports that transmit 8-bit data
synchronized with internal or external clock signals.
/ 278
Page 9
Semiconductor
Analog-to-Digital Converter
The analog-to-digital converter is an 8-bit successive approximation analog-to-digital converter with
eight input channels and four result registers. It offers two operating mode: scan mode, which
sequentially converts the inputs from the selected set of four input channels, and select mode, which
converts the input from a single input channel.
-Resolution: 8 bits
-Eight analog input channels
-Four result registers for holding conversion results
-Operating modes
- Scan modes: Sequential conversion of the analog inputs from the upper or lower set of four
input channels
- Select mode: Conversion of the analog inputs from a single input channel
Interrupt Controller
The interrupt controller manages interrupt requests from 9 external sources and 19 internal ones and
passes them on to the CPU as interrupt request (IRQ) or fast interrupt request (FIQ) exception requests. It
supports eight interrupt levels for each source for use in priority control.
-The interrupt controller supports 9 external interrupt sources connected to nEFIQ and nEIR[7:0] pins
and 19 internal interrupt sources, including the serial ports and the flexible timer channels.
-The interrupt controller simplifies interrupt priority control with a choice of eight interrupt levels for
each source.
-The interrupt controller assigns a unique interrupt number to each source to permit rapid branching
to the appropriate routine.
ML670100
External Memory Controller
The external memory controller generates control signals for accessing external memory (ROM, SRAM,
DRAM, etc.), and other devices with address in the external memory space.
-Support for direct connection of ROM, SRAM and I/O devices
- Strobe signal outputs for a variety of memory and I/O devices
-Support for direct connection of DRAM
- Multiplexed row and column addresses
- Random access and high-speed paged modes
- Programmable wait cycle insertion
-Memory space divided into four banks
- Two banks for ROM, SRAM and I/O devices
- Two banks for DRAM
- Address space of 16 megabytes for each bank
- Separate data bus width (8 or 16 bits), wait cycle, and off time setting for each bank
-Single-stage store buffer permitting internal access during a wait cycle to external memory or device
-Arbitration of external bus requests from external devices
/ 279
Page 10
Semiconductor
Clock Controller
The clock controller controls the oscillator circuit based on a crystal oscillator and a built-in phase-locked
loop which together generate and control the system clock signal. It offers a choice of divider ratio (1/1,
1/2 and 1/4) for adjusting operating clock frequency to match the load of processing. It also controls the
transitions to and from a stand-by mode, HALT mode.
I/O port C (I/O ports with second functions of output)
PIO5[7], PIO5[5], PIO5[2], PIO7[7], PIO8[6], PIO8[0]
Secondary function
output signal
ML670100
Peripheral bus
/ 2713
Page 14
Semiconductor
PMm [n]
POm [n]
PIOm [n]
Read PIm [n]
PFSm [n]
I/O port D (I/O ports with second functions of tri-state output)
PIO0[7:0], PIO2[6:0]
Secondary function output
enable signal
Secondary function
output signal
Peripheral bus
ML670100
/ 2714
Page 15
Semiconductor
PMm [n]
POm [n]
PIOm [n]
Read PIm [n]
PFSm [n]
I/O port E (I/O ports with second functions of input and output)
PIO1[7:0], PIO4[5:0], PIO5[3], PIO5[0]
Secondary function output
enable signal
Secondary function
output signal
Secondary function
input signal
ML670100
Peripheral bus
/ 2715
Page 16
Semiconductor
C1
C2
ELECTRICAL CHARACTERISTICS
Absolute Maximum ratings
ItemSymbolConditionRated ValueUnit
Power supplyV
Input voltageV
Analog input voltageV
Output currentI
Power dissipationP
Storage temperatureT
Recommended Operating Conditions
(Condition: GND=AGND=0V)
ItemSymbolConditionMin.Typ.Max.Unit
Power supplyV
Analog power supplyAV
Analog reference
voltage
Analog input voltageV
Operating Frequency 1f
Operating Frequency 2f
Ambient temperatureT
DD
IN
AI
O
D
STG
DD
DD
V
REF
AI
C1
C2
a
-0.3 to 4.6
VDD=AVDD=V
REF
-0.3 to VDD +0.3
GND=AGND=0V-0.3 to AVDD +0.3
Ta=25V
--55 to +150
-2.73.33.6
VDD=AV
-
DD
2.73.33.6
AVDD-0.3-AV
-AGND-V
V
=3.0 to 3.6V, 14-25
DD
V
=2.7 to 3.6V, 24-20
DD
--4025+85°C
ML670100
V
V
12mA
850mW
°C
V
DD
REF
MHz
1
Basic clock frequency
from the oscillator
circuit or an external
clock signal
4 - 6.25MHz“H” level“H” level (Connect to VDD)4 - 25MHz
8 - 12.5MHz(Connect to VDD)“L” level (Connect to GND)4 - 25MHz
4 - 25MHz
(External clock only)
PLLEN InputFSEL InputOperating Frequency 1
f
“L” level
(Connect to GND)
“H” level (Connect to VDD)
or
“L” level (Connect to GND)
4 - 25MHz
2
Basic clock frequency
from the oscillator
circuit or an external
clock signal
4 - 5MHz“H” level“H ” level (Connect to VDD)4 - 20MHz
8 - 10MHz(Connect to VDD)“L” level (Connect to GND)4 - 20MHz
4 - 20MHz
(External clock only)
PLLEN InputFSEL InputOperating Frequency 2
f
“L” level
(Connect to GND)
“H” level (Connect to VDD)
or
“L” level (Connect to GND)
4 - 20MHz
/ 2716
Page 17
Semiconductor
DC Characteristics
ML670100
(Condition: VDD=AVDD=V
ItemSymbo
=2.7V to 3.6V, GND=AGND=0V, Ta=-40 to +85°C)
REF
ConditionMin.Typ.Max.Unit
l
High level input voltage 1V
High level input voltage 2V
Low level input voltage 1V
Low level input voltage 2V
High level output voltageV
Low level output voltageV
IH1
IH2
IL1
IL2
OHIOH
OLIOL
10.65x V
DD
-VDD+0.3
22-VDD+0.3
1-0.3-0.3x V
2-0.3-0.8
=-4mA
IOH=-100uA
2.2(*2)
VDD-0.2
-
-
= 4mA--0.4
-
-
Input leak current 1|ILI|VI=0/VDD ,3--2.0(*3)
Input leak current 2|IL2|VI=0/VDD ,4--10.0(*3)
Output leak current|ILO|VO=0/V
Input capacityC
Output capacityC
Input/output capacityC
Power consumption
(in HALT mode)
Power consumptionI
I
IO
DDH
DD
I
O
fC= 25MHz
No load
DD
--6-
--9-
--10-
--2.0(*3)
-3050
-60100
1 Applied to PIO8 - PIO0, XD7 - XD0, nEFIQ
2 Applied to nRST, nEA, DBSEL, TEST, FSEL, PLLEN, VCOM
3 Applied to Input pins other than OSC0
4 Applied to OSC0
DD
V
µA
µF
mA
(*1): Typ. means that VDD=3.3V, Ta=25 °C
(*2): 2.4V in case of that VDD=AVDD=V
=3.0 to 3.6V
REF
(*3): 20µA in case of that Ta is equal or greater than 50 °C