RTC on Nucleo64

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
User avatar
wurstnase
Posts: 121
Joined: Tue Oct 17, 2017 2:24 pm
Has thanked: 43 times
Been thanked: 30 times
Contact:

RTC on Nucleo64

Postby wurstnase » Thu Jan 04, 2018 11:48 pm

Hi,

on newer boards, 2 or 3 years ago, there is a LSE installed.

Please check:
http://www.st.com/content/ccc/resource/ ... 105823.pdf

There are three possible default configurations of the LSE depending on the version of the
STM32 Nucleo board hardware.
The board version MB1136 C-01 or MB1136 C-02 is mentioned on the sticker placed on the
bottom side of the PCB.
The board marking MB1136 C-01 corresponds to a board configured as LSE not used.
The board marking MB1136 C-02 (or higher) corresponds to a board configured with
on-board 32 kHz oscillator.
The board marking MB1136 C-03 (or higher) corresponds to a board using new LSE crystal
(ABS25) and C26, C31 and C32 value update.


Only small changes need to activate them.
Attachments
RTC_STM32F446RE-NUCLEO64.tar.gz
Example project for RTC on Nucleo F446RE
(11.87 KiB) Downloaded 151 times
LSECLK_NUCLEO64_F446RE.patch.tar.gz
Patch for RTC on Nucleo F446RE
(355 Bytes) Downloaded 157 times
\o/ Nico

User avatar
Giovanni
Site Admin
Posts: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

Re: RTC on Nucleo64

Postby Giovanni » Fri Jan 05, 2018 8:26 am

Hi,

Thanks for the example, my problem is that demos need to work on all boards, activating LSE on boards without the oscillator would block the demo on startup.

Giovanni

User avatar
wurstnase
Posts: 121
Joined: Tue Oct 17, 2017 2:24 pm
Has thanked: 43 times
Been thanked: 30 times
Contact:

Re: RTC on Nucleo64

Postby wurstnase » Fri Jan 05, 2018 4:04 pm

Hi Giovanni,

for the demo you are maybe right.
But the patch-file shouldn't hurt. It only defines the RTC clock frequency in the board.h file.
\o/ Nico


Return to “Development and Feedback”

Who is online

Users browsing this forum: No registered users and 11 guests