Oki ML60852A Instructions for use

ML60852A
Application Manual
USB device controller
Version 1.02
FEAL60852A-02
DATE: OCT. 9, 2001 1

ML60852A Application Manual
1. INTRODUCTION--------------------------------------------------------------1
2. EXAMPLES OF USB TRANSFER PROCEDURE---------------------6
3. EXTERNAL INTERFACE------------------------------------------------- 19
4. INTERRUPTS----------------------------------------------------------------- 29
5. OTHER FUNCTIONS------------------------------------------------------- 33
6. HANDLING UNUSED PINS----------------------------------------------- 35
7. DIFFERENCES IN PIN ASSIGNMENT BETWEEN
ML60851 AND ML60852A ------------------------------------------------- 37

CONTENTS
1. INTRODUCTION ...........................................................................................................................1
1.1. Product Features...............................................................................................................................1
1.2. Pin Configuration and Description...................................................................................................2
1.2.1. Pin configuration..............................................................................................................................2
1.2.2. Pin description..................................................................................................................................3
1.3. Example of External Connections....................................................................................................4
1.3.1. Example of connections between MSM66573 (OKI make) and ML60852A .................................4
1.3.2 Example of connections between H8/3048 (Hitachi make) and ML60852A ..................................5
2. EXAMPLES OF USB TRANSFER PROCEDURE........................................................................6
2.1. Device Initialization.........................................................................................................................6
2.1.1. Setting the operating conditions of ML60852A...............................................................................6
2.1.2. Settings based on standard request...................................................................................................6
2.2. Control Transfer...............................................................................................................................7
2.2.1. Control transfer ................................................................................................................................7
2.2.2. Setup ready interrupt procedure.......................................................................................................8
2.2.3. Reading received data in receive packet ready interrupt procedure.................................................9
2.2.4. Writing transmit data in transmit packet ready interrupt procedure...............................................10
2.3. Bulk Transfer..................................................................................................................................11
2.3.1. Outline of bulk transfer..................................................................................................................11
2.3.2. Packet ready interrupt procedure in Bulk-Out Transfer.................................................................12
2.3.3. Packet ready interrupt procedure in Bulk-In Transfer....................................................................13
2.4. Interrupt Transfer ...........................................................................................................................14
2.4.1. Outline of interrupt transfer............................................................................................................14
2.5. Isochronous Transfer......................................................................................................................15
2.5.1. Outline of isochronous transfer......................................................................................................15
2.5.2. Outline flow of isochronous-out transfer .......................................................................................16
2.5.3. Outline flow of isochronous-in transfer.........................................................................................17
2.5.4. Errors in isochronous-out transfer..................................................................................................18
3. EXTERNAL INTERFACE............................................................................................................19
3.1. Bus Interface ..................................................................................................................................19
3.1.1. ADSEL pin.....................................................................................................................................19
3.1.2. ALE/PUCTL pin............................................................................................................................19
3.2. DMA Interface ...............................................................................................................................20
3.2.1. Selection of –DREQ and DACK polarities....................................................................................20
3.2.2. –DREQ Active conditions..............................................................................................................20
3.2.2.1. During transmission.......................................................................................................................20
3.2.2.2. During reception ............................................................................................................................20
3.2.3. DMA Enable..................................................................................................................................20
3.2.4. Selecting the EP that uses DMA transfer.......................................................................................20
3.2.5. Address modes during DMA transfer ............................................................................................21
3.2.6. Transfer modes during DMA transfer............................................................................................21
3.2.7. Byte count data insertion................................................................................................................21
3.2.8. Transfer data width during DMA transfer......................................................................................21
3.2.9. Interrupting DMA transfer.............................................................................................................21
3.2.10. –DREQ Signal interval during single transfer ...............................................................................22
3.2.11. Setting packet ready during DMA transfer ....................................................................................22

