cancel
Showing results for 
Search instead for 
Did you mean: 

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

laurentc
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

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".
Thanks
Imen

View solution in original post

2 REPLIES 2
TDK
Guru

> 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.D
ST Employee

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".
Thanks
Imen