![CML Microcircuits CMX649 Скачать руководство пользователя страница 23](http://html1.mh-extra.com/html/cml-microcircuits/cmx649/cmx649_application-note_2627444023.webp)
CMX649 Wireless Voice Link Design Guide
©
2004 CML Microcircuits
Page 23 of 42
5.1.3 SETUP649
The SETUP649 subroutine, called by the RESET initialization routine, preconfigures
the CMX649 for audio processing.
A ‘general reset’ is first performed to place the CMX649 internal registers in a
defined state. After the reset is performed and a suitable delay is observed to allow
the device to stabilize, the CMX649 is configured as follows:
CMX649
Register
Register
Contents
Comments
0x61 0x00
AAF & AIF bandwidth=2.9kHz.
0x63 0x80
Audio input gain=0.0dB.
0x64 0x55
AAF & AIF power control=normal operation, encode & decode
DAC=lowest power setting.
0x65 0x95
Microphone amp=low power, audio DCA & volume DCA=lowest power.
0x70 0x01
ADM mode with buffered I/O (i.e. 8-bit burst mode).
0x71 0x0014
Scrambler disabled.
0x72 0xEC52
Configured to yield 27.8kbps sampling rate from 8MHz crystal.
0x73 0x0078
Encode & decode bit clocks (i.e. sampling clocks) derived from xtal/clk
input.
0x81 0x88
No encoder or decoder IRQs.
0xD0 0x00BE
ADM decoder configured for normal operation, decode VAD output
driven to 1 to activate microphone circuit (DECVAD pin controls FET that
stops current flow to the microphone when required.)
0xD1 0x4999
Syllabic time constant=1.2ms, 4 of 4 companding rule, estimator time
constant = 0.8ms, second order integration.
0xE0 0xBC
ADM encoder configured for normal operation, encode VAD output
driven to 0 to activate audio amplifier (ENCVAD pin supplies ‘shutdown’
signal to audio amplifier.)
0xE1 0x499A
Syllabic time constant=1.2ms, 4 of 4 companding rule, estimator time
constant = 0.8ms, second order integration.
Table 5, CMX649 Configuration in SETUP649 Subroutine
Control reverts back to the RESET initialization routine after the CMX649
initialization is complete.
5.1.4 SETUPRF
The SETUPRF subroutine, which is called by the RESET initialization routine,
preconfigures the MICRF505 for either transmission or reception. Further
configuration is made in the appropriate transmit or receive subroutines.