EXTERNAL OSCILLATOR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-30 4:24 AM
I AM USING STM32F407G-DISC1 BOARD FOR DEVELOPING CUSTOM BOARD.HERE AN OSCILLATOR IS CONNECTED TO PH1 AND PH2 PINS. IS IT IS COMPALSORY FOR DEVELOPING CUSTOM BOARD?
- Labels:
-
STM32F4 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-30 4:34 AM - edited ‎2024-10-30 6:59 AM
From the datasheet:
Clock, reset and supply management:
- 1.8 V to 3.6 V application supply and I/Os
- POR, PDR, PVD and BOR
- 4-to-26 MHz crystal oscillator
- Internal 16 MHz factory-trimmed RC (1% accuracy)
- 32 kHz oscillator for RTC with calibration
- Internal 32 kHz RC with calibration
STM32 MCUs always boot with the internal 16MHz oscillator and in the system init the optional external oscillators and the internal PLLs can be turned on.
If the accuracy of the internal oscillator is good enough for your application you do not need an external crystal or oscillator. If it is not accurate enough you may need to do some calibration or opt for an external crystal or oscillator.
If you decide to use a crystal be sure to check the load capacitance of the crystal as the maximum drive strength of the MCU oscillator pins may not be strong enough to drive the crystal. This depends on the family of the MCU. Set the drive strength to the proper level with STM32CubeMX.
Click "Accept as Solution" if a reply solved your problem. If no solution was posted please answer with your own.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-10-30 5:16 AM - edited ‎2024-10-30 5:19 AM
PLEASE DON'T SHOUT!
@rohithinthingstech wrote:AN OSCILLATOR (sic) IS CONNECTED TO PH1 AND PH2 PINS.
No, that's not an oscillator - that is just a crystal.
@rohithinthingstech wrote:IS IT IS COMPALSORY FOR DEVELOPING CUSTOM BOARD?
No - as @unsigned_char_array explained, it depends on the requirements of your particular application.
You should also study Application note AN4488, Getting started with STM32F4xxxx MCU hardware development:
Probably also worth reviewing the other Application Notes available on the STM32F407VG Product Page:
https://www.st.com/en/microcontrollers-microprocessors/stm32f407vg.html#documentation
