Section 23 USB 2.0 Host/Function Module (USB)
Rev. 0.50 May 18, 2006 Page 1180 of 1588
REJ09B0313-0050
For data transfers in the sending direction during high-speed operation, the PING packet is sent.
Control for the PING packet is done in the same manner as bulk transfers.
(c) Status
Stage
Zero-length packet data transfers are done in the direction opposite to that in the data stage. As
with the data stage, data transfers are done using the DCP buffer memory. Transactions are done
in the same manner as the data stage.
For the data packets of the status stage, the data PID must be transferred as DATA1. The data PID
should be set to DATA1 using the SQSET bit in DCPCFG.
For reception of a zero-length packet, the received data length must be confirmed using the DTLN
bits in CFIFOCTR after the BRDY interrupt is generated, and the buffer memory must then be
cleared using the BCLR bit in C/DnFIFOCTR.
For data transfers in the sending direction during high-speed operation, the PING packet is sent.
Control for the PING packet is done in the same manner as the bulk transfers.
(2) Control Transfers when the Function Controller Function is Selected
(a) Setup
Stage
This module always sends an ACK response in response to a setup packet that is normal with
respect to this module. The operation of this module operates in the setup stage is noted below.
1. When a new USB request is received, this module sets the following registers:
•
Set the VALID bit in INTSTS0 to 1.
•
Set the PID bit in DCPCTR to NAK.
•
Set the CCPL bit in DCPCTR to 0.
2. When a data packet is received right after the SETUP packet, the USB request parameters are
stored in USBREQ, USBVAL, USBINDX, and USBLENG.
Response processing with respect to the control transfer should always be carried out after first
setting VALID = 0. In the VALID = 1 state, PID = BUF cannot be set, and the data stage cannot
be terminated.
Using the function of the VALID bit, this module is able to interrupt the processing of a request
currently being processed if a new USB request is received during a control transfer, and can send
a response in response to the newest request.
Содержание Single-Chip Microcomputer SH7203
Страница 2: ...Rev 0 50 May 18 2006 Page ii of xxx ...
Страница 30: ...Rev 0 50 May 18 2006 Page xxx of xxx ...
Страница 52: ...Section 1 Overview Rev 0 50 May 18 2006 Page 22 of 1588 REJ09B0313 0050 ...
Страница 98: ...Section 2 CPU Rev 0 50 May 18 2006 Page 68 of 1588 REJ09B0313 0050 ...
Страница 128: ...Section 4 Clock Pulse Generator CPG Rev 0 50 May 18 2006 Page 98 of 1588 REJ09B0313 0050 ...
Страница 200: ...Section 6 Interrupt Controller INTC Rev 0 50 May 18 2006 Page 170 of 1588 REJ09B0313 0050 ...
Страница 242: ...Section 8 Cache Rev 0 50 May 18 2006 Page 212 of 1588 REJ09B0313 0050 ...
Страница 400: ...Section 9 Bus State Controller BSC Rev 0 50 May 18 2006 Page 370 of 1588 REJ09B0313 0050 ...
Страница 668: ...Section 11 Multi Function Timer Pulse Unit 2 MTU2 Rev 0 50 May 18 2006 Page 638 of 1588 REJ09B0313 0050 ...
Страница 696: ...Section 13 Watchdog Timer WDT Rev 0 50 May 18 2006 Page 666 of 1588 REJ09B0313 0050 ...
Страница 726: ...Section 14 Realtime Clock RTC Rev 0 50 May 18 2006 Page 696 of 1588 REJ09B0313 0050 ...
Страница 796: ...Section 15 Serial Communication Interface with FIFO SCIF Rev 0 50 May 18 2006 Page 766 of 1588 REJ09B0313 0050 ...
Страница 876: ...Section 17 I2 C Bus Interface 3 IIC3 Rev 0 50 May 18 2006 Page 846 of 1588 REJ09B0313 0050 ...
Страница 1020: ...Section 19 Controller Area Network RCAN TL1 Rev 0 50 May 18 2006 Page 990 of 1588 REJ09B0313 0050 ...
Страница 1054: ...Section 21 D A Converter DAC Rev 0 50 May 18 2006 Page 1024 of 1588 REJ09B0313 0050 ...
Страница 1226: ...Section 23 USB 2 0 Host Function Module USB Rev 0 50 May 18 2006 Page 1196 of 1588 REJ09B0313 0050 ...
Страница 1294: ...Section 24 LCD Controller LCDC Rev 0 50 May 18 2006 Page 1264 of 1588 REJ09B0313 0050 ...
Страница 1386: ...Section 26 I O Ports Rev 0 50 May 18 2006 Page 1356 of 1588 REJ09B0313 0050 ...
Страница 1512: ...Section 30 List of Registers Rev 0 50 May 18 2006 Page 1482 of 1588 REJ09B0313 0050 ...
Страница 1598: ...Section 31 Electrical Characteristics Rev 0 50 May 18 2006 Page 1568 of 1588 REJ09B0313 0050 ...
Страница 1606: ...Appendix Rev 0 50 May 18 2006 Page 1576 of 1588 REJ09B0313 0050 ...
Страница 1618: ...Rev 0 50 May 18 2006 Page 1588 of 1588 REJ09B0313 0050 ...
Страница 1621: ......
Страница 1622: ...SH7203 Group Hardware Manual ...