DMA as Double Buffer (Ping Pong Buffering) | Cypress Semiconductor
DMA as Double Buffer (Ping Pong Buffering)
I would like to use the DMA as a double buffer between two seperate arrays in memory. The datasheet says this is possible, but does not address how to do so.
The buffers are in code as follows:
uint8 buf; //Data buffer to hold the output from the 8 bit counter
uint8 buf2;//2nd buffer for double buffering
Any ideas? I am basing my project off of the PSoC Sensei blog FIFO component.