diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2025-05-31 02:01:39 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2025-05-31 15:20:12 -0400 |
commit | cfa48fe39f1bb87a6b2766edd953c77c205ba7f5 (patch) | |
tree | 85f24ea6d25372a66a18cce4fbc68f288d468aa9 /src/stm32/stm32h7_adc.c | |
parent | 2dd73d0431a2e6a0a88d5ebd95ffa870b1b45831 (diff) | |
download | kutter-cfa48fe39f1bb87a6b2766edd953c77c205ba7f5.tar.gz kutter-cfa48fe39f1bb87a6b2766edd953c77c205ba7f5.tar.xz kutter-cfa48fe39f1bb87a6b2766edd953c77c205ba7f5.zip |
stm32: Run stm32g431 at 170Mhz
The chip supports 170Mhz, so no need to run at 150Mhz.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stm32/stm32h7_adc.c')
-rw-r--r-- | src/stm32/stm32h7_adc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stm32/stm32h7_adc.c b/src/stm32/stm32h7_adc.c index 0d7d00f9..ca50b0c1 100644 --- a/src/stm32/stm32h7_adc.c +++ b/src/stm32/stm32h7_adc.c @@ -164,7 +164,7 @@ static const uint8_t adc_pins[] = { // 520Mhz stm32h723: clock=32.5Mhz, Tsamp=387.5, Tconv=394, total=12.12us // 520Mhz stm32h723 adc3: clock=65Mhz, Tsamp=640.5, Tconv=653, total=10.05us // 80Mhz stm32l4: clock=20Mhz, Tsamp=247.5, Tconv=260, total=13.0us -// 150Mhz stm32g4: clock=37.5Mhz, Tsamp=247.5, Tconv=260, total=6.933us +// 170Mhz stm32g4: clock=42.5Mhz, Tsamp=247.5, Tconv=260, total=6.118us // Handle register name differences between chips #if CONFIG_MACH_STM32H723 |