Today 18:29
Forum: Website / Forum Issues
Starter: rcurl
Views: 0
Replies: 5
Today 14:15
Forum: Absolute Beginners Section
Starter: amod
Views: 0
Replies: 29
Today 14:11
Forum: The Lounge
Starter: pic-ignorant
Views: 0
Replies: 2
Yesterday 21:12
Forum: Proton Plus Compiler v3
Starter: Dave-S
Views: 0
Replies: 3
+ Reply to Thread
Results 1 to 4 of 4

Thread: Lin bus and auto baud detection31 days old

  1. #1
    Fanatical Contributor Tim's Avatar
    Join Date
    Jan 2003
    Posts
    7,556
    Thumbs Up
    Received: 61
    Given: 89
    Total Downloaded
    895.24 MB

    0 Not allowed!

    Default Lin bus and auto baud detection

    Lin bus looks to be a great system for an application i'm working on. One of the main things is the slave can be really simple without needing a crystal. To resolve the usart timing its master sends it as at the start of every packet in a couple of $55 or $AA bytes for the slave device to sync its clock to.

    However I cannot find out how its done. Technically how do you set the hardware up to monitor the usart and sync its usart clock to the masters.

    Does anyone know?

    Thanks

    Tim
    Tim

  2. #2
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    1,833
    Thumbs Up
    Received: 162
    Given: 158
    Total Downloaded
    3.22 GB

    0 Not allowed!

    Default Re: Lin bus and auto baud detection

    Hi Tim, I looked at LIN once JOOQ. This PDF was helpful http://ww1.microchip.com/downloads/e.../00000237B.pdf
    George

  3. #3
    Fanatical Contributor Tim's Avatar
    Join Date
    Jan 2003
    Posts
    7,556
    Thumbs Up
    Received: 61
    Given: 89
    Total Downloaded
    895.24 MB

    0 Not allowed!

    Default Re: Lin bus and auto baud detection

    Thanks George

    I had seen that but they do not show the source or explain how it works. You need to use the IDE to generate the code first, then i would have to figure out what it was doing and it is in C. Not a language that I'm familiar with.

    Thanks


    Tim
    Tim

  4. #4
    Prolific Poster towlerg's Avatar
    Join Date
    Mar 2012
    Posts
    1,833
    Thumbs Up
    Received: 162
    Given: 158
    Total Downloaded
    3.22 GB

    0 Not allowed!

    Default Re: Lin bus and auto baud detection

    I seem to remember that the source is available separetly.

    Edit. Just checked and it's here https://www.microchip.com/wwwAppNote...pnote=en012053
    Last edited by towlerg; 21st October 2018 at 15:24.
    George

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Replies: 1
    Last Post: 1st May 2013, 18:21
  2. Lin
    By Travellerw in forum The Lounge
    Replies: 32
    Last Post: 9th February 2010, 17:25
  3. SD card SD Bus vs SPI bus
    By normnet in forum Proton Plus Compiler v3
    Replies: 4
    Last Post: 25th March 2009, 01:55
  4. [SOLVED !] Baud rate
    By pepito in forum quickBlue Bluetooth Development
    Replies: 4
    Last Post: 19th July 2007, 23:41
  5. RSIn baud
    By RayEllam in forum Proton Plus Compiler v3
    Replies: 1
    Last Post: 3rd April 2005, 18:24

Members who have read this thread : 44

Actions :  (Set Date)

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts