Forum Discussion

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

DMA

Hello!

I'm developing my custom peripheral component, wich operates with standard DMA from SOPC Builder. DMA should send data from SDRAM to my component. When my pheripheral component set to 1 endofpacket signal, transmition stops. But when my peripheral set to 0 endofpacket and set to 1 readyfordata nothing is happened. Why? How my component can continue data transmition?

Thanks a lot!

2 Replies

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

    If the DMA controller is set up to stop on end-of-packet then you have to restart the DMA operation by setting the "GO" bit in the control register. You would normally do this from the CPU although I suppose any component that's an Avalon master could access the DMA controller's registers.

    Andrew