Quality RTOS & Embedded Software

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


ARM9 nested interrupts do not work - FreeRTOS

Posted by Subhash on May 29, 2012

I have FreeRTOS running on the STR912xx processor with ARM9 core. I am facing a problem with the external interrupt. An external device asserts an interrupt, and it doesn't get serviced. The interrupt works for most of the time but there are cases when it doesn't. I suspect that when it coincides with the TIM2 interrupt, it doesn't work. The timer 2 interrupt has a higher priority than the EXT0 interrupt.

In a thread "Arm- nested irqs" Richard had mentioned that he has code for nested IRQ handling for the FreeRTOS. I had gone through all the details of this thread and convinced that I need nested IRQ handling. I would appreciate if Richard or anyone else shares this code.

Thank you very much for your help.

RE: ARM9 nested interrupts do not work - FreeRTOS

Posted by Dave on May 30, 2012
FreeRTOS has built in interrupt nesting support for lots of cores, but not ARM7/9 because it is so complex. Have you tried using the FIQ instead of the IRQ? Chip companies often supply application notes on interrupt nesting on these cores. I know NXP do, maybe ST do too.

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


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


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