cancel
Showing results for 
Search instead for 
Did you mean: 

stm32L476RG RTC

x567234
Associate
Posted on February 13, 2016 at 06:56

I am new to stm32. I developed an RTC project, for stm32F446RE Nucleo, that displays date on 16x2 LCD, based on the HAL example. The project works fine. I tried to use the LL example, (to learn it too), to do the same thing on stm32L476RG Nucleo. The time is displayed right but I can not dynamically change the time as I was able with the HAL based project. I tried to use the set hour, minutes, day, month etc..  tried to use the Set_config, and even tried to use the same configuration routine I use at reset. Any insight in where I am going wrong?  thx

2 REPLIES 2
re.wolff9
Senior
Posted on February 13, 2016 at 19:54

Short answer: no. 

Long answer: Chances are that no-one reading that has tried: using RTC with a display on an 446 and then moved to 476 and then ran into trouble writing the RTC. Only the person that has had THIS EXACT problem will be able to answer if you don't provide things like source code and hardware setup. 

x567234
Associate
Posted on February 13, 2016 at 20:23

The main.c file the LCD is the LCD1602 Arduino shield with data at pins D4-D7, D8 and D9 and EN and RS, and D10 is PWM for backlight.

________________

Attachments :

main.c : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hzl0&d=%2Fa%2F0X0000000bcF%2FFu5W52pJoObynzUo_D5Zrguc4EBYy1WkW1OLGh0cAVM&asPdf=false