Hi,
This is for an RM57L843. I saw a couple posts with e2e on Hercules circular buffers with DMA and will review those. But I wanted to post the specific question from a customer:
We were unable to configure the DMA so that it fills a circular buffer that we occasionally drained. The attempt we made was to read the CTCOUNT register when we were ready and drain the buffer, but because CTCOUNT isn't updated until the DMA is arbitrated out of the priority queue, this didn't appear to work. Is there a way to use this DMA in this fashion? Maybe a way to force an update of CTCOUNT without interrupting an in-progress DMA transfer?
Is there a better way of doing this with the DMA?
Thanks,
--Gunter