read device id of fxos8700,but always return 0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

read device id of fxos8700,but always return 0

1,005 Views
sofia_0571
Contributor II

@all

before read device id, microchip set fxos8700 rst pin to low.i cannot found issues where is it.

tks.

Labels (1)
Tags (1)
0 Kudos
2 Replies

762 Views
sofia_0571
Contributor II

by the way use i2c interface to read/write data.

just now read https://www.nxp.com/docs/en/errata/FXOS8700CQER.pdf  .i2c have same issue? tks.

0 Kudos

762 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi David,

Do you have a logic analyzer or an oscilloscope to see what is going on the bus?

Please make sure you are using a correct I2C slave address depending on the voltage on SA0 and SA1 pins:

pastedImage_1.png

In my example below, both SA0 and SA1 pins are connected to GND which translates to 0x3C (0x1E << 1) for a write and 0x3D ((0x1E << 1) | 0x01) for a read.

I2C+Read.JPG.jpg

I hope it helps.

Best regards,

Tomas

0 Kudos