cancel
Showing results for 
Search instead for 
Did you mean: 

I2S interface issue on STM32F7 Nucleo board

Trilok JT
Associate
Posted on November 23, 2017 at 13:15

Hi.,

I am working on STM32F767ZI Nucleo board, In this I am trying to interface external audio board through I2S interface, I configured I2S in Master receive mode using STM cubeMX, But I am not able to receive any data. I also cross checked signals on board , I2S_A_CK clock is coming (48K), but I2S_WS & I2S_SD(data) signals are not coming . Can you please tell me what could be the issue .

I2S configurations:

  hi2s2.Instance = SPI2;

  hi2s2.Init.Mode = I2S_MODE_MASTER_RX;

  hi2s2.Init.Standard = I2S_STANDARD_PHILIPS;

  hi2s2.Init.DataFormat = I2S_DATAFORMAT_24B;

  hi2s2.Init.MCLKOutput = I2S_MCLKOUTPUT_DISABLE;

  hi2s2.Init.AudioFreq = I2S_AUDIOFREQ_48K;

  hi2s2.Init.CPOL = I2S_CPOL_LOW;

  hi2s2.Init.ClockSource = I2S_CLOCK_PLL;

Receive function I am using :

HAL_I2S_Receive_IT(&hi2s2, I2S_Buffer_Rx, 100);

I hope I2S_CK & I2S_WS signal must generate , without these two signal audio board doesn't send any data. Can you please suggest if any changes required in above initialization.

Thank you

#nucleo-board #i2s #stm32-f7
0 REPLIES 0