USB on-the-go high-speed (OTG_HS)
•
Isochronous OUT transactions
A typical isochronous OUT operation in Slave mode is shown in
assumptions are:
–
–
–
The sequence of operations is as follows:
a)
b)
c)
d)
e)
f)
g)
1492/1731
OTG_HS_HCTSIZ2 = 0, reinitialize the channel for the next transfer. This time, the
application must reset the ODDFRM bit in OTG_HS_HCCHAR2.
The application is attempting to send one packet every frame (up to 1 maximum
packet size), starting with an odd frame. (transfer size = 1 024 bytes).
The periodic transmit FIFO can hold one packet (1 KB).
Periodic request queue depth = 4.
Initialize and enable channel 1. The application must set the ODDFRM bit in
OTG_HS_HCCHAR1.
Write the first packet for channel 1. For a high-bandwidth isochronous transfer, the
application must write the subsequent packets up to MCNT (maximum number of
packets to be transmitted in the next frame times before switching to another
channel.
Along with the last DWORD write of each packet, the OTG_HS host writes an
entry to the periodic request queue.
The OTG_HS host attempts to send the OUT token in the next frame (odd).
The OTG_HS host generates the XFRC interrupt as soon as the last packet is
transmitted successfully.
In response to the XFRC interrupt, reinitialize the channel for the next transfer.
Handling nonACK responses
DocID018909 Rev 11
RM0090
Figure
422. The
Need help?
Do you have a question about the STM32F405 and is the answer not in the manual?
Questions and answers