GPIO (I/O-22) Component

This topic describes how to configure and control the General Purpose Input Output (GPIO) hardware interface for the I/O-22 in Q-SYS Designer. For information about the GPIO interface hardware, refer to the I/O-22 GPIO Interface topic.

The General Purpose Input Output (GPIO) Controller is used to integrate Q-SYS with custom or third-party controls. Using the GPIO, Q-SYS can control external hardware and certain aspects of Q-SYS can be controlled by external hardware.

The GPIO Interface is physical hardware, and is represented in Q-SYS Designer by the GPIO component. There are eight configurable GPIO pins on the I/O-22 GPIO component. You can configure these pins to be Digital Inputs or Outputs, and Clocks. Refer to the Properties section in this topic for details.

Controls

The Controls are displayed in GPIO Pin number order, 1 through 8, from left to right in the Control Panel. For each control the DA-15 pin number is listed under the GPIO pin numbers. The GPIO pin numbers are always in order, but their grouping changes based on the selections in the Properties. The DA-15 pin numbers change based on the controls assigned to the GPIO pins.

Control

Function

Default / Range

Digital In

(Indicator)

This LED lights when there is a Digital input of 1 (3.3 V TTL) present.

Off / On

Digital Out

This toggle button supplies a 0 in the Off position and a 1 in the On position.

Off / On

Clocks

The clock settings have no controls.

N / A

Properties

What you select in the Properties determines the use of that GPIO pin, unused, input, output, or clock.

Property

Function

Choices

Name

Identifies the I/O-22 component in Q-SYS Designer, enabling the connection between the design and the physical I/O-22. This name should be the same as the I/O-22 Device Name (hostname Hostnames may contain ASCII letters 'a' through 'z' (case-insensitive), the digits '0' through '9', the hyphen, and the underscore. Hostname labels cannot begin or end with a hyphen. No other symbols, punctuation characters, or blank spaces are permitted. ) in the Q-SYS Configurator. Click in the Name property and type the Name.

The name must follow standard naming conventions, restricted to the following:

ASCII characters a - z (case insensitive)

Digits 0 - 9

Hyphen (cannot be at the beginning or end of the name)

Underscore (acceptable with a Q-SYS implementation)

No other characters, symbols, punctuation, or blank spaces.

User input

Location

User defined Location for the I/O-22.

User input

GPIO 1 - GPIO 8

(Connector pins
D 0 - D 7)

Configures the GPIO for the I/O-22.

GPIO 1 - 8 have the options Unused, Digital Input, Digital Output.

GPIO 2 adds the option of Sample Clock.

GPIO 3 adds the option of Vector Clock.

GPIO 4 adds the option of Frame Clock.

Unused

Digital Input

Digital Output

Sample Clock

Vector Clock

Frame Clock

 

GPIO Pin Selections

Value

Digital Input
(TTL 3.3 VDC @ 2 mA)

Digital zero = 0

Digital one = 3.3

Digital Output

Digital zero = 0

Digital one = 1

Sample Clock (GPIO 2 only)

System Frequency

48 kHz

Vector Clock (GPIO 3 only)

3 kHz

6 kHz

Frame Clock GPIO 4 only)

Mainly intended for software debug.

Programmable - 30 Hz to 120 Hz

Control Pins

The available Control Pins depend on settings in Properties. There is one control pin for each GPIO pin that has either Digital Input, or Digital Output selected in the Properties. The GPIO Pins that have Unused, or any of the clocks, do not have a Control Pin associated with it.

Pin Name

Value

String

Position

Pins Available

Digital Input

0

1

false

true

0

1

Output

Digital Output

0

1

false

true

0

1

Input / Output

Software and Firmware | Resources | QSC Self Help Portal | Q-SYS Help Feedback