Faster Datalogging

For discussion and distribution of custom code and hacks
Post Reply
vn5000
Posts: 551
Joined: Fri Jul 17, 2009 2:11 pm
cars: vn v8 commodore
Location: GOLD COAST QLD

Faster Datalogging

Post by vn5000 »

Been reading a bit about 68hc11 programming and from what i can tell there is no reason for an unconventoinal baud rate of 8192.There is no reason why it cant be set at 9600 or faster by changing just two bytes in the code (besides it has to communicate with bcm and other devices at 8192).
If your not running bcm ie vn imagine hi speed aldl at 56000 baud.
Might be time to experiment. :study:
User avatar
VL400
Posts: 4991
Joined: Sun Mar 01, 2009 2:54 pm
cars: VL Calais and Toyota Landcruiser. Plus some toys :)
Location: Perth, WA
Contact:

Re: Faster Datalogging

Post by VL400 »

The 808 is a custom MCU and does not offer the same options. You have these choices with register 4004...

; SS0 SS1 BAUD RATE
; 1 1 256
; 0 1 1024
; 1 0 8192
; 0 0 32768

I have tried 32k baud (12P has selectable baud rate since v1.02) but its very unreliable - being a non-standard baud rate the divisors dont get close enough and you run errors.

The VR auto PCM and later gives more options as it follows the usual HC11 way of controlling baud rate but your still limited by the system clock generating baud rates, so can still run errors at high rates if you cant get a rate that works with your UART but you can experiement more.

One way is to have a micro-controller with dual-uarts read the serial data from the PCM and convert it to a standard rate for the PC to read.
vn5000
Posts: 551
Joined: Fri Jul 17, 2009 2:11 pm
cars: vn v8 commodore
Location: GOLD COAST QLD

Re: Faster Datalogging

Post by vn5000 »

Thanks for that vl400,you just saved me a lot of time.
12P has selectable baud rate since v1.02,-what is the easiest way to select it ?
User avatar
VL400
Posts: 4991
Joined: Sun Mar 01, 2009 2:54 pm
cars: VL Calais and Toyota Landcruiser. Plus some toys :)
Location: Perth, WA
Contact:

Re: Faster Datalogging

Post by VL400 »

Sorry forgot about this one :oops:

Have attached a XDF for TP5 with baud rate selection.
Attachments
OSE_12PV110-fixed_datatypes_for_tracing_1&2bar_BaudRate.zip
(20.66 KiB) Downloaded 385 times
Kolo
Posts: 4
Joined: Sun Feb 07, 2010 11:54 am
cars: nexia UZ ZXIT
Location: Russia

Re: Faster Datalogging

Post by Kolo »

VL400 wrote:...
I have tried 32k baud (12P has selectable baud rate since v1.02) but its very unreliable - being a non-standard baud rate the divisors dont get close enough and you run errors.
...
One way is to have a micro-controller with dual-uarts read the serial data from the PCM and convert it to a standard rate for the PC to read.
USB-to-com PL2303 work on non-stadart baud rate. I use 32, 48, 64 and 132k. PCM KDAC.
Post Reply