CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Question about CAN bus
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
jgschmidt



Joined: 03 Dec 2008
Posts: 184
Location: Gresham, OR USA

View user's profile Send private message Send e-mail Visit poster's website

PostPosted: Thu May 22, 2014 5:07 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Jul 25, 2014 6:12 am     Reply with quote

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!
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group