Skip to main content
Explorer
August 26, 2025
Solved

LSCO CLK in pin (PA2) in Nucleo Board G474RE not present

  • August 26, 2025
  • 2 replies
  • 392 views

I have tried to route the LSI clock to PA2 pin in my Nucleo Board G474RE without success. SB13 & SB17 are open (it means ST Link is not connected to PA2 pin). Configuration was carried out with STMCube32 Mx but I don´t obtain the CLK in PA2. I have checked also the LSCOSEL and LSCOEN bits and are correct configured.

My dudes are: 

1) Muss RTC be activated to obtain the desired behaviour? My suposition is NO, because when I route the LSI to MCO pin (PA8) it works fine.

2) did I forget to modify something else in Nucleo Board G474RE?

Thanks in advance!

 

Magera_0-1756215236960.png

Magera_1-1756215255906.png

 

 

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

    Where are you measuring the PA2 pin? Ensure it's connected in the schematic to the place you're measuring by looking at the schematic. If you're measuring at the header, SB18 needs to be on.

    2 replies

    TDKAnswer
    Super User
    August 26, 2025

    Where are you measuring the PA2 pin? Ensure it's connected in the schematic to the place you're measuring by looking at the schematic. If you're measuring at the header, SB18 needs to be on.

    MageraAuthor
    Explorer
    August 27, 2025

    TDK, thank you very much for your answer. You have rigth it was missing to "close" the SB18. Just for the others who could have also the same problem as me I post a screenshot from the UM2505 where it is commented. Thanks again!

    Magera_0-1756278216050.png

     

    Technical Moderator
    August 26, 2025

    Hello,

    >> 1) Muss RTC be activated to obtain the desired behaviour?

    No

     

    >> 2) did I forget to modify something else in Nucleo Board G474RE?

    See TDK's answer.

    I attached a set of files to help (ioc+elf+main.c),

    PA2=>LSCO (LSI as input)

    PA8=>MCO (LSI)