cancel
Showing results for 
Search instead for 
Did you mean: 

Using RTC to show time on LCD

pkpatrickkos
Associate
Posted on April 04, 2013 at 11:52

Hello,

I'm new to embedded programming and having a hard time getting into using the STM32L-Discovery. 

I'm trying to use the RTC to display time on the LCD on the board, I've been reading the documentation but haven't been able to figure this out.

Im using the IAR workbench, any help would be appreciated.

#basic #prerequisite #foundation
3 REPLIES 3
Andrew Neil
Evangelist
Posted on April 04, 2013 at 20:54

''I'm new to embedded programming''

 

Do you have any experience in any other type of programming?

''having a hard time getting into using the STM32L-Discovery''

What have you been studying to help you get into both embedded progrmming in general and the STM32 in particular?

Here are some of the things you'll need:

http://bit.ly/T6pTIA

''I'm trying to use the RTC to display time on the LCD on the board''

There's really 3 separate issues here:

1. using the RTC;

2. driving the LCD;

3. combining the two.

What have you tried? Where are you stuck?

pkpatrickkos
Associate
Posted on April 04, 2013 at 23:14

I've experience in programming C,C++, Java, PHP.

And have used Arduino and Mbed microcontrollers.

I've been studying the documentation on st.com about RTC, but don't know where to start.

Haven't found any examples to get me started.

  

crt2
Associate II
Posted on April 05, 2013 at 10:36

Did you run some other easier programs on stm first? I know stm32f std periph library (FW Lib) has a lot of nice examples you could use (including RTC Calendar) and a short google search found me online reference manual of it (

http://brawikov.narod.ru/StdPerLibSTM32F10x/fwlib_examples.html

). I dont know what IAR is using but you could go check for fwlib examples if they are somewhere...