Ps/2 port, Lcd start-up sequence – Digilent 410-138P-KIT User Manual
Page 22
Genesys Reference Manual
www.digilentinc.com
page 22 of 28
Copyright Digilent, Inc. All rights reserved. Other product and company names mentioned may be trademarks of their respective owners
Power On
RS
0
R/W
0
DB7
0
DB6
0
DB5
0
DB4
1
DB3
1
DB2
0
DB1
-
DB0
-
Function Set
WAIT
40ms
RS
0
R/W
0
DB7
0
DB6
0
DB5
0
DB4
0
DB3
1
DB2
1
DB1
1
DB0
0
Display ON/OFF Control
WAIT
37us
“Function Set” may
need to be repeated
DB4: 8-bit interface
DB3: Two lines
DB2: 5x8 dot font
DB2: Display On
DB1: Cursor On
DB0: No blink
RS
0
R/W
0
DB7
0
DB6
0
DB5
0
DB4
0
DB3
0
DB2
0
DB1
0
DB0
1
Display Clear
WAIT
37us
DB0: Clear
RS
0
R/W
0
DB7
0
DB6
0
DB5
0
DB4
0
DB3
0
DB2
1
DB1
1
DB0
0
Entry Mode Set
WAIT
1.52ms
DB1: Right-moving
DB0: Move cursor
Init Complete
LCD Start-Up Sequence
PS/2 Port
The 6-pin mini-DIN connector can accommodate a PS/2 mouse or keyboard. Most PS/2 devices can
operate from a 3.3V supply, but older devices may require a 5VDC supply. A 3-pin jumper on the
immediately adjacent to the PS/2 connector selects whether regulated 3.3V or the main input power
bus voltage (VU) is supplied to the PS/2 connector. To send 5V to the PS/2 connector, set the PS2
power jumper to VU (the main input power bus), and ensure the board is powered from USB or a
5VDC wall-plug supply. To send 3.3V to the connector, set the jumper to 3.3V.