Joined: 03 Dec 2008 Posts: 184 Location: Gresham, OR USA
Posted: Thu May 22, 2014 5:07 pm
Another way to describe the CAN protocols is as a Publish and Subscribe system. Nodes publish or broadcast messages and don't care who listens. Subscribers listen for certain messages and respond to them, regardless of who sent them. It does take a little while to wrap your head around it but once you do it is very simple with the CCS drivers. If you're going to do a lot of work with CAN I recommend getting one of the CCS CAN dev kits and going through the exercises. I also use the Microchip CAN Bus Monitor Demo kit (MCP2515DM-BM) which comes with two identical boards. It gives you more nodes to play with and the included software lets you monitor and debug traffic. _________________ Jürgen
www.jgscraft.com
stoyanoff
Joined: 20 Jul 2011 Posts: 375
Posted: Fri Jul 25, 2014 6:12 am
I have a question about MCP2515. Do I have to use separate oscillator or I can use the controller's one?! I'm going to use PIC18F2550.
Do I need pull-up resistors on SPI pins?!
Thanks!
All times are GMT - 6 Hours Goto page Previous1, 2
Page 2 of 2
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum