Skip to content

Commit 481a451

Browse files
committed
Update LSI typical value to 38MHz (datasheet value)
MBED_16 test re-checked ok with LSI on the 3 STM32L0 platforms.
1 parent 3d6e522 commit 481a451

File tree

1 file changed

+1
-1
lines changed
  • libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32L0

1 file changed

+1
-1
lines changed

libraries/mbed/targets/hal/TARGET_STM/TARGET_STM32L0/rtc_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ void rtc_init(void)
8787
__HAL_RCC_RTC_CLKPRESCALER(RCC_RTCCLKSOURCE_LSI);
8888
__HAL_RCC_RTC_CONFIG(RCC_RTCCLKSOURCE_LSI);
8989
// This value is LSI typical value. To be measured precisely using a timer input capture for example.
90-
rtc_freq = 32000;
90+
rtc_freq = 38000;
9191
#endif
9292

9393
// Enable RTC

0 commit comments

Comments
 (0)