EVK-R2 - User Guide
UBX-16016088 - R10
Starting up
Page 16 of 27
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?
TOBY-R2 case:
+UGPIOC:
21,255
22,255
24,255
25,0
50,12
51,12
52,12
53,12
60,7
OK
LARA-R2 case:
+UGPIOC:
16,255
23,255
24,255
25,0
34,12
35,12
36,12
37,12
42,7
OK
Check the configuration of I2S pins (<gpio_id> = 50, 51,
52, 53 for TOBY-R2, <gpio_id> = 34, 35, 36, 37 for
LARA-R2): 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-R2.
AT+USPM?
+USPM: 1,1,0,0,2
OK
Check the audio path mode setting: both the up-link
and the down-link paths need to be configured as I
2
S
digital audio interfaces (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-R2.
AT+UEXTDCONF=0,1
OK
Enable the automatic configuration of the external
Maxim MAX9860 audio codec mounted on the EVK-R2.
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-R2.
The external Maxim MAX9860 audio codec mounted on
the EVK-R2 will be fed by the 13 MHz master clock
provided by the GPIO6 and it will be dynamically
programmed over the I
2
C interface at any subsequent
re-boot of the module and every time the audio path is
enabled, providing voice capability at the headset jack
connector of the EVK-R2.
1.13
Switching off the EVK-R2
To switch off the EVK-R2, 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 in
the internal non-volatile memory of the cellular module.