Hello Rick,
Below is answer from i.MX Expert team !
-------------------
If I understand correctly, you use high-bandwidth ISO endpoints to transfer compressed video data.
The transactions are organized as 3 x 1024 bytes per micro-frame, using 7 micro-frame slots (0-6) per frame for the first 5 frames and 1 frame with 5 micro-frame slots (0-4) plus 1 micro frame with only 576 bytes.
In the error case, it seems that we get the same sequence of micro frames, but they are shifted relative form the Frame start and the transactions in the first 3 micro-frames contain incorrect (old) data.
Just to make sure I understand correctly, did you check this in the protocol analyzer log? i.e, did you check the frame numbers in in the SOF packet and did the first transaction start after the 4th SOF following the one with the new frame number?
If that is the case, is there any chance that the transactions have been incorrectly scheduled? I'm asking this because the controller uses the frame index (same as SOF) to select the iTD from the periodic list and the entry in the iTD to select what transaction will be executed. If the index would be wrong for some reason, the frame number in the SOF would also be wrong. i.e there would be missing SOF packets.
If the index is correct, than the entries in the iTD would have to be incorrect to produce such output.
Regarding the old data, the controller does not copy data. It reads it from memory (the buffers) into the internal FIFO and transmits the data. So when you see old data, it means it is reading from an old buffer/memory location. In this error case, it could mean that the active flag was set on an old transaction descriptor.
I would suggest to check if the descriptors are are always in the correct slot. Check the scheduling algorithm to ensure that it is always starting at a frame boundary and that the transaction is scheduled entirely before the controller starts using the iTD.
If more help is needed, please provide a binary copy of the protocol analyzer log and a description of the scheduling procedure.
-------------------------
Have a nice day!
BR,
Weidong