2015-10-06 01:35 AM
i want the code for rtc initialisation for stm32.
wat i have in the snippets package code is based on register level programming. wat i want is the initialisation based on library functions thanks in advance2015-10-06 02:13 AM
Hi kazi.adeem,
If you are using STM32L0 products you can find examples for RTC under STM32cubeL0 package: STM32Cube_FW_L0_V1.1.0\Projects\STM32L053R8-Nucleo\Examples\RTCThe cube package is available in ST Website via thishttp://www.st.com/web/en/catalog/tools/PF260508
. Also you can usehttp://www.st.com/web/catalog/tools/FM147/CL1794/SC961/SS1533/PF259242?s_searchtype=partnumber
to easily initialize your RTC as it is a graphical software configuration tool.-Syrine-2015-10-06 11:54 AM
THE CODE DOES NOT WORK FOR STMF07
AND THE SOFTWARE IS GONNA TAKE ATLEAST 5 HRS TO DOWNLOAD 95MB WORTH OF FIRMWARE!!!SERIOUSLY!! THAT IS THE SPEED IM GETTING WHILE DOWNLOADING FROM THE CUBEMX.2015-10-06 01:52 PM
There's no need to shout, your bandwidth issue are between you and your ISP. Yes, some of the Cube stuff is getting to be a ridiculous size, 95 MB is relatively tame, I'm seeing some 250 MB files here.
The SPL also provides examples for RTC setup and useSTM32F0xx_StdPeriph_Lib_V1.5.0\Projects\STM32F0xx_StdPeriph_Examples\RTC\RTC_Calendar\readme.txt2015-10-06 10:02 PM
im sorry mate! the caps lock was on while writing didnt mean to shout.