We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a316902 commit c65d254Copy full SHA for c65d254
targets/TARGET_STM/TARGET_STM32H7/analogin_device.c
@@ -36,9 +36,9 @@ void analogin_pll_configuration(void)
36
37
RCC_PeriphCLKInitTypeDef PeriphClkInitStruct = {0};
38
PeriphClkInitStruct.PeriphClockSelection = RCC_PERIPHCLK_ADC;
39
- PeriphClkInitStruct.PLL2.PLL2M = 4;
40
- PeriphClkInitStruct.PLL2.PLL2N = 240;
41
- PeriphClkInitStruct.PLL2.PLL2P = 2;
+ PeriphClkInitStruct.PLL2.PLL2M = 32;
+ PeriphClkInitStruct.PLL2.PLL2N = 120;
+ PeriphClkInitStruct.PLL2.PLL2P = 6;
42
PeriphClkInitStruct.PLL2.PLL2Q = 2;
43
PeriphClkInitStruct.PLL2.PLL2R = 2;
44
PeriphClkInitStruct.PLL2.PLL2RGE = RCC_PLL2VCIRANGE_1;
0 commit comments