3DM
®
-GX5-35
DCP Manual
2.4.1
Continuous Data Example Command Sequence
Most applications will operate with the 3DM-GX5-35 sending a continuous data stream. To reduce
the amount of streaming data, if present during the configuration, the device is placed into the idle
state while performing the device initialization; when configuration is complete, the required data
streams are enabled to bring the device out of idle mode. Finally, the configuration is saved so that it
will be loaded on subsequent power-ups, eliminating the need to perform the configuration again.
1.
Put the Device in Idle Mode
Send the
" command to put the device in the idle state (reply is ACK/NACK), disabling
the data- streams. This is not required but reduces the parsing burden during initialization and
makes visual confirmation of the commands easier.
MIP Packet Header
Command/Reply Fields
Checksum
SYNC1
“u
SYNC2
“e”
Descriptor
Set byte
Payload
Length
Field
Length
Cmd.
Descriptor
Field Data
MSB
LSB
Command:
Set to Idle
0x75
0x65
0x01
0x02
0x02
0x02
N/A
0xE1
0xC7
Reply:
ACK/NACK
0x75
0x65
0x01
0x04
0x04
0xF1
Cmd echo: 0x02
Error code: 0x00
0xD6
0x6C
Copy-Paste version of the command: “7565 0102 0202 E1C7”
2. Configure the IMU Data-stream Format
Send a “
” command (reply is ACK/NACK). This example requests GPS
correlation timestamp, scaled gyro, and scaled accelerometer information at 100 Hz (1000Hz base
rate divided by a rate decimation of 10 on the 3DM-GX5-35 = 100 Hz.) This will result in a single
IMU data packet sent at 100Hz containing the IMU GPS correlation timestamp followed by the
scaled gyro field and the scaled accelerometer field. This is a very typical configuration for a base
level of inertial data. If different rates were requested, then each packet would only contain the data
quantities that fall in the same decimation frame (see the
section). If the stream
was not disabled in the previous step, the IMU data would begin stream immediately.
Please note, this command will not append the requested descriptors to the current IMU data-
stream configuration, it will overwrite it completely.
13