RTC on STM32 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-12-26 9:07 PM
Guys,
Does anyone know on how to initialize RTC on STM32 and display the content of the register to LCD ? Any links or reference will be appreciated, Thank you #think!- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-12-27 2:09 AM
''Does anyone know on how to initialize RTC on STM32''
Which STM32?Have you studied its Documentation?Have you looked at the examples included in the Standard Peripheral Library?eg,STM32F37x_StdPeriph_Examples\RTC''display the content of the register to LCD''What LCD?In what form do you want to display it?The fact that it happens to be a value from the RTC is irrelevant to the LCD...
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-12-27 8:04 AM
STM32F107 and LCD 20x4.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-12-27 10:54 AM
Well that answers, ''which STM32?'' and is a partial answer to, ''What LCD?''
So what about the other questions:Have you studied its
Documentation?
Have you looked at the examples included in the Standard Peripheral Library?
In what form do you want to display it?And it remains that the fact that it happens to be a value from the RTC is irrelevant to the LCD...
''Does anyone know on how to initialize RTC on STM32''
Which STM32? Have you studied its Documentation? Have you looked at the examples included in the Standard Peripheral Library? eg, STM32F37x_StdPeriph_Examples\RTC''display the content of the register to LCD'' What LCD? In what form do you want to display it? The fact that it happens to be a value from the RTC is irrelevant to the LCD...
''Does anyone know on how to initialize RTC on STM32''
Which STM32? Have you studied its Documentation? Have you looked at the examples included in the Standard Peripheral Library? eg, STM32F37x_StdPeriph_Examples\RTC''display the content of the register to LCD'' What LCD? In what form do you want to display it? The fact that it happens to be a value from the RTC is irrelevant to the LCD...
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2013-12-27 10:55 AM
STM32F107 and LCD 20x4.....
Have you studied its Documentation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-01-04 3:06 PM
I can display some strings already in LCD and display RTC on USART,
My question is, how to use a variable on USART and display it on LCD ? code : printf(''Time: %d-%d-%d %02d:%02d:%02d \r\n'', time.tm_year, \ time.tm_mon+1, time.tm_mday,\ time.tm_hour, time.tm_min, time.tm_sec); sprintf(year,''%02d'',time.tm_year); lcd_string(time.tm_year); another reference that I can consider : http://www.st.com/st-web-ui/static/active/jp/resource/technical/document/application_note/DM00025071.pdf- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-01-06 3:54 PM
The golden rule of software development is: Divide and Conquer - ie, break the problem down until you reach smaller problems which are easily solved.
In this case, you have two independent ''problems'':1. Converting data - of whatever form, from whatever source - into a string format;2. Outputting an arbitrary string - irrespective of its content or source - to your chosen peripherals (UART, LCD, whatever,...)A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-01-07 2:39 PM
Another thread on the same topic:
http://goo.gl/w27Y72
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-01-07 9:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-01-07 10:29 PM
