I am new to CAN communications. I have two MKE06Z boards with me. One is Evaluation board and one is custom board.
I have connected the CAN_H and CAN_L pins of the evaluation board to CAN_H and CAN_L of the custom board.
I am planning to make an LED to blink on custom board when I press a button onevaluation board.
On evaluation board I have created a project on KDS. In this project I have added CAN_LDD component. In the typical usage I see a program Sending data frame with interrupt service. I have just copied that code.
Similarly on the custom board side I have created another project and in that project also I have added CAN_LDD component and here I copied the code Receiving data frame with interrupt service.
I flash the both codes to their respective boards. I never see LED blinking on my custom board when I press a button on evaluation board. The interrupts never occured in both projects.
Am I doing it on right way?.
Pls someone suggest the correct way?. I am not able to find where Im doing mistake.