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.

IWR6843: Accessing DMA current transfer count

Part Number: IWR6843


Hello,

For my application I need do have access to the current transfer count value of a DMA channel.

From what I understand, I can read this information in PBACTC of the DMA control registers if the corresponding channel was the last active channel. Otherwise, if another DMA channel becomes acitve before the moment when I need to read the current transfer count, then I should read the CTCOUNT register of the working control packet from the channel.

However, in my application I am using muliple DMA channels and I c'ant now which is the last activ channel and therefor I d'ont know where to get the right information from.

A workaround would be to trigger by software a dummy DMA channel each time I need to read the current transfer count and  then read CTCOUNT register.

I d'ont like this solution because a d'ont know how much time I need to wait after triggering the dummy DMA channel before CTCOUNT register is ready to be read...

Is there another way to solve this problem ?

Thanks,

Vincent