English
Language : 

SH7670 Datasheet, PDF (738/1292 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7670 Series
Section 17 USB 2.0 Host/Function Module (USB)
Bit
Bit Name
1,0
PID[1:0]
Initial
Value R/W
00
R/W
Description
Response PID
Controls the response type of this module during
control transfer.
00: NAK response
01: BUF response (depending on the buffer state)
10: STALL response
11: STALL response
(1) When the host controller function is selected
Modify the setting of these bits from NAK to
BUF using the following procedure.
• When the transmitting direction is set
Write all the transmit data to the FIFO buffer
while UACT is 1 and PID is NAK, and then set
PID to BUF. After PID has been set to BUF, this
module executes the OUT transaction (or PING
transaction).
• When the receiving direction is set
Check that the FIFO buffer is empty (or empty
the buffer) while UACT is 1 and PID is NAK, and
then set PID to BUF. After PID has been set to
BUF, this module executes the IN transaction.
This module modifies the setting of these bits as
follows.
• This module sets PID to STALL (11) on
receiving the data of the size exceeding the
maximum packet size when software has set
PID to BUF.
• This module sets PID to NAK on detecting a
receive error such as a CRC error three
consecutive times.
• This module also sets PID to STALL (11) on
receiving the STALL handshake.
Rev. 1.00 Nov. 14, 2007 Page 712 of 1262
REJ09B0437-0100