Hi VIGNESH BALAJI,
The KEA128 supports four priority levels for interrupts.
The default priority, CAN have the lowest priority, but you can use the ARM priority register to set the CAN as the higher priority than the UART.
You can use thevoid NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority) function to configure the MSCAN priority.
Now answer your questions.
1. If the second UART message is coming later the CAN message, of course the MSCAN message will be served at first.
But if the seconed UART and the MSCAN interrupt happens in the same time, the UART interrupt will be served at first.
2. What the length of the interrupt queue? Just the server time? it is determined by the interrupt service function.
If you want to know the interrupt priority levels, it is 4, our interrupt is the Nested Vectored Interrupt Controller, 4 priority levels.
Wish it helps you!
If you still have question,please contact me!
Have a great day,
Jingjing
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------