ADC to DMA stream not functioning


I’m currently using PYNQ v2.6 on the RFSoC ZCU111 board (XCZU28DR-2FFVG1517E). I’ve attached an image of my block design and am using Vivado 2020.1 for my design environment.

I’m trying to load information from an ADC on the board into DMA, however I’m having no luck. My Jupyter notebook returns the following error. “DMA channel not started.”

The first read returns an array of values, however every read after that returns 0s. After the ADC, I have a custom block generating a TLAST signal every 128 clock cycles, followed by an asynchronous FIFO to switch from 125 MHz (ADC clock) into 100 MHz (AXI-Lite).

Initially I thought the problem was no TLAST signal, however my custom design works in isolation. I believe the DMA may not be firing a TREADY signal after the first read, but this is just a guess and I’m also not sure how to fix that.

Has anyone had a similar issue? Any advice welcome :slight_smile:

Block design - dma_write.pdf (217.5 KB)

1 Like

If you look at dma.register_map the S2MM_SR should give some indication as to why the DMA stopped. Can you copy the output here?

1 Like