Oki Semiconductor’s ML674001, ML67Q4002, and
ML67Q4003 microcontrollers (MCUs) have been added to an
extensive and growing family of ARM
for standard products that require 32-bit CPU performance
and the low cost afforded by MCU integrated features.
Oki’s new Family members provide on-board SRAM (32
KBytes), boot ROM (4 KBytes) and a host of other useful
peripherals such as seven general-purpose timers, a watchdog timer, pulse-width modulators, AD converter, SIOs, I
serial interface, GPIO pins, external-memory controller, and
boundary-scan capability. In addition, the ML67Q4002 and
ML67Q4003 offer 256 KBytes and 512 KBytes of built-in
Flash ROM, respectively. The ML674001, ML67Q4002, and
ML67Q4003 are pin-for-pin compatible with each other for
easy performance upgrades.
®
based 32-bit MCUs
2
C
Features
• ARM7TDMI 32-bit RISC CPU
- 16-bit Thumb™ instruction set for power efficiency
applications
• 32-bit mode (ARM) and/or 16-bit mode (Thumb)
• Built-in external memory controller supports glueless connectivity to memory (including SDRAM and
EDO DRAM) and I/O
• Built in Flash ROM
- 256 KB (ML67Q4002)
- 512 KB (ML67Q4003)
• 32-KBytes built in zero-wait-state SRAM
• 28 interrupt sources
The ARM7TDMI
Oki Semiconductor’s Family of low-cost ARM-based MCUs
offers system designers a bridge from 8- and 16-bit proprietary MCU architectures to ARM’s 32-bit industry standard
architecture with no price premium. The ARM industry-wide
support infrastructure offers system developers many advantages including software compatibility, many ready-to-use
software applications, and a large choice among hardware
and software development tools to better leverage engineering resources, lower development costs, minimize project
risks, and reduce their product time to market.
In addition, migration of a design with an Oki standard MCU
to an Oki custom solution is easily facilitated with its awardwinning µPLAT™ product development architecture.
• DMA: Two channels with external access
•Timers: Seven 16-bit timers
•Watch-Dog Timer: Dual-stage 16 bit
• PWM: Two 16-bit channels
• Serial Interfaces: SIO, UART, SSIO, I
• GPIO: 42 bits
• A/D Converter: Four 10-bit channels
• Built-in boot ROM accommodates in-circuit Flash
ROM re-programming and field-updates
•Packages
- 144-pin plastic LQFP
- 144-pin plastic LFBGA
®
Advantage
2
C
April 2004, Rev 2.0
Data Sheet
Applications
• Flexible solution for various cost-effective, powersensitive embedded real-time control applications
ML674001/Q4002/Q4003 MCUs
Part NumberClock FrequencyBuilt-in Flash SizePackages
Fast interrupt request (FIQ) and interrupt request (IRQ) are employed as interrupt input signals. The interrupt controller controls these interrupt signals
going to ARM core.
1. Interrupt sources
- FIQ: 1 external source (external pin: EFIQ_N)
- IRQ: Total of 27 sources. 23 internal sources, and 4 external sources
(EXINT[3:0])
2. Interrupt priority level
- Configurable, 8-level priority for each source
3. External interrupt pin input
- EXINT[3:0] Can be set as Level or Edge sensing
- Configurable High or Low when Level sensing. Configurable Rising- or
Falling-edge triggering when Edge sensing. EFIQ_N is set as Falling-Edge
triggering.
Timer
Seven channels of 16-bit reload timers are employed. Of these, 1 channel is
used as system timer for OS.
The timers of other 6 channels are used in application software.
1. System timer: 1 channel
- 16-bit auto reload timer: Used as system timer for OS. Interrupt request
by timer overflow.
2. Application timer: 6 channels
- 16-bit auto reload timer
-One shot, interval
- Clock can be independently set for each channel
Watch Dog Timer
Functions as an interval timer or a watch dog timer.
• 16-bit timer
•Watch dog timer or interval timer mode can be selected
• Interrupt reset generation
• Maximum period: longer than 200 msec
Serial Interface
This MCU contains four serial interfaces.
1. SIO without FIFO: 1 channel
This is the serial port which performs data transmission, taking a synchronization per character.
Selection of various parameters, such as addition of data length, a stop
bit, and a parity bit, is possible.
- Asynchronous full duplex operation
- Sampling Rate = Baud rate x 16 samples
- Character Length: 7, 8 bit
- Stop Bit Length: 1, 2 bit
-Parity: Even, Odd, none
- Error Detection: Parity, Framing, Over run
- Loop Back Function: ON/OFF, Parity, framing, Over run Compulsive
addition
- Built-in Baud Rate Generator (8-bit counter) - Independent from a bus
clock
- Internal-Baud-Rate-Clock-Stop at the Time of HALT Mode.
2. UART with 16-byte FIFO: 1 channel
Features 16-byte FIFO in both send and receive. Uses the industry stan-
dard 16550A ACE (Asynchronous Communication Element).
- Asynchronous full duplex operation
- Reporting function for all status
- 16-Byte Transmit FIFO
- 16-Byte Receive FIFO
-Transmission, reception, interrupt of line status Data set and Indepen-
dent FIFO control.
-Modem control signals: CTS, DCD, DSR, DTR, RI and RTS
- Data length: 5, 6, 7, or 8 bits
- Stop bit length: 1, 1.5, or 2 bits
- parity: Even, Odd, or none
- Error Detection: Parity, Framing, Overrun
- Built-in Baud Rate Generation
3. Synchronous serial interface: 1 channel
Clock-synchronous 8 bit serial port
- selectable 1/8, 1/16 or 1/32 of the system clock frequency.
- LSB First or MSB First.
-Master / Slave Mode
-Transceiver buffer empty interrupt
- Loopback Test Function
2
C: 1 channel
4. I
Based on the I
- Communication mode: Master transmitter /master receiver
C Bus specification. Operates as a single master device.
April 2004, Rev 2.0
Oki Semiconductor • 3
ML674001/ML67Q4002/ML67Q4003
Direct Memory Access Controller (DMAC)
Two-channel direct memory access controller (DMAC) which transfers data
between memory and memory, between I/O and memory, and between I/O
and I/O.
1. Number of
channels:
2. Channel priority
level:
3. Maximum number
of transfers:
4. Data transfer size: Byte (8 bits), Half-word (16 bits), Word (32 bits)
5. Bus request
system:
6. DMA transfer
request:
7. Interrupt request:Interrupt request is generated in CPU after the end
2 channels
Fixed mode: Channel priority level is always
fixed (channel 0 >1).
Roundrobin: Priority level of the channel
requested for transfer is kept
lowest.
65,536 per DMA operation.
Cycle steal
mode:
Burst mode: Bus request signal is asserted until
Software
request:
External
request:
of DMA transfer for the set number of transfer
cycles, or after the occurrence of an error.
Interrupt request signal is output separately for
each channel.
Interrupt request signal output can be masked for
each channel.
Bus request signal is asserted for
each DMA transfer cycle.
all transfers of transfer cycles are
complete.
By setting the software transfer
request bit inside the DMAC, the
CPU starts DMA transfer.
DMA transfer is started by external request allocated to each
channel.
External Memory Controller
Controls access of externally connected devices such as ROM (FLASH), SRAM,
SDRAM (EDO DRAM), I/O devices and external FLASH memory.
1. ROM (FLASH) access function: 1 bank (supports up to 16 MBytes)
Supports 16-bit devices
Supports FLASH memory: Byte write (can be written only by IF equivalent
to SRAM).
In ML67Q4002/4003, control internal FLASH access.
Configurable access timing.
Supports 16-bit devices
Supports EDO-DRAM/SDRAM: Simultaneous connections to EDO-DRAM
and SDRAM cannot be made.
Configurable access timing.
4. External I/O access function: 2 banks
Supports 8-bit/16-bit access: Independent configuration for each bank.
Each bank has two chip selects: XIOCS_N[3:0].
Supports external wait input: XWAIT
Access timing configurable for bank independently.
GPIO
42-bit parallel port (four 8-bit ports and one 10-bit port).
PIOA[7:0]
PIOB[7:0]
PIOC[7:0]
PIOD[7:0]
PIOE[9:0]
1. Input/output selectable at bit level.
2. Each bit can be used as an interrupt source.
3. Interrupt mask and interrupt priority can be set for all bits.
4. The ports are configured as input, immediately after reset.
5. Primary/secondary function of each port can be set independently.
Combination port
Combination port
Combination port
Combination port
Combination port
UART
DMAC, SIO (µPLAT-7B)
PWM, XA[23:19], XWR
DRAM control signals etc.
SSIO, I2C, External interrupt signal
4
• Oki Semiconductor
April 2004, Rev 2.0
ML674001/ML67Q4002/ML67Q4003
Pulse Width Modulation
This MCU contains two channels of Pulse Width Modulation (PWM) function
which can change the duty cycle of a waveform with a constant period. The
PWM output resolution is 16 bits for each channel.
A/D Converter
Successive approximation type A/D converter.
1. 10 bits x 4 channels
2. Sample and hold function
3. Scan mode and select mode are supported
4. Interrupt is generated after completion of conversion.
5. Conversion time: 5 µs (min).
Power Management
HALT, STANDBY and clock gear clock control functions are supported as
power save functions.
1. HALT mode
HALT object
- CPU, internal RAM, AHB bus control
HALT mode setting: Set by the system control register.
Exit HALT mode due to: Reset, interrupt
2. STANDBY mode
Stops the clock for the entire device.
STANDBY mode setting: Specified by the system control register.
Exit STANDBY mode due to: Reset, external interrupt (other than EFIQ_N)
3. Clock gear
The MCU has two clock systems, HCLK and CCLK. Configure HCLK
and CCLK frequency.
HCLK: CPU, bus control, synchronous serial interface, I2C.
CCLK: Timers, PWM SIO, AD converter, etc.
4. Clock control by each function unit
AD converter, PWM, Timers, DRAMC, DMAC, UART(FIFO), SIO, SSIO,
I2C.
Built-In Flash ROM Programming
The robust features of the flash permit simple and optimized programming of
the flash-ROM.
1. There are three methods for programming the FLASH-ROM
- Programming via the JTAG interface
- Programming using boot mode
Boot mode is used by the host to download data to the FLASH ROM via
the UART interface.
A program stored in the on-chip boot ROM is used to transfer the
incoming serial data on the UART interface to the internal Flash ROM.
- Programming via a user application running from external memory
Internal flash can be programmed by executing a user flash programming application from external memory.
2. Single power source for reading and programming of FLASH: 3.0V to
3.6V
3. Programming units: 2 bytes
4. Selectable erasing size
- Sector erase: 2 KBytes/sector
- Block erase: 64 KBytes/block
- Chip erase: All memory cell
5. Word program time: 20 µsec (2 bytes)
6. Sector/block erase time: 25 msec
7. Chip erase time: 100 msec
8. Write protection
- Block protect: top address 8Kwords can be protected
- Chip protect: all words can be protected
9. Number of commands: 9
10. Highly reliable read/program
- Sector programming: 1,000 times
- Data hold period: 10 years
April 2004, Rev 2.0
Oki Semiconductor • 5
ML674001/ML67Q4002/ML67Q4003
Pin Configuration
PIOD[6]/
XIOCS_N
XDQM[1]
PIOD[7]/
XDQM[0]
PIOB[1]/
DREQCL
R[0]
PIOB[3]/
DREQCLR[
1]
PIOC[0]/
PWMOUT[
0]
XBS_N
[0]
PIOD[2]/
XRAS_N
XIOCS_N
[3]
XIOCS_N
XIOCS_N
[2]
PIOB[2]/
PIOB[0]/
DREQ[1]
DREQ[0]
PIOB[5]/
VDD_IOGNDVDD_IOVDD_
TCOUT
[1]
PIOB[4]/
GNDVDD_IO XD[15]XD[11]XD[14]
TCOUT
XBS_N
PIOD[0]/
[1]
XWAIT
PIOD[1]/
VDD_IOGNDVDD_IOXD[8]NCXD[9]
XCAS_N
XRAMCS_NXBWE
[1]
XWE_N PIOC[7]/
[0]
XROMCS_NXBWE_N
PIOC[1]/
PWMOUT
[0]
[1]
VDD_
CORE
_N[0]
XWR
[1]
PIOC[4]/
XOE_N
PIOC[6]/
XA[23]
PIOC[5]/
XA[22]
CORE
144-Pin LFBGA
(TOP VIEW)
XA[16]XA[14]XA[11]XA[9]XA[7]XA[6]
XA[21]
PIOC[2]/
XA[17]XA[15]XA[13]XA[10]XA[4]XA[5]
XA[19]
PIOC[3]/
XA[18]XA[12]VDD_IOXA[8]XA[2]GND
XA[20]
VDD_IOGNDGNDXA[3]XA[0]XD[13]XA[1]
VDD_
XD[10]NCXD[12]
CORE
N
M
L
K
J
H
G
BSEL[1] PIOD[5]/
PIOE[7]/
EXINT[2]
PIOE[0]/
SCLK
TDIPIOE[1]/
nTRSTTDOTCKGNDVDD_IO PIOA[0/
NCNCJSELDRAME_NOSC0TESTAIN[2] PIOA[2]/
13121110987654321
PIOD[3]/
XSDCKE
XSDCLK
BSEL[0] PIOE[8]/
EXINT[3]
PIOE[6]/
PIOE[9]/
EXINT[1]
EFIQ_N
CKOTMSCKOE_N AVDDAIN[1]AIN[3]VDD_
SDI
PIOD[4]/
XSDCS_N
PIOE[5]/
EXINT[0]
PIOE[2]/
SDO
OSC1_N PIOA[1]/
SOUT
SIN
Figure 1. 144-Pin LFBGA
Notes:
1. For pins that have multiple functions, the signals are noted by their primary / secondary functions.
2. NC pins can be connected to VDD_IO or GND.
GNDXD[7]XD[6]XD[5]
GNDXD[2]NCXD[4]
AIN[0]NCVDD_IOGNDVDD_IOXD[3]XD[1]
PIOA[5]/
CORE
VREFAGNDGNDPIOA[3]/
PIOA[4]/
DCD
PIOA[6]
CTS
FWRXD[0]RESET
DTR
PIOA[7]/RIPIOE[4]/
DSR
PIOE[3]/
RTS
SDA
SCL
PIOB[6]/
STXD
_N
PIOB[7]/
SRXD
NC
F
E
D
C
B
A
6
• Oki Semiconductor
April 2004, Rev 2.0
Loading...
+ 13 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.