Rev.2.00 Oct 16, 2006 page 133 of 354
REJ09B0340-0200
M30245 Group
2. USB function
(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.
•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.
DATA0/1
NAK
STALL
ACK
*1
IN
DATA0/1
NAK
STALL
ACK
*1
OUT
●
Bulk IN
●
Bulk OUT
(Idle state)
(Idle state)
(Idle state)
(Idle state)
*1: The data toggle bit is toggled at the next phase.
(DATA0
→
DATA1 or DATA1
→
DATA0)
: Host issues
: Device issues
Data
error
Data error
Figure 2.8.5. Bulk transfer
Содержание M16C FAMILY
Страница 12: ...Chapter 1 Hardware...
Страница 13: ...See M30245 group datasheet...
Страница 14: ...Chapter 2 Peripheral Functions Usage...
Страница 303: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 304: ...Chapter 3 Examples of Peripheral Functions Applications...
Страница 340: ...Chapter 4 External Buses...
Страница 361: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 362: ...Chapter 5 Standard Characteristics...
Страница 369: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M30245 Group REJ09B0340 0200 User s Manual...