MCAL: Jacinto 7
In Can_Irq.c inside each Irq handling is used Exclusive area :
SchM_Enter_Can_CAN_EXCLUSIVE_AREA_0(); Can_0_Int0ISR_Fun(); SchM_Exit_Can_CAN_EXCLUSIVE_AREA_0();
Problem is that in case of Receive from Can_0_Int0ISR_Fun will be executed complete Com stack. From this function will be executed Can_mcanReadRxBuffInterrupt > CanIf_RxIndication > Com... > PduR
For all this calls the interrupt will be disabled. In our case at the end we will try to Set an Event.
According with Autosar specification Set event cannot be executed when interrupt are disabled.
SchM_Enter_Can_CAN_EXCLUSIVE_AREA_0 and SchM_Exit_Can_CAN_EXCLUSIVE_AREA_0 should be removed.