8192 baud


Closed Thread
Results 1 to 6 of 6

Thread: 8192 baud

  1. #1
    sgunsel's Avatar
    sgunsel Guest

    Default 8192 baud

    How can I operate at 8192 baud?
    I'd like to read the 8192 baud data from an older GM ECU (1989 BUick), OBDI. Thanks.

  2. #2
    Join Date
    Nov 2007
    Location
    West Covina, CA
    Posts
    219

    Default

    I'm just starting out in data comm. so won't have much more info than recommending Mister E's PIC calculator for some of the setups required for USART and SERIN/OUT2. http://www.picbasic.co.uk/forum/show...light=mister-e
    Just a quick peek for 8192 baud shows it's possible.
    Louie

  3. #3

    Default

    I believe the Pickit2 supports atypical baud rates using the UART tool. It must be connected to VDD, GND, and the serial line, and should work with 2.5 to 5V levels...but I haven't tested this function yet

  4. #4
    Join Date
    Jun 2005
    Location
    Up the bush, Western Plains, NSW Au
    Posts
    216

    Default

    In the PBP manual under SEROUT2 it shows formula for given baudrate
    (1000000/8192)-20 = 102.07
    So, even tho I haven't tried it personally, I reckon that setting a mode of 102 should be pretty damn close to what you are looking for?? (maybe). Anyway, worth a play?
    Peter Moritz.
    Up the bush, Western Plains,
    New South Wales,
    Australia.

  5. #5
    Join Date
    Jul 2005
    Posts
    93

    Default

    If you are intending to read a odbi 8192 data stream I think u need to send some bytes to the ECM to get the 8192 baud data coming from the car. Excuse if this isnt about aldl car ecm communication, i'm looking for a way to interface my 18F4550 to a 95 Holden Commodore series II VR so that I can read the stream from the car (i beleive it's 22 bytes) in an 8n1 stream format...

    if anyone is working on a usb 8192 odb1 interface using a 18F4550 I would be overjoyed to chat with you about your progress..

  6. #6
    Join Date
    May 2007
    Location
    Republic Serbia
    Posts
    105

    Smile uart setup for adld

    Quote Originally Posted by muddy0409 View Post
    In the PBP manual under SEROUT2 it shows formula for given baudrate
    (1000000/8192)-20 = 102.07
    So, even tho I haven't tried it personally, I reckon that setting a mode of 102 should be pretty damn close to what you are looking for?? (maybe). Anyway, worth a play?
    Use these external clock : 11.141 MHz
    And these defines:
    Code:
    DEFINE HSER_RCSTA 90h ' Enable serial port & continuous receive
    DEFINE HSER_TXSTA 24h ' Enable transmit, BRGH = 1
    DEFINE HSER_SPBRG 84  ' 8192 Baud @ 11.141MHz, 0.0%
    DEFINE HSER_CLROERR 1 ' Clear overflow automatically
    You have nice UATR in 18F4550 and it will be do the job.
    Code is your side - see ADLD protocol on net - use the google.

    Have nice job.
    /Robert

Similar Threads

  1. A Serial GLCD 128x64 Simple Project
    By Oldspring in forum Off Topic
    Replies: 0
    Last Post: - 8th March 2010, 20:58
  2. PIC 18f1220 EUSART Baud Rate Cache Problem
    By wklose99 in forum Off Topic
    Replies: 3
    Last Post: - 15th April 2008, 00:39
  3. Auto Baud Rate Detection
    By mytekcontrols in forum Serial
    Replies: 10
    Last Post: - 31st October 2005, 02:17
  4. PIC12F675, accuracy of baud rate with Internal Oscillator
    By Chris Mayhew in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 31st August 2005, 22:41
  5. Baud Rate and Timing Calculator
    By picnaut in forum General
    Replies: 3
    Last Post: - 23rd January 2004, 16:48

Members who have read this thread : 1

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