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.
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.
is there anyway to configure UART to receive 25 continuous bytes ?CSIZE Character size mask. Values are CS5, CS6, CS7, or CS8.
Statistics: Posted by akhodeir — Fri Oct 11, 2024 9:03 pm — Replies 0 — Views 28