Difference between revisions of "Gpio"
Line 7: | Line 7: | ||
''Hardware Electrical Level is either "Low" (0V) or "High". Active level is LOW level''. | ''Hardware Electrical Level is either "Low" (0V) or "High". Active level is LOW level''. | ||
+ | [[File:GPI.png|thumb|705x705px]] | ||
+ | <br /> | ||
===Logical Inputs=== | ===Logical Inputs=== | ||
− | + | A "Logical GPI" is an input stimulus which may come from one of these sources : | |
− | *Hardware : physical electrical level present on the Input Pins of the GPIO connector. This is "Hardware GPI[1 to ''n'']". Active level is LOW level (grounded signal). | + | *Hardware : the logical GPI gets its level from physical electrical level present on the Input Pins of the GPIO connector. This is "Hardware GPI[1 to ''n'']". Active level is LOW level (grounded signal). |
− | *Remote : logical level received from another device transported on IP. This is "ULA GPI[1 to ''m'']". Two protocols are recognized: | + | *Remote : the logical GPI level is received from another device transported on IP. This is "ULA GPI[1 to ''m'']". Two protocols are recognized: |
**Livewire : status retrieved from another Livewire Device. See below. | **Livewire : status retrieved from another Livewire Device. See below. | ||
− | **SOUND4IP : one of the local DECODERs receives the GPI status from a SOUND4IP ENCODER on another device. | + | **SOUND4IP : one of the local SOUND4IP DECODERs receives the GPI status from a SOUND4IP ENCODER on another device. |
− | For each GPI, an action may be triggered when ACTIVE or INACTIVE level is reached, for example change a config or launch a script. | + | For each logical GPI, an action may be triggered when ACTIVE or INACTIVE level is reached, for example change a config or launch a script. |
− | Every GPI may also be routed to a GPO. | + | Every logical GPI may also be routed to a logical GPO. |
===Logical Outputs=== | ===Logical Outputs=== | ||
− | + | A "Logical GPO" is an internal state which is exposed to external world. | |
− | + | Each logical GPO gets its level amongst one of many sources : | |
− | |||
− | |||
− | |||
− | |||
− | |||
*"patched" to any GPI | *"patched" to any GPI | ||
*"patched" forced ON or OFF or Heartbeat | *"patched" forced ON or OFF or Heartbeat | ||
*"Software Routing", triggered from a state variable condition, for example which Preset is On Air, or Digital Input Level less than xxdBfs, etc | *"Software Routing", triggered from a state variable condition, for example which Preset is On Air, or Digital Input Level less than xxdBfs, etc | ||
+ | |||
+ | The logical GPO level is then available on one one : | ||
+ | |||
+ | *Hardware : the logical GPO drives a physical electrical level on the Output Pins of the GPIO connector. This is "Hardware GPO[1 to ''n'']". Active level is Closed Contact. | ||
+ | *Remote : the logical level is sent to another device transported on IP. This is "ULA GPO[1 to ''m'']". Two protocols are recognized: | ||
+ | **Livewire : status sent to another Livewire Device. See below. | ||
+ | **SOUND4IP : one of the local SOUND4IP ENCODERs sends the GPO level to one or many SOUND4IP DECODER(s) on other device(s). | ||
<br /> | <br /> |
Revision as of 10:06, 23 February 2021
Contents
GPIO Concept
SOUND4 products has a generalized logical GPIO concept, with high versatility and many high level features as script capability.
GPIO means "General Purpose Input Output"
Logical Level is either "Active" or "Inactive"
Hardware Electrical Level is either "Low" (0V) or "High". Active level is LOW level.
Logical Inputs
A "Logical GPI" is an input stimulus which may come from one of these sources :
- Hardware : the logical GPI gets its level from physical electrical level present on the Input Pins of the GPIO connector. This is "Hardware GPI[1 to n]". Active level is LOW level (grounded signal).
- Remote : the logical GPI level is received from another device transported on IP. This is "ULA GPI[1 to m]". Two protocols are recognized:
- Livewire : status retrieved from another Livewire Device. See below.
- SOUND4IP : one of the local SOUND4IP DECODERs receives the GPI status from a SOUND4IP ENCODER on another device.
For each logical GPI, an action may be triggered when ACTIVE or INACTIVE level is reached, for example change a config or launch a script.
Every logical GPI may also be routed to a logical GPO.
Logical Outputs
A "Logical GPO" is an internal state which is exposed to external world.
Each logical GPO gets its level amongst one of many sources :
- "patched" to any GPI
- "patched" forced ON or OFF or Heartbeat
- "Software Routing", triggered from a state variable condition, for example which Preset is On Air, or Digital Input Level less than xxdBfs, etc
The logical GPO level is then available on one one :
- Hardware : the logical GPO drives a physical electrical level on the Output Pins of the GPIO connector. This is "Hardware GPO[1 to n]". Active level is Closed Contact.
- Remote : the logical level is sent to another device transported on IP. This is "ULA GPO[1 to m]". Two protocols are recognized:
- Livewire : status sent to another Livewire Device. See below.
- SOUND4IP : one of the local SOUND4IP ENCODERs sends the GPO level to one or many SOUND4IP DECODER(s) on other device(s).
Livewire GPIO
. Either Snake (mirroring) from another device, or controlled from a console.
Livewire GPIO config under Remote (snake mode)
How to configure a LW GPO port on SOUND4 products ? (snake mode)
Same config as Axia GPIO :
<IP address>/<GPIO port #>
- IP address of remote GPI to duplicate
- One port is 5 pins on Axia devices, 8 on SOUND4.
- Port # is 1 for most Devices, up to 2 for Impact, up to 8 for Axia GPIO node