FXOS8700 SPI or I2C

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

FXOS8700 SPI or I2C

2,045件の閲覧回数
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

ラベル(2)
1 返信

1,605件の閲覧回数
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.