Section 26 USB 2.0 Host/Function Module
Page 1426 of 2108 R01UH0134EJ0400 Rev. 4.00
Sep 24, 2014
SH7262 Group, SH7264 Group
Bit Bit Name
Initial
Value R/W Description
1, 0 PID[1:0] 00 R/W 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 PID has been set 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.