Reading 32bit frame on a SSI Line with uDMA
Hello.
We are communicating with a remote SPI ADC device from a Tiva TM4c129X chip. We have configured the Tiva board to read one 16bit frame continuosly (at the sampling frequency rate) in 512 samples blocks via uDMA, with a pingpong buffer without effort.
Our objective is to be able to read two adcs channels to get stereo processing, to do that we need to read a frame with this format:
However, SSI on Tiva only accepts 16-bit frames, so it we cannot read the frames the same way we are doing it now.
We know we could set a GPIO as CS line, and control it manually, but then we would lose the implementation with the dma, so we would have an interrupt for every sample we get, having a large overhead of processor time, which we cannot “afford”.
Is there any register+udma setting that could allow us to do this?
Also, could the frame be “cut” in the middle, receive it via dma and arrange it later into two samples?
Thank you.