B&B Electronics Command Response Protocol HVD100A3 User Manual

Page 11

Advertising
background image

HDV100A3 Command & Response Manual-1306cr

7

B&B Electronics -- 707 Dayton Rd. -- PO Box 1040 -- Ottawa, IL 61350

PH (815) 433-5100 -- FAX (815) 433-5104

Setting Baud 1, Baud 2

Baud Rate Setup Table

Baud

Rate

Decimal

Divisor

Hex Divisor MSB

(Baud 2)

Hex Divisor LSB

(Baud 1)

9600

48

$00 (default)

$30 (default)

14400 32

$00

$20

19200 24

$00

$18

38,400 12

$00

$0C

57,600 8

$00

$08

115,200 4

$00

$04

230,400 2

$00

$02

460,800 1

$00

$01

All baud rates are entered as hex numbers. To calculate your own

decimal divisor use the following formula. The decimal number must be
converted to hexadecimal before entering the number. Baud rates below
9,600 are not recommended because of the difference in speed between the
vehicle bus and PC serial port. Additionally, baud rates faster than 115,200
baud are not supported.

The UART clock = 7,372,800 Hz

Decimal Divisor = Clock frequency ( 7,372,800)

Baud output x 16


If you want a baud rate of 9,600 baud
Decimal

Divisor

=

7,372,800

9,600

x

16


Decimal Divisor = 48 = 30 hex


Baud

1=

30

Baud

2=

00

Advertising