Skip to main content
DViks.1
Associate II
May 17, 2020
Question

Anyone got STM32H7XX + I2S full-duplex master working?

  • May 17, 2020
  • 6 replies
  • 1747 views

I have tried to use STM32CubeMX and STM32CubeIDE to generate code. But in CubeIDE I can't create a SPI2_RX DMA Request. And in CubeMX I can't generate a Master Clock Output.

So I wonder if there is any handcrafted code anyone written to get this working? and how to accomplish this.

Is it intentional that stm32h7xx_hal_i2s_ex.c is empty? or is it that they just not had the time to do it?

If CubeMX or CubeIDE doesn't work. Is there any similar chip I can use instead, or can look how it's configuered to get this started?

This topic has been closed for replies.

6 replies

Nesrine.JLASSI
Visitor II
May 18, 2020

Hello @DViks.1​ 

I can't reproduce the problem, could you please share your ioc file to check the issue.

Best regards,

Nesrine

DViks.1
DViks.1Author
Associate II
May 18, 2020

That file is from STM32CubeMX

DViks.1
DViks.1Author
Associate II
May 19, 2020

I have found 2 similar threads in the forum...

https://community.st.com/s/question/0D50X0000Ap3TK3/i2s-fullduplex-on-stm32h7-stm32cubemx-doesnt-produce-working-code

https://community.st.com/s/question/0D50X0000CArlTH/fullduplex-i2s-with-master-clock-output-on-stm32h7-in-stm32cubeide

All threads say that the hal / cube implementation for i2S for STMH7 is broken.

Looks like the HAL / Cube implementation for H7xx and I2S most probably has been broken for 3 years since the chip range first was introduced in 2016.

DViks.1
DViks.1Author
Associate II
May 19, 2020

ok! In the file stm32h7xx_hal_i2s_ex.c it is stated...

 ==============================================================================

                   ##### I2S Extension features #####

 ==============================================================================

 The I2S Full duplex feature is not supported by this HAL Driver 

 ******************************************************************************

...that had been good to know a lot earlier.

Is there any plans to make support for I2S with full-duplex?. Or is the I2S hardware broken/cripled in the STM32F7xx line?

Nesrine.JLASSI
Visitor II
May 19, 2020

Hello @DViks.1​

Thanks for the feedback, the I2S Full duplex feature will be available next STM32CubeMX version.

Best regards,

Nesrine

DViks.1
DViks.1Author
Associate II
May 19, 2020

That sounds fantastic