+ Reply to Thread
Results 1 to 8 of 8

Thread: CAN Protocol

  1. #1
    beenuseren Newbie
    Join Date
    Jul 2006
    Posts
    42

    Default CAN Protocol

    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.


  2. #2
    Papabravo Excellent Papabravo Excellent Papabravo Excellent Papabravo Excellent Papabravo Excellent Papabravo Excellent Papabravo Excellent
    Join Date
    Mar 2006
    Location
    Michigan, USA (GMT-5)
    Posts
    2,892

    Default

    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.

  3. #3
    HarveyH42 Excellent HarveyH42 Excellent HarveyH42 Excellent HarveyH42 Excellent HarveyH42 Excellent HarveyH42 Excellent HarveyH42 Excellent
    Join Date
    Feb 2006
    Location
    Florida
    Posts
    3,081

    Default

    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...

  4. #4
    atferrari Good atferrari Good atferrari Good
    Join Date
    Oct 2003
    Location
    Buenos Aires - Argentina
    Posts
    573

    Default

    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.

  5. #5
    simrantogether Good simrantogether Good
    Join Date
    May 2006
    Location
    Bangalore
    Posts
    433

    Smile Well...

    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..

  6. #6
    beenuseren Newbie
    Join Date
    Jul 2006
    Posts
    42

    Default Sample CAN program

    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

  7. #7
    simrantogether Good simrantogether Good
    Join Date
    May 2006
    Location
    Bangalore
    Posts
    433

    Smile Well...

    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..

  8. #8
    Papabravo Excellent Papabravo Excellent Papabravo Excellent Papabravo Excellent Papabravo Excellent Papabravo Excellent Papabravo Excellent
    Join Date
    Mar 2006
    Location
    Michigan, USA (GMT-5)
    Posts
    2,892

    Default

    Quote Originally Posted by beenuseren
    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
    Just think of a CAN controller as if it was a UART with 64 bit characters.

    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.

+ Reply to Thread

Similar Threads

  1. A Hart Protocol demodulator circuit
    By dpernia in forum General Electronics Chat
    Replies: 0
    Latest: 29th August 2004, 12:11 AM
  2. Protocol X10
    By BlackBlade in forum Electronic Projects Design/Ideas/Reviews
    Replies: 0
    Latest: 16th June 2004, 03:09 PM
  3. rs485 protocol
    By guyana in forum Micro Controllers
    Replies: 2
    Latest: 13th February 2004, 07:30 AM
  4. Queries about 1-Wire protocol
    By Alex_rcpilot in forum General Electronics Chat
    Replies: 0
    Latest: 6th February 2004, 05:19 AM
  5. The X10 Protocol in practise
    By BrianH in forum Electronic Projects Design/Ideas/Reviews
    Replies: 2
    Latest: 27th January 2004, 07:09 PM

Tags for this Thread