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

BME280 error msg

I am running a Bme280 sensor with nrf9160 and getting this error msg ([1;31m<err> i2c_nrfx_twim: Error 195952641 occurred for message 0)while getting the actual sensor data.So it is working but also failing. It was pointed out that the problem might be in the overlay file so will be attaching it. I am running non secure.

 

&i2c2 {
    status = "ok";
    sda-pin = <12>;
    scl-pin = <11>;
    
    bme280@77 {
        compatible = "bosch,bme280";
        reg = <0x77>;
        label = "BME280";
    };
};

Parents Reply Children
No Data
Related