This works, thanks a lot. I will work on a patch fixing this issue in
toggle quoted messageShow quoted text
the defconfig of stm32f4_disco.
Am 31.07.2017 um 15:08 schrieb Yannis Damigos:
On Fri, Jul 28, 2017 at 10:54 AM, Andreas Kölbl
I'm quite new to zephyr and I'm working on a stm32f4_discovery board
I tried the blinky application from examples (enabled the corresponding
GPIO in the config).
I didn't change the base clock setup from the configuration. With that,
I discovered the k_sleep interval is kind of wrong. It sleeps about 3,5
times longer than it should be.
I also tried another GPIO-Pin (PB8) to toggle instead of the LED in the
example and measured the frequency with a scope. It measured an
frequency (ACTIVE_HIGH->ACTIVE_HIGH) of 214.09mHz which should be 500mHz.
Am I missing something here?
The default values could be wrong. Using the Clock configuration tool
for STM32F40x/41x microcontrollers (AN3988) from
the default values should be:
# Clock configuration for Cube Clock control driver
# use HSE as PLL input
# produce 168MHz clock at PLL output
I don't have the hardware, could you test the above values?
Zephyr-users mailing list