Question
configure LSE for RTC on a STM32F4DISCOVERY board.
Posted on January 01, 2015 at 09:39
Hello, hapy 2015 to all.
I try to use an external LSE for RTC a STM32F4DISCOVERY . I follow indication of clive1 on this post: https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder=https%3a%2f%2fmy.st.com%2fpublic%2fSTe2ecommunities%2fmcu%2fLists%2fSTM32Discovery%2fUsing%20LSE%20for%20RTC%20on%20a%20STM32F4DISCOVERY%20board&FolderCTID=0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F¤tviews=1814 Component i used are: http://it.farnell.com/webapp/wcs/stores/servlet/ProductDisplay?catalogId=15001&langId=-4&urlRequestType=Base&partNumber=2101354&storeId=10165 http://it.farnell.com/webapp/wcs/stores/servlet/ProductDisplay?catalogId=15001&langId=-4&urlRequestType=Base&partNumber=2332630&storeId=10165 Problem is that the RTC_Config function is nont able to get the LSE ready and don't retriev correct flag SET. /* Wait till LSE is ready */ while(RCC_GetFlagStatus(RCC_FLAG_LSERDY) == RESET) {} I checked connection and they sems ok. Anyone have suggestion to sort out ? what can i do? Regards, Carmelo