cancel
Showing results for 
Search instead for 
Did you mean: 

RTC out in the STM32L151UC

detmanenin
Associate
Posted on February 10, 2015 at 04:09

Hello,

I'm using the STM32L151UC and set the RTC clock with 32.768KHz.

Can we generate the 64Hz out from RTC_OUT on PC13?

#stm32l151 #rtc_out
1 REPLY 1
Posted on February 10, 2015 at 10:27

> I'm using the STM32L151UC and set the RTC clock with 32.768KHz.

> Can we generate the 64Hz out from RTC_OUT on PC13?

According to the ''Calibration clock output'' chapter in RM0038, on other than Cat1 devices you should be able to achieve that by setting the asynchronous prescaler to divide by 2 (PREDIV_A = 1) and the synchronous then to divide by 16384; and having COSEL bit set. But doing so has consequences e.g. on power consumption, RTC calibration - read thoroughly the whole RTC chapter.

JW