3.3. Interrupt Interface...........................................................................................................................23
3.3.1. Selection of –INTR pin polarity.....................................................................................................23
3.3.2. Processing method for nested interrupts ........................................................................................23
3.4. Oscillation Circuit..........................................................................................................................24
3.4.1. Oscillation frequency.....................................................................................................................24
3.4.2. Oscillator circuit configuration examples ......................................................................................24
3.4.2.1. Using a ceramic resonator..............................................................................................................25
3.4.3. Supplying an external clock...........................................................................................................26
3.4.4. Stopping the oscillator circuit ........................................................................................................26
3.5. USB Interface.................................................................................................................................27
3.5.1. Series resistors in the D+/D– lines.................................................................................................27
3.5.2. VBUS monitoring ..........................................................................................................................28
4. INTERRUPTS ...............................................................................................................................29
4.1. Setup Ready ...................................................................................................................................30
4.2. Receive Packet Ready....................................................................................................................30
4.3. Transmit Packet Ready...................................................................................................................31
4.4. SOF ................................................................................................................................................31
4.5. USB Bus Reset Assert....................................................................................................................32
4.6. USB Bus Reset Deassert................................................................................................................32
4.7. Suspend State...............................................................................................................................322
4.8. Awake...........................................................................................................................................322
5. OTHER FUNCTIONS...................................................................................................................33
5.1. 5EP Mode and 6EP Mode..............................................................................................................33
5.2. System Reset..................................................................................................................................33
5.3. Self-powered and Bus-powered.....................................................................................................33
5.4. Suspend Function...........................................................................................................................33
5.5. Remote Wakeup.............................................................................................................................34
6. HANDLING UNUSED PINS........................................................................................................35
6.1. Bus Access Control Pins-1 (A6 to A0) ..........................................................................................35
6.2. Bus Access Control Pin-2 (ALE/PUCTL).....................................................................................35
6.3. DMA Transfer Control Pins (D15 to D8, –DREQ0, –DREQ1, DACK0, DACK1) ......................35
6.4. Crystal Connection Pin (XOUT)....................................................................................................35
6.5. Test Pins (TEST1, TEST2).............................................................................................................36
7. DIFFERENCEES IN PIN ASSIGNMENT BETWEEN ML60851 AND ML60852A.................37
7.1. Test Pin ⇔GND (pin 5, pin 17) ....................................................................................................37
7.2. VCC5 ⇒DACK1 Pin (pin 18)......................................................................................................38
7.3. ALE Pin ⇒ALE/PUCTL Pin (pin 23) ..........................................................................................38
7.4. A7 Pin ⇒–DREQ1 Pin (pin 25)....................................................................................................38

FEAL60852A-02
1
Semiconductor ML60852A
1/39
1. INTRODUCTION
The ML60852A is a general-purpose device controller conforming to the Universal Serial Bus (USB)
Standard Rev.1.1. This LSI contains a USB serial interface engine, a USB transceiver, FIFOs, control
and status registers, application interface circuits, and an oscillator circuit, and allows easy realization of
a USB system.
This LSI supports control transfer, bulk transfer, interrupt transfer, and isochronous transfer as the data
transfer modes and allows five or six end points to be used.
1.1. Product Features
• Conforms to USB1.1.
• Supports Full-speed (12 Mbps).
• Supports four data transfer types:
Control transfer, bulk transfer, interrupt transfer, and isochronous transfer.
• Five or six end points
• Built-in FIFO for data storage
• The FIFO for EP1, EP2, EP4, and EP5 has a 2-layer configuration.
• 8 or 16 bit DMA Transfer is possible (EP1, EP2, EP4, EP5) with two channels.
• Supports bus-powered devices
With the operation mode setting, the ML60852A detects the suspend condition automatically and
enters the low-power mode. The LSI automatically returns to the normal operation when it detects the
resume condition.
• Built-in USB transceiver circuit
•V
CC = 3.0 to 3.6 V
• Can be interfaced with 5 V circuits (5 V tolerant input, TTL output).
• Built-in 6 MHz/12 MHz selectable oscillator circuit
• Packages : 44-pin QFP/TQFP
56-pin LGA

