FXOS8700 SPI or I2C

cancel
Showing results for 
Search instead for 
Did you mean: 

FXOS8700 SPI or I2C

560 Views
eduardrazumovsk
Contributor III

Hello,

What are the considerations for working with the FXOS8700 at I2C or SPI ?

What are the advantages\disadvantages between the two protocols ? if any..

Thanks & Regards,

Eduard

Labels (2)
1 Reply

120 Views
TomasVaverka
NXP TechSupport
NXP TechSupport

Hi Eduard,

For a general description of both I2C and SPI protocols and their advantages/limitations I would refer to the following article:

http://components.about.com/od/Theory/a/Selecting-Between-I2c-And-Spi.htm

As for the FXOS8700CQ, you need to take into consideration that it only supports a point-to-point SPI protocol, with only one master (MCU) and one slave device (FXOS8700CQ) present on the bus. FXOS8700CQ does not tri-state the MISO pin when the CS_B pin is deasserted (logic high), which can lead to a bus conflict if multiple slave devices are present on the bus. So if you have more devices to connect, then I2C is the interface you will have to use. Also note that the FXOS8700CQ has two I2C address selection pins (SA0 and SA1) allowing connection of four FXOS8700CQ sensors on the same I2C bus.

I hope this helps.

Regards,

Tomas


PS: If my answer helps to solve your question, please mark it as "Correct" or “Helpful”. Thank you.