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.

TMS570LS1227: DMA & MIBSPI : how to reset source address/index after frame transfer completes, within a block

Expert 2025 points
Part Number: TMS570LS1227

I've setup  MIBSPI - to DMA transfer,     N elements in frame (== num of MIBSPI buffers , across all my groups), to trigger once all groups complete, but with MIBSPI DMA number of buffers = N thus it keeps feeding them one by one once they all ready (been read by SPI).   ( I don't see how else, as number of total bytes is larger than single DMA read )

I want  M such frames,  before doing anything with them. So I've setup  M frames into 1 block transfer for DMA channel. BUT.

How do I reset the source address  ( = which  MIBSPI buffer 0 always, when MIBSPI completes all groups, my src  is buffer 0),   after each frame?   I need to reset because after my frame completes, I need to re-start from MIBSPI buffer 0, at the same time I cannot use ADDR_FIXED for source, as  I'm reading them one-by-one when request is triggered.