Serial Passthrough in PX4: Accessing FC Serial Ports Over MAVLink
summary
PX4 v1.18 adds a serialpassthrough driver that maps SERIAL_CONTROL messages to real UART ports and to ESC signal pins via a bit-bang UART on STM32F7/H7, letting any MAVLink client read/write flight‑controller serial devices. A host bridge (pymavlink, Linux/macOS) exposes a virtual serial port and packs up to 70‑byte payloads; PX4 runs up to eight independent passthrough instances, one sender per port, with ring buffers that drop overflow. ESC flashing uses a 1 MHz timer at 19200 baud, PASSTHRU_EN disables DShot/PWM for one boot, and motors require a manual reboot to reenable.
AI-written summary · about
