cancel
Showing results for 
Search instead for 
Did you mean: 

Strange parameters in RTC configuration for STM32F030R8 in STM32CubeMX

dimchik_b
Associate II
Posted on August 02, 2015 at 17:47

0690X0000060MomQAE.gif

What does these 3 parameters mean? RM0360(''STM32F030x4/x6/x8 advanced ARM-based 32-bit MCUs'') tells nothing about the possibility of use a binary format. Also, daylight saving is only the possibility to add or subtract 1 hour in one operation, but it is not automatic action and senseless in configuration process. The third parameter I generally not understand. Could anybody explain me about these parameters?

2 REPLIES 2
Posted on August 04, 2015 at 17:45

Hi balabanits.dmitry,

The RM0360 indicates the binary format for sub-seconds in section 21.1, also the

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

 in page 7 mention it (

This avoids binary to BCD software conversion routines).

 

The daylightsaving parameter corresponds to bit17 and bit16 of RTC_CR register (section 21.7.3 of RM0360).

The store operation parameter corresponds to bit18 of  RTC_CR register also.

-Shahrzad- 

stm32cube-t
Senior III
Posted on August 26, 2015 at 10:23

Dear user,

Please note that next CubeMX version ''4.10'' will fix some integration issues with RTC.

Indeed, the Calendar configuration will propose to set the date and time, which is not possible with CubeMX 4.9. Unfortunately CubeMX 4.9 generates hardcoded date and time values.

Best regards.