Multiple interrupt processing simultaneously in LPC11U24

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Multiple interrupt processing simultaneously in LPC11U24

464件の閲覧回数
lpcware
NXP Employee
NXP Employee
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
0 件の賞賛
返信
0 返答(返信)