You are on page 1of 3

CAN PROTOCOL IMPLEMENTATION FOR DATACOMMUNICATION USING

ARM7
ABSTRACT
AIM:
The main aim of this project is to implementation for data communication based on
CAN protocol by using ARM7 based LPC2!" programmable microcontroller#
DESCRIPTION:
CAN is a multi$master broadcast serial bus standard for connecting electronic control
units %&C's(#&ach node is able to send and recei)e messages* but not simultaneously+ a message
%consisting primarily of an ,- usually chosen to identify the message$type.sender and up to eight
message bytes( is transmitted serially onto the bus* one bit after another this signal pattern codes
the message %in NR/( and is sensed by all nodes#
The de)ices that are connected by a CAN net0or1 are typically sensors* actuators and control
de)ices# A CAN message ne)er reaches these de)ices directly* but instead a host processor and a
CAN controller are needed bet0een these de)ices and the bus#
,f the bus is free* any node may begin to transmit# ,f t0o or more nodes begin sending messages
at the same time* the message 0ith the more dominant ,- %0hich has more dominant bits* i#e#* bit
2( 0ill o)er0rite other nodes3 less dominant ,-s* so that e)entually %after this arbitration on the
,-( only the dominant message remains and is recei)ed by all nodes#
4it rates up to Mbit.s are possible at net0or1 lengths belo0 !2 m# -ecreasing the bit rate
allo0s longer net0or1 distances %e#g# 25 1bit.s at 522 m(#
Plot No:#304, D V Arcade, Opp. Agrawala Sweets, Street No: 10, Himaat!agar, Hdera"ad # $00 0%&.
www.sa'asratec'!olog.wee"l.com
The CAN data lin1 layer protocol is standardi6ed in ,78 "9"$ %222:(# This standard describes
mainly the data lin1 layer ; composed of the logical lin1 control %LLC( sublayer and the media
access control %MAC( sublayer ; and some aspects of the physical layer of the 87, reference
model# All the other protocol layers are the net0or1 designer3s choice# The )ehicle dri)er
selection is done by using s0itches 0hich are placed after the micro controller unit#
The programming language used for de)eloping the soft0are to the microcontroller is
&mbedded.Assembly# The <&,L cross compiler is used to edit* compile and debug this program#
Micro =lash programmer is used for burning the de)eloped code on <eil in to the
microcontroller Chip# >ere in our application 0e are using AT"9C5 microcontroller 0hich is
=lash Programmable ,C#AT represents the Atmel Corporation represents CM87 technology is
used for designing the ,C# This ,C is one of the )ersions of "25#
BLOCK DIAGRAM OF THE PROJECT
CANH CANL
Plot No:#304, D V Arcade, Opp. Agrawala Sweets, Street No: 10, Himaat!agar, Hdera"ad # $00 0%&.
www.sa'asratec'!olog.wee"l.com
Displa
(!it
)icro
*o!troll
er
*AN
*o!troller
*AN
+ra!scei,er
P* *AN
*o!troller
)icro
*o!troll
er
*AN
+ra!scei,e
r
SOFTWARE:
# &mbedded C
2# <eil ,-&
:# =lash Magic
HARDWARE:
# LPC2!" %ARM7( Micro Controller
2# MCP 255 CAN Controller
:# Po0er supply
!# MA?2:2
5# MCP 255 CAN Transcei)er
@# LC-
Plot No:#304, D V Arcade, Opp. Agrawala Sweets, Street No: 10, Himaat!agar, Hdera"ad # $00 0%&.
www.sa'asratec'!olog.wee"l.com

You might also like