stm32duino / STM32RTC

Arduino RTC library for STM32.
127 stars 48 forks source link

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

Closed HamidSaffari closed 4 years ago

HamidSaffari commented 4 years ago

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

HamidSaffari commented 4 years ago

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.