2023-01-19 11:14 AM
Hello,
I am designing a custom board using the STM32H7B3LIH6Q, based on the STM32H7B3I-EVAL evaluation board. The crystal used on the evaluation board is 24 MHz, as seen from the schematic offered.
Now, I am building my own board and noticed that the part number used for the oscillator is not available. However, there the datasheet says this one can be a range (4 - 50 MHz). See datasheet snippet below.
My question is two fold:
Solved! Go to Solution.
2023-01-20 12:12 AM
or just take an oscillator - read here:
2023-01-19 12:06 PM
Just look at the Clock Configuration tab in CubeMX - this should answer your questions. If in doubt, read the Ref Manual section on RCC.
2023-01-19 11:38 PM
Hello @KMew,
When selecting your crystal, be sure to follow the recommendations in the AN2867:
Oscillator design guide for STM8AF/AL/S, STM32 MCUs and MPUs - Application note
Imen
2023-01-20 12:12 AM
or just take an oscillator - read here:
2023-01-20 06:58 AM
Hello AScha.3,
Thank you for the reply!
I read through this thread and it was very helpful! An oscillator does seem simpler for the application. I have two follow-up questions about them, just to make sure I understand:
1) What exactly is the "tristate" of the oscillator for the example you mentioned in your reply?
2) I noticed you didn't use the 0.01 - 0.1 uF capacitor in your example, but the datasheet does mention one in Figure 2. I also noticed you added a 51 ohm resistor between output and the MCU. Is that necessary?
2023-01-20 06:59 AM
Added the picture of your example schematic, for ease of reading.
2023-01-20 08:06 AM
(i had a sometimes (!!) not working cpu, 48MHz osc. only 10mm distance; so strong ringing on this short line !
cut it, put 51 r in , and cpu working always perfect. )
2023-01-20 08:39 AM
Ahhh, I understand!
Thank you for explaining it Ascha! You have been most helpful :)