Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8041

Interfacing (DSI, CSI, I2C, etc.) • Re: getting orientation angles using MPU9250

$
0
0
Isn' all that's needed for enabling the iio-driver for MPU9250

Code:

dtoverlay=i2c-sensor,mpu9520,int_pin=5,i2c1
i2c interface and int pin is up to you
I don't know I just cloned the kernel repo and recompiled it but still didn't work ,although I don't think I ever say this line before so where do I write it?
Needs to be added to config.txt.

Will activate this fragment https://github.com/raspberrypi/linux/bl ... .dtsi#L445 which starts the iio driver for the IMU

Statistics: Posted by aBUGSworstnightmare — Thu Apr 03, 2025 12:07 pm



Viewing all articles
Browse latest Browse all 8041

Trending Articles