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] [September 2009 Threads] High tick freq., starving and overhead?Posted by Albin Stigo on September 26, 2009 Hi,
I'm working on a open source midi controller (keyboard). It has a keyboard, an LCD display and 8 rotary encoders. I would like the keyboard matrix (8x24 switches) to be scanned exactly every 1ms (there are to switches under each key for measuring velocity, because of this bouncing is not a big problem). The encoders and LCD is not time critical. I'm using an atmega128 running at 12MHz.
What Tick Frequency would be appropriate?? What is the overhead of the rtos kernel? Instructions / tick, instructions / context switch?
Atb, Albin
RE: High tick freq., starving and overhead?Posted by MEdwards on September 26, 2009 Why not just use a tick frequency of 1KHz then use the tick hook to do the scanning?
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|