Configure Audio Interface For Earphones - u-blox EVK-R6 User Manual

Lara-r6 and lara-l6 series cellular evaluation kits
Table of Contents

Advertisement

C.5 Configure audio interface for earphones
The audio interface has to be configured by selecting among the available settings a combination
supported by the used audio codec.
The EVK-R6001, EVK-R6401, EVK-R6801 and EVK-L6004 for the LARA-R6 and LARA-L6 modules
supporting voice and data mount a Maxim Integrated MAX9860 audio voice codec and the default
configuration module already matches with the setting supported by MAX9860. The user only needs
to activate the audio codec
Command sent by DTE (user)
AT+USPM=1,0
AT+UI2S=14,1,0,3,0
AT+UGPIOC=34,12
AT+UGPIOC=35,12
AT+UGPIOC=36,12
AT+UGPIOC=37,12
AT+UEXTDCONF=0
AT+UEXTDCONF=0,1
AT+UTGN=440,500,100
4
optional: this command is not needed if the module audio settings have been not changed and they have the default values.
UBX-21035387 - R03
C1-Public
DCE response (module)
OK
OK
OK
OK
OK
OK
OK
OK
OK
+UUTGN: 0
Appendix
EVK-R6 and EVK-L6 - User guide
Description
Set the headset profile (default setting)
Configures the I2S digital audio interface
(default setting) (
1
).
Configures the GPIO pin 34 (I2S_WA) as
I2S digital audio interface (default
setting) (
1
).
Configures the GPIO pin 35 (I2S_TXD) as
I2S digital audio interface (default
setting) (
1
).
Configures the GPIO pin 36 (I2S_CLK) as
I2S digital audio interface (default
setting) (
1
).
Configures the GPIO pin 37 (I2S_RXD) as
I2S digital audio interface (default
setting) (
1
).
Disable the audio codec and restore the
default settings (
1
).
Defines the settings to be downloaded to
the Maxim MAX9860 external audio
codec. If it was disabled (as per default
setting), it will be enabled and configured
properly. In other scenarios,
AT+UEXTDCONF=0 shall have to be issued
previously.
Play a 440 Hz tone, 0.5 s long, volume
0 dB.
4
.
Page 24 of 27

Advertisement

Table of Contents
loading

Table of Contents