2024-05-14 05:55 AM
Hello everyone, i am working on a software for setting the date and time.
The plan is to set the date and tame manually (so no defficulties regarding that) and then continue to increase within the time flies thanks to the RTC of the NUCLEO F401RE.
Do you think that would be possible ? Would it be a simple way to set the date and time, by directly using the RTC with HAL libraries for example ?
Im thanking you already for your answers,
XOXO
Solved! Go to Solution.
2024-05-14 06:21 AM - edited 2024-05-14 06:44 AM
CubeF4 firmware package:
https://www.st.com/en/embedded-software/stm32cubef4.html
On the 'Documentation' tab:
https://www.st.com/en/embedded-software/stm32cubef4.html#documentation
EDIT:
See also:
Application Note AN4759, Introduction to using the hardware real-time clock (RTC) and the tamper management unit (TAMP) with STM32 MCUs
This video training series is for L4 rather than F4, but should give you an idea:
https://www.youtube.com/watch?v=ETu4JAvHS40&list=PLnMKNibPkDnEEvQWrDqVuu1w_iQ214GXi
2024-05-14 06:00 AM
Hello @willow
I suggest you to refer to the following example, it should works on Nucleo-F401RE.
STM32Cube_FW_F4_V1.28.0\Projects\STM32F410xx-Nucleo\Examples\RTC\RTC_Calendar
Best regards,
Romain,
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2024-05-14 06:02 AM
Thank you Romain for your fast answer, is this a STM32 software that i have to download ?
2024-05-14 06:21 AM - edited 2024-05-14 06:44 AM
CubeF4 firmware package:
https://www.st.com/en/embedded-software/stm32cubef4.html
On the 'Documentation' tab:
https://www.st.com/en/embedded-software/stm32cubef4.html#documentation
EDIT:
See also:
Application Note AN4759, Introduction to using the hardware real-time clock (RTC) and the tamper management unit (TAMP) with STM32 MCUs
This video training series is for L4 rather than F4, but should give you an idea:
https://www.youtube.com/watch?v=ETu4JAvHS40&list=PLnMKNibPkDnEEvQWrDqVuu1w_iQ214GXi
2024-05-15 12:57 AM
thank you very much for the tools given ! Im gonna check everything !
2024-05-15 01:18 AM - edited 2024-05-15 01:18 AM
Note that all those resources - and more - can be found via the Product Page for the Nucleo board:
https://www.st.com/en/evaluation-tools/nucleo-f401re.html
and/or the Product Page for the STM32F401RE MCU on that board:
https://www.st.com/en/microcontrollers-microprocessors/stm32f401re.html
Top Tip:
The Product Page should always be your starting point when beginning with any new product.
Putting the part number into your favourite internet search engine
eg https://www.google.com/search?q=NUCLEO+F401RE
or https://www.google.com/search?q=STM32F401RE
should find you the Product Page as (one of) the first hit(s).
This applies to most (all?) manufacturers - not jut ST.
#UseTheProductPage