iMX8QM MEK Android Automotive OS 12 Accelerometer and Gyroscope are not available

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX8QM MEK Android Automotive OS 12 Accelerometer and Gyroscope are not available

1,983件の閲覧回数
gallopwave
Contributor I

Hi,

I use automotive-12.0.0_2.1.0_image_8qmek_car2 with below command to flash iMX8QM MEK CPU board.

.\uuu_imx_android_flash.bat -f imx8qm -e

I found Accelerometer and Gyroscope are not available in Kitchen Sink app.

How to enable these sensors?

Thank you

 

ラベル(2)
0 件の賞賛
返信
3 返答(返信)

1,914件の閲覧回数
gallopwave
Contributor I

Hi Dhruvit,

The release notes for the Android OS mention that it supports accelerometer and gyroscope sensors. However, the release notes for Android Automotive OS, an automotive-specific version of Android, do not list support for those sensors, even though Android Automotive runs on the same development board. 

So my question is: How can I enable accelerometer and gyroscope functionality in Android Automotive OS? 

Thank you.

0 件の賞賛
返信

1,894件の閲覧回数
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @gallopwave,

I hope you are doing well.

->Please make sure to check the FXAS21002 gyroscope driver is configured.
->Please check here menu path: (Top) → Device Drivers → Sensor Drivers

config FXAS21002
->It will enable the driver for the FXAS21002 gyroscope.

->Please make sure to check the ADXL345 Three Axis I2C accelerometer driver is configured.
->Please check here Menu path: (Top) → Device Drivers → Sensor Drivers
config ADXL345
->It will enable the driver for ADXL345 Three-Axis Digital Accelerometer.

I hope this information helps!

Thanks & Regards,
Dhruvit Vasavada
0 件の賞賛
返信

1,954件の閲覧回数
Dhruvit
NXP TechSupport
NXP TechSupport

Hi @gallopwave 

I hope you are doing well.

Can you please share the dmesg logs to debug the issue further?

Thanks & Regards,
Dhruvit Vasavada

0 件の賞賛
返信