
The mode of operation for each of the GPIOs can be set by installing jumpers between headers JP7 and
JP8 for GPIO operation, or between headers JP8 and JP9 for special function operation (all of the special
functions are enabled by default). For example, in the follow diagram, GPIO_3 is enabled for SPI
temperature sensor, while GPIO_4 is enabled as the DTR signal (DTR0) for Serial Port 1. The GPIO_5
through GPIO_8 are used as normal GPIOs in this example.
Figure 9 GPIO Special Functions Jumpers (Example Configuration)
The GPIOs are accessed via header JP3 as described in the next section. You can set and read the
GPIO state, and set SNMP traps based on the GPIO state as described in Chapter 6 of this manual.
26-Pin I/O Header
The I/O Header, located at JP3, is a 26-pin interface for connecting to the SX-560 GPIO and SPI
interfaces. It also provides a direct way of connecting to the SX-560 console interface using 3.3V logic
levels rather than the DB-9 RS-232 connector.
The GPIOs, located on JP3, can be used for controlling or monitoring OEM functions. External pull-ups
are recommended for customization.
Table 9 26-Pin I/O Header
GPIO 3
GPIO 4
GPIO 5
GPIP 6
GPIO 7
GPIO 8
TSPICS
DTR0
DSR0
DCD0
GRN
YEL
NOTE: GPIO_10 is fixed as a switch input (Test Button) and GPIO_9 is fixed as an LED output (power on/off).
Komentarze do niniejszej Instrukcji