Digilent Pmod CMPS2 Reference Manual - Page 5

Browse online or download pdf Reference Manual for Accessories Digilent Pmod CMPS2. Digilent Pmod CMPS2 12 pages.

Digilent Pmod CMPS2 Reference Manual
Pmod CMPS2™ Reference Manual
Bit Name
RST
TEMP-tst
ST_XYZ
Z-inhibit
Y-inhibit
X-inhibit
BW1³
BW0³
Notes:
¹ - This is the value on power-up and reset
² - For more details see the Continuous Measurement Mode section
³ - For more details see the Output Resolution and Measurement Time section

2.2.4 Continuous Measurement Mode

2.2.5 Output Resolution Measurement Time

2.3

Quick Start

Here is the series of commands to acquire a set of magnetometer data from the Pmod CMPS2 via pseudo I²C code.
1. Power on the Pmod CMPS2 and wait for 10 mS before further operation.
2. Provide a START condition and call the device ID with a write bit
Copyright Digilent, Inc. All rights reserved.
Other product and company names mentioned may be trademarks of their respective owners.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Arrow.com.
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Bit Number
[7]
[6]
[5]
[4]
[3]
[2]
[1]
[0]
Continuous Measurement Mode Settings
CM Freq1
0
0
1
1
Bandwidth Output Resolution and Measurement Time
BW1
BW0
0
0
1
1
Internal Control 1
Bit Description
Software reset bit
Temp test
Selftest check
Z-inhibit
Y-inhibit
X-inhibit
Bandwidth bit
Bandwidth bit
CM Freq0
0
1
0
1
Output Resolution
0
16 bits
1
16 bits
0
14 bits
1
12 bits
Bit Values
Functional Description
Normal Operation, this bit
self clears
Factory-use register
Set this bit an execute TM
command, the result can be
read as bit ST-XYZ_OK
Factory-use register
Factory-use register
Factory-use register
Controls the output
resolution and
measurement time
Controls the output
resolution and
measurement time
Frequency
1.5 Hz
13 Hz
25 Hz
50 Hz
Measurement Time
7.92 mS
4.08 mS
2.16 mS
1.20 mS
Page 5 of 12