CXM543 User’s Manual
Doc.# 6001-0015 Rev 1.2
Page 19
-1
FFFF
-32768
8000
If the selection M=R is made, then the mode can be further specified by
selecting three sub modes
M = h (hex mode)
M = b (binary mode)
M = i (integer mode)
Note that the above commands can be given individually or as a single
combination of commands. For instance, to put the CXM543 in raw binary
mode,
M = r <CR>
M = b <CR>
(where, <CR> is a carriage return) could be issued, or the command
M = rb <CR>
could be issued.
In hex mode, the CXM543 will transmit ASCII hex numbers in the
following format
MX MY MZ AX AY AZ T K <CR><LF>
MX represents the X magnetometer A to D output and is of the form:
HHHH
where each H is an ASCII character represents a hex digit ranging from 0 to
F. The magnetometer and accelerometer outputs all have this same form. T
represents a hex number of the same form i.e.,
HHHH
and corresponds to the system temperature. To obtain the temperature in °C
divide the hex digits by 128. K represents the system checksum and is a hex
number of the form
HH
SUNSTAR传感与控制 http://www.sensor-ic.com/ TEL:0755-83376549 FAX:0755-83376182 E-MAIL:[email protected]
SUNSTAR自动化 http://www.sensor-ic.com/ TEL: 0755-83376489 FAX:0755-83376182 E-MAIL:[email protected]