I2S issue

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable
0 Likes
2 Replies
Anonymous
Not applicable

 Hi,

   

Here is the problem of using I2S component .

   

im choosing Tx direction with mono left channels as the I2S configuration and i wrote the following lines to test it.

   

 

   

 

   

void Audio_Start(void)

   

{

   

    I2S_AUDIO_EnableTx();

   

    Clock_I2S_Start();

   

    I2S_AUDIO_Start();

   

 

   

      while(1)

   

    {

   

       if(I2S_AUDIO_ReadTxStatus() & I2S_AUDIO_TX_FIFO_0_NOT_FULL)

   

    {             

   

           I2S_AUDIO_WriteByte(1,0);

   

    }

   

    }

   

}

   

 

   

I set a break point on the line " I2S_AUDIO_WriteByte(1,0)" and found that there are only 4 execution on the line. I already use oscilloscope to measure the waveform output of SCK,WS and SDO pin. it shows that there are no data output on SDO.

   

 Is there anyone can help me?  

   

Thank you

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

It would be best if you post the project so all settings

   

can be examined -

   

 

   

    

   

          

   

“File”                                                             Creator

   

“Create Workspace Bundle”

   

 

   

 

   

Regards, Dana.

0 Likes