Programming considerations
Register
Name
DCD/
PORTA0
GPIO-1
TXD2/
PORTC7
GPIO-8
Power
PORTC6
indicator
LED
/INIT
PORTC5
Green LED
PORTC4
RXD2/
PORTC3
GPIO-9
Yellow LED PORTC2
PORTC1-
PORTC0
Embedded Module LEDs
General information
The embedded module has two types of LEDs:
LEDs connected directly to GPIO pins on the processor and controlled directly in software
n
LEDs connected to other hardware components (Ethernet/wireless hardware) and not directly
n
programmable by the operating system
For information on LED control, see the NET+Works BSP Porting Guide.
Digi Connect EM and Digi Connect Wi-EM Hardware Reference
External
bit
Category
interface
Allocated Pin 8 on
the main
header
Allocated Pin 12 on
the main
header
Allocated Connected
to the red
LED
Available
Connected
to the
button on
the
module
Allocated Connected
to the
green LED
(the one
above the
red LED)
Allocated Pin 11 on
the main
header
Allocated Connected
to the
yellow LED
Reserved NA
GPIO pin use
Description
Used for the port 1 serial DCD signal but can be
reassigned as GPIO input or output. If used with the
development board, this pin maps to GPIO-1.
Used for port 2 serial transmit but can be
reassigned as GPIO input or output. If used with the
development board, this pin maps to GPIO-8.
Used as the power indicator (always on) but can be
reassigned as a general purpose LED. It must
remain a GPIO output for the LED to operate
correctly. This LED is lit when the signal is low.
Should be configured as a GPIO input.
Used as the NET+OS green LED but can be
reassigned as a general purpose LED. It must
remain a GPIO output for the LED to operate
correctly. The LED is lit when the signal is low.
Used for port 2 serial receive but can be reassigned
as GPIO input or output. If used with the
development board, this pin maps to GPIO-9.
Used as the NET+OS yellow LED but can be
reassigned as a general purpose LED. It must
remain a GPIO output for the LED to operate
correctly. The LED is lit when the signal is a low.
NA
Embedded Module LEDs
32
Need help?
Do you have a question about the Digi Connect EM DC-EM02T-JT and is the answer not in the manual?
Questions and answers