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

Compute Module • Re: CM4+Python+Bit banging

$
0
0
I don't know enough details of Modbus, but if you're not needing exact precision on the clock then bit-banging can work.
There are already bit-banged SPI and I2C drivers in the kernel. However those are relatively easy as they each have a dedicated clock signal, so jitter on the GPIO control isn't an issue. Bit-banging a UART would be harder as there isn't a dedicated clock signal.

All the UARTs are hardware implementations, but they have different capabilities.

Statistics: Posted by 6by9 — Tue Feb 27, 2024 2:14 pm



Viewing all articles
Browse latest Browse all 4869

Trending Articles