beautypg.com

PNI RM3100 Sensor Suite User Manual

Page 2

background image

PNI Sensor Corporation

Doc 1017252 r03

RM3100 & RM2100 Sensor Suite User Manual

Page 1 of 45

Table of Contents

1

COPYRIGHT & WARRANTY INFORMATION ............................................................ 3

2

INTRODUCTION .......................................................................................................... 4

3

SPECIFICATIONS ....................................................................................................... 5

3.1

GEOMAGNETIC SENSOR CHARACTERISTICS .......................................... 5

3.2

SEN-XY-F AND SEN-Z-F CHARACTERISTICS ............................................. 6

3.3

MAGI2C CHARACTERISTICS ........................................................................ 7

3.4

DIMENSIONS, PACKAGING, AND PAD & MASK LAYOUT .......................... 8

3.4.1

Sen-XY-f ............................................................................................. 8

3.4.2

Sen-Z-f .............................................................................................. 10

3.4.3

MagI2C ............................................................................................. 12

3.5

SOLDERING ................................................................................................. 13

4

GEOMAGNETIC SENSOR OVERVIEW & SET-UP .................................................. 15

4.1

OVERVIEW ................................................................................................... 15

4.2

LAYOUT ........................................................................................................ 17

4.2.1

Sensor Coil Orientation .................................................................... 17

4.2.2

Local Magnetic Field Considerations ............................................... 18

4.2.3

Other Layout Considerations ............................................................ 19

4.3

MAGI2C PIN-OUT ......................................................................................... 19

4.3.1

General Pins ..................................................................................... 19

4.3.2

SPI Pins ............................................................................................ 21

4.3.3

I

2

C Pins ............................................................................................. 22

4.4

SPI TIMING REQUIREMENTS ..................................................................... 23

4.5

I

2

C REQUIREMENTS .................................................................................... 25

4.5.1

I

2

C Register Write ............................................................................. 25

4.5.2

I

2

C Register Read ............................................................................. 26

5

MAGI2C OPERATION ............................................................................................... 27

5.1

SET THE CYCLE COUNT REGISTERS (0X04

– 0X09) .............................. 28

5.2

INITIATE CONTINUOUS MEASUREMENT MODE (0X01) .......................... 29

5.2.1

Setting the CMM Update Rate with TMRC (0x0B) ........................... 30

5.2.2

Alarm Mode ...................................................................................... 31

5.3

INITIATE A SINGLE MEASUREMENT (0X00) ............................................. 34

5.4

CONFIRM NEW DATA READY .................................................................... 35

5.4.1

STATUS Register (0x34) .................................................................. 35

5.5

READ THE MEASUREMENT RESULTS ...................................................... 35

5.6

TROUBLESHOOTING AND GENERAL INFORMATION ............................. 36

5.6.1

Built-In Self Test Register (0x33) ..................................................... 36

5.6.2

HSHAKE Register (0x35) ................................................................. 37

5.6.3

REVID Register (0x36) ..................................................................... 38

5.7

EXAMPLES USING THE SPI INTERFACE .................................................. 38

5.7.1

Set the Cycle Count Registers ......................................................... 38

5.7.2

Making and Reading Measurements ................................................ 39

5.8

EXAMPLES USING THE I

2

C INTERFACE ................................................... 41

5.8.1

Set the Cycle Count Registers ......................................................... 41

5.8.2

Initiate a Single Measurement .......................................................... 42

5.8.3

Initiate Continuous Measurement Mode ........................................... 42

5.8.4

Read the Measurement Results ....................................................... 42