Skip to main content
laurentc
Associate
Solved

STM32Cube FW_H7 V1.8.0 does not properly configure the SPDIFRX input pin

using STMCubeMx 6.1.2 on a STM32H723

The code generator does not generate this line in hal_msp.c / HAL_SPDIFRX_MspInit()

GPIO_InitStruct.Alternate = GPIO_AF9_SPDIF;

The consequence is that the pin behaves like an output forced to 0 instead of behaving like an input, which obviously prevents SPDIFRX from working.

The problem occurs at least for the 2 first SPDIFRX input lines.

    This topic has been closed for replies.
    Imen.DBest answer
    ST Technical Moderator

    Hello All,

    This is a known and old issue with previous CubeMX versions and it's fixed.

    @laurentc, please download and use the latest release of STM32CubeMX. which contains enhancement and fix issues.

    ImenD_0-1710747689026.png

     

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks

    2 replies

    TDK

    > STMCubeMx 6.1.2

    The current version is 6.10.0. Even if v6.1.2 has bugs, you would need to update the version if they got addressed.

    Try it in the latest version. A lot has happened between the two. If the bug is still there, please attach the IOC file that shows the issue.

    "If you feel a post has answered your question, please click ""Accept as Solution""."
    Imen.DBest answer
    ST Technical Moderator

    Hello All,

    This is a known and old issue with previous CubeMX versions and it's fixed.

    @laurentc, please download and use the latest release of STM32CubeMX. which contains enhancement and fix issues.

    ImenD_0-1710747689026.png

     

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks