Question
USB configuration conflicts with RTC_SetTime
Posted on October 31, 2013 at 15:08
Hi everybody,
I'm using a STM32 L152CB microcontroller with external clock. Initially I used it without USB and the RTC_SetTime worked. Since I configured the USB, the function (RTC_SetTime) doesn't work and my RTC_TimeTypeDef struct is always to 0 for each parameters (day, month, etc..) The micro's frequency is 16Mhz and the USB's clock is 48Mhz. Have you suggestions? Thanks! #rtc #clock #usb