LE910 Digital Voice Interface Application Note
LE910 Digital Voice Interface Application Note
LE910 Family
LE910-EUG
17.00.5x3
LE910-NAG
LE910-NVG
LE920 Family
LE920-EUG
LE920-NAG
Note: the features described by the present document are provided by the products equipped
with the software versions equal or higher than the versions shown in the table.
SPECIFICATIONS SUBJECT TO CHANGE WITHOUT NOTICE
Notice
While reasonable efforts have been made to assure the accuracy of this document, Telit
assumes no liability resulting from any inaccuracies or omissions in this document, or from
use of the information obtained herein. The information in this document has been carefully
checked and is believed to be entirely reliable. However, no responsibility is assumed for
inaccuracies or omissions. Telit reserves the right to make changes to any products described
herein and reserves the right to revise this document and to make changes from time to time
in content hereof with no obligation to notify any person of revisions or changes. Telit does
not assume any liability arising out of the application or use of any product, software, or
circuit described herein; neither does it convey license under its patent rights or the rights of
others.
It is possible that this publication may contain references to, or information about Telit
products (machines and programs), programming, or services that are not announced in your
country. Such references or information must not be construed to mean that Telit intends to
announce such Telit products, programming, or services in your country.
Copyrights
This instruction manual and the Telit products described in this instruction manual may be,
include or describe copyrighted Telit material, such as computer programs stored in
semiconductor memories or other media. Laws in the Italy and other countries preserve for
Telit and its licensors certain exclusive rights for copyrighted material, including the
exclusive right to copy, reproduce in any form, distribute and make derivative works of the
copyrighted material. Accordingly, any copyrighted material of Telit and its licensors
contained herein or in the Telit products described in this instruction manual may not be
copied, reproduced, distributed, merged or modified in any manner without the express
written permission of Telit. Furthermore, the purchase of Telit products shall not be deemed
to grant either directly or by implication, estoppel, or otherwise, any license under the
copyrights, patents or patent applications of Telit, as arises by operation of law in the sale of a
product.
License Agreements
The software described in this document is the property of Telit and its licensors. It is
furnished by express license agreement only and may be used only in accordance with the
terms of such an agreement.
Copyrighted Materials
Software and documentation are copyrighted materials. Making unauthorized copies is
prohibited by law. No part of the software or documentation may be reproduced, transmitted,
transcribed, stored in a retrieval system, or translated into any language or computer language,
in any form or by any means, without prior written permission of Telit
High Risk Materials
Components, units, or third-party products used in the product described herein are NOT
fault-tolerant and are NOT designed, manufactured, or intended for use as on-line control
equipment in the following hazardous environments requiring fail-safe controls: the operation
of Nuclear Facilities, Aircraft Navigation or Aircraft Communication Systems, Air Traffic
Control, Life Support, or Weapons Systems (High Risk Activities”). Telit and its supplier(s)
specifically disclaim any expressed or implied warranty of fitness for such High Risk
Activities.
Trademarks
TELIT and the Stylized T Logo are registered in Trademark Office. All other product or
service names are the property of their respective owners.
This Application Note covers the configurations of the Digital Voice Interface, e.g.: the
selections of the voice sampling frequency, the bit number of the voice sample, the audio
formats, etc. In addition, the document shows some configurations of a popular Audio Codec
connected to the Module. These activities are accomplished via I2S and I2C buses; the
hardware characteristics of the two buses are beyond the scope of the document.
The document is intended for those users that need to develop applications dealing with signal
voice in digital format.
For general contact, technical support, to report documentation errors and to order manuals,
contact Telit Technical Support Center (TTSC) at:
[email protected]
[email protected]
[email protected]
[email protected]
Alternatively, use:
http://www.telit.com/en/products/technical-support-center/contact.php
For detailed information about where you can buy the Telit Modules or for recommendations
on accessories and components visit:
http://www.telit.com
To register for product news and announcements or for product questions contact Telit
Technical Support Center (TTSC).
Our aim is to make this guide as helpful as possible. Keep us informed of your comments and
suggestions for improvements.
Telit appreciates feedback from the users of our information.
This document contains the following chapters:
Chapter 1: “Introduction” provides a scope for this document, target audience, contact and
support information, and text conventions.
Chapter 7: “External codec” provides an example of interfacing with an external audio codec.
Caution or Warning – Alerts the user to important points about integrating the module, if
these points are not followed, the module and end user equipment may fail or malfunction.
Tip or Information – Provides advice and suggestions that may be useful when
integrating the module.
The voice coming from the downlink, in digital format, is captured by the dedicated software
running on the Telit’s module and directed to the Digital Voice Interface. The Audio Codec
decodes the voice and sends it to the speaker. The other way round the voice captured by the
microphone is coded by the Audio Codec and directed through the Digital Voice Interface to
the module that collects the received voice, in digital format, and sends it on the uplink.
The DVI uses the PCM interface as part of the audio front end.
Uplink
Telit
Audio Codec
Module
The physical DVI interface provided by the Telit’s modules is based on the I2S Bus. An
overview of the standard I2S Bus is described in chapter 4.1. Tab. 1 summarizes the DVI
signals and a short description for each one of them: refer to documents [1] and [4] to have
information on electrical characteristics and signals pin-out in accordance with the used
module.
Note:
#DVICFG parameters are saved in the extended profile .
LE910 supports only the first parameter <clock>
Normal mode (factory default) = 128KHz with sample rate 8k.
High speed mode = 2048KHz with sample rate 16k.
LE920 supports only the first parameter <clock>
Normal mode (factory default) = 2048KHz with sample rate 8k.
High speed mode = 4096KHz with sample rate 16k.
Another parameters (<decoder pad>,<decoder format>,<encoder
pad>,<encoder format>)have no effect and are included only for backward
compatibility.
AT#DVICFG=? Test command returns the supported range of values of parameter <clock>,
<decoder pad>,<decoder format>,<encoder pad>,<encoder format>.
The AT#DVI command enables/disables the DVI interface.
Its syntax is the following:
<dviport>
2 - DVI port 2 (factory default)
<clockmode>
0 - DVI slave (mode not supported)
1 - DVI master (factory default)
Note:
#DVI parameters are saved in the extended profile
LE910/LE920 support “DVI master” mode only.
The <dviport> and <clockmode> parameters have no effect and are included only
for backward compatibility with the Telit
On Active/MT/MO Voice Call return Error.
AT#DVI? Read command reports last setting, in the format:
#DVI: <mode>,<dviport>,<clockmode>
AT#DVI=? Test command reports the range of supported values for parameters
<mode>,<dviport> and <clockmode>
Example AT#DVI=1,2,1
OK
DVI activated for audio. DVI is configured as master providing on DVI Port #2
The LE910 modules have the following possible configurations:
t(sync)
PCM_SYNC
t(synca) t(syncd)
PCM_CLOCK
t(clkh) t(clkl)
t(susync)
t(hsync)
PCM_SYNC
t(sudin) t(hdin)
t(clk)
PCM_CLOCK
t(clkh) t(clkl)
t(susync)
t(hsync)
PCM_SYNC
fig. 2.
NOTE: The CODEC Example is applicable only to the High Speed mode
Master Mode
16KHz
16 bits
2.048MHz clock
1
The following examples use the MAX9867 Codec, see chapter 4.2 for a schematic reference design. In general, the user
can use any codec compliant with the technical requirements of the Telit’s modules.
The module has the role of master. In this case, the WAO and CLK signals are generated by
the module. The WAO signal defines the frame of the audio channel.
The following part is showing the commands necessary to set the DVI and the codec
OK
X GPIO number used as SDA, refer to [3]
Y GPIO number used as SCL, refer to [3]
30 Device address on I2C, refer to [2]
4 Register address from which start the writing, refer to [2]
19 number of bytes to write
>00101000…..refer to [2]
AT#I2CWR=X,Y,30,17,1
>8A
OK
X GPIO number used as SDA, refer to [3]
Y GPIO number used as SCL, refer to [3]
30 Device address on I2C, refer to [2]
17 Register address where write data, refer to [2]
1 number of bytes to write
>8A, refer to [2]
The CODEC configuration is described in the following table (refer to the MAX9867
datasheet for the details):
Register Value Value
Register Name Description
address (Hex) (Bin)
0x04 Interrupt Enable 0 0 Disabled
MAS=0 : The MAX9867 operates in slave mode with LRCLK and BCLK
configured as inputs.
WCI ignored because TDM=1
BCI=0 : SDIN is latched into the part on the rising edge of BCLK. SDOUT
transitions after the rising edge of BCLK as determined by SDODLY*.
DLY ignored because TDM=1
HIZOFF=0 : SDOUT goes to a high-impedance state after all data bits have
0x08 Interface mode 1a 4 100 been transferred out of the MAX9867, allowing SDOUT to be shared by other
devices.
TDM=1 : LRCLK is a framing pulse that transitions polarity to indicate the
start of a frame of audio data consisting of multiple channels. When
operating in TDM mode, the left channel is output immediately following the
frame sync pulse. If rightchannel data is being transmitted, the 2nd channel
of data immediately follows the 1st channel data.
LVOLFIX=0 :
0x09 Interface mode 1b 0 0 DMONO=0 : Stereo data input on SDIN is processed separately.
BSEL=0 : No effect becasue in Slave Mode
DACM=0 : NO Mute
0x0C DAC Level 0 0 DACG=0 : 0dB
DACA=0 : 0dB Gain
MICCLK=0 : PCLK/8
0x15 Microphone 0 0 DIGMICL=0 and DIGMICR=0 : Left ADC input= ADC input mixer, Right ADC
Input=ADC input mixer.
The standard I2S is an electrical serial bus designed for connecting digital audio devices. This popular serial
bus has been developed by Philips® in 1986 as a 3-wire bus for interfacing to audio chips such as codecs. It is
a simple data interface, without any form of address or device selection.
Refer to fig. 3: the I2S design handles audio data separately from clock signals. On an I2S bus, there is only
one bus master and one transmitter.
In high-quality audio applications involving a Codec, the Codec is typically the master so that it has precise
control over the I2S bus clock.
The I2S bus carries two channels (left and right) 8 bit long, which are typically used to carry stereo audio data
streams. The data alternates between left and right channels, as controlled by the word select signal driven by
the bus master.
clock SCK
word select WS
data SD
clock SCK
word select WS
data SD