User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
16GPIO
Page 192 of 401
16.1.4Module status indication
When a GPIO pin is configured to provide module status indication, its progress depends on the current module
status (power-off mode, i.e. module switched off, versus idle, active or connected mode, i.e. module switched
on):
Output / High, when the module is switched on (any operating mode during module normal operation: idle,
active or connected mode)
Output / Low, when the module is switched off (power-off mode)
16.1.5Module operating mode indication
When a GPIO pin is configured to provide module operating mode indication, its progress depends on the
current module operating mode (the low power idle mode versus active or connected mode):
Output / High, when the module is in active or connected mode
Output / Low, when the module is in idle mode (that can be reached if the power saving is enabled by the
+UPSV AT command)
16.2GPIO select configuration command +UGPIOC
+UGPIOC
Modules All products
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
partial No NVM No < 10 s +CME Error
16.2.1Description
Configures the GPIOs pins as input, output or to handle a custom function. When the GPIOs pins are configured
as output pin, it is possible to set the value.
The test command provides the list of the supported GPIOs, the supported functions and the status of all the
GPIOs.
Not all the GPIO functions can be assigned to each GPIO pin. If the configuration is not allowed, an error
result code will be returned (error result code 1502 - "+CME ERROR: Select GPIO mode error").
The following custom functions cannot be simultaneously configured on 2 GPIOs:
Network status indication
External GNSS supply enable
External GNSS data ready
External GNSS RTC sharing
Jamming detection indication
SIM card detection
Headset detection
GSM Tx burst indication
Module status indication
Module operating mode indication
Ring indicator
Last gasp
External GNSS antenna / LNA control
Time pulse GNSS
Time pulse modem
Time stamp of external interrupt
Fast power-off
External GNSS time pulse
External GNSS time stamp of external interrupt
DTR mode for power saving control
32.768 kHz output
For more details regarding the custom functions supported by the u-blox cellular modules and the
factory-programmed settings, see GPIO functions and GPIO mapping.