Regarding information on CAN: If you want to find out what CAN is and why it can be a good bus to work with then I would recommend the Microchip application note AN713. http://www.microchip.com/10/appnote/category/analog/can/index.htm There is also a bunch of other application notes about it but AN713 is a good start. Basically the benefit with CAN is that it can be used in noisy environmen= t and over relative long distances with in built error checking system and reduce cables in your design. CAN is a message based bus and message based buses have some advantages o= ver address based busses like the I2C or similar. In a CAN system all nodes i= s listening on the bus and sort out if there was something that that node should perform. This enables you to hook up new nodes to the system witho= ut upgrading a master node. An analogy of a message based CAN bus is that when you attend to a dinner with your relatives around a big table there is a lot off messages around that table. All people around the table can hear what every one is saying= , but it up to each participant to listen to the conversation that they are interested in.(it's a lot of people talking at the same time) If there is= a new participant around the table he/she can just join in into the conversation even if that person has not been introduced to all the rest = of the group. As a participant around the table you can filter out what that group of foxy ladies is talking about to the left of you. In a CAN bus yo= u can do filtering as well. In a CAN bus you can also prioritise messages a= s you can at a dinner table. When someone is ringing a glass of wine with their spoon it means that you should prioritise a message from that perso= n. If you get interrupted at the dinner table you stop talking and resume yo= ur message as soon as you can. The CAN bus is working in a similar way. CAN is commonly used in cars, boats, robots and industrial applications. CAN controllers have been narrowly used in cars but is used in more and m= ore types of applications. In cars of today you find CAN in almost every new = car so its not really a narrow component nowadays. One application that I believe will be bigger is in home automation. If you want to switch on or off a light bulb you probably wont implement TCP/IP to the light bulb soc= ket but maybe a CAN node. You want small amounts off cables and you want a robust bus. It may be to costly to equip every node in a home with a CAN node but the LIN bus may be a complement there as it is in new cars of today. Niklas Wennerstrand -----Ursprungligt meddelande----- Fr=E5n: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.ED= U] F=F6r James Newton. Admin 3 Skickat: den 1 augusti 2001 18:08 Till: PICLIST@MITVMA.MIT.EDU =C4mne: [PIC]: PIC to CAN network, MCP2510 info? Sadly, there is very little available for this fairly new and narrowly focused chip. I know nothing of CAN networks but will forward this reques= t to the PICList http://www.piclist.com to see if any of the brilliant membership there have anymore information. http://www.microchip.com/Download/appnote/category/analog/can/00215a.pdf is about it for PIC specific with source code. General can links http://www.eetoolbox.com/indc/indcan.htm hint: search for "CAN Network" or "CAN controller" and PIC or MCP2510 or movlw e.g. http://www.google.com/search?hl=3Den&lr=3Dlang_en&safe=3Doff&q=3D%22can+n= etwork%22+M CP2510+ --- James Newton, Admin #3 mailto:jamesnewton@piclist.com 1-619-652-0593 VM 1-208-279-8767 FAX PIC/PICList FAQ: http://www.piclist.com or .org -----Original Message----- From: Matt Jones [mailto:matt.jones@smiths-aerospace.com] Sent: Wednesday, August 01, 2001 01:23 To: jamesnewton@piclist.com Subject: Form posted from Microsoft Internet Explorer. Importance: Low input=3DMicrochip MCP2510 CAN controller output=3DMicroscip PIC SPI interface desc=3DDeails on setting up the MCP2510, and the PIC to communicate. Poss= ibly a link to a CAN tutorial on the web. Thanks if you can help, matt@jellybaby.com P.S. CAN is such stupid name to call something, how can you search for "CAN"... cpu=3DMicrochip PIC (16F877, 17C756A) -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics