SIM5350 AT Command Set
9.8
AT+CGFUNC Enable/disable the function for the special GPIO.
Description
SIM5350 supplies many GPIOs, all of which can be used as General Purpose Input/Output pin,
interrupt pin and some of them can be used as function pin.
This command is used to enable/disable the function for the special GPIO. Please refer to the
document "SIM535x_GPIO_Application_note" for more details.
The configuration will be saved automatically.
SIM PIN
References
NO
Vendor
Syntax
Test Command
AT+CGFUNC=?
Read Command
AT+CGFUNC=<function>
Write Command
AT+CGFUNC=<function>,
<switch>
Defined values
<function>
1 GPIO39 used for status led output.
2 GPIO37 used for wakeup SIM535x.
3 GPIO36 used for wakeup the host CPU.
6 GPIO9, GPIO10, GPIO11, GPIO12 used for external audio codec PCM interface.
7 GPIO47 used for CLOCK M0 function.
9 GPIO46 used for PWM clock output.
10 GPIO15, GPIO16 used for IIC.
11 GPIO53 used for SIM card auto detect.
<switch>
0 disable the function, the corresponding PIN function as GPIO.
1 enable the function.
Examples
SIM5350_ATC_V1.02
Responses
+CGFUNC: (list of supported <function>s),(list of supported
<switch>s)
OK
Responses
+CGFUNC:
<switch>
OK
ERROR
Responses
OK
ERROR
135
6/9/2014
Need help?
Do you have a question about the SIM5350 and is the answer not in the manual?