Skip to main content
Visitor II
September 15, 2020
Question

connecting an XTAL with an STM32L412

  • September 15, 2020
  • 1 reply
  • 1068 views

I want to connect an (HSE) crystal with an STM32L412 - I see from the cubeIDE ports that PA0 is the CK_IN, but I've always used xtals with two ends - where does the other end of the xtal connect to? Ground?

    This topic has been closed for replies.

    1 reply

    Graduate II
    September 15, 2020

    Need to use an oscillator, like a TCXO, or existing clock source in your system

    deep_runeAuthor
    Visitor II
    September 15, 2020

    sorry i don't understand... i just want to use an external crystal to time my chip, how can i do this? do i need to use the RCC osc pins? Im not sure

    Graduate II
    September 15, 2020

    You have to make the crystal oscillate externally, you could use a pair of inverters if you insist on doing it from scratch​