B&B Electronics HVD100A3 manual Setting Baud 1, Baud Baud Rate Setup Table

Page 11

Setting Baud 1, Baud 2

Baud Rate Setup Table

Baud

Decimal

Hex Divisor MSB

Hex Divisor LSB

Rate

Divisor

(Baud 2)

(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

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

Image 11
Contents HDV100A3 Command Response Protocol Page Table of Contents Do Not Transmit Any Messages to the network Introduction Intelligent Mode VerificationControl Field Structure Intelligent Mode Command ProtocolIntelligent Mode Message Structure SOFFormatting the Control Bytes Detailed Description of General Function Codes Command AcknowledgementRS-232 Baud Rate Setup HDV100A3 Command & Response Manual-1306cr Setting Baud 1, Baud Baud Rate Setup Table UB3 Baud Rate ExampleByte Byte Function Number Value Hex Reply from HDV100A3 Byte Function Number ValueFunction code 20 = stop time stamping Vendor Information Master Reset CommandByte Byte Value Byte Function Number Hex J1708 CommandsReceiving Data from the J1708 Bus Function code 10 hex stop receive Priority Byte Value Binary Value Hex Value Transmitting Data to the J1708 BusID bytes 9 = transmit OK Set Filter Off Byte Function Number Value J1708 Message FilterSet Filter Active Byte Function Number Value Data Broadcast MessageByte 6 Priority Values Byte 4 ValuesJ1939 Commands Stop Receive on J1939 Bus Start Receive on J1939 BusArbitration Field Y1, Y2, Y3, Y4 Message received from the HDV will be formatted as follows Set Mask Transmit Data to J1939 BusMSB-1 MSB-2Set Filter 1 to HDV100A3 Command & Response Manual-1306cr J1939 Header Worksheet DEC HEX Error Codes