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++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
12748 Discussions

how to conect external hardware to the nios ii

Altera_Forum
Honored Contributor II
2,042 Views

hello everyone!! 

well i need some help, im trying to conect some test hardware to my nios, but i m not sure how to do it. I have the program in c and i have to put some externals interruptions and depend on the interruptions, load some data from some externals register and i try to know how to do this. I did some kind of simulations using pushes and it works but i really need to put this hardware because i m going to conect this hardware. 

 

i hope someone can help me  

thak you
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
625 Views

HI 

use Spi  

 

regards 

M Kalyansrinivas
0 Kudos
Altera_Forum
Honored Contributor II
625 Views

Get aquainted with this webpage and bookmark it: 

http://www.altera.com/literature/lit-nio2.jsp 

 

Basically there are a few ways to interact with with external hardware: 

1 - Use PIO ports. These are just regular I/O ports that connect to your NIOS processor and go to the outside world. You can write to them, read from them ,get interrupts from them, etc. 

2 - Export part of the avalon bus from the SoPC system so your logic can be accessed from the processor. 

3 - Create your own custom component to interface between the NIOS and your hardware. 

 

Jake
0 Kudos
Altera_Forum
Honored Contributor II
625 Views

thanks a lot, i will try to do and if i have more doubs i ask thank you very much 

bgea
0 Kudos
Altera_Forum
Honored Contributor II
625 Views

Hi  

 

ok Thankyou good information  

 

regards 

kalyan
0 Kudos
Altera_Forum
Honored Contributor II
625 Views

hi, 

i need a help 

how to connect CAN opencore to nios Avalon bus?  

i want to integrated CAN opencore as a new component on SOPC builder Altera Cyclone II.
0 Kudos
Altera_Forum
Honored Contributor II
625 Views

Hi 

 

How to interface the Avalon st interface to Nios processor
0 Kudos
Reply