Altera_Forum
Honored Contributor
20 years agoInterfacing external device with Avalon/DMA
Hi guys,
I have to interface an external device (an USB peripheral controller ISP1181) with NIOS II Avalon bus. This device supports DMA transfers in 2 modes: 8237 compatible mode and "DACK-only" mode. I don't know how to connect this device with Avalon bus :-( What do I have to do with DREQ, DACK and EOT signals from my device ? Are there signals on Avalon bus where I have to connect them ? Do I have to connect DMA read_master and write_master ports with the device data bus and the RAM data bus ? (I think so) How can I also have acces to the device registers ? Do I have to add a second port to my SOPC Builder component to have acces to device registers ? Thanks for any help. PS: I use NIOS II 5.0 and Quartus II 5.0 with Service Pack 1 installed.