TI C2000 Ware: Cannot make CAN Rx work, Though Tx works MCU: TMS320F28379D. IDE: Code composer studio.

Thread Starter

ArvindAllAboutC

Joined Oct 10, 2018
2
Hello All,
I am little new in programming micro controllers,
and I am trying to make CAN driver work on TMS320F28379D using the sample code from code composer.
I am using the control card as by followed link,
http://www.ti.com/tool/TMDSCNCD28379D

It has a docking station as by attachment(EvalBoard.pdf),https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/171/EvalBoard.pdf

and I have found the pins from the attached Schematic pdf,https://e2e.ti.com/cfs-file/__key/communityserver-discussions-components-files/171/3580.controlCARDDockingStationR4_5F00_1_2D00_SCH.pdf

Happily I could able to Tx using the example code,
But couldn't receive messages, If I try transmitting using the SW tool(Peak CAN),
The Bus load immediate shoots up and I get a Bus off warning.
I have double checked the pins connections they seem fine is anything that I can try to make to work?

Thank you,

With Regards,
Arvind.
 

Attachments

Papabravo

Joined Feb 24, 2006
13,759
You do understand that going busoff is the result of one or more nodes detecting a protocol violation. In my experience the node that goes busoff is usually not the culprit but the victim. The usual method of troubleshooting is to add or subtract nodes one at a time from your network until you get things to work. The usual reason for nodes going busoff is a conflict in in bit timing or bit timing parameters. ALL of the nodes on the network have to agree on these with a high level of precision. CAN is not really very forgiving when it comes to loose tolerances.

Coupe of other questions:
  1. How long is you main network cable?
  2. How is it terminated?
 
Top