Skip to main content
Explorer
December 28, 2023
Solved

STM32G474RE PA3/PC5 pin.

  • December 28, 2023
  • 2 replies
  • 3481 views

Hello,
STM32G474RE is the processor model I use.
I read ADC from pin PA3 and I read IO from pin PC5. So whether these pins are common pins in the processor hardware? How can I separate these two pins from each other?

    This topic has been closed for replies.
    Best answer by STTwo-32

    Hello @ENGIN TANRIKULU 

    As said @TDK PA3 and PC5 are separate pins on the MCU. But on the NUCLEO-G474RE, both pin 37 and pin 6 of the CN10 are connected to PC5. To connect the pin 37 to PA3, you should configure the solder bridge as described on the Table 11 of the UM2505

    Best Regards.

    STTwo-32

    2 replies

    Super User
    December 28, 2023

    PA3 and PC5 are separate pins. There is no problem using one as ADC and one as GPIO.

    TDK_0-1703772733599.png

     

    Explorer
    December 28, 2023

    ENGINTANRIKULU_0-1703776183819.png

    When I checked with a multimeter, I confirmed that it went to the same pin. ADC_IN4 and IO are affected when I use it in input mode.

    ENGINTANRIKULU_1-1703776465871.png

     

    Super User
    December 28, 2023

    Is this a custom board? Maybe you have a short.

    Explorer
    December 29, 2023

    No, I checked it on two different Nucleo cards without using a special card.

    ENGINTANRIKULU_0-1703830323708.png

     

     

    STTwo-32Answer
    Technical Moderator
    December 29, 2023

    Hello @ENGIN TANRIKULU 

    As said @TDK PA3 and PC5 are separate pins on the MCU. But on the NUCLEO-G474RE, both pin 37 and pin 6 of the CN10 are connected to PC5. To connect the pin 37 to PA3, you should configure the solder bridge as described on the Table 11 of the UM2505

    Best Regards.

    STTwo-32