Renesas M16C Series User Manual page 138

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

Advertisement

M30245 Group
www.DataSheet4U.com
Figure 2.8.2. Kinds of packet
Table 2.8.1. List of USB packet recognitions
PID type
Token
DATA
Handshake
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
SOF Packet: Packet to start the frame to be issued from the host for every 1ms.
8 bits
8 bits
PID Frame number CRC5
PID: SOF(0xA5)
Token Packet: Packet to be issued from the host at the time of transaction start.
8 bits
7 bits
4 bits
ADDR
PID
ENDP
PID: OUT(0xE1),IN(0x69),SETUP(0x2D)
Data Packet: Packet to use at the time of data transfer.
8 bits
0 to 1034 bytes
PID
DATA
PID: DATA0(0xC3),DATA1(0x4B)
Hand Shake Packet: Packet to use at the transaction which controls flow.
8 bits
PID
PID: ACK(0xD2),NAK(0xA5),STALL(0x1E)
Note: In each packet, there are SOP as start of packet, and EOP as end of packet.
Process overview
PID name
Reports the operation request to device by the host CPU
SETUP
Requests the data transmit to device by the host CPU
IN
Requests the data receive to device by the host CPU
OUT
Indicates the start of frame to device by the host CPU
SOF
Indicates that the sequence bit of transmit/receive data is even number
DATA0
Indicates that the sequence bit of transmit/receive data is odd number
DATA1
Reports that the transmit data was correctly completed
ACK
Reports that the device is in the communication wait state
NAK
Reports that the communication was incorrectly completed
STALL
page 129 of 354
5 bits
5 bits
CRC5
16 bits
CRC16
2. USB function

Advertisement

Table of Contents
loading

Table of Contents