STM32CubeMX (MCUs)

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! STM32F4 HAL_RTCEx_WakeUpTimerIRQHandler

While looking at the HAL's RTC code, I noticed that in the IRQ handler for WakeUpTimer, there is no enabling of access to backup domain registers before clearing flag WUTF in RTC register ISR...Should this not be needed?When testing in my own impleme...

TLin.5 by Associate III
  • 903 Views
  • 3 replies
  • 1 kudos

Resolved! CubeMX injects LL_RTC_TAMPER_MASK_TAMPER1 for RTC Tamper 2

Hi, Just to notify a bug  :CubeMX injects LL_RTC_TAMPER_MASK_TAMPER1 for RTC Tamper 2 when generating codeSTM32CubeMX - STM32 Device Configuration Tool Version: 6.8.1-RC4STMCube FW_L0 V1.12.2 /** Enable the RTC Tamper 2*/LL_RTC_TAMPER_Enable(RTC, LL_...

Rla by Associate
  • 422 Views
  • 2 replies
  • 0 kudos

Resolved! RTC Calendar resets in CubeMX generated Init function

Hi everyone ! first time poster, hope I'm doing it right.I'm working with an STM32F107VCT and using CubeMX to generate code.I have an issue with the RTC calendar, it goes back to 0 every reset which, if I'm not mistaken, it should not on a soft reset...

gjanet by Associate II
  • 1046 Views
  • 6 replies
  • 1 kudos

HAL_RTC_MSPInit generated code fails assert_params check in gpio initialization when "Generate peripheral initialization as a pair of .c/.h filer per peripheral" project option selected and PC13 is configured as RTC_OUT_CALIB.

The generated code in rtc.c passes zeros in GPIO_InitStruct to HAL_GPIO_Init, causing assert_param(IS_GPIO_PIN_AVAILABLE(GPIOx, (GPIO_Init->Pin))); to fail. void HAL_RTC_MspInit(RTC_HandleTypeDef* rtcHandle) {   GPIO_InitTypeDef GPIO_InitStruct = ...

Jshelson by Associate II
  • 685 Views
  • 5 replies
  • 0 kudos

The time is: 33:55!

I think it's related to my previous question:https://community.st.com/s/question/0D53W00001sGksoSAC/is-it-possible-rtc-on-stm32h7-loses-1-second-on-each-power-cycleI applied a workaround by practically removing all MX_RTC_Init().It seems to work, how...

HTD by Senior III
  • 844 Views
  • 15 replies
  • 0 kudos