2024-03-21, 03:31 PM
(This post was last modified: 2024-03-21, 03:33 PM by gpatsiaouras.)
(2024-03-21, 01:56 PM)Sailoog Wrote: There are no hardware limitations on Raspberry 5, even Raspberry 3 can bit banging any GPIO at 4800 baud. The current limitation of the Raspberry 5 is the software. The hardware architecture changed a lot on Raspberry 5 and the pigpio library no longer works on it. This library was the only one capable of bit banging 4800 baud 9bit and there are no plans to update it.
I have been doing some testing with current and active libraries, but none are ready for this. I want to do one last test before throwing in the towel. I am pretty sure this will work, but we may need help here.
I want to try libgpiod - gpiomon. It has nanosecond granularity and allows for biases, edges, and even buffering, so I think it can work. Any help is welcome.
Hi Sailloog,
That's good to hear (that it's not a hardware issue) because I'd really like to use the HAT instead of an external solution.
I can definitely offer help, I am a software engineer myself as my day job, eEspecially if it's python/javascript. Hardware I do as a hobby. If you can give me some pointers or specific things I can do to help you, maybe some links to docs/github repo, I can get to it.
Thanks!
(2024-03-20, 11:44 PM)abarrow Wrote: I'm pretty happy with my SeaTalk->NMEA converter.from YakBitz. They have a wired and a USB version. Both are $69(aus) delivered. https://www.yakbitz.com/Default.aspxThat is a good alternative yeah, if all shit hits the fan with the rpi5 and gpios. 69$ for shipping to europe is quite good. Thanks I'll keep it in mind
(2024-03-21, 02:58 PM)TVR Wrote: There are a few options discussed in this thread.Yes appending to what sailoog mentioned since the GPIOs software is the culprit it makes a lot of sense to work towards a rpi5 specific solution. That's a good starting point thanks.
Seems like gpiozero is the "recommended" way forward, and the documentation seems to imply it can do bit banging.
https://gpiozero.readthedocs.io/en/stable/api_pins.html
I'm not an expert, but hopefully this helps?