Skip to main content
MNapi
Senior II
April 1, 2019
Question

is anybody familiar with STM32F446RE and external clock ?

  • April 1, 2019
  • 2 replies
  • 1563 views

I tried to sort through the manual. When I choose external clock do i actually connect anything to the PH0 and PH1 pins and what kind of oscillator.

I see that there is already what looks like 8 MHz crystal is this one I am connecting when using external crystal

This topic has been closed for replies.

2 replies

S.Ma
Principal
April 1, 2019

It's either a crystal (on 2 pins to oscillate) or a digital clock feed on OSCIN.

Clock feed on Nucleo can be the 8MHz coming from the STLink.

Why? Clock generators have some tolerances which depends on voltage, temperature and process.

This might have impact such as RS232 at high baudrate.

STM32 has a safety fallback to the 16MHz internal RC oscillator if the external one fail to operate properly.

Look at the reference manual and datasheet.

Tesla DeLorean
Guru
April 1, 2019

Depends on the board, the DISCO/NUCLEO boards typically feed a 8 MHZ signal derived from their own clock and output via the PA8 MCO pin of the F103 part and into the HSE/OSC_IN pin. On the F4 side you'd ideally be using HSE BYPASS mode.

The DISCO/NUCLEO schematics should show the option for crystal usage, and there is a whole Application Note on crystal/load capacitor selection.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
MNapi
MNapiAuthor
Senior II
April 1, 2019

as usual STM documenation lacks good examples, I see some drawing, there is some resistor between pin and crystal. And it says the resistor value depends on crystal.

and how am I supposed to find this out. they do not give you part number, values like whoever wrote the manual had no clue what to do.

Tesla DeLorean
Guru
April 1, 2019
Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..