Download Print this page

Toshiba TLCS-900/H1 Series Manual page 262

Original cmos 32-bit microcontroller
Hide thumbs Also See for TLCS-900/H1 Series:

Advertisement

Stage change condition of control write (no data stage) transfer type
SETUP DATA0 ACK
INT_SETUP
INT_ ENDPOINT0
INT_STATUS
REQUEST FLAG
DATASET register
BRD
BWR
bmRequestType register
bRequest register
wValue register
wINdex register
wLength register
Figure 3.10.8 The Control Flow in UDC (Control Write Transfer Type not Dataphase)
1.
Receive SETUP token from host
Start setup stage in UDC.
Receive data in request normally and judge. And assert INT_SETUP
interrupt externally.
Change data stage in the UDC.
2.
Receive IN token from host
CPU receives a request from the request register every INT_SETUP
interrupt.
Judge request and access Setup Received register to inform the UDC
that INT_SETUP interrupt has been recognized.
The CPU processes receiving data by device request.
When the CPU finishes transaction, it writes "0" to EP0 bit of EOP
register.
Change status stage in the UDC.
Return data packet of 0 data to IN token and change state to IDLE in
the UDC.
Assert INT_STATUS interrupt externally when ACK for 0 data
packet is received.
These change condition is Figure 3.10.8.
IN
NAK
Setup Received register
92CH21-260
IN
DATA1
ACK
EOP register
TMP92CH21
2009-06-19

Advertisement

loading

This manual is also suitable for:

Tmp92ch21fgJtmp92ch21