cancel
Showing results for 
Search instead for 
Did you mean: 

I2S under STM32CubeIde on Nucleo144 STM32F767ZI not generating clock or word select signals !

L77d
Associate II

Hi,

Still attempting to work with STM32F767ZI board to generate signals to manage I2S mic (INMP441)

I have followed many recommendations, even used MX, but still no clock nor word select signals are generated from MCU....

But throu GPIO I can generate a clean square signal ?! So ?

Did I miss a thing ?

Thx very much for your help

6 REPLIES 6
Imen.D
ST Employee

Hello @L77d 

Check your STM32F767ZI-Nucleo Set-up and configuration within the available example (check recommendations in the readme file), then update the project according to your needs:

STM32CubeF7/Projects/STM32F767ZI-Nucleo/Examples/I2S/I2S_DataExchangeInterrupt at master · STMicroelectronics/STM32CubeF7 · GitHub

 

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
L77d
Associate II

Hello Imen.D,

I follow your recommandations, and tried the example, and it works.

The main problem was here:

I2SHandle.Init.Mode = I2S_MODE_MASTER_RX;

You have to set in master mode to get driving signals under i2s1

So I decided to go back to MX and take care of this, in a new configuration, but it really not works !

Why ?

Which STM32CubeMX version used ?

If not the version 6.15 is used, please update it and test with this latest release.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

Sorry I mean

STM32CubeIDE

 

Version: 1.19.0

Build: 25607_20250703_0907 (UTC)

L77d
Associate II

This is now correct, I can see signals on scope (WS, CLK,SD)

But it seems that i2s data (SD) are not read ...or I'm not doing correctly ;

>>or I'm not doing correctly

Present some actual code, diagram what you've built, describe expectations, this thought projection method of describing working/not-working is not effective in a group/team environment.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..