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
Has anyone setup a CAN network?
- Chris Ruff
- Posts: 222
- Joined: Thu Apr 24, 2008 4:09 pm
- Location: topsail island, nc
- Contact:
Has anyone setup a CAN network?
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand
Re: Has anyone setup a CAN network?
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?
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.
- Chris Ruff
- Posts: 222
- Joined: Thu Apr 24, 2008 4:09 pm
- Location: topsail island, nc
- Contact:
Re: Has anyone setup a CAN network?
Thanks guys, The Dev board it is!
Chris
Chris
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand
Re: Has anyone setup a CAN network?
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
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?
In other words, CAN is the anti-highlander: there can never be one...
Dan Ciliske
Project Engineer
Netburner, Inc
Project Engineer
Netburner, Inc
- Chris Ruff
- Posts: 222
- Joined: Thu Apr 24, 2008 4:09 pm
- Location: topsail island, nc
- Contact:
Re: Has anyone setup a CAN network?
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!!!
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