beautypg.com

Table 5-11: sensorstatus register values, Table 5-12: errorregister values, Table 5-11 – PNI SENtral User Manual

Page 29: Table 5-12

background image

PNI Sensor Corporation

Doc #1018049 R03

SENtral Technical Data Sheet

Page 28

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

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

Table 5-11: SensorStatus Register Values

Register Name

Address Error Indication

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.

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 5-12.

Table 5-12: ErrorRegister Values

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 5-13, certain features or functions that are expected to be

available may not be available, or they may not function as expected. This normally can

be remedied by generating the latest Configuration File revision level using the SENtral