aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32/stm32g4.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2025-05-31 17:00:18 -0400
committerKevin O'Connor <kevin@koconnor.net>2025-06-02 13:15:53 -0400
commit105ce35e1ba813b7ebe1be2a87fd852a5f7b66f5 (patch)
tree0c0c55df7baba74b5eaf4f400744cc4e2e9a93dc /src/stm32/stm32g4.c
parentc0ca4c5cc7379046221a250ce9c90f514e85ca7e (diff)
downloadkutter-105ce35e1ba813b7ebe1be2a87fd852a5f7b66f5.tar.gz
kutter-105ce35e1ba813b7ebe1be2a87fd852a5f7b66f5.tar.xz
kutter-105ce35e1ba813b7ebe1be2a87fd852a5f7b66f5.zip
stm32: Add comments on PLL frequency requirements to clock setup code
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stm32/stm32g4.c')
-rw-r--r--src/stm32/stm32g4.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stm32/stm32g4.c b/src/stm32/stm32g4.c
index 02c9656f..3301071e 100644
--- a/src/stm32/stm32g4.c
+++ b/src/stm32/stm32g4.c
@@ -76,6 +76,8 @@ gpio_clock_enable(GPIO_TypeDef *regs)
RCC->AHB2ENR;
}
+// PLL (g4) input: 2.66 to 16Mhz, vco: 96 to 344Mhz, output: 2.06 to 170Mhz
+
#if !CONFIG_STM32_CLOCK_REF_INTERNAL
DECL_CONSTANT_STR("RESERVE_PINS_crystal", "PF0,PF1");
#endif