Quality RTOS & Embedded Software

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


Loading

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.

http://www.freertos.org/RTOS-task-notifications.html


[ 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.


Careers

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

Renesas

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