lpcware

Multiple interrupt processing simultaneously in LPC11U24

Discussion created by lpcware Employee on Jun 15, 2016
Content originally posted in LPCWare by saraswathi on Thu Jun 13 01:39:53 MST 2013
Hi,

I have a device with LPC11U24, which need to process one interrupt inside other interrupt. For example, I need to capture UART data upto 64 bytes and send it to host. If the received data is less than 64 bytes, then I need to implement timeout condition and send the available data to host.
However, when I implemented this code, i.e. enabling timer at the first byte of UART data receiving(Inside UART_IRQHandler function) and disabling the timer when the condition met to transfer the data to host is not working.

I am using LPCXpresso and tried debugging the source code. In this case TIMER16_0_IRQHandler is not at  all called.

Is processing one interrupt inside other interrupt not allowed?
If we need to do this what are the changes I need to do for interrupt setting?
Is it related to priority setting of interrupts?

Can anyone help me out solve this issue.

With regards
Saraswathi C

Outcomes