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.

(6748,USB2.0) Is there a DELAY between INT tx Dma and EP.tx_package_ready?

I have a question about 6748's USB2.0 peripheral.

 

[ USB worked in HOST mode. and DMA is actived ]

I started an EP_OUT operation, When the last Tx DMA triggered (the entired tx transfer will splitted into several stages), In ISR, I wait untile HOSTTXCSR.tx_package_ready is set to 0, then I started a EP_IN operation.

In most cases,  It works well. But sometimes It hangs up. I checked register's value, found epOut.TXCSR 's value is xx03;

so I guessed there should be a DELAY between DMA queue empty signal and EPOUT.TxPackageReady Bit set to 1.

Is that true?