FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [February 2015 Threads]
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!
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
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.