Quality RTOS & Embedded Software

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


How to use external interrupt with FreeRTOS

Posted by Sarun Chattunyakit on October 7, 2010
I use LPC2148 with FreeRTOS and I want to test xSemaphoreGiveFromISR function. I try to use only external interrupt it work but when I use FreeRTOS it doesn't work. I guess this problem is happen because startup file. I use one startup file with one project it can run freeRTOS but I use another startup file is cannot run freeRTOS but can run external interrupt. I check the different between 2 files I found this

ISR_Stack_Size EQU (UND_Stack_Size + SVC_Stack_Size + ABT_Stack_Size + \
FIQ_Stack_Size + IRQ_Stack_Size)

in the project that can run external interrupt but FreeRTOS doesn't work.
How can I do with startup file?

I use Keil IDE

Thank you

RE: How to use external interrupt with FreeRTOS

Posted by MEdwards on October 7, 2010
I think the LPC2138 demo uses an external interrupt connected to a button on the Crossfire board. Can you copy that?

[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS v10.2.1 is available for immediate download. MIT licensed, includes 64-bit RISC-V, NXP Cortex-M33 demo, Nuvoton Cortex-M23 demo & STM32H745 dual core (AMP) demo.

NXP tweet showing LPC5500 (ARMv8-M Cortex-M33) running FreeRTOS.

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

Cadence Tensilica Cortes

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