FEAL60852A-02
1
Semiconductor ML60852A
2/39
1.2. Pin Configuration and Description
1.2.1. Pin configuration
44-Pin QFP (Top View)
56-Pin LGA (Transparent View)
33
32
31
30
29
28
27
26
25
24
23
DACK0
A0
A1
A2
A3
A4
A5
A6
–DREQ1
ADSEL
A
LE/PUCTL
D+
D–
VCC
TEST1
GND
XIN
XOUT
–CS
–RD
–WR
–RESET
44
43
42
41
40
39
38
37
36
35
34
12
13
14
15
16
17
18
19
20
21
22
1
2
3
4
5
6
7
8
9
10
11
AD0
AD1
AD2
AD3
VCC
GND
AD4
AD5
AD6
AD7
–DREQ0
–INTR
D15
D14
D13
D12
TEST2
DACK1
D11
D10
D9
D8
J
H
G
F
E
D
C
B
A
NC D8 D9 D11 TEST2 D12 D14 –INTR NC
ALE/
PUCTL NC D10 DACK1 NC D13 D15 NC –RESET
–DREQ1 ADSEL –RD –WR
A5 A6 –XOUT –CS
A4 NC NC –XIN
A2 A3 TEST1 GND
A0 A1 D– VCC
DACK1 NC AD7 AD5 NC DACK1 AD2 NC D+
NC –DREQ0 AD6 AD4 GND AD3 AD1 AD0 NC
9 8 7 6 5 4 3 2 1

FEAL60852A-02
1
Semiconductor ML60852A
3/39
1.2.2. Pin description
USB Interface
Signal name I/O Polarity Description
D+ I/O — Pin for connecting USB Data (+)
D– I/O — Pin for connecting USB Data (–)
When D+ and D– are indeterminate, it is impossible to write data in the registers that are reset by a USB
bus reset.
Crystal oscillator interface
Signal name I/O Polarity Description
XIN I — Pin for connecting a crystal
XOUT O — Pin for connecting a crystal
Application interface
Signal name I/O Polarity Description
D15 to D8 I/O — Upper byte of data bus (MSB)
AD7 to AD0 I/O — Lower byte of the data bus (LSB) and address
input pin
A6 to A0 I — Address input pins
–CS I Negative logic Chip select signal input pin
–RD I Negative logic Read signal input pin
–WR I Negative logic Write signal input pin
–INTR O (*1) Interrupt request signal output pin
–DREQ0/–DREQ1 O (*1) DMA Request signal output pins
DACK0/DACK1 I (*2) DMA Acknowledge signal input pins
ALE/PUCTL I (*3) Address latch enable signal input and pull-up
resistor control pin
ADSEL I Address input format signal input pin
–RESET I Negative logic Reset signal input pin
*1: Although the default value immediately after reset is negative logic, the polarity can be changed by
overwriting the polarity selection register.
*2: Although the default value immediately after reset is positive logic, the polarity can be changed by
overwriting the polarity selection register.
*3: The polarity becomes positive logic when this signal functions as an address latch enable (ALE)
signal.

FEAL60852A-02
1
Semiconductor ML60852A
4/39
1.3. Example of External Connections
1.3.1. Example of connections between MSM66573 (OKI make) and ML60852A
Notes:
*1: 5 to 3.3 V
*2: Address decode
*3: Pull-up control is used in this connection.
*4: This circuit is bus-powered.
Figure 1 Example of connections between OKI’s 16-bit microcontroller
MSM66573 and ML60852A
VDD
P127
D7 to D0
A6 to A0
A15 to A8
–RD
–WR
EXTINT1
VSS
MSM66573
ALE/PUCTL
VCC
AD7 to AD0 D+
D–
A6 to A0 XIN
–CS XOUT
–RD DACK0/DACK1
–WR D15-D8
–INTR ADSEL
RESET TEST1/TEST2
GND
ML60852A
8
7
12 MHz
5 V
*2
USB
Connector
VBUS
D+
D–
GND
100 kΩ
1.5 kΩ
22 Ω
100 kΩ
8
220 kΩ
*1
3.3 V

