Skip to content

Commit 3fa878f

Browse files
committed
Change LSI_VALUE in STM implementation.
Wrong LSI value might be causing problems witch watchdogs.
1 parent 1c32e3c commit 3fa878f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

targets/TARGET_STM/TARGET_STM32F0/device/stm32f0xx_ll_rcc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ typedef struct
141141
#endif /* LSE_VALUE */
142142

143143
#if !defined (LSI_VALUE)
144-
#define LSI_VALUE 32000U /*!< Value of the LSI oscillator in Hz */
144+
#define LSI_VALUE 40000U /*!< Value of the LSI oscillator in Hz */
145145
#endif /* LSI_VALUE */
146146
#if defined(RCC_HSI48_SUPPORT)
147147

targets/TARGET_STM/TARGET_STM32F3/device/stm32f3xx_ll_rcc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ typedef struct
146146
#endif /* LSE_VALUE */
147147

148148
#if !defined (LSI_VALUE)
149-
#define LSI_VALUE 32000U /*!< Value of the LSI oscillator in Hz */
149+
#define LSI_VALUE 40000U /*!< Value of the LSI oscillator in Hz */
150150
#endif /* LSI_VALUE */
151151
/**
152152
* @}

targets/TARGET_STM/TARGET_STM32L1/device/stm32l1xx_ll_rcc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ typedef struct
131131
#endif /* LSE_VALUE */
132132

133133
#if !defined (LSI_VALUE)
134-
#define LSI_VALUE 32000U /*!< Value of the LSI oscillator in Hz */
134+
#define LSI_VALUE 37000U /*!< Value of the LSI oscillator in Hz */
135135
#endif /* LSI_VALUE */
136136
/**
137137
* @}

0 commit comments

Comments
 (0)