Single-axis measurement (sam) operation, Sam spi activity sequence, 2 single-axis measurement (sam) operation – PNI RM3000 Sensor Suites User Manual

Page 31: 1 sam spi activity sequence

Advertising
background image

RM3000 & RM2000 Sensor Suite User Manual r08

Page 31 of 41

Send 0 (value for the MSB for the X axis)

Send 64

H

(value for the LSB for the X axis - pointer automatically increments)

Send 0 (value for the MSB for the Y axis - pointer automatically increments)

Send 64

H

(value for the LSB for the Y axis - pointer automatically increments)

Send 0 (value for the MSB for the Z axis - pointer automatically increments)

Send 64

H

(value for the LSB for the Z axis - pointer automatically increments)

Set SSN to HIGH

5.2 Single-Axis Measurement (SAM) Operation

The SAM Command Byte initiates a sensor measurement on a single sensor, and sets up the

3D MagIC to output the measured values on the MISO line. Generally SAM operation is not

as efficient as MAM operation, except when only one sensor (in total) is to be measured.

5.2.1 SAM SPI Activity Sequence

The SPI activity sequence for SAM operation is given below. SPI timing is discussed in

Section 4.4. The Return Byte is 9A

H

. Three (3) data bytes will be clocked out for a

single-axis measurement. The Command Byte is discussed below.

Figure 5-1: SPI Activity Sequence Diagram for SAM Operation

Advertising
This manual is related to the following products: