User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
16GPIO
Page 188 of 401
16.1.2.1SARA-R4 / SARA-N4 GPIO mapping
<gpio_id> Pin name Pin number Factory-programmed function Remarks
7 RI 7 Pin disabled Only pin 7 can be configured for
"UART RI line" functionality
16 GPIO1 16 Pin disabled Only pin 16 can be configured
for "Network status indication"
functionality.
23 GPIO2 23 Pin disabled Only pin 23 can be configured for
"GNSS supply enable" functionality.
24 GPIO3 24 Pin disabled Only pin 24 can be configured for
"GNSS data ready" functionality.
25 GPIO4 25 Pin disabled -
42 GPIO5 42 Pin disabled Only pin 42 can be configured for
"SIM card detection" functionality
19 GPIO6 19 Pin disabled -
Table 16: SARA-R4 / SARA-N4 series GPIO mapping
16.1.2.2Additional notes
SARA-R4 / SARA-N4
When the SIM card detection functionality is enabled, the +CIND AT command reports the status.
When the SIM card detection functionality is enabled, the status can be read with the +UGPIOR AT
command.
See the corresponding module system integration manual for the complete overview of all allowed
configurations.
16.1.3Network status indication
When a GPIO pin is configured to provide network status indication, its progress depends on the CS network
registration state (see +CREG) and on the module transmission state:
No service: indicates no network coverage or not registered state
Registered home network 2G: indicates registered state on home network in 2G RAT
Registered home network 3G: indicates registered state on home network in 3G RAT
Registered home network NB1 / NB2: indicates registered state on home network in NB1 / NB2
Registered roaming 2G: indicates registered state with visitor 2G network (roaming in 2G RAT)
Registered roaming 3G: indicates registered state with visitor 3G network (roaming in 3G RAT)
Registered roaming NB1 / NB2: indicates registered state with visitor NB1 / NB2 network (roaming in NB1 /
NB2)
Data transmission: indicates voice or data call active either in 2G, 3G or 4G RAT
Data transmission roaming: indicates voice or data call active either in 2G, 3G or 4G RAT with visitor network
The following figures report the allowed progresses for GPIO pin set as network indication: V
H
and V
L
values
are provided in the corresponding module data sheet in the "Generic Digital Interfaces pins" section.
16.1.3.1No service (no network coverage or not registered)
Continuous Output / Low