Skip to content

Commit 73ab22e

Browse files
FRASTMkartben
authored andcommitted
drivers: clock control of some stm32f4x has no 48MHz from PLL i2s
Remove the LL_RCC_PLLI2S_ConfigDomain_48M for the stm32f4 w/o Q divider on the PLLI2S to configure the PLL48CK Signed-off-by: Francois Ramu <[email protected]>
1 parent bba13ae commit 73ab22e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/clock_control/clock_stm32f2_f4_f7.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ void config_plli2s(void)
157157
STM32_PLLI2S_N_MULTIPLIER,
158158
plli2sr(STM32_PLLI2S_R_DIVISOR));
159159

160-
#if STM32_PLLI2S_Q_ENABLED
160+
#if STM32_PLLI2S_Q_ENABLED && !defined(RCC_DCKCFGR_PLLI2SDIVQ)
161161
/* There is a Q divider on the PLLI2S to configure the PLL48CK */
162162
LL_RCC_PLLI2S_ConfigDomain_48M(get_pll_source(),
163163
plli2sm(STM32_PLLI2S_M_DIVISOR),

0 commit comments

Comments
 (0)