Page 1 of 1
Has anyone setup a CAN network?
Posted: Thu Feb 12, 2015 1:02 pm
by Chris Ruff
I will be needing to build a CAN network interface using the NANO. Any experience out there?
What hardware is required? Do I need to use some chip or another?
Thanks!
Chris
Re: Has anyone setup a CAN network?
Posted: Thu Feb 12, 2015 5:23 pm
by roland.ames
I have done some CANOpen development on MOD5234 and MOD54415, but I have never worked with a NANO. I expect you will at least need a CAN tranceiver (SN65HVD232D on the NetBurner mod-dev-100 board).
Re: Has anyone setup a CAN network?
Posted: Thu Feb 12, 2015 5:50 pm
by mbrown
I believe I tested the canif and multican drivers against the NANO dev board with the can2serial example (Note: this example will require two devices to talk to each other). Essentially Ronald is right though, about the only thing you need is the SN65HVD232 IC and possibly a couple termination resistors. The datasheet has recommended layout considerations
http://www.ti.com/lit/ds/symlink/sn65hvd230.pdf, but if you just want to try something quick, you could always try to get the NANO in a dev board to talk to something.
Re: Has anyone setup a CAN network?
Posted: Thu Feb 12, 2015 7:03 pm
by Chris Ruff
Thanks guys, The Dev board it is!
Chris
Re: Has anyone setup a CAN network?
Posted: Fri Feb 13, 2015 6:19 pm
by pbreed
Chris,
the thing with CAN is the messages are acked.
So to transmit you require a receiver that is actually configured to listen for that packet.
Unlike a serial port where you can send with no one listening, sending on CAN without a receiver actually listening will generate errors....
This is the biggest logical change you will have to un-learn to use CAN.
IE its impossible to test CAN on a single board, you must have two....
Paul
Re: Has anyone setup a CAN network?
Posted: Sat Feb 14, 2015 8:18 pm
by dciliske
In other words, CAN is the anti-highlander: there can never be one...
Re: Has anyone setup a CAN network?
Posted: Mon Feb 16, 2015 6:14 am
by Chris Ruff
You guys are killing me...."the anti-highlander"
I have previously purchased a Microchip CAN dev board set- will press them into action...
and Paul- thanks for the words of wisdom.
!!CAN!!
Now the world will be at my feet!!!