FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [December 2014 Threads] STM32F407 Discovery Board timers run faster than custom boardPosted by bg02478 on December 5, 2014 FreeRTOS on Discovery board one tick = 1 msec
FreeRTOS on custom board one tick = 10 msec (same code as running on Discovery Board)
Uart code Interrupt driven runs on both boards
ADC/DMA Interrupt driven code runs on both boards
Where is the setup for external crystal vs. internal oscillator?
Would this explain the factor of 10 slower ticks?
If not, what do I change? Just some FreeRTOS parameters?
Would this affect the operation of GPIO pins?
Thanks
STM32F407 Discovery Board timers run faster than custom boardPosted by rtel on December 5, 2014 You have to tell FreeRTOS the speed at which the clock is running using configCPUCLOCKHZ in FreeRTOSConfig.h. How you configure the clock is outside the scope of FreeRTOS, and FreeRTOS has no way of knowing this (unlike a BIOS based system such as a PC there is no location it can read this information from).
Regards.
STM32F407 Discovery Board timers run faster than custom boardPosted by bg02478 on December 5, 2014 Thanks, I think I need to fix SystemInit() in system_stm32f4xx.c
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|