FEAL60852A-02
1
Semiconductor ML60852A
5/39
1.3.2. Example of connections between H8/3048 (Hitachi make) and ML60852A
Notes:
*1: 5 to 3.3 V
*2: Pull-up control is used in this connection.
*3: This circuit is bus-powered.
Figure 2 Example of connections between Hitachi’s 16-bit microcontroller
(DMA transfer in dual address mode) H8/3048 and ML60852A
VDD
D15 to D8
D7 to D0
A7 to A1
–CS0
–CS1
–RD
–HWR
–IRQ1
–RESO
–DREQ0
VSS
H8/3048
ALE/PUCTL
VCC
D+
AD7 to AD0 D–
XIN
D15 to D8 XOUT
A6 to A0
–CS DACK0/DACK1
–RD ADSEL
–WR TEST1/TEST2
–INTR VSS
–RESET
–DREQ0
ML60852
A
8
8
USB
Connecto
r
VBUS
D+
D–
GND
100 kΩ
100 kΩ
*1
3.3 V
1.5 kΩ
22 Ω
220 kΩ
7
12 MHz
5 V

FEAL60852A-02
1
Semiconductor ML60852A
6/39
2. EXAMPLES OF USB TRANSFER PROCEDURE
This chapter gives a description of a sample procedure for carrying out USB communication using the
ML60852A.
2.1. Device Initialization
The device initialization consists of setting the hardware operating conditions and settings based on the
standard request from a host computer.
2.1.1. Setting the operating conditions of ML60852A
Carry out the settings of the operating conditions of the ML60852A to suit the system after referring to
Chapter 3 “EXTERNAL INTERFACE”.
2.1.2. Settings based on standard request
Eleven types of standard requests have been defined in USB Standard Rev. 1.1 (See Chapter 9 of the
USB Standard Rev. 1.1 for detailed definitions of the standard requests). Standard requests are issued
from a host computer via a control pipe. Some of these requests require device settings to be changed.
Hence, it is necessary for the USB firmware to support these requests and set device registers
accordingly.

FEAL60852A-02
1
Semiconductor ML60852A
7/39
2.2. Control Transfer
2.2.1. Control transfer
A control transfer is started when a device request is issued by a host computer. EP0 is defined as the
default end point by USB Specifications and it is used for control transfers. The end point used during a
control transfer is EP0. The ML60852A has a built-in 32-byte transmit/receive FIFO for EP0.
Depending on the type of request, the control transfer can be a control read transfer, a control write
transfer, or a control transfer without data.
• Control read transfer: Control data is transmitted to the host computer.
• Control write transfer: Control data is received from the host computer.
• Control transfer without data: Control transfer without a data stage.
The registers used during a control transfer are the following:
Table 1 Registers used in the setup stage
Function Register name Bits
Device request bRequest Setup D7 to D0
Device request wValue LSB Setup D7 to D0
Device request wValue MSB Setup D7 to D0
Device request bmRequest Type Setup D7 to D0
Device request wIndex LSB Setup D7 to D0
Device request wIndex MSB Setup D7 to D0
Device request wLength LSB Setup D7 to D0
Device request wLength MSB Setup D7 to D0
Setup ready EP0STAT D2
Setup ready interrupt status INTSTAT1 D0
Setup ready interrupt enable INTENBL1 D0
Table 2 Registers used in the data stage or status stage
Function Register name Bits
Packet ready EP0STAT D0/D1
Packet ready interrupt status INTSTAT1 D6/D7
Packet ready interrupt enable INTENBL1 D6/D7
End point control EP0CONT D0
Data sequence toggle EP0CONT D1/D4
Maximum packet size EP0PLD D7 to D0
Status EP0STAT D4/D5
Receive byte count EP0RXCNT D5 to D0
Transmit/receive FIFO EP0RXFIFO/EP0TXFIFO D7 to D0

