Skip to main content
Jack123
Associate
September 16, 2021
Solved

STM32H7A3 CubeMX no alternate function settings for PC2_C and PC3_C pins

  • September 16, 2021
  • 3 replies
  • 1353 views

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

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
September 16, 2021

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
September 16, 2021

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
September 16, 2021

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!