TMP92CF30
2009-06-12
92CF30-392
(b) Control write/request
There is no dataphase
bmRequestType
bRequest wValue wIndex wLength
Data
010000xxB
Vendor specific
Vendor specific
Vendor specific
0
None
When INT_SETUP is received, identify contents of request by bmRequestType,
bRequest, wValue, wIndex, wLength registers and process each request.
According to application, access Setup_Received register after request has been
identified. UDC must also be informed that the INT_SETUP interrupt has been
recognized. If application processing is finished, write “0” to EP0 bit of EOP
register. When UDC receives this, the status stage finish automatically.
There is dataphase
bmRequestType
bRequest wValue wIndex wLength
Data
010000xxB
Vendor specific
Vendor specific
Vendor specific
Vendor specific
(Except for 0)
Vendor data
When INT_SETUP is received, identify contents of device request by
bmRequestType, bRequest, wValue, wIndex, wLength registers and process each
request. According to application, access Setup_Received register after request
has been identified. UDC must also be informed that the INT_SETUP interrupt
has been recognized.
After receiving data prepared in application, access DATASET register, and
confirm EP0_DSET is “1”. After confirming, read data FIFO of endpoint 0. If
receiving data is more than payload, write data after it confirming whether the
EP0_DSET_A bit in DATASET register is “1”. (INT_ENDPOINT0 interrupt can be
used.) If reading all data is finished, write “0” to EP0 bit of EOP register. When
UDC receives this, the status stage finishes automatically.
INT_STATUS interrupt is asserted when UDC finishes status stage normally. If
finishing status stage normally is recognized by external application, manage this
stage by using this interrupt signal. If status stage cannot be finished normally
and during status stage, a new SETUP token may be received. In this case, when
INT_SETUP interrupt signal is asserted, “1” is set to STAGE_ERROR bit of
EP0_STATUS register informing externally that the status stage cannot be
finished normally.
Summary of Contents for TLCS-900/H1 Series
Page 652: ...TMP92CF30 2009 06 12 92CF30 650 ...