PNI Sensor Corporation Doc 1017252 r06
RM3100 & RM2100 Sensor Suite User Manual Page 27 of 41
5 MagI2C Operation
The primary functions of the MagI2C are:
Set the Cycle Count Registers if the default is not desired.
Initiate either a Single Measurement or Continuous Measurement.
Confirm New Data Ready.
Read the Measurement Results Registers.
Each of these steps is discussed in detail in the following sections.
Note: The MagI2C incorporates an Idle Mode to reduce power consumption. The device automatically
idles when not exchanging data or taking a measurement. The MagI2C starts in Idle Mode at power-up.
The MagI2C‟s register map is given in Table 5-1. Register addresses are 7 bits. To Write to a
register, a „0‟ followed by the 7-bit register number should be sent, followed by the register
value. To Read from a register, a ‘1’ followed by the 7-bit register number should be sent,
effectively adding 0x80 to the register number.
Table 5-1: MagI2C Register Map
Polls for a Single Measurement
Initiates Continuous Measurement Mode
Cycle Count Register – X Axis
Cycle Count Register – Y Axis
Cycle Count Register – Z Axis
Sets Continuous Measurement Mode Data Rate
Measurement Results – X Axis
Measurement Results – Y Axis
Measurement Results – Z Axis
MagI2C Revision Identification
5.1 Set the Cycle Count Registers (0x04 – 0x09)
The Cycle Count Registers establish the number of sensor oscillation cycles (cycle counts)
that will be counted for each sensor in both the forward and reverse bias directions during a
measurement sequence. Each sensor has its own cycle count value, and each can be
different. Increasing the cycle count value increases measurement gain and resolution.
Lowering the cycle count value reduces acquisition time, which increases maximum