09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

USB on-the-go high-speed (OTG_HS) <strong>RM0090</strong><br />

SETUP transaction operates in the same way but has only one packet. The<br />

assumptions are:<br />

– The application is attempting to send two maximum-packet-size packets (transfer<br />

size = 1, 024 bytes).<br />

– The nonperiodic transmit FIFO can hold two packets (128 bytes for FS).<br />

– The nonperiodic request queue depth = 4.<br />

● Normal bulk and control OUT/SETUP operations<br />

The sequence of operations for channel 1 is as follows:<br />

a) Initialize channel 1<br />

b) Write the first packet for channel 1<br />

c) Along with the last DWORD write, the core writes an entry to the nonperiodic<br />

request queue<br />

d) As soon as the nonperiodic queue becomes nonempty, the core attempts to send<br />

an OUT token in the current frame<br />

e) Write the second (last) packet for channel 1<br />

f) The core generates the XFRC interrupt as soon as the last transaction is<br />

completed successfully<br />

g) In response to the XFRC interrupt, de-allocate the channel for other transfers<br />

h) Handling nonACK responses<br />

1263/1416 Doc ID 018909 Rev 3

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!