cancel
Showing results for 
Search instead for 
Did you mean: 

No RTC signal output on tamper pin

abdulk
Associate
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
3 REPLIES 3
Posted on September 13, 2012 at 14:25

Make sure you have the BKP/PWR unit clocked, and that you unlock it.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
fakhfakh2
Associate II
Posted on November 29, 2012 at 10:20

Hi,

I was wondering if you already found a solution because i'am having the same problem.

I tried to lock and unlock bkp access every time I modified the bkp registers but nothing changes. it works perfectly with 512Hz output signal but when i want to have 1hz, the output signal stabilizes in active level of the pin.

thanks in advance,

fakhfakh2
Associate II
Posted on December 03, 2012 at 09:26

Hi,

the 1 second output signal happened so quickly (32µs every 1 second) so i didn't catch it at first But it's there.