- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
How can we configure HPSGPI as interrupt, which flag do I check to use the interrupt.
How can I use HPSGPI as Interrupt?
Thanks,
snehal_p
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Do you mean the HPS GPIO pins?
Also, which device are you referring to? Stratix 10 SoC, etc.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes, HPS GPI pin
I'm using Cyclone 5 SOC
Thanks,
snehal_p
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
May I know which environment that you want to do your testing?
Is it in Uboot or Linux env for your board testings?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Do you have any further questions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Are you using the GHRD? Have you tried the RBO test using the GHRD?
Also, please share your device tree.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
No, I'm not using GHRD.
PFA .dts file.
Can you please elaborate on RBO test.
Thanks,
snehal_p
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
BTW, are you using the Cyclone V SoC Dev Kit? or custom board?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We are using HPSGPI input only pin, pin location is PIN_Y26
PFA block diagram.
We want to configure and use it as interrupt in a c code/ aplication
Can you please share the example code for the same.
Thanks,
snehal_p
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We don't have the exact example C code. Could you provide your email?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please check your email for the example.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Do you have any further questions? Could we close the thread?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
If you have further questions on the design, you may file a new thread. Please login to ‘https://supporttickets.intel.com’, view details of the desire request, and post a feed/response within the next 15 days to allow me to continue to support you. After 15 days, this thread will be transitioned to community support. The community users will be able to help you on your follow-up questions.
p/s: If any answer from the community or Intel Support are helpful, please feel free to give best answer or rate 4/5 survey.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page