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

X  

FXLS8471Q Fiches technique(PDF) 9 Page - Freescale Semiconductor, Inc

No de pièce FXLS8471Q
Description  Linear Accelerometer
Download  75 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Fabricant  FREESCALE [Freescale Semiconductor, Inc]
Site Internet  http://www.freescale.com
Logo FREESCALE - Freescale Semiconductor, Inc

FXLS8471Q Fiches technique(HTML) 9 Page - Freescale Semiconductor, Inc

Back Button FXLS8471Q Datasheet HTML 5Page - Freescale Semiconductor, Inc FXLS8471Q Datasheet HTML 6Page - Freescale Semiconductor, Inc FXLS8471Q Datasheet HTML 7Page - Freescale Semiconductor, Inc FXLS8471Q Datasheet HTML 8Page - Freescale Semiconductor, Inc FXLS8471Q Datasheet HTML 9Page - Freescale Semiconductor, Inc FXLS8471Q Datasheet HTML 10Page - Freescale Semiconductor, Inc FXLS8471Q Datasheet HTML 11Page - Freescale Semiconductor, Inc FXLS8471Q Datasheet HTML 12Page - Freescale Semiconductor, Inc FXLS8471Q Datasheet HTML 13Page - Freescale Semiconductor, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 9 / 75 page
background image
FXLS8471Q
Sensors
Freescale Semiconductor, Inc.
9
3
Example FXLS8471Q Driver Code
3.1
Introduction
It is very straightforward to configure the FXLS8471Q and start receiving data from the three accelerometerchannels.
Unfortunately, since every hardware platform will be different, it is not possible to provide completely portable software drivers.
This section therefore provides real FXLS8471Q driver code for a Kinetis uC board running under the MQX operating system.
The I2C functions s_i2c_read_regs and s_i2c_write_regs are not provided here and should be replaced with the corresponding
low level I2C driver code on the development platform.
3.2
FXLS8471Q Addresses
This section lists the I2C address of the FXLS8471Q. The I2C address depends on the logic level of FXLS8471Q pins SA0 and
SA1 so the I2C address may be 0x1C, 0x1D, 0x1E or 0x1F.
Example 1.
// FXLS8471Q I2C address
#define FXLS8471Q_SLAVE_ADDR
0x1E
// with pins SA0=0, SA1=0
Some of the key FXLS8471Q internal register addresses are listed below.
Example 2.
// FXLS8471Q internal register addresses
#define FXLS8471Q_STATUS
0x00
#define FXLS8471Q_WHOAMI
0x0D
#define FXLS8471Q_XYZ_DATA_CFG
0x0E
#define FXLS8471Q_CTRL_REG1
0x2A
#define FXLS8471Q_WHOAMI_VAL
0x6A
The reference driver here does a block read of the FXLS8471Q status byte plus three 16-bit accelerometer channels.
Example 3.
// number of bytes to be read from FXLS8471Q
#define FXLS8471Q_READ_LEN 7// status plus 3 accelerometer channels
3.3
Sensor data structure
The high and low bytes of the three accelerometer are placed into a structure of type SRAWDATA containing three signed short
integers.
Example 4.
typedef struct
{
int16_t
x;
int16_t
y;
int16_t
z;
} SRAWDATA;


Numéro de pièce similaire - FXLS8471Q

FabricantNo de pièceFiches techniqueDescription
logo
NXP Semiconductors
FXLS8471Q NXP-FXLS8471Q Datasheet
1Mb / 86P
   3-Axis, Linear Accelerometer
Rev. 3.0 - 13 June 2019
More results

Description similaire - FXLS8471Q

FabricantNo de pièceFiches techniqueDescription
logo
TE Connectivity Ltd
810M1 TEC-810M1 Datasheet
158Kb / 3P
   Piezoelectric Linear Accelerometer
8101 TEC-8101 Datasheet
166Kb / 4P
   Piezoelectric Linear Accelerometer
logo
STMicroelectronics
AN2960 STMICROELECTRONICS-AN2960 Datasheet
452Kb / 41P
   ultra compact linear accelerometer
AN2381 STMICROELECTRONICS-AN2381 Datasheet
736Kb / 47P
   low voltage linear accelerometer
logo
NXP Semiconductors
FXLS8471Q NXP-FXLS8471Q Datasheet
1Mb / 86P
   3-Axis, Linear Accelerometer
Rev. 3.0 - 13 June 2019
logo
STMicroelectronics
LIS2L01 STMICROELECTRONICS-LIS2L01 Datasheet
69Kb / 6P
   INERTIAL SENSOR : 2Axis/1g LINEAR ACCELEROMETER
LIS2L02AQ STMICROELECTRONICS-LIS2L02AQ Datasheet
120Kb / 6P
   INERTIAL SENSOR: 2Axis - 2g/6g LINEAR ACCELEROMETER
LIS3L02AQ STMICROELECTRONICS-LIS3L02AQ Datasheet
126Kb / 7P
   INERTIAL SENSOR: 3Axis - 2g/6g LINEAR ACCELEROMETER
LIS2L02AQ STMICROELECTRONICS-LIS2L02AQ_04 Datasheet
168Kb / 9P
   INERTIAL SENSOR-2Axis - 2g/6g LINEAR ACCELEROMETER
LIS3L02AQ STMICROELECTRONICS-LIS3L02AQ Datasheet
162Kb / 9P
   INERTIAL SENSOR: 3Axis - 2g/6g LINEAR ACCELEROMETER
November 2004 Rev. 4
More results


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


Fiches technique Télécharger

Go To PDF Page


Lien URL




Politique de confidentialité
ALLDATASHEET.FR
ALLDATASHEET vous a-t-il été utile ?  [ DONATE ] 

À propos de Alldatasheet   |   Publicité   |   Contactez-nous   |   Politique de confidentialité   |   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