diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2020-11-08 18:31:02 -0500 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2020-11-08 18:31:02 -0500 |
commit | e12639c46f0be29461803ffa1790d6f69c16d280 (patch) | |
tree | 5195f6ce497d702cef57bd752a9ec5c054855a87 /cfg/mcuconf.h | |
parent | f3e4d176d5922a13ce2615895cea1e197175984a (diff) |
fixed sample rate setting
Diffstat (limited to 'cfg/mcuconf.h')
-rw-r--r-- | cfg/mcuconf.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cfg/mcuconf.h b/cfg/mcuconf.h index 929e049..caad802 100644 --- a/cfg/mcuconf.h +++ b/cfg/mcuconf.h @@ -69,7 +69,7 @@ #define STM32_PLLSAI1R_VALUE 4
#define STM32_PLLSAI2N_VALUE 24
#define STM32_PLLSAI2P_VALUE 7
-#define STM32_PLLSAI2R_VALUE 2
+#define STM32_PLLSAI2R_VALUE 8
/*
* Peripherals clock sources.
@@ -88,7 +88,7 @@ #define STM32_SAI1SEL STM32_SAI1SEL_OFF
#define STM32_SAI2SEL STM32_SAI2SEL_OFF
#define STM32_CLK48SEL STM32_CLK48SEL_PLLSAI1
-#define STM32_ADCSEL STM32_ADCSEL_PLLSAI1
+#define STM32_ADCSEL STM32_ADCSEL_PLLSAI2
#define STM32_SWPMI1SEL STM32_SWPMI1SEL_PCLK1
#define STM32_DFSDMSEL STM32_DFSDMSEL_PCLK2
#define STM32_RTCSEL STM32_RTCSEL_LSI
|