We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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
Jack; When you use RTX, it handles the interrupt nesting. Just be sure that you have all interrupt vectors defined in your start-up and as someone else pointed out, make sure that you have sufficient stack spaces defined before starting RTX. Bradford