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.

<strong>RM0090</strong> USB on-the-go full-speed (OTG_FS)<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 non-periodic transmit FIFO can hold two packets (128 bytes for FS).<br />

– The non-periodic request queue depth = 4.<br />

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

The sequence of operations in (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 Word write, the core writes an entry to the non-periodic request<br />

queue<br />

d) As soon as the non-periodic queue becomes non-empty, the core attempts to<br />

send 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 non-ACK responses<br />

Doc ID 018909 Rev 3 1114/1416

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

Saved successfully!

Ooh no, something went wrong!