Hi,
I am trying the sample code in this regard. I have changed the I2C pins in the overllay file and bme register address to 0x77 as follows. It seems working but I have many questions.
&i2c0 { compatible = "nordic,nrf-twi"; status = "okay"; bme680: bme680@77 { compatible = "bosch,bme680"; label = "BME680"; reg = <0x77>; }; };
1. I think this is using the Zephyr built in bme680 driver, isn't it?
2. I am evaluating both BME680 and BME688. How can I change code to suit BME688?
3. My case is a battery powered sensor, so I have to make it as much power efficient as possible. The sample program doesnt seem to meet that goal. I tried commenting out each channel and it doesn't seem that affect the power consumption. I tried using 'sensor_sample_fetch_chan (dev, SENSOR_CHAN_AMBIENT_TEMP) just to fetch temp channel, but still same. Any idea why?
4. I want to read/write registers of the sensor, but Sensor API doesn't seem to provide any interface. How can I do this?
Cheers,
Kaushalya