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.

TMS570LS3137: MIBSPI + DMA - First transaction all 0's

Part Number: TMS570LS3137
Other Parts Discussed in Thread: HALCOGEN

Tool/software:

Hello,

So my first transaction seems to be failing, always outputting 0's.

After that everything is fine, checked by consecutively outputting an incrementing 16-bit number: First is 0 (should be 1), 2nd is 2, 3rd is 3. So it is just the first that's the issue.

It seems as though the first DMA transfer does not occur - after calling mibspiTransfer the RAM buffer is still 0.

This occurs on the two devices I have, which are separated by transfer group, data format & DMA channels etc.

Between transfers, the TX RAM buffer controls are not changed, just the DMA altering the data part of them.

Any ideas where to look?

Thanks!