Skip to main content
laurentc
Associate
March 17, 2024
Solved

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

  • March 17, 2024
  • 2 replies
  • 1168 views

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.
Best answer by Imen.D

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

 

2 replies

TDK
Super User
March 17, 2024

> 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
Technical Moderator
March 18, 2024

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

 

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