I need help in mapping the HPS GPI pin.
I'm using cyclone V SOC, for mapping HPS GPIO pins we can use mux table in platform designer.
Similarly how can we map HPS GPI pin, I need to map HPSGPI9 pin.
The HPS_GPI pins are different from other HPS peripheral pins or GPIOs. The HPS_GPI (referenced as HLGPI in Cyclone V TRM - chapter 22) are HPS dedicated pins and doesn't appear as ports on generated HDL entity. You can't even configure their usage via QSYS. These pins has fixed location and function and hence no assignment is needed.
We could configure it by enabling "Enable HLGPI interface" in FPGA interface configuration in hps parameter. But we are facing issue reading the interrupt/input in the c code/application code.
Can you please help with the example code for reading hps gpi pin in c code.
If " These pins has fixed location and function and hence no assignment is needed." then can you please help me with the example code for reading HPSGPI pin.