beautypg.com

6 troubleshooting and general information, 1 built-in self test register (0x33), Troubleshooting and general information – PNI RM3100 Sensor Suite User Manual

Page 37: Built-in self test register (0x33), Table 5-8: measurement results registers

background image

PNI Sensor Corporation

Doc 1017252 r03

RM3100 & RM2100 Sensor Suite User Manual

Page 36 of 45

Table 5-8: Measurement Results Registers

Register Description

Write Address

(Hex)

Read Address

(Hex)

X Axis Measurement (2)

24

A4

X Axis Measurement (1)

25

A5

X Axis Measurement (0)

26

A6

Y Axis Measurement (2)

27

A7

Y Axis Measurement (1)

28

A8

Y Axis Measurement (0)

29

A9

Z Axis Measurement (2)

2A

AA

Z Axis Measurement (1)

2B

AB

Z Axis Measurement (0)

2C

AC

Normally it is only necessary to send “A4

H

”, since the register value automatically

increments on the clock cycles such that after sending “A4

H

” all 3 bytes for the X axis

measurement would be clocked out, then the 3 bytes for the Y axis measurement, then the 3

bytes for the Z axis measurement. After these 9 bytes have been clocked out, the subsequent

output data has no relevance.

5.6 Troubleshooting and General Information

The MagI2C incorporates several registers that can be used to help troubleshoot the system

or device. These include the Built-In Self Test (BIST) register, the Handshake register, and

the RevID register.

5.6.1 Built-In Self Test Register (0x33)

The Built-In Self Test (BIST) register checks the status of the internal LR circuit

oscillator. Write to the BIST register by sending 0x33 followed by the BIST register

values, and request a read from the BIST register by sending 0xB3. The register contents

are defined below.

Bit #

7

6

5

4

3

2

1

0

Value

STE

ZOK YOK XOK BW1 BW0

BP1

BP0

`