4 setting a non-standard baud rate – Matrix Orbital VK204-25 Legacy User Manual

Page 21

Advertising
background image

Description

This command sets the RS-232 port to the specified [speed]. The change
takes place immediately. [speed] is a single byte specifying the desired
port speed. Valid speeds are shown in the table below. The display
module can be manually reset to 19,200 baud in the event of an error
during transmission, including transmitting a value not listed below, by
setting the manual override jumper during power up. However, it should
be noted that this command will be ignored until the manual override
jumper is removed again.

Hex Value

Baud Rate

53

1200

29

2400

CF

4800

67

9600

33

19200

22

28800

19

38400

10

57600

8

115200

Remembered

Always

Default

19,200 bps

4.4

Setting a Non-Standard Baud Rate

Syntax

Hexadecimal

0xFE 0xA4 [speed]

Decimal

254 164 [speed]

Parameters

Parameter

Length

Description

speed

2

Inputed LSB MSB from baud rate
formula (12-2047).

Description

This command sets the RS-232 port to a non-standard baud rate. The
command accepts a two byte parameter that goes directly into the
modules baud generator. Use the formula, speed

=

CrystalSpeed

DesiredBaud

− 1 to

calculate the [speed] for any baud rate setting. The speed can be
anywhere from 12 to 2047 which corresponds to a baud range of 977 to
153,800 baud. Setting the baud rate out of this range could cause the
display to stop working properly and require the Manual Override
jumper to be set.

Remembered

Always

Matrix Orbital

VK204-25-USB

17

Advertising