Question
Tamper Pin Output for RTC
Posted on July 25, 2013 at 14:15
I am using STM32VLDISCOVERY board (with STM32F100RB) to develop a basic real time clock application. Since I do not have a 32kHz crystal for now, I am using LSI clock instead of LSE.
When I debug the code, I can see RTC counter increments by 1 in each 1 sec, which means it should be working fine but when I try to get tamper pin output of RTC with the code below*, I get a square wave with 652Hz frequency instead of ~511Hz.*Code:BKP_TamperPinCmd(DISABLE);BKP_RTCOutputConfig(BKP_RTCOutputsource_CalibClock);(By the way, to get a proper 1 second time, I set prescalar value to 41942 but the frequency of the output from tamper pin does not change even if I make the prescaler value 32767.) #rtc-tamper-pin-output-signal #rtc