English
Language : 

M66591GP_15 Datasheet, PDF (93/135 Pages) Renesas Technology Corp – ASSP (USB2.0 Peripheral Controller)
M66591GP
USB bus
SETUP ADDR EP CRC5
DATA0 8 bytes data (CR) CRC16
ACK
IN
NAK
ADDR EP CRC5
IN
NAK
ADDR EP CRC5
IN
ADDR EP CRC5
DATA1 MAX packet size data CRC16
ACK
IN
ADDR EP CRC5
DATA0 Short packet data CRC16
ACK
OUT
ADDR EP CRC5
DATA1 CRC16
(zero-length packet )
NAK
OUT
ADDR EP CRC5
DATA1 CRC16
(zero-length packet )
ACK
H/W state
S/W procedure
VALID='1'
PID="00"
CCPL='0'
Interrupt
CTRT='1'
CTSQ ="001"
CTRT interrupt confirm
CTRT interrupt clear
VALID clear
CTRT='0'
Request data analysis
VALID='0'
VALID='1'
VALID confirm
Write data to
C_FIFO
(BVAL='1')
PID = "01"
VALID='0'
Execute the following
processing on the basis of
the request data analysis
result.
1. Set the transmit data to
the C_FIFO
2. Set the response PID to
BUF ("01")
Abandon request data
analysis result
Wait for the next CTRT
interrupt
Interrupt
CTRT='1'
CTSQ ="010"
CTRT interrupt confirm
CTRT interrupt clear
CTRT='0'
Transmit
no-problem confirm
problem
CCPL = '1'
No-problem
Set the CCPL
Interrupt
CTRT='1'
CTSQ ="000"
CTRT='0'
CTRT interrupt confirm
CTRT interrupt clear
Set the response
PID to STALL("1x")
SETUP : SETUP PID
OUT : OUT PID
IN
: IN PID
ADDR : USB address (H'00~H'7F)
EP : Endpoint
CRC5 : 5 bitsCRC
DATA0 : DATA0 PID
DATA1 : DATA1 PID
CR : Control read transfer
CW : Control write transfer
ND : Control no data transfer
CRC16 : 16 bitsCRC
ACK : ACK PID
NAK : NAK PID
STALL : STALL PID
· Set the continuous transmit mode.
: Data to device from host
: Data to host from device
Figure 3.18 Examples of Control Read Transfer Operations
Rev.1.00 Nov. 30, 2004 page 91 of 131