FEAL60852A-02
1
Semiconductor ML60852A
8/39
2.2.2. Setup ready interrupt procedure
The following flowchart, illustrates the outline flow of a control transfer from the point of view of the
USB application firmware. The IN block denotes the entry point to an event driven firmware where a
Setup-Ready interrupt has been detected by the device (i.e. a Setup packet has been sent from the host to
the device and stored satisfactorily ML60852A’s receive FIFO). Based on the type of request, the
application firmware must determine whether the transfer is a Control Read, Control Write, or a Control
transfer without a data stage. Hence, the transfer will be processed according to the Request Type.
Start
Disable EP0 transmit/
receive interrupt
Read request
End point 0 status
register: D2
Read transfer
Enable EP0 receive
packet ready interrupt
Set EP0 transmit packet
ready status
Decode device
request
Interrupt enable
register 1: D6
Write transfer
End
Interrupt enable
register 1: D6, D7
bmRequest Type register
bRequest register
wValue LSB register
wValue MSB register
wIndex LSB register
wIndex MSB register
wLength LSB register
wLength MSB register
Reset setup ready
status
No-Data transfer
Enable EP0 transmit
packet ready interrupt
Decode device
request
End point 0 status
register (EP0STAT):
D1
Interrupt enable
register 1: D7

FEAL60852A-02
1
Semiconductor ML60852A
9/39
2.2.3. Reading received data in receive packet ready interrupt procedure
The following flow chart illustrates the data reception process from the point of view of the application
firmware controlling the ML60852A. The IN block signifiesthe entry point to an event driven software,
where a packet of data has been successfully received and stored in the FIFO of ML60852A. Hence,
ML60852A generates an interrupt cause. A typical interrupt service procedure is outlined in this
diagram. Note that the processing for the data stage of a Control Write transfer is also included below.
Given that a control transfer is a message pipe (structured transfer) it can be seen that the processing of
received data for this type of transfer is much more intricate than other types of transfers.
No
Start
Data read
Reset receive packet
ready status
Status register foreach
end point: D0
Yes
Decode device
request
Control write
transfer?
Set transmit packet
ready
No
Callback function
Disable receive packet
ready interrupt of end
point 0
Interrupt enable register 1:
D6
EP0 status register: D1
Yes
All data received?
End
Occur Interrupt

FEAL60852A-02
1
Semiconductor ML60852A
10/39
2.2.4. Writing transmit data in transmit packet ready interrupt procedure
The following flow chart illustrates typical procedures for transmitting data from ML60852A device
from the point of view of the application firmware controlling the device. The IN block below, signifies
the entry point to an event driven firmware where a transmit interrupt cause has been generated. Note
that most of the complexity of the transmission process lies in the end point 0 transmit procedure. This is
due to the fact that end point 0 transmission is done through a Control Read transfer which is a message
pipe (structured pipe) and hence much more tedious than other types of transfers.
Start
Write data into FIFO
Set transmit
packet ready
EP status
register: D1
Yes
Reset receive packet
ready status
Transmit data
present?
Set device address
No
Callback function
Disable transmit packet
ready interrupt of end
point 0
Device address register
End
T
ransm
itt
e
d
a
ll
data of control read
transfer?
No
Yes
Interrupt enable
register 1: D1, D2,
D3, D4, D5 and D7
Set transmit
packet ready
Disable transmit packet
ready interrupt
Interrupt enable
register 1: D7
EP0 status
register: D0
EP0 status
register: D1
Occur Interrupt

