EVK-L2 - User guide
UBX-14000422 - R11
Starting up
Page 13 of 27
C1-Public
1.11
Registration on a cellular network
Command sent by DTE (user)
DCE response (module)
Description
AT+CREG?
+CREG: 0,1
OK
Verify the network registration.
AT+COPS=0
OK
Register the module on the network.
The cellular module automatically registers itself on
the cellular network. This command is necessary only if
the automatic registration failed (AT+CREG? returns
0,0).
AT+COPS?
+COPS: 0,0,"I TIM",7
OK
Read the operator name and radio access technology
(RAT).
For further AT command examples regarding Mobile Network Operator, Radio Access Technology,
and band selection and configuration, see the u-blox AT commands examples application note
1.12
Enable audio codec configuration to provide voice capability
Command sent by DTE (user)
DCE response (module)
Description
AT+UGPIOC?
+UGPIOC:
10,15
11,15
12,15
13,15
21,16
22,255
24,255
25,0
50,12
51,12
52,12
53,12
60,7
61,14
OK
Check the configuration of I2S pins (<gpio_id>=50, 51,
52, 53): they must be configured as I2S digital audio
interface (<gpio_mode> = 12, as the factory-
programmed value) to provide voice capability at the
headset jack connector using the external audio codec
mounted on the EVK-L2.
Check the configuration of the GPIO6 pin
(<gpio_id>=61): it must be configured as clock output
(<gpio_mode> = 14, as the factory programmed value)
to provide voice capability at the headset jack
connector using the external audio codec mounted on
the EVK-L2.
AT+USPM?
+USPM: 1,1,0,0,2
OK
Check the audio path mode setting: both the up-link
and the down-link paths must be configured as I2S
digital audio interface (e.g. <main_uplink> = 1,
<main_downlink> = 1, as the factory-programmed
value) to provide voice capability at the headset jack
connector using the external audio codec mounted on
the EVK-L2.
AT+UEXTDCONF=0,1
OK
Enable the automatic configuration of the external
Maxim MAX9860 audio codec mounted on the EVK-L2.
The setting is saved in the non-volatile memory (NVM)
and it is applied at each subsequent module power-on.
AT+CPWROFF
OK
Switch off the EVK-L2.
The external Maxim MAX9860 audio codec mounted on
the EVK-L2 will be fed by the 13 MHz clock provided by
the GPIO6 and it will be dynamically programmed over
I2C interface at any subsequent re-boot of the module
and every time audio path is enabled, providing voice
capability at the headset jack connector of the EVK-L2.
1.13
Switching off the EVK-L2
To switch off the EVK-L2, send the +CPWROFF AT command. Make sure to use this command before
switching off the main power, otherwise settings and configuration parameters may not be saved on
the EVK-L2.