Skip to content

Commit

Permalink
Update LSI typical value to 38MHz (datasheet value)
Browse files Browse the repository at this point in the history
MBED_16 test re-checked ok with LSI on the 3 STM32L0 platforms.
  • Loading branch information
bcostm committed Mar 25, 2016
1 parent 3d6e522 commit 481a451
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 481a451

Please sign in to comment.