LIN bus Code examples in C

Author
dak_de_gene
New Member
  • Total Posts : 9
  • Reward points : 0
  • Joined: 2008/02/26 08:25:21
  • Location: 0
  • Status: offline
2010/11/16 21:27:35 (permalink)
0

LIN bus Code examples in C

Hi,

I have been looking very hard to find a sample code that works for LIN bus communication on the 28 pin Lin demo board kit provided by microchip. Unfortunately none of the application notes i have found on the website seem to work and are too few in number as well. I am using a PIC 18f2525 microcontroller with a EUSART and i need atleast one master and one slave example that i could work with. I would very much appreciate if anyone has cues on the same. 

Thanks
#1

5 Replies Related Threads

    andy_morosta
    New Member
    • Total Posts : 1
    • Reward points : 0
    • Joined: 2011/02/25 05:35:25
    • Location: 0
    • Status: offline
    Re:LIN bus Code examples in C 2011/02/25 05:37:29 (permalink)
    0
    Hi!

    I'm looking for such a code / Example too!

    It's impossible to find anything on the net or on Maxim.

    Can anybody help?

    Thx
    #2
    clark.leach
    Super Member
    • Total Posts : 361
    • Reward points : 0
    • Joined: 2008/09/17 10:55:43
    • Location: Maine USA
    • Status: offline
    Re:LIN bus Code examples in C 2011/03/23 08:11:17 (permalink)
    0
    AN1009 is about as close as you will get to PIC18 LIN code examples.
    Good luck understanding the undocumented, sparsely commented, totally obfuscated code.


    Aut Viam Inveniam Aut Faciam
    #3
    Tom Veik
    New Member
    • Total Posts : 9
    • Reward points : 0
    • Joined: 2010/12/14 06:35:29
    • Location: 0
    • Status: offline
    Re:LIN bus Code examples in C 2011/03/23 17:02:56 (permalink)
    0
    I've been told that Microchip is no longer supporting their app notes on LIN.  They are redirecting people to IHR for LIN support.  IHR has LIN demo code that works with Microchip's 28 pin LIN demo board.

    http://www.ihr.de/cms/front_content.php?idart=126
    #4
    clark.leach
    Super Member
    • Total Posts : 361
    • Reward points : 0
    • Joined: 2008/09/17 10:55:43
    • Location: Maine USA
    • Status: offline
    Re:LIN bus Code examples in C 2011/04/12 12:17:56 (permalink)
    0
    For what it's worth - I emailed IHR no less than twice, attempting to find out how to purchase their LIN tools and what the cost would be, and received nothing in return.  I wonder how they sell this stuff when they won't even answer their email.

    Aut Viam Inveniam Aut Faciam
    #5
    Tom Veik
    New Member
    • Total Posts : 9
    • Reward points : 0
    • Joined: 2010/12/14 06:35:29
    • Location: 0
    • Status: offline
    Re:LIN bus Code examples in C 2011/04/12 19:30:03 (permalink)
    0
    I've had good luck working with IHR so far.  They helped me with an issue I had with their demo program by email.  Haven't purchased their driver tool yet though.
    #6
    Jump to:
    © 2017 APG vNext Commercial Version 4.5