English
Language : 

SH7205 Datasheet, PDF (1321/1904 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7200 Series
Section 24 USB 2.0 Host/Function Module (USB)
(b) Data Stage
Data transfers corresponding to USB requests that have been received should be done using the
DCP. Before accessing the DCP buffer memory, the access direction should be specified using the
ISEL bit in CFIFOSEL.
If the data being transferred is larger than the size of the DCP buffer memory, the data transfer
should be carried out using the BRDY interrupt for control write transfers and the BEMP interrupt
for control read transfers.
With control write transfers during high-speed operation, the NYET handshake response is carried
out in accordance with the state of the buffer memory.
(c) Status Stage
Control transfers are terminated by setting the CCPL bit to 1 with the PID bit in DCPCTR set to
PID = BUF.
After the above settings have been entered, this module automatically executes the status stage in
accordance with the data transfer direction determined at the setup stage. The specific procedure is
as follows.
1. For control read transfers:
The zero-length packet is received from the USB host, and this module sends an ACK
response.
2. For control write transfers and no-data control transfers:
This module sends a zero-length packet and receives an ACK response from the USB host.
(d) Control Transfer Auto Response Function
This module automatically responds to a normal SET_ADDRESS request. If any of the following
errors occur in the SET_ADDRESS request, a response from the software is necessary.
1. Any transfer other than a control read transfer: bmRequestType ≠ H'00
2. If a request error occurs: wIndex ≠ H'00
3. For any transfer other than a no-data control transfer: wLength ≠ H'00
4. If a request error occurs: wValue > H'7F
5. Control transfer of a device state error: DVSQ = 011 (Configured)
For all requests other than the SET_ADDRESS request, a response is required from the
corresponding software.
Rev. 1.00 Mar. 25, 2008 Page 1289 of 1868
REJ09B0372-0100