EasyManua.ls Logo

Thales Gemalto AGS2-E - Configuration; Master;Slave; Bit Clock; Framesync

Thales Gemalto AGS2-E
34 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Audio Codec Adapter Setup for Cinterion
®
Modules
3.1 Assembly with DSB75 and AH6-DSB75 Adapter
33
audio_codec_adapter_setup_v04 2019-10-16
Confidential / Released
Page 17 of 34
3.1.1 Configuration
Depending on the module and the required audio scenario, the Audio Codec Adapter may have
to be configured in different ways - and with different settings. As described in Section 2.1.2.2,
the Audio Codec Adapter can be configured in two ways - by means of a DIP switch or via
RS232 COM port and a special Terminal mode. Both possibilities are referred to in the below
sections that describe the possible configuration settings for various modules, including DIP
switch settings and settings for the module via AT command.
3.1.1.1 Master/Slave
Master and slave configuration settings are seen from the point of view of the Audio Codec
Adapter. For example, if a module is configured as master (see [1]: AT^SAIC), the Audio Codec
Adapter must be configured as slave. In order to avoid outputs driving outputs, this setting is
important. Note that ELS31 modules cannot be configured as masters. As slaves they are
therefore always the receiver of the master clock.
In master mode the bit clock (BCLK; see Section 3.1.1.2) and sampling rate (Framesync =
FSC; see Section 3.1.1.3) are driven by the Audio Codec Adapter. The appropriate level con-
verters are set to output. Also note that with MAX9860, BCLK and FSC can be set separately
as Master or Slave, while NAU8822 can only be switched to either Master or Slave.
3.1.1.2 Bit Clock
In slave mode the bit clock is derived from the PCM/DAI interface lines. There is no need to
adjust anything at the Audio Codec Adapter.
In master mode however, the bit clock is derived directly from the master clock (MCLK) provid-
ed by the Audio Codec Adapter’s MCU.
While in master mode, the following command can be specified in order to configure the bit
clock:
BCLK=128 (NAU8822 only) / 256 / 512 / 1024 (MAX9860 only) / 2048 (Default
BCLK rating is 2048MHz)
See Section 2.1.2.2 for details on how to access the Audio Codec Adapter via Terminal mode
for configuration purposes.
3.1.1.3 Framesync
The sampling rate (=Framesync or word select) must be selected for master and slave modes.
The settings can be either 8KHz (NB) or 16KHz (WB) frequency, and either long or short PCM
frame or I2S framesync. The default FSC setting is 8KHz (NB=Narrow Band).
In SLAVE mode the FSC is set automatically once after a reset or by querying the FSC setting
using the command FSC. In this case the FSC frequencies are measured at 8KHz and set to
this value.
See Section 2.1.2.2 for details on how to access the Audio Codec Adapter via Terminal mode
for configuration purposes.