Microsoft IST8310 Use Manual_v1.5_Engx User Manual V1.5 Eng
User Manual: Pdf
Open the PDF directly: View PDF .
Page Count: 15

IST8310 User Manual v1.5
1Confidential Information

IST8310 Driver Settings
•I
2C default (CAD0, CAD1 floating) slave address: 0Eh(7-bit) /
1Ch(8-bit)
• Register initial settings (to be set in Stand-by mode):
1) Write 24h into 0x41h <= 16 times internal average setup (low noise
mode)
2) Write C0h into 0x42h <=Set/Reset pulse duration setup
• Read Process:
1) Write 0Ah into 0x01h (Single Measurement Mode)
2) Wait 6ms (minimum waiting time for 16 times internal average setup)
3) Read sequential 6 bytes from 0x03h, which are: XLow, XHigh, YLow,
YHigh, ZLow, Zhigh and construct X, Y, Z output raw data
4) Do Cross-axis Compensation process (page 3~4)
5) Do software average (page 5, optional)
6) Rep1)~4) or 5) 2Confidential Information

Cross-Axis Compensation Flow
3
Read the cross-axis data
(Hex, 2’s complement,
LSB) from 8310’s
registers 0x9Ch~0xADh
Data Processing:
1. Combine every 2
bytes to construct 9
cross-axis raw data
2. Hex to Dec
3. Multiply by a constant
M=3/20
Get “transformation
matrix” A (3 x 3)
based on page 4’s
information
Multiply ”transforma
tion matrix A” by
“IST8310 3-axis
output raw data”
Cross-axis compensation
finished, get orthogonal 3-
axis output data
(Dec, mili-Gauss)
Confidential Information
(A x Raw Data)

Cross-Axis Compensation
4
A =
50 0 0
0500
0050
A: Cross-axis transformation matrix
X11~X33: Cross-axis data obtained in 8310
FT process.
X11 ~ X33 are stored in 8310’s registers,
from 9Ch~ADh; each 2 bytes represents one
cross-axis data (Hex, 2’s complement, LSB)。
Parameter Yab
(to be processed
to Xab)
Register Addresses
(Low Byte, High Byte)
Y11 9C 9D
Y12 9E 9F
Y13 A0 A1
Y21 A2 A3
Y22 A4 A5
Y23 A6 A7
Y31 A8 A9
Y32 AA AB
Y33 AC AD
Yab to Xab process:
1. Combine every 2 bytes to form 9
cross-axis raw data (Yab)
2. Hex to Dec
3. Multiply by a constant M=3/20
X11 =Y11*M, X12 =Y12*M, X13 =Y13*M,
and so on…
Compensation Formula:
Confidential Information

IST8310 Software Average Method (Optional)
• Average Method:
Xavg1=(Xm+Xm-1+Xm-2+Xm-3)/4,
Xavg2=(Xm-1+Xm-2+Xm-3+Xm-4)/4,
Xavg3=(Xm-2+Xm-3+Xm-4+Xm-5)/4,
and so on…
*Xm, Xm-1, Xm-2, Xm-3 , Xm-4, Xm-5 are sequential orthogonal 3-axis output
data .
*Xavg1, Xavg2, Xavg3 are the final data feed to your processor.
5Confidential Information
(Use 4 sequential data to
construct a new data)

IST8310 Pin Table
6
Data from IST8310 datasheet. Confidential Information

IST8310 Application Circuit
7
Data from IST8310 datasheet. Confidential Information

Pin-to-Pin Information
to HMC5883L/5983
8

IST8310 p2p to HMC5883L/5983 (1/2)
9
Pin No. IST8310 HMC5883L HMC5983 Comments
1SCL SCL SCL/SPI_SCK IST8310 doesn’t support SPI, otherwise compatible.
2AVDD VDD VDD Compatible (IST8310:1.72~3.6V; HMC5x83L: 2.16~3.6V)
3NC NC NC Compatible
4NC S1 SPI_CS Compatible (IST8310 doesn’t care, no connection inside)
5CAD0 NC SPI_SDO Compatible (IST8310 slave address select, see page 5)
6CAD1 NC I2C/~SPI Compatible (IST8310 slave address select, see page 5)
7VPP NC NC Compatible (VPP pin can be connected to GND or floating)
8NC SETP SETP Compatible (IST8310 doesn’t care, no connection inside)
9VSS GND SoC Compatible (for HMC5893, keep SoC signal = “0”)
10 C1 C1 C1 Compatible
11 VSS GND GND Compatible
12 NC SETC SETC Compatible (IST8310 doesn’t care, no connection inside)
13 DVDD VDDIO VDDIO Compatible
14 RSTN NC NC Compatible (RSTN pin can be connected to MCU or floating)
15 DRDY DRDY DRDY Compatible
16 SDA SDA SDA/SPI_SDI IST8310 doesn’t support SPI, otherwise compatible.
Confidential Information

IST8310 p2p to HMC5883L/5983 (2/2)
PN Pin 6 Pin 5 i2c
Address
HMC5883L NC NC 0EH / 1CH
HMC5983 VDD NC 0EH / 1CH
Slave Address
Select
•I2C slave address is 0EH(7-bit)/ 1CH(8-bit) when you mount
IST8310 onto HMC5883L/5983”s PCB.
•Nothing else needs to be taken care of.
Confidential Information
10

Reference Information
11

HMC5883L Pin Table
12
Data from HMC5883L datasheet. Confidential Information

HMC5883L Application Circuit
13
Data from HMC5883L datasheet. Confidential Information

HMC5983 Pin Table
14
Data from HMC5983 datasheet. Confidential Information

HMC5983 Application Circuit
15
Data from HMC5983 datasheet. Confidential Information