imx6q wm8962 codec low power problem

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

imx6q wm8962 codec low power problem

761 Views
junjunwei
Contributor I

Hi 

Hardware :

imx6q daemon board :

Software:

Android M

Question:

I cannot not heard sound when I suspend using power key and I close codec wm8962 1.8v power supply.

And why not close codec 1.8v power because I need decrease codec power consuming?

Android HAL log:

01-01 03:54:46.098 218 521 W audio_hw_primary: out_set_parameters routing=2, ret 0, out -1242503872
01-01 03:54:46.111 218 520 W audio_hw_primary: ret -32, pcm write 768 error wait error: hw 0x21780 app 0x21d80 avail 0x0
01-01 03:54:46.111 218 520 W audio_hw_primary: : Unknown error -32
01-01 03:54:46.111 218 520 W audio_hw_primary: ret -32,state is 4, pcm write 768 error wait error: hw 0x21780 app 0x21d80 avail 0x0
01-01 03:54:46.111 218 520 W audio_hw_primary: : Unknown error -32
01-01 03:54:46.794 218 218 W audio_hw_primary: set parameters screen_state=off
01-01 03:54:49.378 218 521 W audio_hw_primary: no standby
01-01 03:54:53.303 218 1237 W audio_hw_primary: set parameters screen_state=on
01-01 03:54:58.607 218 521 W audio_hw_primary: out_set_parameters routing=2, ret 0, out -1242503872
01-01 03:54:58.620 218 520 W audio_hw_primary: ret -86, pcm write 768 error wait error: hw 0x23580 app 0x23b80 avail 0x0
01-01 03:54:58.620 218 520 W audio_hw_primary: : Unknown error -86
01-01 03:54:58.620 218 520 W audio_hw_primary: ret -86,state is 7, pcm write 768 error wait error: hw 0x23580 app 0x23b80 avail 0x0 (state 7 is suspend)
01-01 03:54:58.620 218 520 W audio_hw_primary: : Unknown error -86

Labels (3)
0 Kudos
1 Reply

421 Views
weidong_sun
NXP TechSupport
NXP TechSupport

Hello Junjun,

    If you close 1.8V power, it means you powered off WM8962, this is not correct method to let WM8962 enter Stanby mode. becuase sound card driver will not noramlly work, even you power it on again.

   If you want WM8962 to enter standby mode, please see WM8962's datasheet, the mode is described clearly in it.

Best regards,

Weidong

0 Kudos