This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Configuring two sensor on same i2c bus in Zephyr RTOS

I have a sensor board with two sensor on same i2c bus connected to NRF52840. I am running nrf connect sdk (1.4.2). Both sensors give data independently, however when I merge it to a single code calling all necessary functions it initiate the both; channel_get calls only one sensor and unable to setup channel for the other. 

Is there any guide to properly configure two i2c sensors mounted on the same bus, having different addresses (BME280 and BMG160)? 

Related