
USB DEVICE CONTROLLER
M66290AGP/FP
MITSUBISHI <DIGITAL ASSP>
21
Setup token
OUT token
OUT token
OUT token
OUT token
OUT token
IN token
IN token
IN token
Data packet
Null data packet
NAK
Data packet
Data packet
Data packet
Data packet
Data packet
NAK
ACK
NAK
NAK
ACK
ACK
ACK
ACK
Setup
stage
Data
stage
Status
stage
INT1
INT1:
CTRT interrupt (setup stage completion)
Read EP0 request and confirm the contents of request.
By receiving SETUP token packet, response PID of
EP0 is set to NAK automatically.
INT2
INT2:
CTRT interrupt (control write transfer status stage shift)
Confirm the number of byte of received data and read
the received data.
By the set of response PID to BUF (buffer control),
data receive starts.
By the set of CCPL, transmit the Null data.
Interrupt, which is occurred by control write transfer
status stage shift and by control transfer completion is
different by interrupt enable setting.
(1) Continuous receive mode (control write transfer)
Setup token
IN token
IN token
IN token
IN token
IN token
Data packet
Null data packet
Data packet
Data packet
ACK
NAK
NAK
NAK
ACK
ACK
Setup
stage
Data
stage
Status
stage
INT1
INT1:
CTRT interrupt (setup stage completion)
Read EP0 request and confirm the contents of request.
By receiving SETUP token packet, response PID of
EP0 is set to NAK automatically.
Executes transmit data write which is requested,
set transmit data length, set response PID to BUF
(buffer control), and data transmit is started.
(2) Continuous transmit mode (control read transfer)
OUT token
Data packet
IN token
ACK
ACK
By the set of CCPL, ACK handshake is executed
when received Null data.
Interrupt which is occurred by control read transfer
status stage shift and by control transfer completion is
different by interrupt enable setting.
Auto-response control function
M66290A has auto-response function to device
state transition request (Set Address and Set
Configuration)in control transfer.
By the set of "Auto-response Control Register",
auto-response mode to Set Address and to
Set Configuration can be set individually.
If the auto-response mode is set, device state
transition request can be ended without occurring
interrupt.
Continuous transfer function
Transfer direction of packet :
Host to M66290A
M66290A to Host
M66290A has continuous transfer function to
transmit/receive continuously of requested data
which extend plural of transaction.
If continuous transfer mode is set, it can transfer the
transmit which data length is set to "EP0 Continuous
Transmit Data Length Register", without
occurring interrupt.
Control read buffer can be set up to 256Bytes at a unit
of 64Bytes. Control write buffer can receive continuously
up to 255Bytes, so secure the area of 256Bytes.
Abstract of control transfer operations
Figure 4. shows examples of abstraction of control
transfer operations.
Figure 4. Examples of abstract of control transfer operations