Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

Pause DMA if the receiver peripheral cannot accept data for a while

I could run the DMA core to read data from the onchip memory and send to one peripheral. Is there a way to pause the DMA core because the peripheral cannot accept new data for a while?

Thanks

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You try try asserting the waitrequest signal from your peripheral so that it will backpressure the DMA.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    OK.

    The avalon slave interface has a lot of signals like write data, write, readdata, clk ,reset,.... and so on.

    Is there a good tutorial other than the official documents that explain the avalon slave interface in detail by examples?

    Thanks.