Lantronix XPort Direct Demonstration Kit XChip Direct - User Guide - Page 44
GPIO Interface, Configurable Pins
![]() |
View all Lantronix XPort Direct Demonstration Kit manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 44 highlights
8: GPIO Interface Configurable Pins The XPort Direct has two general purpose I/O pins, CP1 and CP2, which support the following functions: general purpose input, general purpose output, and modem control input signal. These GPIO pins can control devices such as relays, servers, lights, monitor switches, sensors, and even processes such as data transfer. The modem control input (modem_control_in) functionality is supported in our standard firmware; where this functionality is incorporated into some of the channel connect/disconnect settings. With custom applications, the general purpose input/output functionality can be used for event signaling and/or triggering. You can set the functions for the two pins independently and in any combination. The initial directions (input/output) and active levels (active low or high) at boot up can also be configured through 77FE. The configurable pins' default configuration is: Function: General Purpose Input Active Level: Active Low This chapter describes how the directions, active levels, and states can be dynamically controlled and probed through special port 77F0. Note: For specific configuration information contact Lantronix customer support. Features TCP and UDP can be used. The protocol supports up to 32 GPIO for future products. Function configuration can be retrieved. Input or output selection can be retrieved and controlled. Active low or high selection can be retrieved and controlled. Active or inactive selection can be retrieved and controlled. 77F0 can be disabled. Every change of state (active/inactive) requires a command over TCP or UDP, and thus is not very fast. If you use this port for data transfer, the throughput is low, usually up to 1 Kbps. DeviceLinx™ XPort Direct/XChip Direct SoC User Guide 44
![](/manual_guide/products/lantronix-xchip-direct-xchip-direct-user-guide-8eb0f8c/44.png)