Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12606 Discussions

Interfacing external device with Avalon/DMA

Altera_Forum
Honored Contributor II
988 Views

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.
0 Kudos
0 Replies
Reply