Skip to main content
Associate II
July 28, 2026
Solved

PA11[PA9] / PA12[PA10] remapping and CubeMX support

  • July 28, 2026
  • 2 replies
  • 52 views

Hello,

I am using the STM32G031F4P6 (TSSOP20) and have a question regarding the PA11[PA9] and PA12[PA10] remapping.

According to RM0444, PA11_RMP and PA12_RMP remap PA11→PA9 and PA12→PA10. However, in STM32CubeMX, the shared pins PA11[PA9] and PA12[PA10] only expose the Alternate Functions of PA11/PA12 (e.g., USART1_CTS, USART1_RTS/DE/CK), and USART1_TX/RX are not available.

Could you please clarify:

  1. Is this a limitation of STM32CubeMX?
  2. Or is it not possible to use the PA9/PA10 Alternate Functions (e.g., USART1_TX/RX) on the physical PA11/PA12 pins after enabling PA11_RMP/PA12_RMP?

If it is supported in hardware, what is the recommended way to configure it?

Thank you.

Best answer by TDK

You must first remap the pins in the SYS tab.

After that, the PA9/PA10 functions are available for use.

 

2 replies

TDK
TDKBest answer
July 28, 2026

You must first remap the pins in the SYS tab.

After that, the PA9/PA10 functions are available for use.

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
Associate II
July 28, 2026

Thank you very much, TDK!