16.Implementation of Can Protocol Using Arm7

download 16.Implementation of Can Protocol Using Arm7

of 3

Transcript of 16.Implementation of Can Protocol Using Arm7

  • 8/10/2019 16.Implementation of Can Protocol Using Arm7

    1/3

    CAN PROTOCOL IMPLEMENTATION FOR DATACOMMUNICATION USINGARM7

    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

    ( 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 ! m# -ecreasing the bit rate

    allo0s longer net0or1 distances %e#g# 25 1bit.s at 5 m(#

    Plot No:#304, D V Arcade, Opp. Agrawala Sweets, Street No: 10, Hima at!agar, H dera"ad $00 0%&.

    www.sa'asratec'!olog .wee"l .com

    http://en.wikipedia.org/wiki/Broadcasting_(computing)http://en.wikipedia.org/wiki/Serial_communicationshttp://en.wikipedia.org/wiki/Computer_bushttp://en.wikipedia.org/wiki/Electronic_control_unithttp://en.wikipedia.org/wiki/Electronic_control_unithttp://en.wikipedia.org/wiki/Non-return-to-zerohttp://en.wikipedia.org/wiki/Sensorshttp://en.wikipedia.org/wiki/Actuatorshttp://en.wikipedia.org/wiki/Central_processing_unithttp://en.wikipedia.org/wiki/Bit_ratehttp://en.wikipedia.org/wiki/Bit_ratehttp://en.wikipedia.org/wiki/Megabit_per_secondhttp://en.wikipedia.org/wiki/Megabit_per_secondhttp://en.wikipedia.org/wiki/Kilobit_per_secondhttp://en.wikipedia.org/wiki/Kilobit_per_secondhttp://en.wikipedia.org/wiki/Kilobit_per_secondhttp://en.wikipedia.org/wiki/Serial_communicationshttp://en.wikipedia.org/wiki/Computer_bushttp://en.wikipedia.org/wiki/Electronic_control_unithttp://en.wikipedia.org/wiki/Electronic_control_unithttp://en.wikipedia.org/wiki/Non-return-to-zerohttp://en.wikipedia.org/wiki/Sensorshttp://en.wikipedia.org/wiki/Actuatorshttp://en.wikipedia.org/wiki/Central_processing_unithttp://en.wikipedia.org/wiki/Bit_ratehttp://en.wikipedia.org/wiki/Megabit_per_secondhttp://en.wikipedia.org/wiki/Kilobit_per_secondhttp://en.wikipedia.org/wiki/Broadcasting_(computing)
  • 8/10/2019 16.Implementation of Can Protocol Using Arm7

    2/3

    The CAN data lin1 layer protocol is standardi6ed in , 8 "9" $ %2 :(# This standard describesmainly 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 8 , 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

  • 8/10/2019 16.Implementation of Can Protocol Using Arm7

    3/3

    SOFTWARE:

    # &mbedded C

    2#