POTS (Plain Old Telephone Service)
network interfaces
z Variable gain (±20 dB) and user-defined
fixed-gain options for analog acoustic and
network inputs and outputs
z Integrated DTMF generator and keypad
provide dialing function
z Operates from +5 V or +12 V power supply,
allowing for use in car
z Operates in stand-alone or PC-based
configuration
z On-board EEPROM stores CS6422
configuration settings
z On-board speaker driver capable of driving
1 Watt into a 4 Ω load with less than 1% THD
AIN-MIC
AIN-RCA
AOUT-RCA
ACOUSTIC
INPUT/
OUTPUT
GAIN AND
FILTERING
CS6422
Description
The CDB6422 provides an easy platform to evaluate the
performance of the CS6422 echo cancelling IC in a target system. To facilitate evaluation, the board provides
a wide selection of network interfacing options (analog
telephone line, µ-law/a-law PCM data, or analog RCA
jack). The analog interfaces support both fixed and va riable gain options to allow for level-matching with target
hardware. The board includes a keypad and a DTMF
generator to enable dialing on standard analog telephone systems.
The board can operate from a single +12V power supply
and can be used in a stand-alone configuration allowing
for easy testing in car cellular hands-free applications.
Figure 12. Keypad and DIP Switch .......................................................................................................28
DS295DB23
CDB6422
1. GENERAL DESCRIPTION
The CDB6422 provides an easy interface to evaluate the performance of the CS6422 echo cancelling
IC in a target system. To facilitate evaluation, the
board provides a wide selection of network interfacing options (analog telephone line, µ-law/a-law
PCM data, or analog RCA jack). The analog interfaces support a varitey of fixed and variable gain
options to allow for easy level-matching with target
hardware. The board includes a keypad and a
DTMF generator that enable dialing on standard
analog telephone systems.
Furthermore, the board can operate from a single
+12V power supply and can be operated in a standalone configuration allowing for easy testing in cellular car hands-free applications.
For more information regarding the configuration
of the CS6422 device, please refer to the CS6422
data sheet.
board is powered from a +5V supply, the +10VD
LED will not be lit (or will be quite dim).
2.2Analog Configuration
At first glance the analog section of the board (the
left-most quarter) might appear dauntingly complex. The jumpers select, for the most part, a series
of fixed or adjustable gains in the APO, AO, NI,
and NO signal paths. Actual system implementation is not this complex. The following text describes the jumper settings in signal path order.
2.2.1Acoustic Input
2.2.1.1AIN1:
The acoustic input of the CDB6422 can be derived
from an 1/8" mic jack (AIN_MIC) or a standard
RCA jack (AIN_RCA). The header AIN1 selects
the input source.
2.2.1.2MIC_BIAS:
2. HARDWARE
2.1Powering the Board
The CDB6422 board can operate from either a
+12V supply or a +5V supply. When operating
from a +5V supply, the µ-law/a-law codec
(MC145503) is unavailable. The board comes
shipped from the factory configured for a +12V
power supply. The power supply must be able to
supply at least 500mA of current.
For operation from a +12V supply, the on-board
voltage regulators must be selected by installing
jumpers in the appropriate places marked '+12V'.
These jumpers are labeled PWR_SEL1 through
PWR_SEL4 and are located near the bulky 3-terminal voltage regulators.
If operating from a +5V supply, the jumpers should
be installed in the '+5V' setting.
When the board is properly powered, at least 4
green LEDs should be lit. These LEDs are labeled
+5VA, +5VD, +5VSPKR, and +10VD. If the
If the acoustic input source is a standard electret
microphone, the board can supply a bias current to
power it. The mic bias is enabled by installing the
jumper on the "ENABLED" setting of the header
called MIC_BIAS. There is a fixed 2.2k series resistance (R1) between the op-amp supplying the
bias voltage and the mic input. The value of the
mic bias voltage can be adjusted by tuning the pot
labeled "BIAS" (R6).
2.2.1.3AIN2:
AIN2 selects between the ACTIVE acoustic input
circuitry (op-amps) and a PASSIVE RC-network.
2.2.1.4AIN3, AIN4:
AIN3 and AIN4 select the type and amount of gain
for the acoustic input circuitry. For fixed gains
(AIN4 = “0dB”, “+20dB”, or “USER”), AIN3
should be set to "FIXED". For variable gain (20dB to +20dB) AIN3 should be set to "VARIABLE" and AIN4 should be set to "-20dB to
4DS295DB2
CDB6422
+20dB". The pot labeled "AIN_GAIN" (R2) controls the variable gain.
2.2.1.5AIN5:
AIN5 selects the acoustic input source from the following options: “ACTIVE” (the previous gain
sources), “PASSIVE” (the RC-network), and “DTMF” (the DTMF transceiver, used for testing purposes).
2.2.1.6AIN6, AIN7:
AIN6 and AIN7 are configured based on the state
of the internal MIC preamp on the CS6422. If the
internal mic preamp is enabled (Mic = '1'), then
AIN6 and AIN7 should be configured to the "ON"
position. If the internal mic preamp is disabled
(Mic = '0'), then AIN6 and AIN7 should be configured to the "OFF" position.
2.2.2Acoustic Output
2.2.2.1AOUT1:
AOUT1 selects between the “ACTIVE” drive output circuitry (op-amps) and the “PASSIVE” circuitry (simple RC-network). To take advantage of
the supplied filters and gain stages, set AOUT1 to
the “ACTIVE” state.
2.2.2.2AOUT2:
AOUT2 selects the order of the Butterworth filter
following AO at either "1-POLE" or "3-POLES".
2.2.2.4AOUT5:
AOUT5 selects the source of the acoustic output
RCA jack (“0dB” before gain stage, “GAINED”
after gain stage, or “PASSIVE” RC-network).
2.2.2.5AOUT6:
AOUT6 selects the type of output (“AC”-coupled
or ”DC”-coupled) at the AOUT_RCA jack.
2.2.2.6SPEAKER_GAIN:
SPEAKER_GAIN selects the gain of the on-board
differential BTL speaker driver to “0dB”, “+6dB”,
“+9dB”, or “USER”. The “+9dB” setting should
not be used, as it will result in clipping at the speaker driver outputs.
2.2.3Network Input
2.2.3.1NIN1:
NIN1 selects between the “ACTIVE” network input circuitry (op-amps) and a “PASSIVE” RC-network.
2.2.3.2NIN2, NIN3:
NIN2 and NIN3 select the type and amount of gain
for the network input circuitry. For fixed gains
(NIN3 = “0dB” or ”USER”), NIN2 should be set to
"FIXED". For variable gain (-20dB to +20dB)
NIN2 should be set to "VARIABLE" and NIN3
should be set to "-20dB to +20dB". The pot labeled
"NIN_GAIN" (R5) controls the variable gain.
2.2.2.3AOUT3, AOUT4:
AOUT3 and AOUT4 select the type and amount of
gain for the acoustic output circuitry. For fixed
gains (AOUT4 = “0dB” or “USER”), AOUT3
should be set to "FIXED". For variable gain (20dB to +20dB) AOUT3 should be set to "VARIABLE" and AOUT4 should be set to "-20dB to
+20dB". The pot labeled "AOUT_GAIN" (R3)
controls the variable gain.
DS295DB25
2.2.3.3NIN4:
NIN4 selects the network input source from the following options: “ACTIVE” (the previous gain
sources), “PASSIVE” (the RC-network),
“POTS(DAA)” (the analog telephone line), “CODEC” (the µ-law codec), or “DTMF” (the DTMF
transceiver, used for testing purposes).
CDB6422
2.2.4Network Output
2.2.4.1NOUT1:
NOUT1 selects between the “ACTIVE” drive output circuitry (op-amps) and the “PASSIVE” circuitry (simple RC-network). To take advantage of
the supplied filters and gain stages, set NOUT1 to
the “ACTIVE” state.
2.2.4.2NOUT2:
NOUT2 selects the order of the Butterworth filter
following NO at either "1-POLE" or "3-POLES".
2.2.4.3NOUT3, NOUT4:
NOUT3 and NOUT4 select the type and amount of
gain for the network output circuitry. For fixed
gains (NOUT4 = “0dB” or “USER”), NOUT3
should be set to "FIXED". For variable gain (20dB to +20dB) NOUT3 should be set to "VARIABLE" and NOUT4 should be set to "-20dB to
+20dB". The pot labeled "NOUT_GAIN" (R4)
controls the variable gain.
2.2.4.4NOUT5:
NOUT5 selects the source of the network output
RCA jack (“0dB” before gain stage, “GAINED”
after gain stage, or ”PASSIVE” RC-network).
2.2.4.5NOUT6:
NOUT6 selects the type of output (“AC”-coupled
or “DC”-coupled) at the NOUT_RCA jack.
2.3CODEC Configuration
The codec is accessible only if the board is operating from a +12V power supply.
The CDB6422 has a µ-law/a-law PCM interface
that is accessible through the PCM header
(HDR49). HDR27 enables optional signal inversions for PCM_IN (RDI), PCM_OUT (TDI), CLK
(CI), and SYNC (SI). To enable the inverter, install
the header next to the appropriate label.
To select "a-law" data, install HDR53 (A-LAW).
To power down the codec, install HDR54 (PDI).
2.4DAA Configuration
To enable DTMF tones to be transmitted to the analog telephone network, HDR86 (DTMF_TX)
must be installed.
2.5Microcontroller Configuration
2.5.1PROGRAM/RUN:
The microcontroller is shipped preprogrammed
from the factory. The configuration jumper should
be loaded on HDR94 "RUN". To program the microcontroller with new software, the configuration
jumper should be moved to HDR91 "PROGRAM"
when the programming software prompts to do so.
2.5.2EXT/UC:
By default, the microcontroller writes configuration information to the CS6422 through the
CS6422 uC interface. The microcontroller outputs
can be disabled by moving the jumper from
HDR90 (uC) to HDR89 (EXT) to allow an external
source to configure the CS6422 through the "6422
EXT INTERFACE" header (HDR21).
2.5.3UC_RESET:
The UC_RESET pushbutton initiates a hardware
microcontroller reset. The microcontroller programs Configuration 0 to the default CS6422 register state. It leaves the other Configuration sets
alone. Furthermore, the UC_RESET initiates a
CS6422 reset which performs a hardware reset and
downloads Configuration 0 to the CS6422.
2.6Miscellaneous
2.6.1HOOK SWITCH:
Sliding the HOOK SWITCH to “OFF_HOOK”
will cause the DAA to move to the OFF HOOK
state (pick up the phone). Sliding the switch to
“ON-HOOK” will cause the DAA to hang up (after
about a 1 second delay). The uC software automatically answers the phone after 3 rings. To hang up
6DS295DB2
CDB6422
the phone after this occurs, slide the HOOK
SWITCH first to the "OFF_HOOK" position and
then back to the "ON_HOOK" position.
2.6.2KEYPAD:
The default state of the keypad is to generate
DTMF tones when the keys are pressed to enable
dialing through the analog phone network. The
keypad also allows for manual CS6422 register entry and CS6422 register configuration storage and
recall in association with the LOAD pushbutton
(SW5). See the description of the LOAD pushbutton for more information.
2.6.3DIP SWITCH:
SW1 contains and 8-position DIP switch which enables access to some commonly-used CS6422 register parameters. The operation of the DIP switch
is such that if the DIP switch is moved from the
OPEN state to the CLOSED state, the specified
register is written with the stated contents. For example, if switch 1 “MIC=0” is moved from the
OPEN state to the CLOSED state, then the value of
the MIC parameter is set to '0'. When the switch is
moved from the CLOSED state to the OPEN state,
the previous value of the parameter is restored. In
the above example, if Mic were initially '1' when
switch 1 was CLOSED, it would be restored to '1'
when the switch was OPENed.
If the Mic parameter were initially '0' at the time
switch 1 was CLOSED, it would remain '0' when
switch 1 was switched from CLOSED back to
OPEN.
2.6.4“6422_RST” PUSHBUTTON:
The "6422_RST" pushbutton initiates a COLD
hardware reset on the CS6422 device and downloads the register set stored in Configuration 0 to
the CS6422.
2.6.5“LOAD” PUSHBUTTON:
The “LOAD” button changes the state of the KEYPAD to enable direct programming of the CS6422
registers and to allow access to the Configuration
sets. Both of these features are particularly useful
when using the CDB6422 in a "stand-alone" environment, that is, when the board is not connected to
a PC.
Pressing the “LOAD” button once places the KEYPAD in the “LOAD” state (LEDs in status bar turn
off). The 4 following KEYPAD presses encode a
hexadecimal (0000 to ffff) number which the microcontroller interprets as a CS6422 register write.
Each KEYPAD press causes a pair of LEDs in the
status bar to light. After the fourth keypress, the
hex value is transmitted to the CS6422's uC interface. See the “Register Definition” section of the
CS6422 data sheet.
If the register write is valid (last digit is ‘0’, ‘2’, ‘4’,
‘6’, ‘8’, or ‘a’), then the local copy of the CS6422
registers is updated in the microcontroller. If the
register write is invalid, the register contents are
transmitted to the CS6422, but the microcontroller's local copy remains unchanged.
After the last digit has been entered, the write takes
effect and the KEYPAD returns to its normal
DTMF state. Furthermore, the LEDs in the status
bar return to display Receive Volume information.
Pressing the “LOAD” button twice in a row places
the KEYPAD in “Configuration Recall” state (2
LEDs in status bar light). The next KEYPAD press
selects a CS6422 register Configuration (0-9) to recall. Once selected, the configuration set (all 6 registers) is transmitted to the CS6422. The KEYPAD
and status LEDs return to their normal states after
the Configuration number has been selected.
Pressing the “LOAD” button three times in a row
places the KEYPAD in “Configuration Save” state
(4 LEDs in status bar light). The next KEYPAD
press stores the current CS6422 register configuration in the selected Configuration location (0-9).
DS295DB27
CDB6422
The KEYPAD and status LEDs return to their normal states after the Configuration number has been
selected.
Because the Configuration sets are stored in EEPROM, they will survive a power-off event. However, Configuration 0 is special for two reasons: 1)
it is reset to the CS6422 default register state on
power-up or on microcontroller reset, and 2) it is
automatically downloaded to the CS6422 when the
“6422_RST” pushbutton is pressed (or the 'r' command is sent from a terminal).
Thus, if you wish to test a RESET configuration
state and you will be testing the board from poweroff (for example, if you set up your configuration
registers in the lab and want to perform testing in a
car), you must store the configuration to be tested
in Configuration space (1..9). Once the board has
been powered for testing in the target environment
(the car), you can RECALL the saved configuration and STORE it in Configuration 0. Pressing the
“6422_RST” button will reset the CS6422 and
download the Configuration 0 information to the
device for testing.
2.6.6“VOL_DOWN” PUSHBUTTON:
Pressing the "VOL_DOWN" pushbutton decreases
the receive (speaker) volume by 3dB per button
press until RVol = 'mute'. The current receive volume is reflected in the status LED bar with the following mapping:
# LEDs onRVol Value
0mute
1-12 to 0 dB
2+3 to +6 dB
3+9 to +12 dB
4+15 to +18 dB (default)
5+21 dB
6+24 dB
7+27 dB
8+30 dB (maximum)
2.6.7“VOL_UP” PUSHBUTTON:
Pressing the "VOL_UP" pushbutton increases the receive (speaker) volume by 3dB per button press until
RVol = '+30dB'. The receive volume is reflected in
the status LED bar with the mapping described in the
“VOL_DOWN” Pushbutton description.
3. COMMAND SERIAL PORT
DESCRIPTION
The CDB6422 can operate connected to a PC or in a
stand-alone configuration. If connected to a PC, the
board can be controlled by supplied Windows-based
software or through a simple terminal program. The
board communicates at 19.2kbps, 8 data bits, 1 stop
bit, and no parity or handshaking of any kind. All
commands and responses are standard ASCII text
with no special characters or binary data.
This section describes the commands and response
primitives that the board accepts and provides
through the serial connection. This can be thought
of as a "command list" for "terminal" mode.
3.1Command List:
The following is a listing of commands and messages that the CDB6422 (Rev. A) evaluation board accepts and transmits through the serial connection.
verreset
rwr
wrbrd
swdswu
swpoff_hook
on_hookd_reset
doffdtmf
kdku
stpd
puvol_up
vol_downmute
unmutesave
recallring
mwruc
extd
?
8DS295DB2
CDB6422
3.2Command Descriptions:
3.2.1ver - Output Code Version
A. Writes current code and EEPROM versions to the UART
A. Resets CS6422 with register set from
Configuration 0
B. No arguments accepted
C. Description:
1. Implements CS6422 reset sequence (see
CS6422 datasheet)
2. Pushes 'recall 0' onto MSG Stack - configures CS6422 with register set in
Configuration 0
B. Description:
1. Decodes the arguments and uses Current
register copy to obtain 2 byte value
$xxxb for writing to CS6422
2. Pushes “wr xxxb” onto MSG Stack
3.2.6rd [x] - Read CS6422 Register
A. Prints the value for the 6422 register 'x'
stored in the Current register copy in the
EEPROM of the microcontroller. If no parameter is specified, all 6 CS6422 registers
are displayed.
B. No MSG Stack pushes
3.2.7swd [1..9] - Switch Down
A. Notifies microcontroller that DIP
switch(es) 1..9 have been switched down
(handles multiple switches)
B. No MSG Stack pushes
C. Description:
DS295DB29
Loading...
+ 21 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.