Moteur de recherche de fiches techniques de composants électroniques
  French  ▼
ALLDATASHEET.FR

X  

LSM303AGR Fiches technique(PDF) 22 Page - STMicroelectronics

No de pièce LSM303AGR
Description  Ultra-compact high-performance eCompass module: ultra-low-power 3D accelerometer and 3D magnetometer
PDF  68 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricant  STMICROELECTRONICS [STMicroelectronics]
Site Internet  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

LSM303AGR Fiches technique(HTML) 22 Page - STMicroelectronics

Back Button LSM303AGR Datasheet HTML 18Page - STMicroelectronics LSM303AGR Datasheet HTML 19Page - STMicroelectronics LSM303AGR Datasheet HTML 20Page - STMicroelectronics LSM303AGR Datasheet HTML 21Page - STMicroelectronics LSM303AGR Datasheet HTML 22Page - STMicroelectronics LSM303AGR Datasheet HTML 23Page - STMicroelectronics LSM303AGR Datasheet HTML 24Page - STMicroelectronics LSM303AGR Datasheet HTML 25Page - STMicroelectronics LSM303AGR Datasheet HTML 26Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 22 / 68 page
background image
Functionality
LSM303AGR
22/68
DocID027765 Rev 5
4.1.2
Magnetometer offset cancellation
The offset cancellation is the result of performing a set and reset in the magnetic sensor.
The offset cancellation technique is defined as follows:
where Hn and Hn-1 are two consecutive magnetic field measurements, one after a set pulse,
the other after a reset pulse.
Considering a magnetic offset (Hoff), the two magnetic field measurements are:
Set: Hn = H + Hoff
Reset: Hn-1 = –H + Hoff
The offset is cancelled according the offset cancellation technique:
In the LSM303AGR the offset cancellation is enabled by setting the bit OFF_CANC = 1 in
CFG_REG_B_M (61h).
If the offset cancellation is disabled, a set of the magnetic sensor is performed anyway.
The set pulse frequency can be configured by setting the Set_FREQ bit in CFG_REG_B_M
(61h).
4.1.3
Magnetometer interrupt
In the LSM303AGR the magnetometer interrupt signal generation is based on the
comparison between data and a programmable threshold.
To enable the interrupt function, in INT_CTRL_REG_M register (63h) the "IEN" bit must be
set to '1'.
In the LSM303AGR the user can select the axis/axes in which the interrupt function can be
enabled. In order to do this, the XIEN, YIEN, and ZIEN bits in INT_CTRL_REG_M (63h)
need be set properly.
The threshold value can be programmed by setting the INT_THS_L_REG_M (65h) and
INT_THS_H_REG_M (66h) registers.
The threshold is expressed in absolute value as a 15-bit unsigned number. The threshold
has the same sensitivity as the magnetic data.
When magnetic data exceeds the positive or the negative threshold, the interrupt signal is
generated and the information about the type of interrupt is stored in the
INT_SOURCE_REG_M (64h) register. In particular, when magnetic data exceeds the
positive threshold the P_TH_S_axis bit is set to '1', while if data exceeds the negative
threshold the N_TH_S_axis bit is set to '1'. If magnetic data lay between the positive and the
negative thresholds, no interrupt signal is released.
Hout
Hn Hn1
2
---------------------------
=
Hout
Hn Hn1
2
---------------------------
2H Hoff
H
off
++
2
---------------------------------------------
H
==
=



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


Fiches technique Télécharger

Go To PDF Page


Lien URL



ALLDATASHEET vous a-t-il été utile ?  [ DONATE ] 

À propos de Alldatasheet   |   Publicité   |   Contactez-nous   |   Politique de confidentialité   |   Lien vers la fiche technique    |   Echange de liens   |   Fabricants
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