Sync DMA request every 72 bytes based on GPIO signal
I have an SPI peripheral that generates an external signal (EXTI) when a data record is ready. The data is then read over SPI by the MCU. The data record is 72 bytes.
Right now I have an interrupt handler that starts the DMA process to read the next record upon EXTI.
I'd like to use DMA synchronization on the external signal. The EXTI is only generated once every 72 bytes. I'd like to know if there is a way to have the DMA process automatically transfer 500 records (each of 72 bytes) without the processor involved but still synchronized to the EXTI signal so data isn't read before it's ready.
I was hoping to do this with the DMA synchronization approach but it transfers 8 bytes and then waits for the next EXTI signal.
Let me know if anyone has a thought on how to do this.
Thanks for your help!
Dan
