DMA termout/nrq and bursts | Cypress Semiconductor
DMA termout/nrq and bursts
I have a question about the PSoC5 DMA, and I'm not confident of my interpretation of the app note on this point.
If I set the DMA__TD_TERMOUT_EN flag on a transaction descriptor, do I end up getting one pulse on nrq at the end of the entire TD? Or one at the end of each burst that that TD does?
Specifically, I'd like to set up the DMA to transfer 1kB from a UART to SRAM. I plan to set it up so that the TD does 1 byte per burst, and requires a request per burst. I plan to tie the rx_interrupt line from the UART (with the On Byte Received interrupt enabled) to the drq line on the DMA.
I'd like to get one interrupt when the entire 1kB is transfered, so that I can process that block and set up for receiving the next one, what I don't want is one interrupt after each byte.