LEON-G100 / LEON-G200 - System Integration Manual
GSM.G1-HW-09002-G3
Preliminary
System description
Page 74 of 125
o
Output, to provide a synchronization time signal to the u-blox GPS receiver for RTC sharing 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 32
o
Output / Low, otherwise (default setting)
The pin must be connected to the synchronization timing input of the u-blox GPS receiver (i.e. the pin
EXTINT0 of the u-blox GPS receiver) on the application board.
Headset detection
:
The
HS_DET
pin is by default configured by AT+UGPIOC command to detect headset presence.
Only the
HS_DET
pin can be configured to provide the “Headset detection” function, setting the parameter
<gpio_mode> of AT+UGPIOC command to 8 (default setting).
The pin configured to provide the “Headset detection” function is set as
o
Input with an internal active pull-up enabled, to detect headset presence
The pin must be connected on the application board to the mechanical switch pin of the headset connector,
which must be connected to GND by means of the mechanical switch integrated in the headset connector
when the headset plug is not inserted, causing
HS_DET
to be pulled low. Refer to Figure 43 and to chapter
1.10.1.4 for the detailed application circuit. When the headset plug is inserted
HS_DET
is pulled up
internally by the module, causing a rising edge for detection of the headset presence.
Network status indication
:
Each GPIO (
GPIO1
,
GPIO2
,
GPIO3
,
GPIO4
or
HS_DET
) can be configured to indicate network status (i.e. no
service, registered home network, registered roaming, voice or data call enabled), setting the parameter
<gpio_mode> of AT+UGPIOC command to 2.
No GPIO pin is by default configured to provide the “Network status indication” function.
The pin configured to provide the “Network status indication” function is set as
o
Continuous Output / Low, if no service (no network coverage or not registered)
o
Cyclic Output / High for 100 ms, Output / Low for 2 s, if registered home network
o
Cyclic Output / High for 100 ms, Output / Low for 100 ms, Output / High for 100 ms, Output / Low
for 2 s, if registered visitor network (roaming)
o
Continuous Output / High, if voice or data call enabled
The pin configured to provide the “Network status indication” function can be connected on the application
board to an input pin of an application processor or can drive a LED by a transistor with integrated resistors
to indicate network status.
General purpose input
:
All the GPIOs (
GPIO1
,
GPIO2
,
GPIO3
,
GPIO4
and
HS_DET
) can be configured as input to sense high or low
digital level through AT+UGPIOR command, setting the parameter <gpio_mode> of AT+UGPIOC command
to 1.
No GPIO pin is by default configured as “General purpose input”.
The pin configured to provide the “General purpose input” function is set as
o
Input, to sense high or low digital level through AT+UGPIOR command
The pin can be connected on the application board to an output pin of an application processor to sense the
digital signal level.
General purpose output
:
All the GPIOs (
GPIO1
,
GPIO2
,
GPIO3
,
GPIO4
and
HS_DET
) can be configured as output to set the high or
the low digital level through AT+UGPIOW command, setting the parameter <gpio_mode> of +UGPIOC AT
command to 0.
No GPIO pin is by default configured as “General purpose output”.
The pin configured to provide the “General purpose output” function is set as
o
Output / Low, if the parameter <gpio_out_val> of + UGPIOW AT command is set to 0
o
Output / High, if the parameter <gpio_out_val> of + UGPIOW AT command is set to 1
The pin can be connected on the application board to an input pin of an application processor to provide a
digital signal.