Problem in enabling the bmi270 sensor for thingy53

Hi ,

I am working on thingy53 and using ncs 1.9.1 I need to enable the BMI270 sensor and need the acceleration and gyroscope data from it.
So for that, I primary using the sample which is located at    ncs/zephyr/samples/sensor/bmi270 

 But I have facing some sort of problems in i2c/pins  for bmi270. 

Could you help me to get the bmi270 working and print it's values 

Here is the prf.conf and rest of the file is located in that folder

CONFIG_STDOUT_CONSOLE=y
CONFIG_I2C=y
CONFIG_SENSOR=y
CONFIG_BMI270=y

CONFIG_LOG=y
CONFIG_USE_SEGGER_RTT=y
CONFIG_LOG_BACKEND_RTT=y
CONFIG_LOG_BACKEND_UART=y
CONFIG_SEGGER_RTT_BUFFER_SIZE_DOWN=64
CONFIG_MAIN_STACK_SIZE=8192
CONFIG_SEGGER_RTT_BUFFER_SIZE_UP=4096
CONFIG_LOG_BUFFER_SIZE=4096

When I have used bmi270 application as it is, it is showing the error for  -  &arduino_i2c  that it is not  known 

So I simply changes the app.overlay file and modify &arduino_i2c  to  i2c1   

&i2c1 {
    status = "okay";
 
    bmi270@68 {
        compatible = "bosch,bmi270";
        reg = <0x68>;
        label = "bmi270";
    };
};
So after doing so, the board is showing error on Jlink 
If this is not the right way to change from arduino_i2c, than please help me to correct the app.overlay from sample 
P.S. I have already enabled the sensors like bme680,adxl362,bh1749 in my another custom application. 
Parents Reply Children
No Data
Related