Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

How long (cycles) is a yield on a Cortex-M0+?

Posted by ljskinny on May 11, 2017

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


How long (cycles) is a yield on a Cortex-M0+?

Posted by rtel on May 11, 2017

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


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS