Ps/2 Keyboard And Mouse (J18); Programmable Led (J18) - VersaLogic VL-EBX-37 Reference Manual

Intel core 2 duo sbc with video, ethernet, usb, serial, sata, audio, analog + digital i / o, pcie mini card, eusb, and spx
Table of Contents

Advertisement

PS/2 Keyboard and Mouse (J18)

A standard PS/2 keyboard and mouse interface is accessible through connector J4 of the
VersaLogic VL-CBR-5009 breakout board. The breakout board is connected to connector J18 of
the VL-EBX-37. The +5V power provided to the keyboard and mouse is protected by a 1 Amp
fuse.
This connector uses IEC 61000-4-2-rated TVS components to help protect against ESD damage.

Programmable LED (J18)

Connector J18 includes an output signal for attaching a software controlled LED. Connect the
cathode of the LED to J18, pin 48, and connect the anode to +5V. An on-board resistor limits the
current to 15 mA when the circuit is turned on. A programmable LED is provided on the VL-
CBR-5009 breakout board.
To turn the LED on and off, set or clear bit D7 in I/O port CA0h (or C90h). When changing the
register, make sure not to alter the values of the other bits.
The following code examples show how to turn the LED on and off. Refer to page 54 for further
information:
LED On
MOV
DX,CA0H
IN
AL,DX
OR
AL,80H
OUT
DX,AL
Note
The LED is turned on by the BIOS during system startup. This causes the light to
function as a "power on" indicator if it is not otherwise controlled by user code.
EBX-37 Reference Manual
Table 16: PS/2 Mouse and Keyboard Pinout
VL-CBR-5009
J4 Top Pin
Signal
1
MSDATA
2
3
GND
4
MKPWR
5
MSCLK
6
VL-CBR-5009
J4 Bottom Pin Signal
1
KBDATA
2
3
GND
4
MKPWR
5
KBCLK
6
LED Off
MOV
DX,CA0H
IN
AL,DX
AND
AL,7FH
OUT
DX,AL
Interfaces and Connectors
Description
Mouse Data
No Connection
Ground
+5V (Protected)
Mouse Clock
No Connection
Description
Keyboard Data
No Connection
Ground
+5V (Protected)
Keyboard Clock
No Connection
43

Advertisement

Table of Contents
loading

Table of Contents