FEAL60852A-02
1
Semiconductor ML60852A
11/39
2.3. Bulk Transfer
2.3.1. Outline of bulk transfer
Bulk transfer is used when transmitting or receiving data whose quality has to be assured, such as print
data, etc. Although the data quality is assured by a CRC check, since the priority order of transfer is
lower than that of interrupt transfer or isochronous transfer, this mode of transfer is one in which the
transfer efficiency may become lower when the load on the bus is heavy.
In the ML60852A, EP1 through EP4 (when in EP5 mode) or EP1 through EP5 (when in EP6 mode) can
be used for bulk transfer. These end points can be allocated individually for both bulk-in and bulk-out.
The FIFO size for bulk transfer is 64 bytes for each end point except EP3. The maximum FIFO size for
EP3 is 32 bytes.
EP1, EP2, and EP4 (and also EP5 when in 6EP mode) of the ML60852A have the DMA transfer
function. In addition, the FIFO of EP1, EP2, and EP4 (and also EP5 when in 6EP mode) have a 2-layer
configuration, and it is possible to increase the transfer efficiency because one layer can be accessed by
the local MCU when the other layer is exchanging data with the USB bus.
The registers used during bulk transfer are the following:
Table 3 Registers used during bulk transfer
Function Register name Bits
Packet ready EP( )STAT D0/D1
Packet ready interrupt status INTSTAT1 D5 to D1
Packet ready interrupt enable INTENBL1 D5 to D1
Configuration EP( ) CONF D0/D1/D4/D7
End point control EP( )CONT D0/D3
Data sequence toggle EP( )CONT D1
Maximum packet size (excluding EP3) EP( )PLD D6 to D0
Maximum packet size (EP3) EP3PLD D5 to D0
Receive byte count (excluding EP3) EP( )RXCNT D6 to D0
Receive byte count (EP3) EP3RXCNT D5 to D0
Transmit/receive FIFO EP( )RXFIFO/EP( )TXFIFO D7 to D0
Note: In the register name column, ( ) is a substitute for each number of the end points that are used for
this transfer.

FEAL60852A-02
1
Semiconductor ML60852A
12/39
2.3.2. Packet ready interrupt procedure in Bulk-Out Transfer
The following flow chart illustrates the outline of a typical Bulk-Out transfer from the point of view of
the application firmware controlling the ML60852A. The IN block shown below, denotes the entry
point to an event driven application firmware where a receive interrupt cause has been generated in
response to a data packet successfully received and stored in ML60852A’s end point FIFO.
Start
Data read
Reset receive packet
ready status
Status register for each
end point: D0
Callback function
End

FEAL60852A-02
1
Semiconductor ML60852A
13/39
2.3.3. Packet ready interrupt procedure in Bulk-In Transfer
The following flow chart illustrates a typical procedure for carrying out a Bulk-In transfer from the
point of view of an application firmware controller ML60852A. The IN block shown below, denotesthe
entry point to an event driven firmware where a Transmit Packet Ready interrupt cause has been
generated and the firmware should service it.
Start
Write data into FIFO
Yes
Set transmit packet
ready status
Disable transmit packet
ready interrupt
Interrupt enable register 1:
D1, D2, D3, D4, and D5
Transmit data
present?
End
Yes
No
Status register foreach
end point: D1

FEAL60852A-02
1
Semiconductor ML60852A
14/39
2.4. Interrupt Transfer
2.4.1. Outline of interrupt transfer
Interrupt transfer is the method of periodically polling a data source for transmit information. This
method is most suitable for transmitting moderate amounts of data within a specific amount of time. An
interrupt transfer has a guaranteed maximum length between transaction attempts. In other words, the
interrupt end point will be pinged (receive an IN token) within specific intervals specified in the
device’s descriptor.. Also, interrupt transfers are carried out in only one direction; they are either all IN
or all OUT transactions.
The structure of an interrupt transfer is identical to that of a bulk transfer. Please refer to section 2.5
“Bulk Transfer”, for the outline flow of interrupt transfer processing.
In ML60852A, EP1 through EP4 (when in EP5 mode) or EP1 through EP5 (when in EP6 mode) can be
used for interrupt transfer. These end points can be allocated individually for both interrupt-in and
interrupt-out. The FIFO size for interrupt transfer is 64 bytes for each end point except EP3. If EP3 is
used for interrupt transfer, the FIFO size is 32 bytes.
The registers used during interrupt transfer are the following:
Table 4 Registers used during interrupt transfer
Function Register name Bits
Packet ready EP( )STAT D0/D1
Packet ready interrupt status INTSTAT1 D5 to D1
Packet ready interrupt enable INTENBL1 D5 to D1
Configuration EP( ) CONF D0/D1/D4/D7
End point control EP( )CONT D0/D3
Data sequence toggle EP( )CONT D1
Maximum packet size (excluding EP3) EP( )PLD D6 to D0
Maximum packet size (EP3) EP3PLD D5 to D0
Receive byte count (excluding EP3) EP( )RXCNT D6 to D0
Receive byte count EP3RXCNT D5 to D0
Transmit/receive FIFO EP( )RXFIFO/EP( )TXFIFO D7 to D0
Note: In the register name column, ( ) is a substitute for each number of the end points that are used for
this transfer.

