STM32F407VGT6 external oscillator
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-07-19 4:19 AM
Posted on July 19, 2016 at 13:19
Hi everyone,
I have designed a board using stm32f407vgt6 and placed a 8MHz crystal oscillator with 22pF capacitors. The code I wrote works perfectly with stm32f4discovery. But when I try to use my board, it can't initialize external oscillator and use 16 MHz internal oscillator. I can't find the problem and want to know if it may be about pcb design or the components. Thanks in advance. #external-clock #hse #stm32f4-oscillator
This discussion is locked. Please start a new topic to ask your question.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-07-19 4:51 AM
Posted on July 19, 2016 at 13:51
> 8MHz crystal oscillator with 22pF capacitors
Crystal, or a crystal oscillator? Crystal oscillator has at least 4 pins and wouldn't need capacitors, but would need a supply connected. But I assume you have a 2-pin crystal. Not all crystals are created equal, and 22pF may be not adequate. Also, the layout may be critical, it's a low-power high-frequency circuit, basically of analogue nature. Read AN2867: Oscillator design guide for STM8S, STM8A and STM32 microcontrollers. JWOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-07-19 5:08 AM
Posted on July 19, 2016 at 14:08
Sorry, it is a crystal, can capacitors alone cause this? Because it acts like there is no crystal.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2016-07-19 6:06 AM
Posted on July 19, 2016 at 15:06
Hi tuncer.erdinc,
I recommend you to have a look to the application note it may be helpful. -Syrine-