Motorola CMD11E1 manual Ports and Connectors, Lcdport, Keypad

Page 12

PORTS AND CONNECTORS

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 OPTREXDMC series displays up to 80 characters and provides the most common pinout.

Power, ground and Vee are also available at the LCD_PORT connector. The potentiometer, R23, located to the right of the LCD connector is used to adjust the contrast of the LCD display by varying Vee from –5v to +5v.

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 support CD, see the files:

B5F0 Command Register B5F1 Data Register

+5V

2

1

GND

KLCD-D.C

A0

4

3

Vee

KEYLCD-D.C

/LCDCS

6

5

/RW

KEYLCD-D.ASM

D1

8

7

D0

KLCD-E.C

D3

10

9

D2

KEYLCD-E.C

D5

12

11

D4

KEYLCD-E.ASM

D7

14

13

D6

 

KEYPAD

The KEYPAD Connector is an eight position connector that implements 4 bits of AUX_PORTC and 4 bits of AUX_PORTA as a simple keypad interface. This interface is implemented as a software keyscan.

1 2 3 4 5 6 7 8

¨¡ ¡ ¡ ¡ ¡ ¡ ¡

C4 C5 C6 C7 A4 A5 A6 A7

See the files called KLCD-D.C, KEYLCD-D.C, KEYLCD-D.ASM and KEYPAD.BAS on the support CD for example programs using this connector.

12

Image 12
Contents CMD11E1 Contents Installing the Software Getting StartedBoard Startup Tutorial Support SoftwareSoftware Development Creating source codeAssembling source code AS11 HELLO.ASM -l cre s HELLO.LSTRunning your application HELLO.LSTProgramming External Eeprom Fdb StartMemory Address DecodingMemory MAP 0FFFMode Select Jumpers JP1 and JP2 JumpersBuffalo Trace Jumper JP13 Memory Selection Jumpers JP3 JP10 U7 DevicePorts and Connectors LcdportKeypad Serial Ports Parallel Ports SS KeboardAuxport McuportReference BusportTroubleshooting Tips and Suggestions AxIDELCD Command Codes TablesLCD Character Codes Buffalo Monitor Commands Load T