beautypg.com

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

Page 18

background image

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

LK402-25

14