PDA

View Full Version : 8192 baud



sgunsel
- 6th September 2009, 16:00
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.

LinkMTech
- 6th September 2009, 17:04
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/showthread.php?t=4994&highlight=mister-e
Just a quick peek for 8192 baud shows it's possible.

Michael Wakileh
- 8th September 2009, 10:26
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

muddy0409
- 9th September 2009, 01:36
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?

RYTECH
- 13th March 2010, 22:17
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..

phoenix_1
- 20th March 2010, 20:45
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:


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