Skip to main content
Jack123
Associate
Sep 16, 2021 4:48 AM UTC
Solved

STM32H7A3 CubeMX no alternate function settings for PC2_C and PC3_C pins

For STM32H7A3VIT6, in the latest CubeMX software I cannot assign alternate functions to the PC2_C and PC3_C pins. But according to the datasheet it should be possible by closing the analog switches to PC2 and PC3 by modifying SYSCFG_PMCR registers.

I've checked the alternate function settings are indeed present for older STM32H7 lines. But not for STM32H7Ax/Bx. Is this a bug in CubeMX or a hardware limitation?

This topic has been closed for replies.
Jack123
Jack123Best answer
Associate
Sep 16, 2021 2:20 PM UTC

I've rechecked the version and found out that I'm using 6.1. After upgrading to 6.3 it works as expected.

Thank you very much for your help!

3 replies

Mouadh JERIDI
Visitor II
Sep 16, 2021 9:39 AM UTC

Welcome to the STM32 community @Jack123​ !

I truly couldn't reproduce this issue.

So can you please provide me with your .ioc file ?

Best regards,

Mouadh.

TDK
Sep 16, 2021 11:02 AM UTC

I think this was an issue in older CubeMX versions. Latest is v6.3.

"If you feel a post has answered your question, please click ""Accept as Solution""."
Jack123
Jack123AuthorBest answer
Associate
Sep 16, 2021 2:20 PM UTC

I've rechecked the version and found out that I'm using 6.1. After upgrading to 6.3 it works as expected.

Thank you very much for your help!