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] [May 2017 Threads]
Hi all,
We have a strange problem in using a time critial interrupt (samplin input) in conjunction with the freeRTOS.
my first question is, how long a yield is, which uses the critical section and disables the global interrupts.
So this could be the reason for blocking the interrupt.
I would expect, that the yield should not block that long the interupt or i am i something missing?
Any ideas are welcome. I have to check, if the RTOS itself is the problem for the issues in our application.
Best regards
Holle
If you are referring to the context switch time then you can find some
information for a Cortex-M3 on the link below. An M0 will be a bit
slower due to its more limited instruction set.
Also unlike an M3, the M0 will globally disable interrupts in a critical
section - do you have long critical sections?
(taskENTERCRITICAL()/taskEXITCRITICAL)
http://www.freertos.org/FAQMem.html#ContextSwitchTime
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.