Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Categories > Micro Controllers


Micro Controllers Discuss all aspects of micro controllers - building them, coding them, etc. All controllers are welcome - PIC, BASIC, Z8 Encore!, etc.

Reply
 
Tools
Old 15th February 2008, 01:33 PM   #1
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.
beenuseren is offline  
Old 15th February 2008, 05:52 PM   #2
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.
Papabravo is offline  
Old 15th February 2008, 07:36 PM   #3
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...
HarveyH42 is offline  
Old 15th February 2008, 09:25 PM   #4
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.
__________________
Agustín Tomás
In theory, there is no difference between theory and practice. In practice, however, there is.

Last edited by atferrari; 15th February 2008 at 09:27 PM.
atferrari is offline  
Old 16th February 2008, 06:01 AM   #5
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..
simrantogether is offline  
Old 18th February 2008, 07:03 AM   #6
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
beenuseren is offline  
Old 18th February 2008, 11:13 AM   #7
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..
simrantogether is offline  
Old 18th February 2008, 05:51 PM   #8
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.
Papabravo is offline  
Reply

Tags
protocol

Thread Tools
Display Modes


Similar
Title Starter Forum Replies Latest
A Hart Protocol demodulator circuit dpernia General Electronics Chat 0 29th August 2004 01:11 AM
Protocol X10 BlackBlade Electronic Projects Design/Ideas/Reviews 0 16th June 2004 04:09 PM
rs485 protocol guyana Micro Controllers 2 13th February 2004 08:30 AM
Queries about 1-Wire protocol Alex_rcpilot General Electronics Chat 0 6th February 2004 06:19 AM
The X10 Protocol in practise BrianH Electronic Projects Design/Ideas/Reviews 2 27th January 2004 08:09 PM



All times are GMT. The time now is 02:41 AM.


Electronic Circuits  |  Learning Electronics
eXTReMe Tracker