hello everybody,
Does anyone the implementation of CAN protocol. The controller I am using is LPC 2129 (32 bit controller).
Any book which I can refer to the protocol.
Thanks.
hello everybody,
Does anyone the implementation of CAN protocol. The controller I am using is LPC 2129 (32 bit controller).
Any book which I can refer to the protocol.
Thanks.
Look for the Bosch CAN specification. They were the original developers for automotive ABS systems.
Go to the Philips website and look for the datasheet on the SJA-1000 which is a stand alone controller. Look for App Notes on the application of the controller. Also look at the spec for the 82C251 CAN Transceiver and any application notes associated with part
Go to the ODVA website for CAN and DeviceNet references
Check out the Yahoo group for DeviceNet.
Check out the CANOpen resources on the web.
I think Dr. W. Lorenz, an early CAN researcher, wrote a book some years back. Cant remember the title.
We never have time to do it right; but we always have time to do it over.
Atmel has a whole series of AVR CAN chips, even if you don't chose to use on, the usually have a lot of apnotes you might find useful...
Currently learning the ECAN module of the Microchip's 18F4585.
My suggestion (up to now it worked for me):
Read the CAN bus including revision 2.0B (get it from Bosch site).
Later, choose one micro / stand alone IC doing CAN handling and stick to it until getting a node sending/receiving basic messages.
I am about to enter a working network with my node. For the moment, a step by step approach worked OK. Loopback mode is the best help for testing during learning.
Before posting ANY question I spent my time (a lot) reading all posts in the CAN forum (forum.microchip.com) minimizing my newcomer questions.
Last edited by atferrari; 15th February 2008 at 08:27 PM.
Agustín Tomás
In theory, there is no difference between theory and practice. In practice, however, there is.
Well...
CAN is a bit time consuming to learn...
for easy learning of CAN - please follow the following steps...
start with introduction:
Read this article after getting it printed.
http://www.electrosofts.com/can/index.html
Next step:
Start from page number 30 i.e. Part B of this tutorial...
http://www.semiconductors.bosch.de/pdf/can2spec.pdf
Part A of this tutorial is out of date and not is in use for new designs.
Next step:
After getting the overview of CAN ...
if want to continue in hardware then buy a cheap simple CAN Board.
Or
Download any simple CAN Project from Internet.
Regards,
Simran..
Simran..
8051 Specialist..
hi all,
Thanks for all the replies.
Actually I am trying to program the CAN portof LPC2129 controller, which has ARM7TDMI controller.
I am trying to understand the CAN protocol from the internet literature. I could understand some part of it.
But I am clueless about writing the program for CAN. Like the programming steps or the algorithm.
Does anyone have a sample program for CAN on LPC2129?
Regards
beenuseren
Hi,
This is the question that can be answered well by members of lpc2000 yahoo group.
Joining that group can be helpful for you...
Regards,
Simran..![]()
Simran..
8051 Specialist..
Just think of a CAN controller as if it was a UART with 64 bit characters.Originally Posted by beenuseren
What exactly is the mental block you are suffering from?
We never have time to do it right; but we always have time to do it over.