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

Interfacing (DSI, CSI, I2C, etc.) • [Pi 4] reading Futaba S-BUS data via UART

$
0
0
Hi All,

I would like to read SBUS information via the UART of Pi 4. The SBUS is just an inverted version of UART protocol. I know it is possible to read it via bit-banging but I am more interested in UART.
The SBUS frame consists of 25 Byte packet, Even Parity , 2 stop bits,...etc

I read this article about how to interface with I2C, SPI,...etc.
The UART implementation in the article is based on "termios.h". I can see that allowed sizes are 5 bits, 6 bits, ..8 bits.
CSIZE Character size mask. Values are CS5, CS6, CS7, or CS8.
is there anyway to configure UART to receive 25 continuous bytes ?

Statistics: Posted by akhodeir — Fri Oct 11, 2024 9:03 pm — Replies 0 — Views 28



Viewing all articles
Browse latest Browse all 4630

Trending Articles