User Manual

UG_1x66B_009 73M1866B/73M1966B FXOCTL Application User Guide
Rev. 4.1 17
2.9.2 GPIO Data Command
Using this data command the GPIO pin can be read (if configured as input) or written into (if configured
as output) with signal level of high or low.
Syntax (GET)
FXOCTL:NN> gpio data get gpioX
Where: gpioX gpio5, gpio6, or gpio7.
NN Shows the current active channel ID.
Syntax (SET)
FXOCTL:NN> gpio data set gpioX [low|high]
Where: gpioX gpio5, gpio6, or gpio7.
NN Shows the current active channel ID.
The following is a log of the gpio data commands.
Figure 15: GPIO Data Command Logging Session
2.9.3 GPIO Control Command
The GPIO pin is controlled (enable/disable) using this command. Once configured properly using the
config command the GPIO can be set to operational using this command.
Syntax
FXOCTL:NN> gpio [enable|disable] gpioX
Where: gpioX gpio5, gpio6, or gpio7
NN Shows the current active channel ID.
The following is a log of the gpio control commands.
Figure 16: GPIO Control Logging Session
FXOCTL:00> gpio data set gpio6 low
FXOCTL:00> gpio data get gpio6
GPIO6 data:LOW
Write “low” signal to GPIO6.
Read the GPIO6 data signal.
FXOCTL:00> gpio enable gpio5
FXOCTL:00> gpio disable gpio6
Enable GPIO5.
Disable GPIO6.