element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Embedded Forum STM32F2 LSE RTC crystal issue: Can anyone help?
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Embedded and Microcontrollers to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 4 replies
  • Subscribers 461 subscribers
  • Views 1525 views
  • Users 0 members are here
  • crystal
  • clock
  • lse
  • uc
  • controller
  • ppm
  • rtc
  • stm32
  • 32.768khz
  • stm32f2
  • st
Related

STM32F2 LSE RTC crystal issue: Can anyone help?

Former Member
Former Member over 12 years ago

Hello

 

We use the STM32F2 for a project and have problems with the LSE crystal.

 

We use a Citizen CMR200T32.768KDZF-UTCMR200T32.768KDZF-UT crystal (32.768kHz, CL=6pF, Farnell Nr. 1652560) wich has a gain margin of 6.1 (according to the ST application note AN2867) and therefore is suitable.

 

It worked fine with STM32F205VGT6 Ref Y, now we changed to Ref X and the frequency shifts about 40ppm! There are no information about changes made from Ref Y to Ref X (despite other bootloader version).

 

With uC Ref Y: f=32.7679kHz (-3ppm)

With uC Ref X: f=32.7694kHz (+43ppm)

 

The measurement are made with the same layout, crystal and CL1/CL1 of 4.7pF, only the uC has changed. The frequency is measured at PA8 which outputs the clock trough microcontroller clock output (MCO1).

 

 

Can anyone help? How can we build a accurate RTC when the frequency shifts from uC to uC?

 

Regards,

Timon

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 12 years ago

    I'm not sure how applicable this is but there is one erratta having to do with the crystal.

     

    STM32F20x and STM32F21x Errata sheet

    http://www.st.com/st-web-ui/static/active/en/resource/technical/document/errata_sheet/DM00027213.pdf

     

    2.7.5 MCO PLL clock pins not compatible with Ethernet IEEE802.3 long term jitter specifications

     

    You may want to talk directly to the manufacturer about your issue.

     

    The STM32F205VG data page is here

    http://www.st.com/web/catalog/mmc/FM141/SC1169/SS1575/LN1433/PF245091?s_searchtype=partnumber#

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago

    How many board been tested?  I have designed a board, it have similar problem.  I found the reasons are bad layout and bad soldering. Hope my experience is usefull for you.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to Former Member

    @Tech_Support: I've seen this errata but thing this has nothing to do with my problem. It's for the HSE and also the STM32F205 doesn't has ethernet.

     

    @Zhi Deng: Yes, we have testet several boards, some hand soldered some reflow soldered. They all show the same problem.

     

    I'm in contact with ST and they said it's a well known problem but they havn't a solution..

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to Former Member

    "they havn't a solution" ?  Quite a bad news.

    Solution 1: If  you must use this MCU and RTC, you can use a wrong CL(Attempt various kinds of values). But i dont recommend this solution.

    Solution 2 : Add a external RTC IC, eg: DS1302, PCF8563 . i think this solution is a good choice.

    Solution 3: Cry with your boards, and wait for ST repair the issue.image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube