STM32 MCUs products

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! HAL_Delay() doesn't synch with RTC on STM32H7A3

I'm rewriting some of my old LL code to use HAL and having trouble getting the RTC to read time correctly. I have a simple test project where I'm calling HAL_RTC_GetTime() and HAL_RTC_GetDate() before and after a call to HAL_Delay() with the expectat...

magene_2-1720213155288.png magene_0-1720212267571.png magene_1-1720212325661.png
magene by Senior II
  • 313 Views
  • 2 replies
  • 0 kudos

STM32F103 LSE load capacitance calculations (RTC)

Hello STM Comunity, I am making this post because I have reviewed many reference schematics for the use of the STM32F103C8T6, and in most of them, I see that they use 20pF load capacitors for the LSE circuit.The datasheet literally states that the va...

Cgelectronics_2-1720257828323.png Cgelectronics_1-1720257805244.png Cgelectronics_0-1720257756991.png Cgelectronics_3-1720260930583.png

External 32.768KHz Oscillator for RTC in STM32H743

Hi,I want to use External 32.768KHz Oscillator as clock source for RTC. This is a reference schematic how I intend to connect Oscillator with RCC_OSC32_IN pin on my STM32H743 microcontroller.  My Query is since oscillator requires Vcc 3.3V to operate...

VShet2_0-1720246581771.png
VShet.2 by Associate III
  • 307 Views
  • 3 replies
  • 0 kudos

STANDBY and SLEEP Modes using RTC

Hello,I am trying to use the SLEEP and STANDBY modes with the RTC. I want the device to go to sleep/standby mode for 10 seconds and wake up after the 10 seconds are done. I have tried it with an interrupt using UART and Button and both the modes are ...

Cannot Write register

Hello guys! I have a problem. I need to use HAL_RTCEx_SetSynchroShift function from HAL to modify the subseconds of the RTC module. The problem is that this function cannot work because the REFCKON bit from Control Register is set(1). First, I do not...

Phvne by Associate II
  • 126 Views
  • 0 replies
  • 0 kudos

Issue to generate an alarm interupt on STM32C031

Hi,I try to configure a STM32C031K6 to generate an interupt every seconds using RTC Alarm A (RTC clocked by 32.768KHz crystal).I am working on STM32Cube IDE 1.15.1. First issue was that the device configuration tool does not generate any code regardi...

mjacquin_0-1718371573119.png mjacquin_1-1718371641930.png
mjacquin by Associate
  • 202 Views
  • 0 replies
  • 0 kudos

STM32H5 VBAT caution in an5711

Hello,I am designing some hardware with the STM32H523.I have a rechargeable ML-Lithium Coin battery directly connected to the VBAT pin of the controller. The battery is supposed to power the RTC when there is no VDD. I would like to use the internal ...

Ral_0-1717755397966.png
Ral by Associate
  • 285 Views
  • 2 replies
  • 1 kudos

STM32G030 erratum 2.2.1 workaround is not reliable

Erratum 2.2.1 (Unstable LSI when it clocks RTC or CSS on LSE) indicates the following workaround:If LSI clocks the RTC or when the LSECSSON bit is set, reset the backup domain upon each VDD power up(when the BORRSTF flag is set). If VBAT is separate ...

DAlbe.3 by Senior
  • 776 Views
  • 10 replies
  • 0 kudos
Labels