Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5085

Interfacing (DSI, CSI, I2C, etc.) • Best C++ replacement for pigpio on Pi 5 (if you are willing to rewrite to a completely new GPIO library API)?

$
0
0
So I just now saw that the new chipset on the Pi 5 means that pigpio is no longer going to work. Woof. That kills me.

I've seen the discussions now from a few months ago, for example viewtopic.php?p=2160578#p2160578 and viewtopic.php?t=359742 , however, I couldn’t discern if there was a recommended library for use going forward if you’re willing to re-write your code to a new API (which I am) and if you’re using C++, not python.

Wiping away the tears and moving on, is there any consensus (or a recommendation from the Pi Engineers) on what library to move to going forward in order to work on both pi 4 and pi 5? I need to be able to bit-bang SPI at relatively high bauds (> 100k) and hopefully service interrupts on the GPIO pins with minimal delay (I liked pigpio because it had a fast sample rate). I’m fine doing the work to pivot to a new API (what can you do -- the world moves on), but would prefer not to have to do this again because of some other upcoming change that might kill off more GPIO libraries in the future.

Does anyone at the Pi mothership have a recommendation? Anyone else?

Thanks!

Statistics: Posted by jpilgrim — Thu May 02, 2024 9:15 pm



Viewing all articles
Browse latest Browse all 5085

Trending Articles