cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F0308-DISCOVERY RTC (32khz Osc)

vendor
Associate II
Posted on March 13, 2014 at 16:59

I am attempting to utilize the RTC on STM32F0308-Discovery board. I imported this code from the SMT32f standard peripheral library. However, while attempting to debug, the code hangs on command 

 /* Wait till LSE is ready */  

  while(RCC_GetFlagStatus(RCC_FLAG_LSERDY) == RESET)

  {}

In doing some research this LSERDY != RESET when the 32.768khz crystal is stable.  So my thoughts are that this is a hardware problem, perhaps the missing XTAL3 on discovery board? 

In checking the schematic, I found part♯ MC306-G-06Q-32.768 (JFVNY) referenced. However, I cannot find that part or an equivalent anywhere, the closest I could find was Digikey PN CTX1178TR-ND,  CTS Frequency Controls, TC32C5132K7680. ($1.20) However, I am not sure if this is the same as part refenenced as the schematic shows a ckt with resistors/caps from/to each pin, this part appears to be the same footprint, but not sure if is functionally equivalent. 

Is there another way to implement the RTC (I need a 36 hour timer) accurate to +/- 10 or less secs per 24 hours. (Perhaps external RC ckt to pins PC 14/ PC 15?

I thank you in advance.

rick43065

#rtc #stm32f0308 #discovery
2 REPLIES 2
Posted on March 13, 2014 at 17:05

It's an EPSON company now

http://www.digikey.com/product-detail/en/MC-306%2032.768K-E3:ROHS/SER2417CT-ND/1532560

http://www.mouser.com/ProductDetail/Epson-Timing/MC-306-32768K-E3ROHS/?qs=sGAEpiMZZMu1CxYMhM6ijysxOz5Zol2S

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
vendor
Associate II
Posted on March 13, 2014 at 19:13

Thanx !!

Digikey had them in stock.

rick43065