Skip to content

Commit 82af34e

Browse files
zfieldsfpistm
authored andcommitted
swan_r5: Increase LSE drive strength
Increase drive strength of 32kHz external crystal, in line with calculations specified in ST AN2867 sections 3.3, 3.4, and STM32L4 datasheet DS12023 Table 58. LSE oscillator characteristics.
1 parent c4400cb commit 82af34e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

variants/STM32L4xx/L4R5Z(G-I)Y_L4R9Z(G-I)Y_L4S5ZIY_L4S9ZIY/variant_SWAN_R5.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ WEAK void SystemClock_Config(void)
160160
/** Configure LSE Drive Capability
161161
*/
162162
HAL_PWR_EnableBkUpAccess();
163-
__HAL_RCC_LSEDRIVE_CONFIG(RCC_LSEDRIVE_LOW);
163+
__HAL_RCC_LSEDRIVE_CONFIG(RCC_LSEDRIVE_MEDIUMLOW);
164164
/** Initializes the RCC Oscillators according to the specified parameters
165165
* in the RCC_OscInitTypeDef structure.
166166
*/

0 commit comments

Comments
 (0)