cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to have several L3GD20H on the same SPI bus?

sima2
Associate III
Posted on July 06, 2018 at 11:51

Is it possible to have several L3GD20H on the same SPI bus (running SPI mode)?

The datasheet says that if chip select is high the circuit goes to I2C mode.

So by selecting one chip with chip select low and the other

chip selects are

 high, the other chips would enter I2C mode and screw up the communication?

#l3gd20h
1 REPLY 1
Knut Odman
Associate II
Posted on July 06, 2018 at 22:40

In register LOW_ODR (39h) there is a bit I2C_dis. If you set that to 1 you will disable i2c and only use SPI. I haven't tested it myself since I only have one sensor but I believe it should give you what you want.