Not expected frequency on NUCLEO-L496 RTC output calibration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-21 2:46 AM
Hi,
I'm trying to improve the accuracy of RTC. For that, I use the AN2604 witch describe this.
But, when I activate the calibration output of RTC at 512Hz, I have only 496Hz at the output. (AsynchPrediv =127). I tried this simple code to the nucleo-L476 and I have a perfect 512Hz clock.
On the L496, if I change AsynchPrediv to 124 and I can see a frequency around 512Hz.
What could be wrong with the L496?
- Labels:
-
RTC
-
STM32L4 series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-21 5:10 AM
I change the board of L496 and again, same frequency. So I change the crystal, the frequency is slightly better (504Hz) but too far from 512Hz.
I hope there is no trouble with MCU itself
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-21 1:41 PM
Try an external oscillator with LSE, e.g. a signal generator (setting LSEBYP, see External source (LSE bypass) subchapter in RM).
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-08-22 7:00 AM
Good Idea, I test that asap
Thank's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-03 12:42 AM
I have similar issue with Nucleo-H723G boards - i have 4 of them - LSE is runnig around 30800 Hz
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-03 12:47 AM
try:
1. set LSE drive to high
2. make the caps on crystal smaller...what C-load your crystal should have?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-03 8:25 AM
I have the problem on Nucleo-H723G boards with default (cubeIde 13.1) setup.
We use official demo boards with official demo sw to avoid discussions on hw/sw.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-03 9:39 AM
Please don't hijack threads.
Start your own thread stating the problem, what hw and what sw exactly (what is official demo sw?) did you use and how exactly do you detect the problem.
JW
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-04 6:44 AM
Sorry for mixing apples with potatoes...
I will open a new topic asap.
