Quote:
Originally Posted by MattG_3165
OK, looks like it was a signal/noise issue - we are using 6-conductor flat cable for our serial link. Your comment about the 115200bps connection got us thinking about noise, so we shortened our serial cable from six feet down to 2 feet, and now we have our first successful serial connection from the cRIO to the Jag.
Maybe we'll switch our cabling to twisted pair in the future.
Thanks!
|
Twisted pair is not necessary for CAN even a 1Mbps. You should not have any problem using 6' of cable. We have tested using 30' of cable without any issue. the CAN spec states up to 25 meters of cable may be used at 1mbps. We even removed the termination resistor at the far end of the bus without any CAN errors. In fact when the 2CANS are tested prior to shipping only one termination resistor is used on a bus of 12 2CANs. All can traffic is logged during the test and if ANY CAN errors are detected the unit fails.
I think your problem is probably elsewhere. Check the quality of connection of your termination resistors and cable connectors. If you have access to a CAN tool use it to determine if CAN errors are occurring. If you do not have a CAN tool you may use the 2CAN web dash to determine if there are any errors.
__________________
Mike Copioli
CTRE Hardware Engineer
http://www.ctr-electronics.com
Team 3539 The Byting Bull Dogs
2013 Michigan State Champions
Team 217 The Thunder Chickens
2006 World Champions
2008 World Champions
2009 Michigan State Champions