Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

GPIO Interruptions are slow, H5 board

Featured Replies

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

  • Author

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

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.