Invensense MPU Driver MPU 9250

Hi,

I found both the core driver and nvidia customized driver is available in SDk provided by tegra tx1 23.2 version.

Is the customized driver is sufficient for the device MPU9250 of vendor Invensense.? Also Is the customized driver is communicating to user space via sysfs entries like core driver or some other way.?

Please clarify me on this.

Can anyone reply please?

Hello, Sherin:
that device is not mounted in Jetson board. In current L4T release, that device is not supported.
Generally, there may be different driver implementations for same device, through different driver infrastructure.
For some sensors, it may use IIO, or just misc input device.

br
Chenjian

Hi,

yes, the device is not mounted.But we can use device with this processor right?

I need to know nvidia customized driver will be sufficient for MPU9250 or core driver we can use.?

Is customized is sufficient, i need to know how it is being exposed to user space ?

Hello, Sherin:
As I mentioned in last reply, different drivers come from different framework.
You can check the driver source code, select the desired driver and make your own user space program for your application.

br
ChenJian

Ok Thanks ChenJian

Hi,
I am using nvidia Jetson TX2 with carrier board auvedia J120 and 32.1 TX2 software

I got to know J120 has IMU(MPU-9250) and it is connected to spidev1.0 bus

I am able to test the IMU using test QT application and it was working properly but i want to capture the raw data from IMU (accelometer,gyro,magnetometer)

for that i found one sample application in the git given by nvidia but it was not working

when i build and run the sample application it was giving the following ouput

nvidia@nvidia-desktop:~/J1X0_IMU/bin$ sudo ./J1X0_IMU
-1 -25872 32706 85
-1 -25872 32706 85
-1 -25872 32706 85
-1 -25872 32706 85
-1 -25872 32706 85

Please help me in this application part i am very new to this IMU sensor

Thanks

The board is not from NVIDIA. Please get assistance from Auvidea. Thanks.

Thanks DaneLLL for your reply

The carrier board is not from nvidia ,but the spi sample application for MPU-9250 which was given in the following is for nvidia TX2 ---- J120

I am woundering why is it not working, when i compile and run the above code it was giving wrong data

nvidia@nvidia-desktop:~/J1X0_IMU/bin$ sudo ./J1X0_IMU
-1 -25872 32706 85
-1 -25872 32706 85
-1 -25872 32706 85
-1 -25872 32706 85
-1 -25872 32706 85

Thanks