Hi,
I'm using DMA channels to control the dataflow from an external ADC to the shared memory from F28M36, through the McBSP port configured as SPI Master.
After the end of the A/D conversion, the BUSY_OUT signal from the ADC externally triggers DMA-CH1 (XINT1 negative-edge), which starts a "dummy" SPI transfer, in order to receive the most recent sample. Then MREVT flag from McBSP triggers DMA-CH2 to move the sample from DRR registers to the Shared RAM.
The concept was successfully implemented in a F28M36 ControlCard (C28 @ 150 MHz) and the resulting waveforms are showed in the figure below. My question is whether the delay of 440 ns measured between the XINT1 trigger (negative-edge of BUSY_OUT signal) and the start of transmission (first positive-edge of SPI_CLK) is expected or not, and whether it can be reduced. It seems too long to me, since it corresponds to 66 sys_clk's!
Thanks in advance!
Gabriel