Forum Discussion
Altera_Forum
Honored Contributor
10 years agoHI!!
First, I really think its a better idea to use the DS5!! Well for your program you will first need to program a VHDL/Verilog module and add it to QSYS!(connect the irq to hps) Add the module in your dts with the reg parameters(memory map parameters) and irq (examplei2c0 irq =>>> interrupts = <0 158 4>; /*0=SPI 1=PPI, Altr_int nr - 32, 4=active High level sensitive GIC_CPU_MASK arm-gic.h (refer @ kernel arm/gic and arm cortex a9 docu 3.1.2)*/) Then you need to write a "Linux Kernel Module"!! insert the module and use it in your program!! The whole thing its not a easy task! but thats life! :) Here you can find a nice blog!!! https://zhehaomao.com/blog/fpga/2014/05/24/sockit-10.html bye und viel spass! ahh !! and dont forget to reserved the memory your writing to! (dts)