Other Parts Discussed in Thread: TMS570LC4357
Hello,
I am trying to create an SCI Rx circular buffer. The buffer is being written to by DMA. I would liek to use as little interrupts as possible and would therefore like to keep track of the current destination address of the DMA channel. As I understand, this corresponds to CDADDR of the working packet.
However, I am having troubles getting this CDADDR to update. I know that the channel must be arbitrated out in order for CDADDR to be updated. Therefore, I created a dummy DMA channel at a higher priority that should arbitrate it.
However, the CDADDR never seems to update and remains frozen. I tried instead to use the general FAACDADDR address. However, this is not ideal since it most often shows the DMA address of another SPI transmission that is ongoing. Rarely does it show me the SCI DMA address I am looking for.
Any help or reasoning behind what is going wrong would be appreciated.
Thank you.