USB DEVICE CONTROLLER
M66290AGP/FP
MITSUBISHI <DIGITAL ASSP>
21
Setup token
OUT token
IN token
Data packet
Null data packet
NAK
Data packet
NAK
ACK
NAK
ACK
Setup
stage
Data
stage
Status
stage
INT1
INT1:
CTRT interrupt (setup stage completion)
Read EP0 request and conf irm the contents of request.
INT2
INT2:
CTRT interrupt (control write transf er status stage shif t)
Conf irm the number of by te of receiv ed data and read
the receiv ed data.
By receiv ing SETUP token packet, response PID of
EP0 is set to NAK automatically.
By the set of response PID to BUF (buff er control),
data receiv e starts.
By the set of CCPL, transmit the Null data.
Interrupt, which is occurred by control write transf er
status stage shif t and by control transf er completion is
diff erent by interrupt enable setting.
(1) Continuous receive mode (control write transfer)
Setup token
IN token
Data packet
Null data packet
Data packet
ACK
NAK
ACK
Setup
stage
Data
stage
Status
stage
INT1
INT1:
CTRT interrupt (setup stage completion)
Read EP0 request and conf irm the contents of request.
By receiv ing SETUP token packet, response PID of
EP0 is set to NAK automatically.
(2) Continuous transmit mode (control read transfer)
OUT token
Data packet
IN token
ACK
Executes transmit data write which is requested,
set transmit data length, set response PID to BUF
(buff er control), and data transmit is started.
By the set of CCPL, ACK handshake is executed
when receiv ed Null data.
Interrupt which is occurred by control read transf er
status stage shif t and by control transf er completion is
diff erent by interrupt enable setting.
Auto-response control function
M66290A has auto-response f unction to dev ice
state transition request (Set Address and Set
Conf iguration)in control transf er.
By the set of "Auto-response Control Register",
auto-response mode to Set Address and to
Set Conf iguration can be set indiv idually.
If the auto-response mode is set, dev ice state
transition request can be ended without occurring
interrupt.
Transf er direction of packet :
Host to M66290A
M66290A to Host
Continuous transfer function
M66290A has continuous transf er f unction to
transmit/receiv e continuously of requested data
which extend plural of transaction.
If continuous transf er mode is set, it can transf er the
transmit which data length is set to "EP0 Continuous
Transmit Data Length Register", without
occurring interrupt.
Control read buff er can be set up to 256By tes at a unit
of 64By tes. Control write buff er can receiv e continuously
up to 255By tes, so secure the area of 256By tes.
Abstract of control transfer operations
Figure 4. shows examples of abstraction of control
transf er operations.
Figure 4. Examples of abstract of control transf er operations