forked from Archive/PX4-Autopilot
fmu-v6x: Increase Mavlink UART buffers
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.
This commit is contained in:
parent
d2011e99b2
commit
ebe152fc22
|
@ -291,8 +291,9 @@ CONFIG_UART4_RXBUFSIZE=600
|
|||
CONFIG_UART4_TXBUFSIZE=1500
|
||||
CONFIG_UART5_IFLOWCONTROL=y
|
||||
CONFIG_UART5_OFLOWCONTROL=y
|
||||
CONFIG_UART7_RXBUFSIZE=1500
|
||||
CONFIG_UART5_RXDMA=y
|
||||
CONFIG_UART5_TXBUFSIZE=3000
|
||||
CONFIG_UART5_TXBUFSIZE=10000
|
||||
CONFIG_UART5_TXDMA=y
|
||||
CONFIG_UART7_BAUD=57600
|
||||
CONFIG_UART7_IFLOWCONTROL=y
|
||||
|
|
Loading…
Reference in New Issue