| Electronic Components Datasheet Search |
|
AN4650 Datasheet(PDF) 70 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN4650 Datasheet(HTML) 70 Page - STMicroelectronics |
|
70 / 102 page ![]() Mode 2 - sensor hub mode AN4650 70/102 DocID027415 Rev 1 The acquired magnetometer raw data are available in registers from address 66h (OUT_MAG_RAW_X_L) to 6Bh (OUT_MAG_RAW_Z_L). The magnetometer uncalibrated data (with soft-iron only applied) are available in registers from address 4Dh (SENSORHUB13_REG) to 52h (SENSORHUB18_REG). The magnetometer calibrated data, with both hard-iron and soft-iron correction are available in registers from address 2Eh (SENSORHUB1_REG) to 33h (SENSORHUB6_REG). 18 Write 03h into MAG_OFFY_H // Y offset value initialization 19 Write 61h into MAG_OFFY_L // Y offset value initialization 20 Write FCh into MAG_OFFZ_H // Z offset value initialization 21 Write EFh into MAG_OFFZ_L // Z offset value initialization 22 Write 0Ah into MAG_SI_XX // XX soft-iron element 23 Write 01h into MAG_SI_XY // XY soft-iron element 24 Write 00h into MAG_SI_XZ // XZ soft-iron element 25 Write 01h into MAG_SI_YX // YX soft-iron element 26 Write 08h into MAG_SI_YY // YY soft-iron element 27 Write 81h into MAG_SI_YZ // YZ soft-iron element 28 Write 00h into MAG_SI_ZX // ZX soft-iron element 29 Write 81h into MAG_SI_ZY // ZY soft-iron element 30 Write 0Ah into MAG_SI_ZZ // ZZ soft-iron element 31 Write 00h into FUNC_CFG_ADDRESS // Disable access to embedded functions registers 32 Write 3Ch into CTRL10_C // Enable embedded functions 33 Write 0Bh into MASTER_CONFIG // Enable internal pull-up on SDx/SCx lines // Sensor hub trigger signal is XL data-ready // Enable hard-iron correction // Enable auxiliary I2C master 34 Write 3Ch into CTRL9_XL // Enable soft-iron correction 35 Write 80h into CTRL1_XL // Turn-on the accelerometer (for trigger signal) |
|
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 |
| 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 |