Can not get RTC output signal from PC13 (Tamper) on STM32F103
HamidSaffari opened this issue · comments
Hamid Saffari commented
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
Hamid Saffari commented
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.