AnsweredAssumed Answered

FXOS8700 stops updating value after a while

Question asked by Rens Sluimer on Mar 8, 2016
Latest reply on Mar 30, 2016 by Rens Sluimer

hello everyone,

Currently i'm working with the BRKT-STBC-AGM01  BREAKOUT BOARD. Where i'm communicating with a FXOS8700cq chip through I2C with my Atxmega microcontroller.

I have set up the IC to getting only magnetic values on 200Hz samples rate.

But after a while i don't new data from the chip anymore. I thought that it might have been the sleep mode. But i disabled that one. As far as i know. Is there something else that i overlooked?

Hereby my setup code :

        TWI_Write(FXOS8700CQ_SLAVE_ADDR,FXOS_CTRL_REG1,0x00);
        TWI_Write(FXOS8700CQ_SLAVE_ADDR,FXOS_CTRL_REG2,0x09);
        //TWI_Write(FXOS8700CQ_SLAVE_ADDR,FXOS_XYZ_DATA_CFG,0x00);
        TWI_Write(FXOS8700CQ_SLAVE_ADDR,FXOS_M_CTRL_REG1,0x05); 
        TWI_Write(FXOS8700CQ_SLAVE_ADDR,FXOS_M_CTRL_REG2,0x49);
        TWI_Write(FXOS8700CQ_SLAVE_ADDR,FXOS_M_CTRL_REG3,0xA0); 
        TWI_Write(FXOS8700CQ_SLAVE_ADDR,FXOS_CTRL_REG1,0x15);

 

Did i forget something with the initialisation?

Thanks in advance,

Outcomes