Hello @rsating,
You are right, the message error refers to the priority of the Simulink blocks not the priority of the interrupts on the CPU. Let me explain:
There are two different priorities
1. The Simulink block priority (the ones that you are mentioning here Right click -> Properties...). This priority is used by the Simulink for the code generation block order. A lower block priority will have its generated code executed before the others.
For the CAN peripheral, this order is important because both of CAN config block and CAN receive blocks are inserts code in the initialize function. If the CAN config block is not executed first, then the app will crash, because it will try configure the CAN peripheral before its clock is ungated.
2. The priority of the interrupts. This value is set from inside the ISR block and refers to the hardware priority of each interrupt. When two interrupts will be triggered at the same time, the core will choose to handle first the one with the lowest priority.
Hope this helps,
Marius