Skip to main content
AD�?b
Senior
November 21, 2020
Solved

Stm32F746G-DISCO

  • November 21, 2020
  • 6 replies
  • 1279 views

Hi

Tutorial 3 with a clock.

How to improve accuracy?

best regards

Andrzej

This topic has been closed for replies.
Best answer by Imen.D

It's more clear now: Clock, you mean Time, not SYSCLK.

We provided a detailed RTC examples (AN4759) which can give you better idea, or you can get inspired from RTC examples within STM32CubeF7 MCU firmware and use the smooth calibration function (HAL_RTCEx_SetSmoothCalib) to calibrate the RTC: STM32Cube_FW_F7_V1.16.0\Projects\STM32F746ZG-Nucleo\Examples\RTC\RTC_Calendar

Have a look at the "RTC smooth digital calibration" section in the RM0385 and this stm32f7xx_hal_rtc_ex.c file, this will help you to understand RTC calibration behaviour and have more idea on how configuration/implementation is done.

Hope this helps you.

Imen

6 replies

ST Technical Moderator
November 23, 2020

Hello @Andrzej Dębski​ ,

To improve the accuracy, I recommend you to refer to this AN2834 Application note How to get the best ADC accuracy in STM32 microcontrollers

Please mark my answer as best by clicking on the "Select as Best" button if it fully solved your issue. This will help other users find this solution more quickly.

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
AD�?b
AD�?bAuthor
Senior
November 23, 2020

I didn't mean the accuracy of the ADC, but the accuracy of the system clock pulses.

ST Technical Moderator
November 23, 2020

Could you please provide more details ? What do you have on MCO outputs ?

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks