Skip to content
  1. Apr 04, 2015
  2. Apr 03, 2015
  3. Apr 02, 2015
  4. Apr 01, 2015
  5. Mar 31, 2015
  6. Mar 30, 2015
  7. Mar 29, 2015
    • Gregory Nutt's avatar
    • Gregory Nutt's avatar
      Update ChangeLog · 805be6fe
      Gregory Nutt authored
      805be6fe
    • Gregory Nutt's avatar
      The STM32F4Discovery board doesn't come with a Low speed external oscillator... · f1c79423
      Gregory Nutt authored
      The STM32F4Discovery board doesn't come with a Low speed external oscillator so the default LSE source for the RTC doesn't work.
      
      In stm32_rtcc.c the up_rtcinitialize() logic doesn't work with the LSI. The check on RTC_MAGIC on the BK0R register lead to rtc_setup() call that rightfully enables the lsi clock; but the next times, when the rtc is already setup, the rtc_resume() call does NOT start the lsi clock!
      
      The right place to put LSE/LSI initialisation is inside stm32_stdclockconfig() in stm32fxxxxx_rcc.c.  Doing this I checked the possible uses of the LSI and the LSE sources: the LSI can be used for RTC and/or the IWDG, while the LSE only for the RTC (and to output the MCO1 pin)..
      
      This change is not verifed for any other platforms.
      
      From Leo Aloe3132
      f1c79423