User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
16GPIO
Page 187 of 401
16GPIO
16.1Introduction
The section describes the AT commands used to configure the GPIO pins provided by u-blox cellular modules.
16.1.1GPIO functions
On u-blox cellular modules, GPIO pins can be opportunely configured as general purpose input or output.
Moreover GPIO pins of u-blox cellular modules can be configured to provide custom functions via +UGPIOC
AT command. The custom functions availability can vary depending on the u-blox cellular modules series and
version: see Table 15 for an overview of the custom functions supported by u-blox cellular modules.
<gpio_mode>
Output
Input
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
I2S digital audio interface
SPI serial interface
Master clock generation
UART (DSR, DTR, DCD and RI) interface
Wi-Fi enable
Ring indicator
Last gasp
External GNSS antenna / LNA control
Time pulse GNSS
Time pulse modem
Time stamp of external interrupt
Fast power-off
LwM2M pulse
Hardware flow control (RTS, CTS)
Antenna dynamic tuning
External GNSS time pulse
External GNSS time stamp of external interrupt
DTR mode for power saving control
32.768 kHz output
Pad disabled
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 18 19 20 21 22 23 24 25 26 27 28 29 30 32 255
SARA-R410M-63B /
SARA-R410M-73B /
SARA-R410M-83B
* * * * * * * * * * *
SARA-R410M-02B /
SARA-R410M-52B
* * * * * * * *
2
*
3
*
4
*
SARA-R404M /
SARA-R410M-01B
* * * * * *
SARA-R412M * * * * * * * * * *
5
*
SARA-N4 * * * * * * * * *
Table 15: GPIO custom functions overview
The configuration of the GPIO pins (i.e. the setting of the parameters of the +UGPIOC AT command) is saved
in the NVM and used at the next power-on.
16.1.2GPIO mapping
The number of available GPIO pins and their mapping can vary depending on the u-blox cellular modules series
and version. The GPIOs mapping for different u-blox cellular modules is reported in the following tables.
See the corresponding module system integration manual for the functions supported by each GPIO.
2
Not supported by SARA-R410M-02B-00
3
Not supported by SARA-R410M-02B-00
4
Not supported by SARA-R410M-02B-00, SARA-R410M-02B-01, SARA-R410M-52B-00, SARA-R410M-
52B-01
5
Not supported by SARA-R412M-02B-00, SARA-R412M-02B-01