Document MT0605P.E
© Xsens Technologies B.V.
MTi User Manual
62
5.7.1
General definitions for binary data
All binary data communication is done in
big-endian
format.
Example:
Un-calibrated 16 bits accelerometer output
1275 (decimal) = 0x04FB (hexadecimal)
Transmission order of bytes = 0x04 0xFB
Calibrated accelerometer output (float, 4 bytes)
9.81 (decimal) = 0x411CF5C3 (hexadecimal)
Transmission order of bytes = 0x41 0x1C 0xF5 0xC3
The bit-order in a byte is always:
[MSB…LSB]
[bit 7
…bit 0]
5.7.2
Serial or USB communication
The MTi has a parallel serial (RS232/RS422/RS485 or alternative UART) and USB interface.
However, it is not possible to have communication on both the serial and USB interfaces
simultaneously. Therefore, the MTi wakes up as a serial device, unless USB is detected. When a USB
interface is detected, the communication will be done via that USB interface.