8 years, 1 month ago.

Cannot set RTC on the NUCLEO-F746ZG

Hello,

I can properly set the RTC on the DISCO-F746NG, but not the NUCLEO-F746ZG

...kevin

Question relating to:

STM32 Nucleo-144 development board with STM32F746ZGT6 MCU, supports Arduino, ST Zio and morpho connectivity

1 Answer

8 years, 1 month ago.

Please same as for another issue. Thanks for reporting. To track the progress, it's always good to report this on github as well : https://github.com/mbedmicro/mbed

Accepted Answer

It ends up being an error on my part. In the structure used by mktime, I did not subtract 1900 from the year. This resulted in a return value of -1 instead of the actual time in seconds.

posted by Kevin Braun 23 Mar 2016