Search found 2 matches

by heiko
Fri Mar 11, 2016 5:19 pm
Forum: STM32 Support
Topic: STM32F4 clock configuration
Replies: 1
Views: 3384

STM32F4 clock configuration

Hi,

on an STM32F407, I changed the clock configuration as follows, to achieve a system clock of 144MHz instead of the standard 168MHz (in order to be able to use the maximum clock for ADC):
#define STM32_HSE_ENABLED TRUE // HSE 8MHz
#define STM32_CLOCK48_REQUIRED TRUE
#define STM32_SW STM32_SW_PLL ...
by heiko
Sat Jun 28, 2014 8:27 pm
Forum: STM32 Support
Topic: STM32F103 ADC hangs with short sample times
Replies: 1
Views: 3711

STM32F103 ADC hangs with short sample times

Hi,

for a motor controller application, I am trying to sample voltage using ADC1 as often as possible. I have configured the ADC clock to 14MHz by setting in mcuconf.h:

#define STM32_NO_INIT FALSE
#define STM32_HSI_ENABLED TRUE // 8MHz HSI RC -> 4MHz PLL Source
#define STM32_LSI_ENABLED FALSE ...