Has anyone setup a CAN network?

for everything else
Post Reply
User avatar
Chris Ruff
Posts: 222
Joined: Thu Apr 24, 2008 4:09 pm
Location: topsail island, nc
Contact:

Has anyone setup a CAN network?

Post 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
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand
roland.ames

Re: Has anyone setup a CAN network?

Post 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).
mbrown
Posts: 61
Joined: Tue Jan 29, 2013 7:12 pm

Re: Has anyone setup a CAN network?

Post 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.
User avatar
Chris Ruff
Posts: 222
Joined: Thu Apr 24, 2008 4:09 pm
Location: topsail island, nc
Contact:

Re: Has anyone setup a CAN network?

Post by Chris Ruff »

Thanks guys, The Dev board it is!

Chris
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand
User avatar
pbreed
Posts: 1088
Joined: Thu Apr 24, 2008 3:58 pm

Re: Has anyone setup a CAN network?

Post 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
User avatar
dciliske
Posts: 624
Joined: Mon Feb 06, 2012 9:37 am
Location: San Diego, CA
Contact:

Re: Has anyone setup a CAN network?

Post by dciliske »

In other words, CAN is the anti-highlander: there can never be one...
Dan Ciliske
Project Engineer
Netburner, Inc
User avatar
Chris Ruff
Posts: 222
Joined: Thu Apr 24, 2008 4:09 pm
Location: topsail island, nc
Contact:

Re: Has anyone setup a CAN network?

Post by Chris Ruff »

You guys are killing me...."the anti-highlander" :lol:

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!!!
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand
Post Reply