09.12.2012 Views

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

RM0090: Reference manual - STMicroelectronics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

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

bandwidth transfers, the OTG_HS host performs consecutive write operations up<br />

to MC times.<br />

c) The OTG_HS host attempts to send an IN token at the beginning of the next (odd)<br />

frame/micro-frame.<br />

d) As soon the packet is received and written to the receive FIFO, the OTG_HS host<br />

generates a CHH interrupt.<br />

e) In response to the CHH interrupt, reinitialize the channel for the next transfer.<br />

● Bulk and control OUT/SETUP split transactions in DMA mode<br />

The sequence of operations in (channel x) is as follows:<br />

a) Initialize and enable channel x for start split as explained in Section : Channel<br />

initialization.<br />

b) The OTG_HS host starts fetching the first packet as soon the channel is enabled<br />

and writes the OUT request along with the last DWORD fetch.<br />

c) After successfully transmitting start split, the OTG_HS host generates the CHH<br />

interrupt.<br />

d) In response to the CHH interrupt, set the COMPLSPLT bit in HCSPLT1 to send the<br />

complete split.<br />

e) After successfully transmitting complete split, the OTG_HS host generates the<br />

CHH interrupt.<br />

f) In response to the CHH interrupt, de-allocate the channel.<br />

● Bulk/Control IN split transactions in DMA mode<br />

The sequence of operations (channel x) is as follows:<br />

a) Initialize and enable channel x as explained in Section : Channel initialization.<br />

b) The OTG_HS host writes the start split request to the nonperiodic request after<br />

getting the grant from the arbiter. The OTG_HS host masks the channel x<br />

internally for the arbitration after writing the request.<br />

c) As soon as the IN token is transmitted, the OTG_HS host generates the CHH<br />

interrupt.<br />

d) In response to the CHH interrupt, set the COMPLSPLT bit in HCSPLT2 and reenable<br />

the channel to send the complete split token. This unmasks channel x for<br />

arbitration.<br />

e) The OTG_HS host writes the complete split request to the nonperiodic request<br />

after receiving the grant from the arbiter.<br />

f) The OTG_HS host starts writing the packet to the system memory after receiving<br />

the packet successfully.<br />

g) As soon as the received packet is written to the system memory, the OTG_HS<br />

host generates a CHH interrupt.<br />

h) In response to the CHH interrupt, de-allocate the channel.<br />

● Interrupt OUT split transactions in DMA mode<br />

The sequence of operations in (channel x) is as follows:<br />

a) Initialize and enable channel 1 for start split as explained in Section : Channel<br />

initialization. The application must set the ODDFRM bit in HCCHAR1.<br />

b) The HS_OTG host starts reading the packet.<br />

c) The HS_OTG host attempts to send the start split transaction.<br />

d) After successfully transmitting the start split, the OTG_HS host generates the<br />

Doc ID 018909 Rev 3 1284/1416

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

Saved successfully!

Ooh no, something went wrong!