STM32F103RCT6 HSE and LSE Crystal selection
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-31 8:42 AM
Hi,
I am designing a st board for the first time. First, we made all the improvements on the blue pill, which is STM32F103C8T6. When this wasn't enough, we switched to STM32F103RCT6.
I am currently drawing a schematic of this card and was confused in the choice of crystals.
I worked on AN2867 and chose some crystals for HSE and LSE. I also share how I calculate. Is there any wrong or missing in this method?
I would like to ask if these crystals I choose are correct.
This is HSE crystal calculation. and also link:
This is LSE crystal calculation. and also link:
I also see Rext resistance in some designs. I don't know why they put it or how they put it (for exp. OSC_OUT in series or between OSC_IN and OSC_OUT).
Wouldn't it be enough if I put it this way?
Regards,
Mehmet
- Labels:
-
Documentation
-
RCC
-
STM32F1 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-01 11:01 AM
Hi @Mehmet Eyüp Arslan​
Both crystals are compatible with STM32F103xC.
Please refer to AN2867 Rev 12 :
- Section 3.3 Load capacitance for the calculation of CL1 and CL2.
- Section 3.5.3 Calculating the external resistor for Rext explanation.
Best regards
Bouraoui
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-02 2:13 AM
Hi Bouraoui,
I made all my calculations following the AN2867 document.
- You can see the calculations pictures for both LSE and HSE for CL1 and CL2.
- I'm actually asking if Rext is needed. Because when I want to use Rext, Rext: 995 ohms according to my calculations. When I do my other calculations again, gmcirit = 5.51mA/V, gainmargin = 25/5.51 = 4.53 < 5 ( gmcirit(old) = 0.213mA/V, gainmargin(old) = 117 )
I had read in Section 3.4 that gainmargin should be greater than 5. Using Rext seems to be creating a problem, according to my design.
Would it be a problem if I don't use Rext? I am trying to understand this.
Regards,
Mehmet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-05 6:02 AM
Hi,
Is there anyone who can help?
Thank you,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-24 7:26 AM
Hi @Mehmet Eyüp Arslan​ ,
As mentioned AN2867 Rev 12 Section 3.5.3; If the power dissipated in the crystal is higher than the value specified by the crystal manufacturer, the external resistor Rext becomes mandatory to avoid overdriving the crystal.
In your case, using Rext violate the gainmargin rule. I don't recommend you to add Rext.
Best regards,
Bouraoui
