LPC11E67: USART1_3 combined interrupt sources not working

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

LPC11E67: USART1_3 combined interrupt sources not working

ソリューションへジャンプ
628件の閲覧回数
harshalamasurek
Contributor I

We are using LPC11E67JBD100 processor that has a combined interrupt slot for USART 2 & USART 3. When USART 2 is disabled and USART 3 is enabled, USART 3 works fine and vice versa. However since both have same the interrupt sources, they are not working simultaneously. I have tried keeping them at different baud rates. The breakpoint (in debugging mode) does not stop in the USART2_3 interrupt handler. Please suggest suitable line of action.

ラベル(1)
0 件の賞賛
返信
1 解決策
479件の閲覧回数
TICS_Fiona
NXP Employee
NXP Employee

Hello Harshala

After running for a while, please stop the debugger and check these Registers:

1) USART Interrupt Enable read and set register: 0x4007 000C (USART2), 0x4007 400C (USART3)

Please check whether various USART interrupt sources have been enabled.

2) USART Status Register: 0x4007 0008 (USART2), 0x4007 4008(USART3).

Please check whether the data is ready to be read from receiver buffer, and whether there’s parity error, framing error, overrun and so on.

3) USART Receiver Data with Status register: 0x4007 0018 (USART2), 0x4007 4018 (USART3)

Please check whether the data is already received, and whether is any noise or error.

4) USART Interrupt Status register: 0x4007 0024 (USART2), 0x4007 4024 (USART3)

Please check whether any interrupt is currently enabled.

Best Regards

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
480件の閲覧回数
TICS_Fiona
NXP Employee
NXP Employee

Hello Harshala

After running for a while, please stop the debugger and check these Registers:

1) USART Interrupt Enable read and set register: 0x4007 000C (USART2), 0x4007 400C (USART3)

Please check whether various USART interrupt sources have been enabled.

2) USART Status Register: 0x4007 0008 (USART2), 0x4007 4008(USART3).

Please check whether the data is ready to be read from receiver buffer, and whether there’s parity error, framing error, overrun and so on.

3) USART Receiver Data with Status register: 0x4007 0018 (USART2), 0x4007 4018 (USART3)

Please check whether the data is already received, and whether is any noise or error.

4) USART Interrupt Status register: 0x4007 0024 (USART2), 0x4007 4024 (USART3)

Please check whether any interrupt is currently enabled.

Best Regards

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信