This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Example code for CAN Reception

Other Parts Discussed in Thread: TMS320F28335, CONTROLSUITE

Hello All,

I am looking for example code for CAN reception. The TI gives 2 Example code : Example 1: transmits from one node and another node acknowledges(Dummy Ack)

                                                                                                                                                 Example2 : Self tested Mode.(This is not good enough to test CAN h/w)

 

But, I have only one CAN node in my board ..so i cannot use Example1 ...

I need a example code, which recieves the data from CAN node and compares with Acceptence mask...and then replies back to the transmitter ....(Example1 is not doing that and its simply generating the Dummy Acknowledgement.

I am working on TMS320F28335 only one CAN node configured in the hardware .

Regards,

Vishwanath B J

 

 

  • I think 28335 has 2 CAN channels which means you have 2 nodes on board. 28035 and 2812 only has one node on board. With one node debugging CAN on c2000 is mission impossible only if you just want to play something in SELF-TEST mode (dummy ACK).  But there are a lot of USB-CAN converter in the market, you can use one as a node in your PC side and it can communicate with your node on the device side properly with the example code under /tidcs or /controlSUITE. One more important thing is you need a 3.3V CAN transceiver which is not built in in ezDSP kit.