Quality RTOS & Embedded Software

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


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


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)


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

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

Latest News

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

Meet Richard Barry and learn about running FreeRTOS on RISC-V at FOSDEM 2019

Version 10.1.1 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

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

Xilinx Microblaze and Zynq partner