3configuring rs-232 and i2c, 3configuring rs-232 and i – Matrix Orbital LK204-25 Legacy User Manual

Page 10

Advertising
background image

complies with the EIA232 standard in that it uses signal levels from ± 3V to ± 12V. It will not operate
correctly at TTL (0 to +5V) levels.

Pin

Number

Direction

Description

LCD Host

2

Data from LCD

Data out (LCD)

Tx

Rx

3

Data to LCD

Data in (LCD)

Rx

Tx

5

-

Ground

gnd

gnd

The power connector on the PC cable is wired as shown in Figure 2-8.

2.1.3Configuring RS-232 and I

2

C

RS-232 baud rate and I

2

C address are configured by means of jumpers.

Figure 2-9 RS-232 jumpers

The module is supplied with jumpers J1 and J2 installed, which gives an RS-232 baud rate of 19200 and an
I

2

C address of 0x5C.

RS-232 port: J0, J1, J2 - control baud rate. RS-232 format is 8N1 (8 bits, no parity, one stop bit)

I²C port: J0, J1, J2, J3 - sets slave peripheral address

Baud Rate

Slave Address

J3

J2

J1

J0

1200

50H

out

out

out

out

52H

out

out

out

in

2400

54H

out

out

in

out

56H

out

out

in

in

9600

58H

out

in

out

out

5AH

out

in

out

in

19200

5CH

out

in

in

out

5EH

out

in

in

in

1200

60H

in

out

out

out

62H

in

out

out

in

LK204-25 rev 1

10

Advertising