Forum Discussion
Mapping HPS GPI pin
Hi snehal_p,
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.
Thanks.
Regards,
Aik Eu
- snehal_p3 years ago
Contributor
Hello Aikeu,
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.
Thanks,
snehal_p
- snehal_p3 years ago
Contributor
Hello Aikeu,
Can we configure HPSGPI pins as interrupt?
Thanks,
snehal_p