Jump to content

GPIO Interruptions are slow, H5 board


OpenglMan
 Share

Recommended Posts

Hi,

 

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 comment
Share on other sites

Help Armbian team helping you

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 comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...