Forum Discussion
Altera_Forum
Honored Contributor
12 years agoInterrupt Problem over HLGPI
Hello,
I'm very new in developing with Cyclone V SoC and have big problems to recognize an interrupt send from a Button to the HPS. What I have done so far: 1. Initiate the HPS System with Qsys (enable HLGPI interface) 2. compiled the project with quartus and load the fpga and boot YOCTO Linux 3. I have pushed the button and read out the interrupt with "./devmem2 0x70a000" ( I have checked all 16 bits) but i only got the result 0x00000000 What am I doing wrong? This is very frustrating. I appreciate any help3 Replies
- Altera_Forum
Honored Contributor
Hello,
Try reading "./devmem2 0x70a050". That worked for me, but I still can't figure out why reading "./devmem2 0x70a000" (previusly I had set the bits to INPUT) only gives me 0x0. "./devmem2 0x70a050" is the GPIO2_EXP_PORTA Regards! - Altera_Forum
Honored Contributor
Thank You!
This has helped me a lot. Best Regards - Altera_Forum
Honored Contributor
I want to find out, which gpio pin is used for 0xff70a50 under /sys/class/gpio.
The Documentation "Cortex-A9 Microprozessor Unit Subsystem" says Pin 198 (Table 6-2). But I don't think so. Does anyone know the answer?