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] [November 2016 Threads]
Hello,
I am using FreeRTOS+TCP from FreeRTOS Lab Version 160919 on the Zedboard with a ZYNQ SOC. I have 2 Tasks running. The first task has the highest priority and calls a calculation function periodically using vTaskDelayUntil(). The tick rate is 10000Hz and the calculation function is called every 10 microseconds. The second task just idles in a forever loop doing nothing and has low priority.
I get a jitter of the second function call in the range of 30ns.
Now to my problem: When I activate the IP stack using FreeRTOS_IPInit I get a jitter which is way higher than before and in the range of 7µs.
The task priorities are: Task1: 5, Task2: 1, IP-Task: 2, Tmr Svc:6
Can you explain this behaviour? Is there any way to reduce the jitter introduced by the IP-Task?
Thank you for your help.
Best regards,
pixt
I suspect the difference is caused by the interrupts generated by the IP
traffic. Interrupts will always take precedence over tasks.
Most applications will use a tick frequency of about 100Hz, and we would
normally recommend not going over 1KHz. You are using 10KHz. Can you
reduce the tick frequency and perform your high frequency calculation in
a high priority timer interrupt?
Yes, I will give it a try. Thank you for the help.
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.