LEON-G100 / LEON-G200 - System Integration Manual
GSM.G1-HW-09002-G3
Preliminary
System description
Page 73 of 125
1.12
General Purpose Input/Output (GPIO)
LEON-G100 / LEON-G200 modules provide some pins which can be configured as general purpose input or
output, or to provide special functions via u-blox AT commands (for further details refer to
u-blox AT Commands
[2], AT+UGPIOC, AT+UGPIOR, AT+UGPIOW, AT+UGPS, AT+UGPRF, AT+USPM).
The number of available general purpose input/output pins and the special functions availability can vary
depending on the LEON-G100 / LEON-G200 ordering code.
For each pin the GPIO configuration is saved in the non volatile memory. For more details refer to
u-blox
AT commands manual
1.12.1
LEON-G100-06x / LEON-G200-06S and subsequent versions
LEON-G100-06x / LEON-G200-06S and subsequent versions provide 5 general purpose input/output pins:
GPIO1
,
GPIO2
,
GPIO3
,
GPIO4
,
HS_DET
. The available functions are described below:
GPS supply enable
:
GPIO2
is by default configured by AT+UGPIOC command to enable or disable the supply of the u-blox GPS
receiver connected to the wireless module.
The
GPIO1
,
GPIO3
,
GPIO4
or
HS_DET
pins can be configured to provide the “GPS supply enable” function,
alternatively to the default
GPIO2
pin, setting the parameter <gpio_mode> of AT+UGPIOC command to 3.
The pin configured to provide the “GPS supply enable” function is set as
o
Output / High, to switch on the u-blox GPS receiver, if the parameter <mode> of AT+UGPS
command is set to 1
o
Output / Low, to switch off the u-blox GPS receiver, if the parameter <mode> of AT+UGPS
command is set to 0 (default setting)
The pin configured to provide the “GPS supply enable” function must be connected to the active-high
enable pin (or the active-low shutdown pin) of the voltage regulator that supplies the u-blox GPS receiver on
the application board.
GPS data ready
:
GPIO3
is by default configured by AT+UGPIOC command to sense when the u-blox GPS receiver connected
to the wireless module is ready to send data by the DDC (I
2
C) interface.
Only the
GPIO3
pin can be configured to provide the “GPS data ready” function, setting the parameter
<gpio_mode> of AT+UGPIOC command to 4 (default setting).
The pin configured to provide the “GPS data ready” function is set as
o
Input, to sense the line status, waking up the wireless module from idle-mode when the u-blox GPS
receiver is ready to send data by the DDC (I
2
C) interface, if the parameter <mode> of AT+UGPS
command is set to 1 and the parameter <GPS_IO_configuration> of AT+UGPRF command is set to
16
o
Tri-state with an internal active pull-down enabled, otherwise (default setting)
The pin must be connected to the data ready output of the u-blox GPS receiver (i.e. the pin TxD1 of the
u-blox GPS receiver) on the application board.
GPS RTC sharing
:
GPIO4
is by default configured by AT+UGPIOC command to provide a synchronization timing signal to the
u-blox GPS receiver connected to the wireless module.
Only the
GPIO4
pin can be configured to provide the “GPS RTC sharing” function, setting the parameter
<gpio_mode> of AT+UGPIOC command to 5 (default setting).
The pin configured to provide the “GPS RTC sharing” function is set as