Author Options:

The RTC Routine of STM32 Answered

Good afternoon~everybody
Please allow me to express my appreciation to you for taking time to read my post.I am a new hand in the electronics. And I met some troubles now.Could you give me some suggestions?
Maybe my question is simple for you.
The chip I used is STM32F100 and I use RTC routine from atom. But my program always shows:
while (RCC_GetFlagStatus(RCC_FLAG_LSERDY) == RESET)

What’s wrong? How to solve it?
PS: This is data-sheet of STM32F100: http://www.kynix.com/uploadfiles/pdf8798/STM32F100C4T6B.pdf  Please have a look if needed.



The forums are retiring in 2021 and are now closed for new topics and comments.