Lantronix MatchPort b/g MatchPort b/g - User Guide - Page 76

: Configurable Pins, Defaults Settings, Features, Control Protocol, Guidelines

Page 76 highlights

6: Configurable Pins The MatchPort has eight pins configurable for General Purpose I/O (GPIO). Use these GPIO pins to control devices such as relays, servers, lights, monitor switches, sensors, and even processes such as data transfer. Defaults Settings  Function: general purpose input/output  Direction: input  Active Level: low Set the functions for the eight pins independently and in any combination. The initial directions (input/output) and active levels (low or high active) at boot up can also be configured through 77FE. This chapter describes how the directions, active levels, and states can be dynamically controlled and probed through special port 77F0. 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. Control Protocol The GPIO control protocol, a simple, proprietary protocol, is described below. Guidelines The GPIO control protocol is described from the PC side. Send means from PC to MatchPort. Response comes from MatchPort to PC. The protocol allows for control of up to 8 GPIOs. MatchPort User Guide 76

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90

6: Configurable Pins
The MatchPort has eight pins configurable for General Purpose I/O (GPIO).
Use these GPIO pins to control devices such as relays, servers, lights, monitor
switches, sensors, and even processes such as data transfer.
Defaults Settings
Function: general purpose input/output
Direction: input
Active Level: low
Set the functions for the eight pins independently and in any combination. The initial
directions (input/output) and active levels (low or high active) at boot up can also be
configured through 77FE.
This chapter describes how the directions, active levels, and states can be
dynamically controlled and probed through special port 77F0.
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.
Control Protocol
The GPIO control protocol, a simple, proprietary protocol, is described below.
Guidelines
The GPIO control protocol is described from the PC side.
Send
means from PC to
MatchPort.
Response
comes from MatchPort to PC.
The protocol allows for control of up to 8 GPIOs.
MatchPort User Guide
76