Renesas M16C Series User Manual page 142

16-bit single-chip microcomputer
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

M30245 Group
(3) Bulk Transfer
Bulk IN Transfer
In bulk IN transfer which data are transmitted from the device to the host CPU, IN transactions are
repeated. When transmit data are available in IN FIFO, the M30245 group issues a data packet to
the IN token. When, during the handshake phase of each transaction, the M30245 group has nor-
mally received ACK packet issued by the host PC, it toggles DATA0 and DATA1 of data packet on
next data phase. This serves to ensure handshake. The M30245 group executes the following re-
sponses when the data are not transmitted normally:
•When the received IN token is destroyed, response is not executed.
www.DataSheet4U.com
•When ACK handshake was not included in the transmit data, it is retransmitted on next IN token.
•When the M30245 group was stalling, STALL handshake is returned.
•When the transmit data are not available in IN FIFO, NAK handshake is returned.
Bulk OUT Transfer
In bulk OUT transfer which data are transmitted from the host CPU to the device, OUT transactions
are repeated.
The M30245 group has normally received a data packet, and then returns ACK handshake. Normal
receiving is the status which is free of any bit stuffing error or CRC error and which data PID have
been correctly received. When, during the handshake phase of each transaction, the host PC has
normally received ACK packet issued by the M30245 group, it toggles DATA0 and DATA1 of data
packet on next data phase. This serves to ensure handshake. The M30245 group executes the
following responses when the data are not received normally:
•When the received OUT token is destroyed, response is not executed.
•When the M30245 group was stalling, STALL handshake is returned. Also, when the packet,
which is exceeding receivable data size, is transmitted, STALL handshake is returned.
•When inconsistency of the sequence bits is detected in the received data, ACK handshake is returned.
•When OUT FIFO of the M30245 group could not receive full data, NAK handshake is returned.
For details, refer to USB2.0 specification.
Bulk IN
Figure 2.8.5. Bulk transfer
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
(Idle state)
IN
DATA0/1
NAK
ACK
*1
(Idle state)
page 133 of 354
Bulk OUT
(Idle state)
OUT
STALL
DATA0/1
Data
ACK
error
(Idle state)
*1: The data toggle bit is toggled at the next phase.
(DATA0 → DATA1 or DATA1→ DATA0)
STALL
NAK
*1
: Host issues
: Device issues
2. USB function

Advertisement

Table of Contents
loading

Table of Contents