I'm a final year student doing thesis work. I have CAN communication in my work. I tried few sample codes and my own code in my controller, but neither one of them transmit message. I have two controllers where one acts as transmitter and other as receiver. I tried connecting oscilloscope to TX pin to see CAN message, but all I see is CAN bus idle state. When i debugged my code in KEIL IDE, the status registers (cangsr/cansr) shows my controller is transmitting message from the TX buffer I have chosen and my code gets stuck there. It doesnt goto RX side. Rx buffer is empty. Could you tell me where would I be going wrong? Can I get a working sample code for CAN?
Forgot to mention, I use LPC2129 board!!
thank you in advance!!