1300 Henley Court Pullman, WA 99163 509.334.6306 www.store. digilent.com Pmod CMPS2 Reference Manual Revised July 19, 2017 This manual applies to the Pmod CMPS2 rev. A Table of Contents Table of Contents .................................................................................................................. 1 Overview ............................................................................................................................... 2 1 Specifications ................................................................................................................. 2 1.1 Pinout Table Diagram ....................................................................................................... 3 1.2 Physical Dimensions ......................................................................................................... 3 2 Functional Description ................................................................................................... 3 2.1 Serial Communication ...................................................................................................... 3 2.2 Register Details ................................................................................................................. 3 2.2.1 Data Registers ........................................................................................................... 3 2.2.2 Status Register .......................................................................................................... 4 2.2.3 Internal Control Registers ......................................................................................... 4 2.2.4 Continuous Measurement Mode.............................................................................. 5 2.2.5 Output Resolution Measurement Time .................................................................... 5 2.3 Quick Start ........................................................................................................................ 5 2.4 Applications Information.................................................................................................. 7 2.4.1 Calibration ................................................................................................................. 7 2.4.2 Data Conversion ...................................................................................................... 11 2.5 Timing Diagrams ............................................................................................................. 12 Copyright Digilent, Inc. All rights reserved. DOC : 410-355 Page 1 of 12 Other product and company names mentioned may be trademarks of their respective owners. Pmod CMPS2 Reference Manual Overview The Digilent Pmod CMPS2 is a 3 axis anisotropic magneto-resistive sensor. With Memsic s MMC34160PJ, the local magnetic field strength in a 16 Gauss range with a heading accuracy of 1 and up to 0.5 mG of resolution. Features include: Low noise 3-axis Digital Compass 0.5 mG Field Resolution in 16 Gauss fields IC Slave, FAST (400 kHz) mode Optional pull-up resistors for SCL and SDA pins 1 heading accuracy Small PCB size for flexible designs 0.8 1.25 (2.0 cm 3.2 cm) 6-pin Pmod connector with IC serial interface Pass-through Pmod host port for daisy chaining Follows Digilent Pmod Interface Specification 1.1.0 Library and example code in the Pmod CMPS2 Resource Center The Pmod CMPS2. 1 Specifications Parameter Min Typical Max Units Power Supply Voltage 1.62 1.8 3.6 V Output Resolution 12 14 16 bits Alignment Error -3 1 +3 Degrees Parameter Condition Value Units Total RMS Noise 16 bits at 7.92 ms/S 1.5 mG Total RMS Noise 16 bits at 4.08 ms/S 2.0 mG Total RMS Noise 14 bits at 2.16 ms/S 4.0 mG Total RMS Noise 12 bits at 1.20 ms/S 6.0 mG Max Output Data Rate 16 bits at 7.92 ms/S 125 Hz Max Output Data Rate 16 bits at 4.08/S 250 Hz Max Output Data Rate 14 bits at 2.16 ms/S 450 Hz Max Output Data Rate 12 bits at 1.20 ms/S 800 Hz Parameter Value Units Field Range for Each Axis 16 G Copyright Digilent, Inc. All rights reserved. Page 2 of 12 Other product and company names mentioned may be trademarks of their respective owners.