Installation Instructions
SIM5216A _HD_V1.02 Hardware Design
SIM5216A _HD_V1.02 26.08.2010
49
external codec
PCM_DIN/GPIO0 65 AUX_PCM_DIN PCM_DIN PCM data input to
the Module (Rx)
PCM_DOUT/GPIO5 33 AUX_PCM_DOUT PCM_DOUT PCM data output
from the Module
(Tx)
The default PCM interface on power up is the auxiliary PCM interface. Under PCM, the
data is output on the rising edge of PCM_CLK and sampled at the falling edge of PCM_CLK.
Primary PCM is disabled at power up or when RESET is asserted, but you can use AT
command to enable the primary PCM mode.
PCM Interface can be operated in Master and Slave mode. When the PCM interface is
configured, PCM Tx data will be routed from the external codec Mic through the DSP encode path
in the Module. PCM Rx data will be routed through the DSP decode path to the external codec
speaker. When using the PCM Interface, the Module can be set either into Master Mode or Slave
Mode.
In Master Mode, the Module drives the clock and sync signals that are sent out to the external
codec via the PCM Interface. When in Slave Mode, the external codec drives the clock and sync
signals that are sent to the Module.
Configuration Mode can be selected either primary or auxiliary. Primary configuration mode
uses 2.048MHz clock and 8 kHz short sync clock, and auxiliary configuration mode uses 128KHz
clock and 8 kHz long sync clock. One important consideration is that Slave mode is only
available for use with Primary configuration Mode. PCM formats can also be chosen by AT
command.
In the default configuration, Module is the Auxiliary Master.
Many parameters of external codec audio channel are not available. Only RxVolume, FIR, are
still available after enabling PCM.
Table 30: PCM external codec Characteristics
Audio Device no.
AT+CSDVC=
4
Name External Codec
micAmp No available
txGain No available
txVol No available
Default
MIC path
Parameters
txFilter
[tap0~6]
0xff33, 0x05d8,0xf488, 0x0af3,
0x24bb, 0xca42,0x7c95
rxGain No available
rxVol -100
stGain No available
Default
Output
path
Parameters
rxFilter
[tap0~6]
0xff00, 0xfac9,0x0571, 0xf365,
0x0bc2, 0xf2bb,0x533a