Specifications
I2S Audio Commands
Rev. 8 May.12 Proprietary and Confidential 167
!AVCUSTI2CCFG
Supporting chipsets (voice-
enabled devices only):
• MDM8200A (min f/w rev:
R0.2.15.0)
Note: This command is not
password protected.
Configure external codec I2C details
(This command is used only when the modem is controlling a codec in commercial
mode—[AT!AVUSEMCU=0 and AT!AVMODESET=1].)
Configure the external codec’s I2C interface.
The change takes effect immediately. This setting is stored in non-volatile memory
and persists across power cycles.
Usage:
• Execution: AT!AVCUSTI2CCFG=<bus frequency>, <slave ID>,
<address type>, <device type>, <read option>
Response:
OK
Purpose: Set I2C interface options.
• Query: AT!AVCUSTI2CCFG?
Response:
!AVCUSTI2CCFG: <bus frequency>, <slave ID>,
<address_type>, <device_type>, <read_option>
OK
Purpose: Return the current I2C interface configuration.
• Query list: AT!AVCUSTI2CCFG=?
Purpose: Return the command format and supported <values>.
Parameters:
<bus frequency> (I2C bus frequency)
• 100=100 KHz
• 400=400 KHz
• 3400=3400 KHz
<slave ID> (I2C slave ID)
• 0x00–0x7F (0–127)
• In the execution command, the value may be entered in hexadecimal or
decimal format.
• In the query response, the value is shown in hexadecimal format.
<address type> (Slave address type)
• 0=7-bit slave address
• 1=10-bit slave address
<device type> (I2C address device type)
• 1=I2C memory address device
• 2=I2C register address device
<read option> (Master-generated signals required on bus before read)
• 1=Start signal required before read
• 2=Stop and start signals required before read
Table 8-2: I2S audio command details (Continued)
Command Description