M30245_06 RENESAS [Renesas Technology Corp], M30245_06 Datasheet - Page 142

no-image

M30245_06

Manufacturer Part Number
M30245_06
Description
RENESAS 16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M16C/20 SERIES
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
M30245 Group
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Figure 2.8.5. Bulk transfer
(3) Bulk 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:
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,
•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
•When the received IN token is destroyed, response is not executed.
•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.
which is exceeding receivable data size, is transmitted, STALL handshake is returned.
Bulk IN Transfer
Bulk OUT Transfer
(Idle state)
DATA0/1
ACK
IN
(Idle state)
*1
page 133 of 354
NAK
STALL
Bulk OUT
(Idle state)
Data
error
DATA0/1
OUT
(Idle state)
*1: The data toggle bit is toggled at the next phase.
(DATA0
ACK
*1
DATA1 or DATA1
NAK
DATA0)
STALL
: Device issues
: Host issues
2. USB function

Related parts for M30245_06