mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Our serial_test showed only ~84kB/s with the default 256 RX buffer size with significant ~2.5ms periods of the flow control RTS pin being asserted. Increasing size to 600 (same as FMU-v5x) brings the throughput only to ~190kB/s, while a size of >1500 achieves ~350kB/s. Larger RX buffers do not increase throughput anymore, while the theoretical maximum is 375kB/s. Transmit buffer size is increased to 10kB same as on FMUv5x to prevent any future differences in queue behavior and throughput. serial_test showed ~350kB/s throughput at 3kB TX buffer size, so this is just a precaution.