AnsweredAssumed Answered

Setting up the FXOS8700CQ Magnetometer side only?

Question asked by Luke Lynch on May 28, 2015
Latest reply on Jun 8, 2015 by Luke Lynch

Hello,

 

I want to use the magnetometer side of the FXOS8700CQ only. I basically what to see when a magnet passes a point in front of the device.

 

Basically i want to know what registers do i need to write to and what to write so to configure the device for the magnetometer.

 

Also i would like to configure the interrupt so to make me aware when new data is available, how is this set up?

 

I have this component placed on one of my boards and is communicating over I2C to a stm32 micro controller.  

 

I have my i2c all configured and have a function wrote so i can read data from a specific or write data to a specific register.

 

I have read from the who am i register and i am receiving the 0xC7. I have a logic analyzer proving this.  

 

If any one could help i would be grateful.

 

Regards,

Luke.

Outcomes