Quality RTOS & Embedded Software

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




Loading

interrupt

Posted by Mohammed Abuteir on July 14, 2010
As every ones knows the scheduler of FreeRTOS disable all the interrupt till the end of all tasks. The question is: should be some mouthed if any interrupt come brake the scheduler of FreeRTOS and after that return bake to the scheduler?
Thank you very much
Mody

RE: interrupt

Posted by Richard on July 14, 2010
“As every ones knows the scheduler of FreeRTOS disable all the interrupt till the end of all tasks.”


No it doesn't. Some ports never disable all interrupts at all.

Regards.

RE: interrupt

Posted by Mohammed Abuteir on July 14, 2010
thank you for your answer, that mean : when run the scheduler of FreeRTOS I can do the Interrupt if that true how??

Regards.

Mody

RE: interrupt

Posted by Richard on July 14, 2010
Sorry I cannot give you a clear answer because it is not clear to me what you are asking. What is is you want to do? Which processor are you using? Which compiler are you using?

Regards.

RE: interrupt

Posted by Adam Turowski on July 14, 2010
FreeRTOS uses only one interrupt (usually a timer) to provide a tick signal to FreeRTOS scheduler. It doesn't care about the rest of interrupts, so they can be used by your application.

How to use them? Look at FreeRTOS function calls ending with ISR i.e. xSemaphoreGiveFromISR

Hope that helps,
Adam

RE: interrupt

Posted by Mohammed Abuteir on July 15, 2010
I am using ATMega323 from AVR and using GCC software. If you can clear for me: how can do the interrupt (ISR) for Timer/account 2 during run the scheduler of FreeRTOS.

Note: the FreeRTOS using the Timer1.

Thank you for your answer.

RE: interrupt

Posted by Dave on July 15, 2010
Can you not copy how Timer1 is used, and copy the UART example. I think the WinAVR manual and the "how FreeRTOS works" section of the FreeRTOS site provide lots of information specific to the AVR too.


[ 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