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.

[bug report]usb dma recv operation of TMS320C6748 has problem.

Other Parts Discussed in Thread: TMS320C6748

by usb2.0 user manual of TMS320c6748.

after usb2.0 recv dma operation is finished.

usb peripheral will push a descriptor into recv complete queue.

then submit a interrupt to CPU.

ISR should check descriptor to find how many bytes aretransfered (desc->HPDword0.PktLength ).

but I oberserved the "PktLength" sometimes is set to 0.

forthermore, I found when interrupt was generated, the descriptor's content have not been refreshed.

 

so, what I am supposed to do is put some delay before access desc->HPDword0.PktLength, right?