R01UH0823EJ0100 Rev.1.00 Page 927 of 1823
Jul 31, 2019
RX23W Group 32. USB 2.0 Host/Function Module (USBc)
For the pipe for isochronous transfers, when a CRC error or a bit stuffing error is detected in the received data
packet.
In this case, the USB sets the PIPEnNRDY flag corresponding to the pipe and the CRCE flag to 1.
When the STALL handshake is received.
In this case, the USB sets the PIPEnNRDY flag corresponding to the pipe to 1 and modifies the setting of the
PID[1:0] bits of the corresponding pipe to 11b (STALL).
(2) When Function Controller is Selected
(a) For the pipe in the transmitting direction:
When an IN token is received while there is no data to be transmitted in the FIFO buffer.
In this case, the USB generates a NRDY interrupt request at the reception of the IN token and sets the
NRDYSTS.PIPEnNRDY flag to 1.
For the pipe for the isochronous transfers in which an interrupt is generated, the USB transmits a zero-length packet
and sets the FRMNUM.OVRN flag to 1.
(b) For the pipe in the receiving direction:
When an OUT token is received while there is no space available in the FIFO buffer.
For the pipe for the isochronous transfers in which an interrupt is generated, the USB generates a NRDY interrupt
request at the reception of the OUT token and sets the PIPEnNRDY flag to 1 and OVRN flag to 1.
For the pipe for the transfers other than isochronous transfers in which an interrupt is generated, the USB generates
a NRDY interrupt request when a NAK handshake is transferred after the data following the OUT token is received,
and sets the PIPEnNRDY flag to 1.
However, during re-transmission (due to data PID mismatch), the NRDY interrupt request is not generated. In
addition, if an error occurs in the DATA packet, the NRDY interrupt request is not generated.
For the pipe for isochronous transfers, when a token is not received successfully within an interval frame.
In this case, the USB generates a NRDY interrupt request when SOF is received, and sets the PIPEnNRDY flag to
1.