AnsweredAssumed Answered

No RTC signal output on tamper pin

Question asked by kadir.abdul on Sep 13, 2012
Latest reply on Dec 3, 2012 by fakhfakh.mohamed
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 */