FEAL60852A-02
1
Semiconductor ML60852A
15/39
2.5. Isochronous Transfer
2.5.1. Outline of isochronous transfer
Isochronous transfer is used to transfer data such as voice data for which the real-time performance
takes precedence. The priority of this transfer is high and data with a certain size can be cyclically
transferred. In order to allow high reliability communication, USB standards devised isochronous
transfers in which bandwidth reservation takes precedence over error control.
In isochronous transfer, however, no handshake (ACK/NAK) is provided, so occurrence of CRC errors
is not reported to the sender and re-transmit is not performed. To re-transmit the packet that resulted in
an error, an original protocol should be formulated.
In the ML60852A, in 5EP mode, EP4 is available and in 6EP mode, EP4 and EP5 are available for
isochronous transfer. For these end points, the transfer direction can be individually specified. The
FIFO size of EP4 in 5EP mode is 512 bytes. In 6EP mode, the FIFO size of EP4/EP5 is 256 bytes.
EP4 used in isochronous transfer (or EP4 and EP5 in 6EP mode) allows DMA transfer. The FIFO of
EP4 (or EP4 and EP5 in 6EP mode) has a 2-layer configuration, and it is possible to increase the transfer
efficiency because one layer can be accessed by the local MCU when the other layer is exchanging data
with the USB bus.
Table 5 Registers used during isochronous transfer
Function Register name Bits
SOF interrupt status INTSTAT2 D0
SOF interrupt enable INTENBL2 D0
Configuration EP( )CONF D0/D1/D4/D7
End point control EP( )CONT D0/D3
Maximum packet size (LSB) EP( )PLDLSB D7 to D0
Maximum packet size (MSB) EP( )PLDMSB D1 to D0
Receive byte count (LSB) EP( )RXCNTLSB D7 to D0
Receive byte count (MSB) EP3RXCNTMSB D1 to D0
Transmit/receive FIFO EP( )RXFIFO/EP( )TXFIFO D7 to D0
Note: In the register name column, ( ) is a substitute for each number of the end points that are used for
this transfer.

FEAL60852A-02
1
Semiconductor ML60852A
16/39
2.5.2. Outline flow of isochronous-out transfer
The following diagram is an illustration of outline flow of an isochronous-out transfer from the point of
view of an application firmware controlling ML60852A. As specified by USB standards, a single
packet of isochronous data may be received in each USB frame. As a result, the packet reception
process is started with detection of a SOF PID on the USB bus.
Read FIFO
Start
End
Callback function
SOF interrupt
Clear SOF
interrupt status
Obtain the number of
received bytes
Interrupt enable register 2: D0
Interrupt status register 2: D0
Interrupt status register 2: D0
EP4,5 received bytes count LSB/MSB
Table of contents
Other Oki Controllers manuals
Popular Controllers manuals by other brands

Shimaden
Shimaden FP23 Series instruction manual

SMC Networks
SMC Networks LEJS100T9 H Series Operation manual

DVS
DVS MY20 user guide

Franklin Electric
Franklin Electric SubDrive75 Quick installation guide

Allen-Bradley
Allen-Bradley PowerFlex 70 installation instructions

Troy-Bilt
Troy-Bilt TE31 Series user manual