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

How to use I2C with Thingy91 to get the sensor data from MPU9250 data?

Hi There,

So I get the Data from MPU9250 to nRF9160 DK with This Example  zephyr/tree/master/samples/sensor/mpu6050 

just want to know how to do it with Thingy91 I try with TP9 and TP10 define in overlay file but shows this error.

Š*** Booting Zephyr OS build v2.4.0-ncs1-1710-g5a7b4eb71047  ***


Failed to find sensor MPU6050

This is the Overlay file

/*
 * Copyright (c) 2019 Nordic Semiconductor ASA
 *
 * SPDX-License-Identifier: Apache-2.0
 */

&i2c2 {
	compatible = "nordic,nrf-twim";
	status = "okay";
	scl-pin = <9>;
	sda-pin = <10>;
	mpu6050@68 {
		compatible = "invensense,mpu6050";
		reg = <0x68>;
		status = "okay";
		label = "MPU6050";
		int-gpios = <&gpio0 11 GPIO_ACTIVE_HIGH>;
	};
};

Related