stm32duino / STM32RTC

Arduino RTC library for STM32.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can not get RTC output signal from PC13 (Tamper) on STM32F103

HamidSaffari opened this issue · comments

Hi, I want to get signal from RTC to calibrate that by changing RtcHandle.Init in rtc.h :

RtcHandle.Init.OutPut = RTC_OUTPUTSOURCE_CALIBCLOCK; RtcHandle.Init.AsynchPrediv =0xFF25;
but I've got nothing

Edit:
Well actually that works:
RtcHandle.Init.OutPut = RTC_OUTPUTSOURCE_CALIBCLOCK; RtcHandle.Init.AsynchPrediv =0xFF25;
and I've got 512Hz Pulses out of PC13.
by change RTC_OUTPUTSOURCE_CALIBCLOCK to RTC_OUTPUTSOURCE_SECOND
we've got 1 sec impulses.