Hello Adrian,
I have tried what you suggested,
1. We can be able to receive the messages using both can controller (CAN 0 & CAN 2) and both Can hardware objects.

These are the pins we configured with EN as high and STB as low,
*Can0_tx - PTA6. *Can2_tx - PTC16
*Can0_rx- PTA7. *Can2_rx - PTC17
*Can0_EN - PTC21. *Can2_EN - PTA16
*Can0_STB - PTC20. *Can2_STB - PTC7
That we can be able to receive the can messages in both the can channel.
2. But while transmitting the can messages, we referred the examples
Communicating over the CAN Bus - NXP Community but the can messages we are trying to send, we can't be able to read into bus master.
we tried troubleshooting the hardware pins that we can be able to see that Can2 transceiver EN pin is getting high so we can be able to understand that initialization is working correctly but the messages is not getting transmitted.
So, we have a doubt that we are missing some configuration parameters that to be done for can transmit.
Kindly can you able to check our Can model and its Configuration for transmit is done correctly or not?
Kindly help us to resolve this issue.
Thanks & Regards.
Esakki