CAN network

Discussion in 'The Projects Forum' started by Rakbe, Oct 12, 2013.

  1. Rakbe

    Thread Starter New Member

    Oct 12, 2013
    Hi friends am new to embedded so can anybody help me to configure a pic18f458 in CAN mode. . .

    its useful for me if anybody post me a CAN config sample source code for hi-tech compiler. . .
  2. edmundopt


    May 4, 2011
    I really can not help you with that mcu, but I can help you with the right direction, pic18 series app notes from microchip contain the can software layer but they are assembly, and not C18 or xc8 or hitech-c..

    Anyway you should read them : Microchip AN853 and AN853 sourcecode

    If you want to take a look at a code, here you have can driver based on the can open for C30 compiler.

    Maybe you can build your own from this source, I really can't help you witch pic18 mcu's.
  3. atferrari

    AAC Fanatic!

    Jan 6, 2004
    Sorry I am not C conversant. Did it in Assembler, just by following the datasheet.

    Against all suggestions / advice, I tested three nodes implemented with the 18F4585 and they worked OK.