Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
730 Views

Interrupt setting procedure. in arm SoC.

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 I
30 Views

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

Altera_Forum
Honored Contributor I
30 Views

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

Altera_Forum
Honored Contributor I
30 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 I
30 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 I
30 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 I
30 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