Digi Connect SP User Manual page 52

Hide thumbs Also See for Connect SP:
Table of Contents

Advertisement

GPIO pin settings
The GPIO Configuration page configures GPIO pin settings. You can configure GPIO pins configured for one of three
modes: serial, input, and output.
Serial: Use the GPIO pin for standard serial communication signaling. Each pin maps to a different serial signal:
DCD, CTS, DSR, etc. Default serial settings for the GPIO pins on a Digi device follow. Depending on the device, there
are five or nine pins.
Pin Number
GPIO 1
GPIO 2
GPIO 3
GPIO 4
GPIO 5
GPIO 6
GPIO 7
GPIO 8
GPIO 9
In: Allows input of GPIO signals. Use the GPIO pin for user-defined signal input from the connected device to the
Digi device. Alarms can be issued when GPIO pins change state. You can use input mode in with alarms to trigger
email notifications or SNMP traps when a particular signal change is detected, as discussed in
Input mode: allows input of GPIO signals.
Out: Allows output of GPIO signals. You can use the GPIO pin for user-defined signal output from the Digi device to
the connected device. You can use this mode to toggle the output of GPIO signals between high and low.
Additional implementation required for input and output choices
Changing the GPIO pin settings from Serial to Input or Output means you are responsible for implementing how the
pins and signals will work, including developing any applications, signal-handling, and hardware.
Set alarms for GPIO pin changes, as needed
To issue alarms in the form of email notifications or SNMP traps when a GPIO pin signals that an event has occurred
on the Digi device, go to the Alarms page and configure those alarms. See
Test GPIO pins
After you configure the GPIO pins and any alarms associated with them, test the GPIO pins to ensure they work as
desired.
Test GPIO input
You can use input signals on GPIO pins to trigger an email alarm, which tells an administrator or technician that a
significant event occurred within the device. To test GPIO input:
1. On the SW2 bank of switches on the development board, ensure that one of the GPIO pins is set to High.
2. On the SW1 bank of switches, set the same GPIO pin to IO.
Digi Connect Family and ConnectPort TS Family User Guide
Default Serial Signal
DCD
CTS
DSR
RTS
DTR
TXD
RXD
TXD for port 2
RXD for port 2
Signal Direction
Input
Input
Input
Output
Output
Output
Input
Output
Input
Alarms
Alarms
on page 53.
on page 53.
52

Advertisement

Table of Contents
loading

Table of Contents