Skip to main content
Visitor II
January 17, 2024
Solved

Missing define for SPI6I2S on STM32H7

  • January 17, 2024
  • 2 replies
  • 856 views

Some STM32H7 MCUs have I2S capability on SPI6, but the HAL does not define "SPI_SPI6I2S_SUPPORT" for all of them. The ones with the missing define gets the prescaler computed wrong if the clock for SPI123 and SPI6 is different.

 

Has HAL support:

H7B3
H7B0
H7A3

 

Has capability but missing HAL support:
H735
H733
H730
H725
H723

 

Manually adding the define fixes the issue, the prescaler is calculated correctly and the expected clock frequency is sent to the I2S pins.

    This topic has been closed for replies.
    Best answer by KDJEM.1

    Hi @S58D4J ,

    The issue is fixed in STM32CubeH7 1.11.2 version and in GitHUB.

    Thank you for your contribution in STCommunity.

    Kaouthar

    2 replies

    Technical Moderator
    January 17, 2024

    Hello @S58D4J and welcome to the Community :),

    Thank you for bringing this issue to our attention.

    I reported this internally.

    Internal ticket number: 170995 (This is an internal tracking number and is not accessible or usable by customers).

    Thank you.

    Kaouthar

    KDJEM.1Answer
    Technical Moderator
    March 28, 2024

    Hi @S58D4J ,

    The issue is fixed in STM32CubeH7 1.11.2 version and in GitHUB.

    Thank you for your contribution in STCommunity.

    Kaouthar