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.
Solved! Go to Solution.
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.