This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How many interrupts does RTX can be handle at the same time?

Hi All,
I am using MCB2300 board(LPC2368).
If RTX can handle interrupts from 4 UARTs,2 CAN Ports and 1 USB port(4 endpoints) simultaneously?

I tried RTX interrupt handle ablity like this:
keeps sending characters from UART0(115200bps)to a PC,
UART1 keeps sending characters to UART3, and UART3 sends back what it receives.CAN1 keeps sending data to CAN2 , and USB receives data from PC and sends button value to PC(USB works exactly same as RTL_HID USB example code, control 8 LEDs from PC and send button status to PC).
I found if I do not run HID_Client software on PC side, my code works fine.when I run HID_Client my code works less than 1 minute and then stop at:
PAbt_handle B PAbt_handle

in LPC2300.s
Anybody knows what's wrong? it is nested interrupt problem?

Thanks

Jack

Parents
  • Do you allow nested interrupts?

    Do you have any critical data structure that is used by multiple threads or by threads and interrupts or by multiple interrupts (if nested interrupts are allowed)?

    Have you verified the percentage of the processor that is needed to service all your interrupts?

Reply
  • Do you allow nested interrupts?

    Do you have any critical data structure that is used by multiple threads or by threads and interrupts or by multiple interrupts (if nested interrupts are allowed)?

    Have you verified the percentage of the processor that is needed to service all your interrupts?

Children