Quality RTOS & Embedded Software

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




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