I'm able to receive and transmit from one controller to other by settings of MB, baud rate etc.
But I want to configure my CAN to receive from an unknown source. I'm facing issue there I have configured my CAN0 pins (E4 and E5) and connected these pins to external CAN transceiver. The CANH and CANL pins from transceiver is given to a CAN analyzer. I test with the CAN Analyzer to send and receive data to my controller. I'm successfully able to transfer data; but I'm not able to receive any. I have attached the snippets of the settings and code.
Kindly, let me know what would be possibly going wrong Regards