OKI Semiconductor
FEDL60851E-02
Issue Date: Dec. 16, 2002
ML60851E
USB Device Controller
1/84
GENERAL DESCRIPTION
The ML60851E is a general purpose Universal Serial Bus (USB) device controller. The ML60851E provides a
USB interface, control/status block, application interface, and FIFOs. The FIFO interface and two types of
transfer have been optimized for BulkOut devices such as printers and BulkIn devices such as digital still cameras
and image scanners. In addition, Mass Storage devices are also applicable to this device.
FEATURES
USB 2.0 compliant
Built-in USB transceiver circuit
Full-speed (12 Mb/sec) support
Supports printer device class, image device class, and Mass Storage device class
Supports three types of transfer; control transfer, bulk transfer, and interrupt transfer
Built-in FIFOs for control transfer
Two 8-byte FIFOs (one for receive FIFO and the other for transmit FIFO)
Built-in FIFOs for bulk transfer (available for either receive FIFO or transmit FIFO)
One 64-byte FIFO
Two 64-byte FIFOs
Built-in FIFO for interrupt transfer
One 8-byte FIFO
Supports one control endpoint, two bulk endpoint addresses, and one interrupt endpoint address
Two 64-byte FIFOs enable fast BulkOut transfer and BulkIn transfer
Supports 8 bit/16 bit DMA transfer
Supports protocol stall
V
CC
is 3.0 to 3.6 V
Supporting dual power supply enables 5 V application interface
Built-in 48 MHz oscillator circuit
Package options:
44-pin plastic QFP (QFP44-P-910-0.80-2K)(ML60851EGA)
44-pin plastic TQFP (TQFP44-P-1010-0.80-K)(ML60851ETB)
FEDL60851E-01
OKI Semiconductor
ML60851E
4/84
PIN DESCRIPTION
Pin Symbol Type
Description
1, 2
D+, D
I/O
USB data
6, 7
XIN, XOUT
--
Pins for external crystal oscillator
4, 5
TEST1, 2
I
Test pins (normally "L")
13 to 16,
19 to 22
D15 to D8
I/O
Data bus (MSB)
35 to 38,
41 to 44
AD7 to AD0
I/O
Data bus (LSB)/address inputs
25 to 32
A7 to A0
I
Address inputs
8
CS
I
Chip select signal input pin. LOW active
9
RD
I
Read signal input pin. LOW active
10
WR
I
Write signal input pin. LOW active
12
INTR
O
Interrupt request signal output pin
34
DREQ
O
DMA request output pin
33
DACK
I
DMA acknowledge signal input pin
23
ALE
I
Address latch enable signal input pin
24
ADSEL
I
Address input mode select input pin. "H": address/data multiplex
11
RESET
I
System reset signal input pin. LOW active.
FEDL60851E-01
OKI Semiconductor
ML60851E
5/84
INTERNAL REGISTERS
Addresses and Names of Registers
Addresses Register
Page
A5:A0
Read
A7, A6
Write
A7, A6
Symbol Register
name
00h
01b
--
EP0RXFIFO
Endpoint 0 Receive FIFO Data
7
01h
01b
--
EP1RXFIFO
Endpoint 1 Receive FIFO Data
7
02h
01b
--
EP2RXFIFO
Endpoint 2 Receive FIFO Data
8
03h 01b --
Reserved
00h
--
11b
EP0TXFIFO
Endpoint 0 Transmit FIFO Data
9
01h
--
11b
EP1TXFIFO
Endpoint 1 Transmit FIFO Data
9
02h
--
11b
EP2TXFIFO
Endpoint 2 Transmit FIFO Data
10
03h
--
11b
EP3TXFIFO
Endpoint 3 Transmit FIFO Data
10
00h
11b
01b
DVCADR
Device Address Register
11
01h
11b
01b
DVCSTAT
Device Status Register
11
02h
11b
--
PKTERR
Packet Error Register
13
03h
11b
--
FIFOSTAT1
FIFO Status Register 1
13
04h
11b
--
FIFOSTAT2
FIFO Status Register 2
14
08h
11b
01b
PKTRDY
Endpoint Packet-Ready Register
15
09h
11b
--
EP0RXCNT
Endpoint 0 Receive-Byte Count Register
19
0Ah
11b
--
EP1RXCNT
Endpoint 1 Receive-Byte Count Register
19
0Bh
11b
--
EP2RXCNT
Endpoint 2 Receive-Byte Count Register
20
0Ch 11b --
Reserved
0Dh 11b --
REVISION
Revision
Register
21
0Eh
--
01b
CLRFIFO
Transmit FIFO Clear Register
21
0Fh
--
01b
SYSCON
System Control Register
22
10h
11b
--
bmRequest Type
BmRequest Type Setup Register
23
11h
11b
--
bRequest
bRequest Setup Register
23
12h
11b
--
wValue LSB
WValue LSB Setup Register
24
13h
11b
--
wValue MSB
WValue MSB Setup Register
24
14h
11b
--
wIndex LSB
WIndex LSB Setup Register
24
15h
11b
--
wIndex MSB
WIndex MSB Setup Register
24
16h
11b
--
wLength LSB
WLength LSB Setup Register
25
17h 11b --
wLength
MSB WLength
MSB Setup Register
25
1Ah
11b
01b
POLSEL
Assertion Select Register
26
1Bh
11b
01b
INTENBL
Interrupt Enable Register
27
1Ch
11b
--
INTSTAT
Interrupt Status Register
28
1Dh
11b
01b
DMACON
DMA Control Register
31
1Eh
11b
01b
DMAINTVL
DMA Interval Register
32
1Fh -- --
Reserved