Forum Discussion
19 Replies
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
Do you mean the HPS GPIO pins?
Also, which device are you referring to? Stratix 10 SoC, etc.
- snehal_p
Contributor
Hello,
Yes, HPS GPI pin
I'm using Cyclone 5 SOC
Thanks,
snehal_p
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
Thanks for the confirmation, let me check on my side and get back to you.
Apologies for the late responds as it was carried over the weekend, I shall get back to you in a few days as we have public holiday here in Malaysia.
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
May I know which environment that you want to do your testing?
Is it in Uboot or Linux env for your board testings?
- snehal_p
Contributor
Hi,
Linux environment
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
I am back, so you can use our GHRD for starters to test the interrupts that are readily available, you may check the documentation here in the "Interrupt Routing":
https://www.rocketboards.org/foswiki/Documentation/CycloneVSoCGSRD
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
Do you have any further questions?
- snehal_p
Contributor
Hi,
we we execute commands to determine which of the GPIO entries from /sys/class/gpio/ matches the offsets by searching for the address in the label entry, for PIO we receive the response but for hpsgpi there is no response.
Can you please help on how an I use HPSGPI9 as interrupt.
PFA screenshots.
Thanks,
snehal_p
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
Are you using the GHRD? Have you tried the RBO test using the GHRD?
Also, please share your device tree.
- snehal_p
Contributor
Hello,
No, I'm not using GHRD.
PFA .dts file.
Can you please elaborate on RBO test.
Thanks,
snehal_p
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
BTW, are you using the Cyclone V SoC Dev Kit? or custom board?
- snehal_p
Contributor
Hi,
Custom board
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
You may ignore the GHRD's test mentioned previously.
I have checked your device tree, also do you have the .qsys file?
From my knowledge, the HPS GPIO_9 must be unused in the HPS IP settings then assign them according to your board pin out layout:
https://www.intel.com/content/www/us/en/support/programmable/support-resources/devices/lit-dp.html
Then adjust the device tree accordingly.
- snehal_p
Contributor
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
We don't have the exact example C code. Could you provide your email?
- snehal_p
Contributor
- EBERLAZARE_I_Intel
Regular Contributor
Hi,
Please check your email for the example.