Skip to main content
Associate II
Jul 28, 2026 8:55 PM UTC
Solved

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

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.

TDK
TDKBest answer
Jul 28, 2026 9:37 PM UTC

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

2 replies

TDK
TDKBest answer
Jul 28, 2026 9:37 PM UTC

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
Jul 28, 2026 9:41 PM UTC

Thank you very much, TDK!