How can i hear anything from IMX-AUDIO-IO board with IMX8QM

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

How can i hear anything from IMX-AUDIO-IO board with IMX8QM

跳至解决方案
2,876 次查看
gou1896
Contributor II

Dear:

Currently I am working on IMX8QM-MEK board running with Android Automotive 11.0.0_1.1.0 (Linux 5.4.47 Kernel)​​.

After I connect IMX-AUD-IO board FR FL, using AUDIO SLOT 1. I tried play audio through cs42888:

$tinyplay xx.wav -D 1

 but it did not work ,In the system, i can find  card0:bt-sco , card1:cs42888,card2:wm8960.

does the system default music output from the AUD board through CS42888?

and i find something from references:

微信截图_20210916003802.png

but In the source code, I can't find Similar fields cs42888_bus_name or wm8960_card.bus_name.

How can i hear anything from IMX-AUDIO-IO board with IMX8QM

标记 (4)
0 项奖励
回复
1 解答
2,852 次查看
gou1896
Contributor II

Solved. I forgot shorting the pins 2&3...

在原帖中查看解决方案

0 项奖励
回复
6 回复数
2,853 次查看
gou1896
Contributor II

Solved. I forgot shorting the pins 2&3...

0 项奖励
回复
2,787 次查看
Jose1985
Contributor IV

Hi,

 

Could you help me with this issue?

I am also not getting audio through these ports.

However, in your solution you say you solved using shorting PIN2 & 3. Could you kindly elaborate?

If so, could you let me know from where you get this info?

 

Below is the error, I am getting.

10-28 07:53:30.318 367 2263 I audio_hw_primary: start_output_stream: primary: 1, out: 0xf36437c0, device: 16777216, address: bus0_media_out, mode: 0, flags 0x2
10-28 07:53:30.318 1908 1908 I MediaServiceManager: >onPlaybackStarted: 1
10-28 07:53:30.318 367 2263 I audio_hw_primary: select_output_device(), headphone 0 ,headset 0 ,speaker 2
10-28 07:53:30.318 367 2263 E audio_hw_primary: Failed to find card from bus 'bus0_media_out'
10-28 07:53:30.318 367 2263 D audio_hw_primary: start_output_stream: pcm_open: card: -1, pcm_device_id: 0, rate: 48000, channel: 2, format: 0, period_size: 0xc0, flag: 9
10-28 07:53:30.318 367 2263 E audio_hw_primary: start_output_stream: Invalid PCM card id: -1
10-28 07:53:30.319 367 1123 I audio_hw_primary: start_output_stream: primary: 0, out: 0xf3642b60, device: 16777216, address: bus1_system_sound_out, mode: 0, flags 0x2
10-28 07:53:30.319 367 1123 I audio_hw_primary: select_output_device(), headphone 0 ,headset 0 ,speaker 2
10-28 07:53:30.319 367 1123 D audio_hw_primary: start_output_stream: pcm_open: card: 1, pcm_device_id: 0, rate: 48000, channel: 2, format: 0, period_size: 0xc0, flag: 9

0 项奖励
回复
2,777 次查看
gou1896
Contributor II

i just shorted pins 2 and 3 , the J47 on the base board

0 项奖励
回复
2,771 次查看
Jose1985
Contributor IV

Hi,

May I know how you got this information. Is it recorded in any technical documents of NXP?

 

Thank you.

 

0 项奖励
回复
2,855 次查看
gou1896
Contributor II
mek_8q:/data/user # tinymix -D 1
Mixer name: 'cs42888-audio'
Number of controls: 22
ctl     type    num     name                                     value

0       INT     2       DAC1 Playback Volume                     255 255
1       INT     2       DAC2 Playback Volume                     255 255
2       INT     2       DAC3 Playback Volume                     255 255
3       INT     2       DAC4 Playback Volume                     255 255
4       INT     2       ADC1 Capture Volume                      230 230
5       INT     2       ADC2 Capture Volume                      230 230
6       BOOL    2       DAC1 Invert Switch                       Off Off
7       BOOL    2       DAC2 Invert Switch                       Off Off
8       BOOL    2       DAC3 Invert Switch                       Off Off
9       BOOL    2       DAC4 Invert Switch                       Off Off
10      BOOL    2       ADC1 Invert Switch                       On On
11      BOOL    2       ADC2 Invert Switch                       On On
12      BOOL    1       ADC High-Pass Filter Switch              On
13      BOOL    1       DAC De-emphasis Switch                   Off
14      ENUM    1       ADC1 Single Ended Mode Switch            Differential
15      ENUM    1       ADC2 Single Ended Mode Switch            Differential
16      INT     1       DAC Single Volume Control Switch         1
17      ENUM    1       DAC Soft Ramp & Zero Cross Control Switch Immediate Change
18      BOOL    1       DAC Auto Mute Switch                     On
19      BOOL    1       Mute ADC Serial Port Switch              Off
20      INT     1       ADC Single Volume Control Switch         1
21      ENUM    1       ADC Soft Ramp & Zero Cross Control Switch Immediate Change

should I change any value by tinymix?

0 项奖励
回复
2,867 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励
回复