Hello @saurabhkulkarni123,
Can you confirm that the CAN connection you've setup is functional, independent of this task?
What hardware (EVB) are you using? The file you are using 'MPC5777C UART0_CAN0.rbf', is for the MPC5777C device. The file is setup to work with the following pins on this device:
CNRXA/RXDA/MCAN0RX/GPIO84
CNTXA/TXDA/MCAN0TX/GPIO83
These pins would need to be connected to your Vector CANCardXLE or similar device.
I'm not sure if it would work for the MPC5775B device. The memory map, register addresses, etc. may not match.
Best Regards,
Mike