Hello
@arjunarn,
One possible problem with your model (I didn't see it at first) might be the fact that you configure the FCAN Receive buffer at every step.
You can consult 'flexcan_s32k14x' example to see how you can initiaze the fcan receive only at the startup of the application.
My suggestion is to start from an existing example model (make sure you copy paste it before so you can always have the original one available) and modify it to work accordingly to your requirements.
Best regards,
Sorin Bancila