Quality RTOS & Embedded Software

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


FreeRTOS Interrupt Processing

Posted by sindhukrishna on February 3, 2015

Hello Team!

I use FreeRTOS with TMS570 series of MCU. I wish to understand the way External Interrupts get processed when the Interrupt Handlers are not written inside a Task(Semaphore is not used for synchronisation of ISR with Scheduler). Kindly explain behaviour of the Scheduler when above case is consider.

Also please do explain about any other solution(if any) for Interrupt Management other than using Queue or Semaphore.

Thanks in Advance!

FreeRTOS Interrupt Processing

Posted by davedoors on February 3, 2015

Tasks only run if an interrupt is not running. If an interrupt runs then the TMS570 jumps to the interrupt handler just like it would if FreeRTOS was not running. When the interrupt handler exits the interrupted task starts running again. So interrupt handlers are never written >inside< a task. You can use FreeRTOS to synchronize a task with an interrupt if you want, that is all. You already mentioned a semaphore, recently notifications were added as a simpler way to do the same thing.


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

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

Latest News

FreeRTOS v10.2.1 is available for immediate download. MIT licensed, includes 64-bit RISC-V, NXP Cortex-M33 demo, Nuvoton Cortex-M23 demo & STM32H745 dual core (AMP) demo.

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

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

Cadence Tensilica Cortes

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