EVK-U20, EVK-U23 - User Guide
UBX-13001794 - R07
Early Production Information
Starting up
Page 10 of 21
1.12
Audio codec configuration and enabling / disabling
Command sent by DTE (user) DCE response (module)
Description
AT+UGPIOC?
+UGPIOC:
16,255
23,3
24,4
25,5
34,12
35,12
36,12
37,12
42,7
OK
Check the I2S pins (<gpio_id> = 34, 35, 36, 37) configuration: they must
be configured as I2S digital audio interface (<gpio_mode> = 12) to
provide voice capability at the EVB headset jack connector using the
external audio codec mounted on the EVK-U2x.
AT+USPM?
+USPM:
0
,
0
,0,0,2
OK
Check the audio path mode setting: both the <main_uplink> path and
the <main_downlink> path must be configured as I2S digital audio
interface (e.g. <main_uplink> = 0, <main_downlink> = 0) to provide
voice capability at the EVB headset jack connector using the external
audio codec mounted on the EVK-U2x.
AT+UEXTDCONF=0,1
OK
The audio codec configuration is
enabled
at any subsequent re-boot of
the module, with the execution of the following actions:
Set module CODEC_CLK pin to provide 13 MHz master clock to the
external Maxim MAX9860 audio codec mounted on EVK-U2x
Open the DDC logical channel connected to the external codec
Send, via DDC, the specified byte sequence for codec configuration
Close the DDC logical channel connected to the external codec
Note that the AT+UEXTDCONF setting must be saved in the module’ non
volatile memory by switching off the module with AT+CPWROFF to be in
use at any subsequent re-boot of the module.
AT+UEXTDCONF=0,0
OK
The audio codec configuration is
disabled
at any subsequent re-boot of
the module.
Note that the AT+UEXTDCONF setting must be saved in the module’ non
volatile memory by switching off the module with AT+CPWROFF to be in
use at any subsequent re-boot of the module.
1.13
Switching off the EVK-U2x
To switch off the EVK-U2x, send the AT+CPWROFF command. Make sure to use this command before switching
off the main power, otherwise settings and configuration parameters may not be saved on EVK-U2x.