Skip to main content
Explorer
September 23, 2025
Solved

STM32C011DxY, WLCSP12

  • September 23, 2025
  • 1 reply
  • 225 views

I have a question about configuring pin D1 for UART1 TX (in conjunction with pin E2, UART1 RX).

Pin D1 has the option for PA11, [PA9], PA8

Pin E2 has the option for PA12, [PA10], PA7

1. To use pin D1 for UART1 TX, PA11 must be switched to PA9 (SYSCFG_CFGR1: PA11_RMP: = 1).

2. To use pin E2 as PA12, E2 (PA7 default) must be switched to PA12 (SYSCFG_CFGR3: PINMUX4[1:0] = 1).

3. To use pin E2 for UART1 RX, PA12 must be switched to PA10 (SYSCFG_CFGR1: PA12_RMP: = 1).

 

Question:

What is the default setting for pin D1 (PA11 or PA8)? How is PA11 bound to pin D1? I am missing a setting like (2.) for pin D1. I could not find anything in the manual.

When I configure this setting with STM32CubeMX, the following code is generated:

HAL_SYSCFG_EnableRemap(SYSCFG_REMAP_PA11); // (1.)
HAL_SYSCFG_EnableRemap(SYSCFG_REMAP_PA12); // (3.)
HAL_SYSCFG_SetPinBinding(HAL_BIND_WLCSP12_PINE2_PA12); // (2.)

Where is the binding for pin D1?

 

Many thanks in advance.

Dirk

 
 

 

 

    This topic has been closed for replies.
    Best answer by TDK

    HAL_SYSCFG_EnableRemap(SYSCFG_REMAP_PA11) should connect PA11 to D1. The manual suggests there is no SYSCFG3 setting to disable PA8. It will also be connected so keep it high impedance.

    1 reply

    TDKAnswer
    Super User
    September 23, 2025

    HAL_SYSCFG_EnableRemap(SYSCFG_REMAP_PA11) should connect PA11 to D1. The manual suggests there is no SYSCFG3 setting to disable PA8. It will also be connected so keep it high impedance.