Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

LSM303AH Datasheet(PDF) 46 Page - STMicroelectronics

Part # LSM303AH
Description  Ultra-compact high-performance eCompass module: ultra-low-power 3D accelerometer and 3D magnetometer
PDF  82 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

LSM303AH Datasheet(HTML) 46 Page - STMicroelectronics

Back Button LSM303AH Datasheet HTML 42Page - STMicroelectronics LSM303AH Datasheet HTML 43Page - STMicroelectronics LSM303AH Datasheet HTML 44Page - STMicroelectronics LSM303AH Datasheet HTML 45Page - STMicroelectronics LSM303AH Datasheet HTML 46Page - STMicroelectronics LSM303AH Datasheet HTML 47Page - STMicroelectronics LSM303AH Datasheet HTML 48Page - STMicroelectronics LSM303AH Datasheet HTML 49Page - STMicroelectronics LSM303AH Datasheet HTML 50Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 46 / 82 page
background image
Digital interfaces
LSM303AH
46/82
DocID027766 Rev 7
6.2.2
Accelerometer SPI read in 3-wire mode
3-wire mode is entered by setting the CTRL2_A (21h) (SPI_ENABLE) bit equal to ‘1’ (SPI
serial interface read enable).
Figure 17. Accelerometer SPI read protocol in 3-wire mode
The SPI read command is performed with 16 clock pulses:
bit 0: READ bit. The value is 1.
bit 1-7: address AD(6:0). This is the address field of the indexed register.
bit 8-15: data DO(7:0) (read mode). This is the data that is read from the device (MSb first).
A multiple read command is also available in 3-wire mode.
The accelerometer address auto increment is enabled by default (volatile bit IF_ADD_INC in
CTRL2_A (21h) must be set to ‘0’ to disable).
6.2.3
Magnetometer SPI write
Figure 18. Magnetometer SPI write protocol
The SPI write command is performed with 16 clock pulses. The multiple byte write
command is performed by adding blocks of 8 clock pulses to the previous one.
bit 0: WRITE bit. The value is 0.
bit 1-7: address AD(6:0). This is the address field of the indexed register.
bit 8-15: data DI(7:0) (write mode). This is the data that is written inside the device (MSb
first).
bit 16-... : data DI(...-8). Further data in multiple byte writes.
CS
SPC
SDI
RW
D I7D I6
D I5D I4
DI3DI2
DI1DI0
AD5 AD 4 AD 3 AD2 AD 1 AD0
AD6



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


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