AnsweredAssumed Answered

FXAS21002C won't initialize

Question asked by Madita Kruithof on Nov 8, 2019
Latest reply on Nov 11, 2019 by Madita Kruithof

Dear community,

I have been struggeling to get the gyrometer ( a fxas21002c) on the nxp 9DoF precision module  work.

For a company project I need to read the measument values of the gyro, using a STM32F446RE via an I2C bus. I wrote a GyroInit() function to initialize the sensor, but if I read the GYRO_REGISTER_CTRL_REG1 register after initilization, the entire register is still 0. So initialization seems to go wrong, I hooked up an osciloscoop and the osciloscoop shows that the STM writes the init data.

For the past few days I have been trying to figure out why the register never gets set, help would be appreciated.


Pin connections:


Module          STM

Vin         >     3V3

3Vo        >     <unconnected>

GND      >     GND

SCL       >     SCL (D15)

SDA       >     SDA (D14)

RST       >     3V3





To test if the sensor works, I used a Raspberry pi 2 model b with a python script, this way I did get the expected measurement values.