![Toshiba TLCS-900 Family Data Book Download Page 432](http://html.mh-extra.com/html/toshiba/tlcs-900-family/tlcs-900-family_data-book_425998432.webp)
TMP92CZ26A
92CZ26A-429
Figure 3.16.9 Control Flow in UDC (Setup stage)
IDLE
Receive SETUP token
Confirm Status
•
Confirmation STATUS register (Status)
Confirm DATA PID
•
DATA0
•
Time
out
OK
OK
OK
OK
Transmit ACK
Normal finish transaction
•
Set DATASET register
•
Assert INT_SETUP and request flag
•
According to stage flow, prepare for next stage
•
Set STATUS to DATAIN
•
Set toggle bit to 1
OK
Confirm Token packet
•
PID
•
Address
•
Endpoint
•
Transfer
mode
•
Error
Invalid
Except DATA0 PID
Time out
Error
Error transaction
•
Set STATUS to RX_ERR
•
Put back FIFO address point
Receive data
•
Error
•
Confirm receving data
number
Error, more than payload data comunication