As0-as1: axis select, 3 making a legacy measurement, Making a legacy measurement – PNI RM3000-F Sensor Suite User Manual

Page 38: Table 6-1: legacy period select bits, Table 6-2: legacy axis select bits

Advertising
background image

PNI Sensor Corporation

Doc #1016102 r04

RM3000-f & RM2000-f Sensor Suite User Manual

Page 38

Table 6-1: Legacy Period Select Bits

Period Select Value Cycle Counts

PS2

PS1

PS0

0

32

0

0

0

1

64

0

0

1

2

128

0

1

0

3

256

0

1

1

4

512

1

0

0

5

1024

1

0

1

6

2048

1

1

0

7

4096

1

1

1

AS0-AS1: Axis Select

Determines the sensor to be measured.

Table 6-2: Legacy Axis Select Bits

Axis Measured

AS1

AS0

No axis measured

0

0

X axis

0

1

Y axis

1

0

Z axis

1

1

6.1.3 Making a Legacy Measurement

The steps to make a sensor measurement are given below. In Legacy Mode, the 3D

MagIC returns the result of a complete forward- reverse measurement of the sensor in a

16 bit 2’s complement format (range: -32768 to 32767). Note this is different from

Standard Mode, where a 24 bit value is returned.

SSN pin is set LOW. (This enables communication with the master device.)

CLEAR pin is set HIGH, then LOW. This is not required, but is optional to

maintain compatibility with the legacy 11096 ASIC.

A command byte is clocked into the 3D MagIC on the MOSI pin. Simultaneously,

the 3D MagIC will present a fixed 0x9B on the MISO pin. Once the 8 bits have

clocked in, the 3D MagIC will execute the command (i.e. take a measurement).

Advertising