AN332
118
Confidential Rev. 0.2
Command 0x80. GPIO_CTL
Enables output for GPO1, 2, and 3. GPO1, 2, and 3 can be configured for output (Hi-Z or active drive) by setting
the GPO1OEN, GPO2OEN, and GPO3OEN bit. The state (high or low) of GPO1, 2, and 3 is set with the
GPIO_SET command. To avoid excessive current consumption due to oscillation, GPO pins should not be left in a
high impedance state. The CTS bit (and optional interrupt) is set when it is safe to send the next command. This
command may only be sent when in powerup mode. The default is all GPO pins set for high impedance.
Notes:
1.
GPIO_CTL is supported in AM_SW_LW component 2.0 or higher.
2.
The use of GPO2 as an interrupt pin and/or the use of GPO3 as DCLK digital clock input will override this GPIO_CTL
function for GPO2 and/or GPO3 respectively.
Command arguments: One
Response bytes: None
Command
Response
Bit
D7
D6
D5
D4
D3
D2
D1
D0
CMD
1
0
0
0
0
0
0
0
ARG1
0
0
0
0
GPO3OEN GPO2OEN GPO1OEN
0
ARG
Bit
Name
Function
1
7:4
Reserved
Always write 0.
1
3
GPO3OEN
GPO3 Output Enable.
0 = Output Disabled (Hi-Z) (default).
1 = Output Enabled.
1
2
GPO2OEN
GPO2 Output Enable.
0 = Output Disabled (Hi-Z) (default).
1 = Output Enabled.
1
1
GPO1OEN
GPO1 Output Enable.
0 = Output Disabled (Hi-Z) (default).
1 = Output Enabled.
1
0
Reserved
Always write 0.
Bit
D7
D6
D5
D4
D3
D2
D1
D0
STATUS
CTS
ERR
X
X
X
RDSINT
ASQINT
STCINT