I2S output is not working

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

I2S output is not working

Jump to solution
888 Views
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 Kudos
1 Solution
719 Views
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!
-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
2 Replies
720 Views
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 Kudos
719 Views
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 Kudos