I2S output is not working

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

I2S output is not working

跳至解决方案
1,517 次查看
hyunhoshin
Contributor III

I'm using i.MX6Q

and linux version is 3.0.35

My sound codec(ALC5629) connect throgh SD2_DAT0, SD2_DAT1, SD2_DAT2, SD2_DAT3

below is ssi port setting in board-mx6q_sabresd.c

---

static struct mxc_audio_platform_data alc5629_data = {
 .ssi_num = 1,
 .src_port = 2,
 .ext_port = 4,
 .init = mxc_alc5629_init.

};

---

and below is GPIO port setting in board-mx6q_sabresd.h

---

 MX6Q_PAD_SD2_DAT0__AUDMUX_AUD4_RXD, //ADCDAT
 MX6Q_PAD_SD2_DAT1__AUDMUX_AUD4_TXFS, //LRCK
 MX6Q_PAD_SD2_DAT2__AUDMUX_AUD4_TXD, //DACDAT
 MX6Q_PAD_SD2_DAT3__AUDMUX_AUD4_TXC, //BCLK

---

when playback wav file using aplay

no sound output and no signal that port(check using osciloscope)

how can i fix this problem?

0 项奖励
回复
1 解答
1,348 次查看
igorpadykov
NXP Employee
NXP Employee

Hi hyunho

please check Chapter 8 Porting Audio Codecs to a Custom Board

attached Porting Guide document.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,349 次查看
igorpadykov
NXP Employee
NXP Employee

Hi hyunho

please check Chapter 8 Porting Audio Codecs to a Custom Board

attached Porting Guide document.

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励
回复
1,348 次查看
hyunhoshin
Contributor III

when play wav file using aplay. aplay is blocked

so i think pcm device is not working..

how can i check about this problem?

0 项奖励
回复