This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

procedure of USB host dma transfer

Other Parts Discussed in Thread: TMS320C6748

Assume I have submitted the HPD to queue 16, do I need to set TXPKTRDY bit in TXCSR in order to start a bulk out transfer?

 

Can you give me a to-do list for a bulk out transfer. The following are what I am trying to do.

 

1) set up a HPD with a data buffer, link it to compQueue 24

 

2) set queue[16].CTRLD 

 

3) After 2), the 16th bit of PENDING0 is set.

 

4) set FLUSHFIFO & CLRDATATOG & MODE & DMAEN & DMAMODE

 

5) Reset FRCDATATOG & AUTOSET  in ep1 TXCSR

 

6) After reset AUTOSET, the OMAP should send data in queue 16 out

 

7) After 6), the 24th bit of PENDING0 is set.

 

8) Check TXCSR to see what stats is returned from the usb device. ACK or STALL or NAK

 

Can you help to clarify these? And For a BULK IN transfer, after I submit the descriptor to the queue 0 with complete queue 26, do I need to set HOST_RXCSR's REQPKT to start a IN transfer?

 

Thanks

Sheng