14
PORTS AND CONNECTORS
SERIAL PORT
The onboard serial port COM1 is a simple three wire asynchronous serial interface with hard
wired Clear to Send (CTS) and Data Terminal Ready (DTR). It is driven by the HC11
internal SCI port using I/O pins PD0 and PD1. These two logic level signals are coupled
through an RS232 level shifter to the COM1 connector.
COM1 is the default serial interface for the Buffalo Monitor and programming software.
COM1
DB9S Style Connector
ŸŸ
5
GND
•
Cut-Away jumpers between following pins:
9
ŸŸ
4
à
1 and 6 (DTR/DSR/DCD)
ŸŸ
4
7
à
8 (RTS/CTS)
8
ŸŸ
ŸŸ
3
RXD
•
COM1 is set to connect directly to a PC serial port
7
ŸŸ
with a straight thru type of cable (supplied).
ŸŸ
2
TXD
6
ŸŸ
ŸŸ
1
LCD_PORT
The LCD Display interface is connected to the data bus and memory mapped to locations
$B5F0
through
$B5F3
. Addresses
$B5F0
and
$B5F1
are the Command and Data registers
respectfully. The LCD interface supports all OPTREX
DMC series displays up to 80
characters and provides the most common pinout. Power, ground and Vee are also
available at the LCD_PORT connector.
A list of valid command codes is provided in the Tables section at the back of this manual.
Example programs using this LCD device are provided on the CD, see the files:
B5F0
Command Register
+5V
2
1
GND
B5F1
Data Register
A0
4
3
Vee
/LCDCS
6
5
/RW
D1
8
7
D0
D3
10
9
D2
D5
12
11
D4
D7
14
13
D6
KLCD-E.C
KEYLCD-E.C
KEYLCD-E.ASM