cancel
Showing results for 
Search instead for 
Did you mean: 

RTC oscillator STM32F407

Michael99
Visitor

Hello,
I am using a CC4V-T1A-32.768KHZ-12.5PF-20PPM-TA-QC crystal with 22pF caps on a STM32F407ZGT6.problem with some devices the crystal does not oscillate.could the crystal or the capacitors be wrongly designed?
What can we change?
Thanks for your help

4 REPLIES 4
Peter BENSCH
ST Employee

Welcome @Michael99, to the community!

Problems with the very sensitive LSE have often been discussed here on the community. They occur if you do not follow the recommendations of AN2867 closely enough, where sections 7.1 and 7.2 in particular provide detailed instructions.

What does your layout around the LSE Crystal and the STM32 look like?

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Michael99
Visitor

Hello Peter,
Thanks for the quick reply.
Attached is a part of the board with the LSE Oscillator.
We have tested leaving out the two capacitors on the quartz, result: the quartz oscillates.
We did the stability calculations for the AN2867 and the result was ok.
Is it better to use a crystal with a smaller load capacitance, perhaps 6pF?

Greetings
Michael

 

LSE Oscillator.png

Peter BENSCH
ST Employee

The immediately obvious main problem in your layout is the insufficient GND of the crystals, which, as mentioned, has a particular effect on the LSE. If you take a look at section 7.2 in the aforementioned AN2867, e.g. fig. 14, you will notice that:

  • each crystal has its own GND area on the underlying layer, which is also separated from the other GND (visible with a white line)
  • each of these GND areas is connected to a GND ring on the component side with several vias, which creates something like a GND trough around and under the crystal
  • these GND areas are routed separately to the next possible GND pin of the STM32

I strongly recommend to adjust this in your layout.

You haven't shown the other layers under the crystal, but if there are tracks with signal edges, the problem is exacerbated.

Regards
/Peter

In order to give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

We only have one small problem.
The layout is in series production. All approvals have been completed.
Is there any other possibility than changing the layout?