Quality RTOS & Embedded Software

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


LPC2148 and UART IRQ

Posted by Borut on March 18, 2008
Hello to all,

I have a question that might have very straight forward answer but I don't see it. I have a problem generating IRQ for UART0 THRE (transmit reg. empty). What I want to know is what is the correct procedure to install an IRQ within FreeRTOS - should i do it before scheduler is started or it doesn't matter and how to install the THRE interrupt, because i know that there is some special initialization proccedure required for LPC2000 UART to generate IRQ's for THRE. I used the LPC2106 Rowley port (I'm using Rowley) for serial APIs but i don't get any interrupts generated.

thank you all for your help.

Regards, Borut

RE: LPC2148 and UART IRQ

Posted by Dave on March 18, 2008
I presume you did not change the sample driver included in the FreeRTOS download? Are you also using the startup code from the FreeRTOS demo? You need to set the IRQ interrupts to vector directly to the handler.

RE: LPC2148 and UART IRQ

Posted by Borut on March 18, 2008
I did the project on my own and I will check again for differences against the demo app. But still what is the right way to go about installing a new IRQ? What are the specifics one must take care about when trying to have an IRQ? Only that you have a wrapper function and a handler function?



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

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