GPIO Interruptions are slow, H5 board



Recommended Posts



I have checked that the GPIO Interruptions are very slow.


If i receive a wave in a GPIO with  IRQ edge enable, for a frequency of 100Hz, all IRQs detected are right (100 interruptions received)


However if i increase the frequency of the wave up to 500Hz, i can't detect all the IRQs received, (50 interruptions received more or less)


Well, i think maybe, the solution is to change the following kernel parameter:     CONFIG_HZ=1000 instead CONFIG_HZ=250 (default)


What do you think ??

Is there other solution??    


Thanks a lot in advance

Link to post
Share on other sites

Armbian is a community driven open source project. Do you like to contribute your code?

After more checks, the problem is about the pulse width. I mean, i am receiving a pulse wave in GPIO IRQ pin.


If the width of the pulse is big, no problem ... all IRQs are right, but if the pulse width is very little, a lot of IRQ are not detected. 


The pulse with that i need to receive is only 20 useg 


So it is not a problem of frequency

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.