how to enable wm8960 in imx8mq android 11.0.0

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

how to enable wm8960 in imx8mq android 11.0.0

1,052 Views
pyh0603
Contributor III

Hello,

Software Version: android_p11.0.0_2.6.0

Board: i.MX8MQ based custom board

 

I need to port wm8960 to Android system.

In the Android system, I can play audio files normally with tinyplay:

#tinyplay tinghai-zhanghuimei.wav

I can also record files normally using tinycap:

#tinycap /data/rec.wav -D 0 -d 0 –c 2 –r 48000 –b 16 –p 1024 –n 3 -T 10

 

When I integrated wm8960 into Android, I modified the following files:

vi device/nxp/imx8m/evk_8mq/evk_8mq.mk

 

pyh0603_2-1653897064747.png

The contents of the wm8960_rpmsg_config.json as follows:

pyh0603_3-1653897081620.png

 

The current situation is:

When I set the Android volume: settings->sound->medium Volume,  I can hear the prompt tone of the system, but the set volume keeps beating. It appears that the volume setting failed, And I can't play music through kugou music APK.

 

My question:

1 How to enable wm8960 in Android 11.0.0?

2 In addition to modifying device/nxp/imx8m/evk_ 8mq/evk_8mq.mk file, do i need to modify other files?

 

0 Kudos
Reply
3 Replies

1,042 Views
joanxie
NXP TechSupport
NXP TechSupport
0 Kudos
Reply

1,034 Views
pyh0603
Contributor III

Thank you for your reply

Your link is to configure BSP. I have successfully operated this step.

 

I have a problem Supporting a new sound card to Android

I have a problem playing music with Kugou music apk.

Do you have any other suggestions?

0 Kudos
Reply

1,008 Views
joanxie
NXP TechSupport
NXP TechSupport

did you porting wm8960 successfully? is kugou APK playback issue the new issue?

0 Kudos
Reply