3 rs-232 communications, 4 i²c communications – Matrix Orbital LK162-12 Legacy User Manual

Page 11

Advertising
background image

LK162-12 rev 4

11

2.1.3 RS-232 Communications

A standard DB-9F is provided for RS-232 communications. Power may also be supplied via this connector
if desired. See Figure 2-7 for pin connections.

Figure 2-7 RS-232 and power connector

The RS-232 connector on the PC cable is wired so that a standard “straight through” 9 pin D-sub cable may
be used to connect the module to a standard serial port such as COM ports on PCs. Note that this device
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-7.

2.1.4 I²C Communications

The I²C communications runs at 100 kBps and supports up to 127 units on a single communications line.
The I2C data line operates on 5-volt CMOS levels.

The idea of ACK is to indicate when the data has been received correctly. ACK does not indicate data
incorrectly received. ACK simply fails to indicate when data is correctly received. Clearly, this is of limited
usefulness and even less so with Matrix Orbital modules. Matrix orbital modules are not capable of failing
to acknowledge an incorrectly received byte in response to that bytes transition. They are only capable of
failing to acknowledge the bytes following the byte, which was not received. To fully understand the
reasons for this one needs to understand something about how a Matrix Orbital module processes data.
Basically the reason why a Matrix Orbital module might fail to receive a byte correctly is that it was unable
to process the byte previous before the failed byte was transmitted. Because the module cannot possibly
know that it would be unable to store the byte before the next byte was received it cannot know to not ACK.
The reason for this situation in deference to situations you might be familiar with (i.e. memory chips, etc…)
is that the Matrix Orbital module employs a microprocessor to perform these data storage functions. A
memory chip takes care of these things entirely with in hardware subsystems that operate at the same speed
as the transmission themselves.

The LK162-12 uses a standard Phillips 7bit address as defined by Phillips. How ever, we at Matrix Orbital
specify I2C address in 8bits. The 8

th

bit, least significant bit (LSB or Low Order Bit) of the 8bit address is

read/write bit. If we take a standard Phillips 7bit address of 45hex this would be in binary 1000101. This is
7bits. If one adds the read write bit to this 7bit address and you assume that you are writing one gets
10001010. Matrix Orbital would describe the Philips I

2

C address of 45hex as 8Ahex. The read address

would be 8Bhex.

Advertising