08-21-2020 03:40 PM
Hello, I would like a check on my schematics for the two sensor BMG250 and BME680, The idea is to be able to use both spi and I2c on both sensor. I am on an nordic architecture So each pin can works for both SPI and I2C.
Thank you,
best regards,
Arnaud
Solved! Go to Solution.
08-21-2020 06:21 PM
Do you mean you want to switch between SPI and I2C interface during operation?
if you want to achieve this, the sensor VDD and VDDIO should connect to the GPIO pin also.
Because the interface selection is done automatically when sensor is power on.
In your current setup, when sensor power on, it might be run in to SPI or I2C because the level of CSB pin is uncontroled.
If you want to connect sensor to GPIO, please make sure those pin have enough driving power.