![LORD 3DM-GX5-35 Скачать руководство пользователя страница 20](http://html1.mh-extra.com/html/lord/3dm-gx5-35/3dm-gx5-35_manual_1939347020.webp)
3DM
®
-GX5-35
DCP Manual
2.8.1
UART Bandwidth Calculation
Below is an equation for the maximum theoretical UART baud rate for a given message
configuration. Although it is possible to calculate the approximate bandwidth required for a given
setup, there is no guarantee that the system can support that setup due to internal processing
delays. The best approach is to try a setting based on an initial estimate and watch for dropped
packets. If there are dropped packets, increase the baud rate, reduce the data rate, or decrease the
size or number of packets.
Where:
S
f
= size of data field in bytes
f
dr
= field of data rate in Hz
f
mr
= maximum date rate in Hz
n = size of UART word = 10 bits
k = size of MIP wrapper = 6 bytes
which becomes:
Example:
For an IMU message format of Accelerometer Vector (14 byte data field) + Internal Timestamp (six
byte data field), both at 100 Hz, the theoretical minimum baud rate would be:
In practice, if you set the baud rate to 115200 the packets come through without any packet drops. If
you set the baud rate to the next available lower rate of 19200, which is lower than the calculated
20