beautypg.com

2 software-related error conditions, Software-related error conditions, Table 4-8: software-related error indications – PNI SENtral MandM User Manual

Page 24: Table 4-9: errorregister indications

background image

PNI Sensor Corporation

Doc #1020129 revE

SENtral M&M Technical Datasheet

Page 23

4.6.2

Software-Related Error Conditions

Possible indications of software-related errors are given below in Table 4-8:

Table 4-8: Software-Related Error Indications

Register Name

Address Error Indication

EventStatus

0x35

[1] 1 = Error.

SensorStatus

0x36

[0] MagNACK. 1 = NACK from magnetometer

[1] AccelNACK. 1 = NACK from accelerometer

[2] GyroNACK. 1 = NACK from gyroscope

[4] MagDeviceIDErr. 1 = Unexpected DeviceID from

magnetometer

[5] AccelDeviceIDErr. 1 = Unexpected DeviceID from

accelerometer

[6] GyroDeviceIDErr. 1 = Unexpected DeviceID from

gyroscope.

SentralStatus

0x37

[3] 1 = Idle. SENtral in Initialized State.

ErrorRegister

0x50

Non-zero value indicated an error. See

Table 4-9

.

RAMVersion

0x72, 0x73

Unexpected Configuration File revision level.

If the ErrorRegister indicates a non-zero value, then the value provides additional

information on the sensor that is causing a problem, as given in Table 4-9.

Table 4-9: ErrorRegister Indications

Value

Error Condition

Response

0x00

No error

0x80

Invalid sample rate selected

Check sensor rate settings.

0x30

Mathematical Error

Check for software updates

0x21

Magnetometer initialization failed

This error can be caused by a wrong

driver, physically bad sensor
connection, or incorrect I

2

C device

address in the driver

0x22

Accelerometer initialization failed

0x24

Gyroscope initialization failed

0x11

Magnetometer rate failure

This error indicates the given sensor

is unreliable and has stopped
producing data.

0x12

Accelerometer rate failure

0x14

Gyroscope rate failure

If the RAMVersion register values do not correspond to the expected Configuration File

revision level, as given in Table 4-10, certain features or functions that are expected to be