Programmable Led; External Speaker; Push-Button Reset - VersaLogic Python EBX-11 Reference Manual

Amd lx 800 based sbc with ethernet, video, audio, industrial i/o, and spi
Table of Contents

Advertisement

After installing the OS, you may configure the CF to be the first boot device, which will reduce
boot time.
This slave-only restriction does not apply to EBX-11 Rev. 5.03 or later boards.

Programmable LED

Connector J4 includes an output signal for attaching a software controlled LED. Connect the
cathode of the LED to J4, pin 48; 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
CBR-5009 breakout board.
To turn the LED on and off, set or clear bit D7 in I/O port 1D0h (or 1E0h). When changing the
register, make sure not to alter the value of the other bits.
The following code examples show how to turn the LED on and off. Refer to page 59 for further
information:
LED On
MOV
DX,1D0H
IN
AL,DX
OR
AL,80H
OUT
DX,AL

External Speaker

A miniature 8 ohm speaker can be connected between J4, pin 50 (SPKO*) and J4, pin 49
(MKPWR). A speaker is provided on the CBR-5009 breakout board.

Push-Button Reset

Connector J4 includes an input for a push-button reset switch. Shorting J4, pin 37 to ground
causes the EBX-11 to reboot.
This connector uses IEC 61000-4-2-rated TVS components to help protect against ESD damage.
A reset button is provided on the CBR-5009 breakout board.
EBX-11 Reference manual
LED Off
MOV
DX,1D0H
IN
AL,DX
AND
AL,7FH
OUT
DX,AL
Interfaces and Connectors
38

Advertisement

Table of Contents
loading

Table of Contents