Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12409 Discussions

Interrupt setting procedure. in arm SoC.

Altera_Forum
Honored Contributor II
784 Views

I was reading the HL_GPI interrupt usage. 

https://www.altera.com/support/support-resources/knowledge-base/solutions/rd05162013_937.html 

 

Consider i have the factory version of the default fpga image on my kit. Any guide for what is the procedure i need to do to enable the interrupt usage , i 'm trying this in bare metal basis?  

 

Tsik.
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
84 Views

Hi the usage is similar like normal gpio, you can get some guide in the trm interrupt section.

Altera_Forum
Honored Contributor II
84 Views

any guide which item need to be set first? any specific sequence?

Altera_Forum
Honored Contributor II
84 Views

Hi, first thing to do is clear all the mask, then configure interrupt edge, then write the polarity setting. Finally enable the interrupt. you can find the register accordingly in the TRM. you can try to check the interrupt activation via a register called gpio_intstatus.

Altera_Forum
Honored Contributor II
84 Views

Forgot to inform you, there is a example to refer .key word is "GPIO", do check the read me files for more details!  

https://www.altera.com/support/support-resources/design-examples.html#soc-design-examples
Altera_Forum
Honored Contributor II
84 Views

Hi, this is quite helpful, how ever i ma using DE SOC board, this example. might not be fitting in...

Altera_Forum
Honored Contributor II
84 Views

No no, you can still look at how the register are configured in the firmware perspective. as the procedure to use this GPI is same like normal gpio..

Reply