Inexplicable pauses when using EBI + DMA (SAMA5D35)

Discussion around products based on ARM Cortex-A5 core.

Moderator: nferre

arhiv6
Posts: 2
Joined: Tue Jun 05, 2018 10:14 am

Inexplicable pauses when using EBI + DMA (SAMA5D35)

Wed Jun 13, 2018 1:02 pm

Hello,

I use EBI interface for connecting to FPGA. All works fine (read, write, including using DMA). But I found that DMA transmits data in batches of 16 write cycles. For example, I run DMA-transfering 1024 bytes to FPGA and see (part of the transmission is visible):

Image
It's normal behavior for DMA? Why do these pauses appear? Code for configuring and starting DMA transaction taken in this driver (see atmel_nand_dma_op function) as a basis. Processor: SAMA5D35.

Best Regards, arhiv6.
blue_z
Location: USA
Posts: 1674
Joined: Thu Apr 19, 2007 10:15 pm

Re: Inexplicable pauses when using EBI + DMA (SAMA5D35)

Thu Jun 14, 2018 9:15 pm

arhiv6 wrote:It's normal behavior for DMA? Why do these pauses appear?
Looks like ordinary burst-mode DMA to me. What were you expecting?
Allowing the DMAC to hog the memory bus (e.g. a "block" transfer) would be detrimental to CPU performance (e.g. interrupt latency).

Regards

Return to “SAMA5D Cortex-A5 MPU”

Who is online

Users browsing this forum: No registered users and 1 guest