Electronic Components Datasheet Search
  English  ▼

X  

AN4650 Datasheet(PDF) 68 Page - STMicroelectronics

Part # AN4650
Description  This document is intended to provide usage information
PDF  102 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN4650 Datasheet(HTML) 68 Page - STMicroelectronics

Back Button AN4650 Datasheet HTML 64Page - STMicroelectronics AN4650 Datasheet HTML 65Page - STMicroelectronics AN4650 Datasheet HTML 66Page - STMicroelectronics AN4650 Datasheet HTML 67Page - STMicroelectronics AN4650 Datasheet HTML 68Page - STMicroelectronics AN4650 Datasheet HTML 69Page - STMicroelectronics AN4650 Datasheet HTML 70Page - STMicroelectronics AN4650 Datasheet HTML 71Page - STMicroelectronics AN4650 Datasheet HTML 72Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 68 / 102 page
background image
Mode 2 - sensor hub mode
AN4650
68/102
DocID027415 Rev 1
6.4.4
Ironing example
The following example demonstrates how to define the values to be assigned to hard-iron
and soft-iron correction registers starting from the calculated hard-iron vector and soft-iron
rotation matrix. This example refers to the usage of the LIS3MDL magnetometer sensor with
4 gauss of configured full-scale (sensitivity = 6842 LSB/gauss).
Hard-iron (X,Y,Z) offset values vector (gauss):
These three offset values must be multiplied by the LIS3MDL sensitivity value (6842
LSB/gauss for full-scale = 4 gauss) in order the get the LSB values to be written in the hard-
iron correction registers (Table 50):
Soft-iron rotation matrix:
These soft-iron matrix elements must be multiplied by 8 in order to get the LSB values to be
written in the soft-iron correction registers (Table 51):
Table 50. Hard-iron register values
Offset values [LSB]
Register values
X
-2296 (F708h)
MAG_OFFX_H = F7h
MAG_OFFX_L = 08h
Y
+865 (0361h)
MAG_OFFY_H = 03h
MAG_OFFY_L = 61h
Z
-785 (FCEFh)
MAG_OFFZ_H = FCh
MAG_OFFZ_L = EFh
Table 51. Soft-iron register values
Soft-iron matrix elements
Register values
XX
+1.229006
MAG_SI_XX = 0Ah
XY
+0.173917
MAG_SI_XY = 01h
XZ
+0.052327
MAG_SI_XZ = 00h
YX
+0.173917
MAG_SI_YX = 01h
YY
+1.033307
MAG_SI_YY = 08h
HI 3x1

0.335605
–
0.126487
0.114722
–
=
SI 3x3

1.229006 0.173917 0.052327
0.173917 1.033307
0.130089
–
0.052327 0.130089
–
1.243645
=



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com