DMA TD status | Cypress Semiconductor
DMA TD status
Well I've succeeded at getting a ping pong of ADC data working wonderfully using the DMA with two TD's. All the data is loaded into two buffers perfectly. So how do I tell when each and/or which TD is finished so I can process the data of one buffer while the other one is filling. I tried CyDmaChStatus but the results never change. I'm thinking that I'm not using it properly. Can anyone send me a snippet of example code to get the status of a TD?