From 481a451f2cf5ac8b9ded65f543d2ff75c51b96cb Mon Sep 17 00:00:00 2001 From: bcostm Date: Fri, 25 Mar 2016 14:56:01 +0100 Subject: [PATCH] Update LSI typical value to 38MHz (datasheet value) MBED_16 test re-checked ok with LSI on the 3 STM32L0 platforms. --- libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32L0/rtc_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32L0/rtc_api.c b/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32L0/rtc_api.c index d8c816b36e..43e98f08c6 100644 --- a/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32L0/rtc_api.c +++ b/libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32L0/rtc_api.c @@ -87,7 +87,7 @@ void rtc_init(void) __HAL_RCC_RTC_CLKPRESCALER(RCC_RTCCLKSOURCE_LSI); __HAL_RCC_RTC_CONFIG(RCC_RTCCLKSOURCE_LSI); // This value is LSI typical value. To be measured precisely using a timer input capture for example. - rtc_freq = 32000; + rtc_freq = 38000; #endif // Enable RTC