Fxas21002 raw data is not getting

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Fxas21002 raw data is not getting

Jump to solution
551 Views
vinothkumars
Senior Contributor IV

Dear NXP,

I am using IMX8QM-MEK with Android 9 Automotive. Fxas21002 gyroscope raw data is not getting. By event is got from the gyroscope.

 

mek_8q:/ # dmesg | grep -i fxas
[ 0.741372] input: fxas2100x as /devices/platform/5a800000.i2c/i2c-2/2-0020/input/input1
[ 0.741485] fxas2100x 2-0020: fxas2100x device driver probe successfully

mek_8q:/ # echo 1 > /sys/devices/virtual/misc/FreescaleGyroscope/enable

mek_8q:/ # getevent
add device 1: /dev/input/event1
name: "fxas2100x"
add device 2: /dev/input/event0
name: "fxos8700"
add device 3: /dev/input/event2
name: "sc-powerkey"
/dev/input/event1: 0000 0003 00000000
/dev/input/event1: 0003 0000 fffffffb
/dev/input/event1: 0003 0001 ffffffe4
/dev/input/event1: 0003 0002 ffffffff
/dev/input/event1: 0000 0000 00000000
/dev/input/event1: 0003 0000 fffffffd
/dev/input/event1: 0003 0001 ffffffe6
/dev/input/event1: 0003 0002 0000000d

 

Do we needs to do any configuration to get data.

 

Thanks & Regards,

Regards,
Vinothkumar Sekar
0 Kudos
1 Solution
537 Views
vinothkumars
Senior Contributor IV

 @jamesbone 

 

Thank you for the reply. There is a GYRO support as given for Application Processor as well as MCU. But, by default disabled in kernel.

AP: source/vendor/nxp-opensource/kernel_imx/drivers/misc/fxas2100x.c

MCU: source/vendor/nxp/mcu-sdk-auto/SDK_MEK-MIMX8QM/middleware/issdk/driverexamples/imx/mekmimx8qm/fxas21002/

 

Thanks & Regards,

Regards,
Vinothkumar Sekar

View solution in original post

0 Kudos
2 Replies
546 Views
jamesbone
NXP TechSupport
NXP TechSupport

Unfortunately if you review the Release Notes of the Android 9 Automotive, there is no driver available for this device, you need to download the basic Android 9 or Linux BSP to get the driver.   I apogolize for this inconvenience.

0 Kudos
538 Views
vinothkumars
Senior Contributor IV

 @jamesbone 

 

Thank you for the reply. There is a GYRO support as given for Application Processor as well as MCU. But, by default disabled in kernel.

AP: source/vendor/nxp-opensource/kernel_imx/drivers/misc/fxas2100x.c

MCU: source/vendor/nxp/mcu-sdk-auto/SDK_MEK-MIMX8QM/middleware/issdk/driverexamples/imx/mekmimx8qm/fxas21002/

 

Thanks & Regards,

Regards,
Vinothkumar Sekar
0 Kudos