B&B Electronics 1939STB manual Byte 5 UB3, Parity Setup

Page 13

RS-232 Baud Rate Change cont’d.

Baud Change; Parity, word length, stop bits.

Byte 5 (UB3)

UB3 sets the LCR register on the UART

Table 14. Byte 5 (UB3)

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 2

Bit 1

Bit 0

Divisor

Set

Set

Even

Parity

Stop

Word

Word

latch

break

parity

parity

enable

bits

length 1

length 0

 

 

 

 

 

 

 

 

Bit 7 = 1 allows baud rate divisor to be changed. 0 baud rate change is blocked.

Bit seven should not be set. The setting and resetting of this bit is handled internally.

Bit 6 = 1 forces the transmitter output to a logic 0 for alerting the remote receiver to a line break.

0 No break condition.

Bits 5, 4, 3 work together to set parity.

Table 15. Parity Setup

Bit 5

Bit 4

Bit 3

Parity Selection

X

X

0

No parity *

0

0

1

Odd parity

0

1

1

Even parity

1

0

1

Force parity “1”

1

1

1

Force parity “0”

* Setup Default Value.

1939STB4600 Manual

11

B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104

B&B Electronics Ltd – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91 792444 – Fax +353 91 792445

Image 13
Contents Model 1939STB RS-232 to J1939 Converter CETable of Contents SAE Publications Introduction1939STB4600 Manual Description Physical Description Electrical SpecificationCommunication directed to the device Format Byte 3 Nibble Control ByteByte Internal Functions Vendor String SetupVendor String Message Received from the SAE-J1939 BusRS-232 Baud Change Baud Rate SetupRS-232 Baud Rate Change cont’d Byte 5 UB3 Parity SetupWord Length Stop Bit SetupJ1939 Format External CommandsValid Codes for Byte Message Header SetupTwo Bit Values for Byte 5 Message Information J1939 Message InformationIntpnd ByteTransmit DLC DIR XTD Bit2J1939 Message Frame SAE-J1939 Control Header1939STB4600 Manual Shown in Table Byte1939STB4600 Manual Byte 1939STB4600 Manual Bytes 9 1939STB4600 Manual DIR Message Direction DLC Data Length CodeData Field SAE-J1939 Bus Reception of DataID Byte Function Internal Messages Software Installation1939STB4600 Manual Message Transmission sending data to the 1939STB File Logging Saving Message InformationAppendix A. The Extended can / SAE-J1939 Message Frame Arbitration Field Appendix B. Example