Question
No RTC signal output on tamper pin
Posted on September 13, 2012 at 11:00
Hi All,
I have a fully functioning RTC on the STM32103. however it is fast by about 30 seconds over a 24hr period. The RTC is running from external 32768Hz crystal. Anyway for now i want to output RTC seconds signal on tamper pin but i have tried the following settings and see nothing on the tamper pin! What am i doing wrong? /*PC13 - (Tamper Pin) Configure as.... */ GPIO_InitStructure.GPIO_Pin = GPIO_Pin_13; GPIO_InitStructure.GPIO_Speed = GPIO_Speed_50MHz; GPIO_InitStructure.GPIO_Mode = GPIO_Mode_Out_PP; GPIO_Init(GPIOC, &GPIO_InitStructure); /* Output seconds signal on the Tamper pin */ BKP_TamperPinCmd(DISABLE);/* disable tamper pin function */ BKP_RTCOutputConfig(BKP_RTCOutputSource_Second); /* output signal */ #rtc-tamper-pin-output-signal