CMLMICRO CMX624D5

CMX624
CML Microcircuits
COMMUNICATION SEMICONDUCTORS
V.23 / Bell 202 Modem
D/624/7 September 2003
Features
Applications
• V.23 / Bell 202 Compatible Modem
• Telephone Telemetry Systems
• Integrated DTMF Encoder
• Remote Utility Meter Reading
• Call Progress Tone Detection
• Security Systems/Cash Terminals
• Line Reversal and Ring Detector
• Industrial Control Systems
• Low Power Operation (2.7V)
• Pay-Phones
• Part of the CMX6x4 Modem Series
• Cable TV Set-Top Boxes
1.1
Brief Description
The CMX624 V.23 / Bell 202 modem is intended for use in any telephone based information and telemetry
system with low power requirements. Using FSK signalling, fast call set-up times and robust error resistant
transmission can be implemented by efficient low power circuits. The circuit can operate at 1200bps full
duplex over a 4-wire circuit or 1200 bps plus low speed data over a 2-wire circuit. Flexible line driver and
receive hybrid circuitry are integrated on chip requiring only passive external components to build a 2- or 4wire interface. A low impedance pull down output is provided for a hook relay.
Control of the device is via a simple high speed serial bus; this allows easy interfacing to a host
µController. The data transmitted and received by the modem is also transferred over the same high
speed serial bus. On-chip programmable Tx and Rx UARTs allow asynchronous data to be simultaneously
encoded and decoded. Either UART may be disabled to allow 8-bit raw data to be received or transmitted.
Any repetitive 8-bit data pattern can be sent without the controller having to reload data every 8 bits. All 16
DTMF combinations are available along with a single tone 'melody' mode. The ringing, 2100Hz, call
progress and data detectors included on the CMX624 make the set-up of a telephone call a simple matter
for the host µController.
In many data collection and telemetry systems low power consumption is important. The CMX624 features
a 'Zero Power' standby mode. Whilst in standby the ring detector continues to operate and will supply the
host µController with an interrupt when line reversal or ringing is detected. The CMX624 can operate on a
supply voltage between 3.0V and 5.5V across the full temperature range of -40°C to +85°C.
The CMX624 is pin compatible with the CMX644A V22 and Bell 212A modem also from CML.
 2003 CML Microsystems Plc
V23 / Bell 202 Modem
CMX624
CONTENTS
Section
Page
1.1
Brief Description ..................................................................................... 1
1.2
Block Diagram ......................................................................................... 3
1.3
Signal List ................................................................................................ 4
1.4
External Components ............................................................................. 6
1.5
General Description ................................................................................ 6
1.5.1 Xtal Osc and Clock Dividers ..................................................... 6
1.5.2 Rx Input Amplifier ...................................................................... 7
1.5.3 Receive Filter and Equaliser ..................................................... 7
1.5.4 FSK Demodulator....................................................................... 8
1.5.5 Rx Energy Detector.................................................................... 8
1.5.6 FSK / DTMF Modulator .............................................................. 8
1.5.7 Transmit Filter ............................................................................ 9
1.5.8 Transmit Output Buffer ........................................................... 10
1.5.9 Ring Signal Detector................................................................ 10
1.5.10 Tx/Rx UART .............................................................................. 11
1.5.11 ‘C-BUS’ Interface...................................................................... 13
1.5.12 ‘C-BUS’ Registers .................................................................... 14
1.6
Application Notes.................................................................................. 15
1.6.1 Line Interface............................................................................ 15
1.6.2 Ring Detector Interface............................................................ 17
1.7
Performance Specification................................................................... 19
1.7.1 Electrical Performance ............................................................ 19
1.7.2 Packaging ................................................................................. 24
 2003 CML Microsystems Plc
2
D/624/7
V23 / Bell 202 Modem
1.2
CMX624
Block Diagram
Figure 1 Block Diagram
 2003 CML Microsystems Plc
3
D/624/7
V23 / Bell 202 Modem
1.3
CMX624
Signal List
CMX624
D2/D5/P4
Signal
Description
Pin No.
Name
Type
1
XTALN
O/P
The output of the on-chip Xtal oscillator inverter.
2
XTAL/CLOCK
I/P
The input to the oscillator inverter from the Xtal
circuit or external clock source.
3
SERIAL
CLOCK
I/P
The ‘C-BUS’ serial clock input from the µC. See
Section 1.5.11
4
COMMAND
DATA
I/P
The ‘C-BUS’ serial data input from the µC.
5
REPLY DATA
T/S
A 3-state ‘C-BUS’ serial data output to the µC.
This output is high impedance when not sending
data to the µC.
6
CSN
I/P
The ‘C-BUS’ transfer control input provided by
the µC.
7
IRQN
O/P
A ‘wire-ORable’ output for connection to a µC
Interrupt Request input. This output is pulled
down to Vss when active and is high impedance
when inactive. An external pullup resistor is
required.
8
TOP
O/P
The Tx analogue signal output.
9
TXO
O/P
The output of the line driving amplifier.
10
TXN
I/P
The inverting input to the line driver amplifier.
11
TXON
O/P
The inverted output of the line driving amplifier.
12
VSS
Power
13
VBIAS
O/P
Internally generated bias voltage of VDD/2,
except when the device is in ‘Zero Power’ mode
when VBIAS will discharge to VSS. Should be
decoupled to VSS by a capacitor mounted close
to the device pins.
14
RLYDRV
O/P
Relay drive open drain output. This output is
pulled down to VSS when active and is high
impedance when inactive.
15
RXP
I/P
The non-inverting input to the Rx input amplifier.
 2003 CML Microsystems Plc
The negative supply rail (ground).
4
D/624/7
V23 / Bell 202 Modem
CMX624
CMX624
D2/D5/P4
Signal
Description
Pin No.
Name
Type
16
RXN
I/P
The inverting input to the Rx input amplifier.
17
RXO
O/P
The output of the Rx input amplifier.
18
RT
BI
Open drain output and Schmitt trigger input
forming part of the Ring Signal detector.
19
RD
I/P
Schmitt trigger input to the Ring Signal Detector.
20
-
NC
No connection should be made to this pin.
21
-
NC
No connection should be made to this pin.
22
-
NC
No connection should be made to this pin if the
printed circuit board is to be used for CMX624
only. If the board is also to be used for
CMX644A, a capacitor should be connected as
shown in Figure 2.
23
-
I/P
No connection should be made to this pin if the
printed circuit board is to be used for CMX624
only. If the board is also to be used for
CMX644A, a capacitor should be connected as
shown in Figure 2.
24
VDD
Power
The positive supply rail. Levels and thresholds
within the device are proportional to this voltage.
Should be decoupled to VSS by a capacitor
mounted close to the device pins.
Notes:
I/P
O/P
BI
T/S
NC
=
=
=
=
=
Input
Output
Bidirectional
3-state Output
No Connection
This device is capable of detecting and decoding small amplitude signals. To achieve this VDD and VBIAS
decoupling and protecting the receive path from extraneous in-band signals are very important. It is
recommended that the printed circuit board is laid out with a ground plane in the CMX624 area to provide
a low impedance connection between the VSS pin and the VDD and VBIAS decoupling capacitors.
 2003 CML Microsystems Plc
5
D/624/7
V23 / Bell 202 Modem
1.4
CMX624
External Components
R1
X1
C1, C2
C3, C4
C5
100kΩ
3.579545MHz
18pF
0.1µF
*
Resistors ±5%, capacitors ±10% unless otherwise stated.
* This component is only required for compatibility with CMX644A,
see CMX644A Data Sheet for further details.
Figure 2 Recommended External Components for Typical Application
1.5
General Description
The CMX624 contains a V.23/Bell 202 compatible FSK modem capable of duplex operation at 1200/75 or
1200/150 bps over a 2-wire line or 1200/1200 bps over a 4-wire line, a flexible FSK data UART, a receive
FSK or Call Progress Tone energy detector, a 2100Hz detector, a DTMF generator, a Tx line driving buffer
amplifier, a telephone line Ringing Signal or Line Voltage Reversal detector and a 3.579545MHz Xtal
oscillator. These functions are all controlled over a ‘C-BUS’ serial µC interface which also carries the
transmit and receive FSK modem data.
1.5.1
Xtal Osc and Clock Dividers
Frequency and timing accuracy of the CMX624 is determined by a 3.579545MHz clock present at the
XTAL/CLOCK pin. This may be generated by the on-chip oscillator inverter using the external components
C1, C2 and X1 of Figure 2, or may be supplied from an external source to the XTAL/CLOCK input. If the
clock is supplied from an external source, C1, C2 and X1 should not be fitted.
The on-chip oscillator is turned off in the 'Zero-Power' mode.
If the clock is provided by an external source which is not always running, then the 'Zero-Power' mode
must be set when the clock is not available. Failure to observe this rule may cause a rise in the supply
current drawn by CMX624.
 2003 CML Microsystems Plc
6
D/624/7
V23 / Bell 202 Modem
1.5.2
CMX624
Rx Input Amplifier
This amplifier, with suitable external components, is used to adjust the received signal to the correct
amplitude for the FSK receiver and Energy Detect circuits and may also form part of a 2-wire or 4-wire
hybrid circuit; see Section 1.6.1.
1.5.3
Receive Filter and Equaliser
This block includes a bandpass filter whose characteristics are set by bits 4 and 5 of the FSK MODE
Register according to the receive operating mode (Call Progress, 75/150bps FSK or 1200bps FSK). It is
used to attenuate out of band noise and interfering signals, especially the locally generated transmit FSK
signal which could otherwise interfere with the received FSK signal when the modem is operating in 2-wire
duplex mode. When receiving 1200bps FSK data an optional equaliser section, enabled by setting bit 6 of
the FSK MODE Register, compensates for one-half of the ETS Test Line 1 characteristics shown in Figure
3b.
0
-10
1200bps
dB -20
75/150 bps
Call Progress
-30
-40
100
1000
10000
Hz
Figure 3a Rx Frequency Responses with Line Interface,
see section 1.6.1 (equaliser disabled)
5
4
3
dB
ms
dB wrt 800Hz
ms wrt 1700Hz
2
1
0
0
500
1000
1500
2000
2500
3000
3500
4000
Hz
Figure 3b ETS 300 114 Test Line 1 Characteristics (Normalised)
 2003 CML Microsystems Plc
7
D/624/7
V23 / Bell 202 Modem
1.5.4
CMX624
FSK Demodulator
This block is enabled when bits 1 and 5 of the FSK MODE Register are set to ‘1’, and converts the 75, 150
or 1200 bps FSK input signal to a binary received data signal which is sent to the Rx UART block.
Note that in the absence of a valid FSK signal, the demodulator may falsely interpret speech or other
extraneous signals as data.
1.5.5
Rx Energy and 2100Hz Detector
The function of this block is controlled by Bits 4 and 5 of the FSK MODE Register and Bit 0 of the TX
TONES Register.
When Bit 0 of the TX TONES Register and Bits 4 and 5 of the FSK MODE Register are set to ‘1’ this block
will measure the frequency and amplitude of the incoming signal. When a signal of 2100Hz is present of
sufficient amplitude and time Bit 4 of the FLAGS Register is set high. See Section 1.7.1 for amplitude,
time and frequency limits.
When Bit 0 of the TX TONES Register is set to ‘0’ this block compares the level of the signal at the output
of the Receive Filter against an internal threshold and may be used as a FSK level detector or a simple
Call Progress Signal detector according to the settings of bits 4 and 5 of the FSK MODE Register, which
affect the Receive Filter pass band as described in Section 1.5.3.
The required register settings are summarised in the table below:
TX TONES Reg
Bit 0
0
0
0
1
FSK MODE Reg
Bit 5
0
1
1
1
Bit 4
0
0
1
1
Detection Mode
Call Progress
75 / 150 bps FSK
1200 bps FSK
2100 Hz
Bit 4 of the FLAGS Register is set to ‘1’ by the output of this block when the received level has exceeded
the threshold for sufficient time. Amplitude and time hysteresis are used to reduce chattering in marginal
conditions.
See Section 1.7.1 for definitions of Teon and Teoff
Figure 4 Rx Energy Detector Timing
1.5.6
FSK / DTMF Modulator
When bit 7 of the TX TONES Register is set to ‘0’ then this block generates FSK signals as determined by
bits 0 and 1 of the FSK MODE Register and the Tx data bits from the UART block as shown in the tables
below:
V.23 mode (bit 7 of SETUP register = ‘0’):
FSK MODE Reg
FSK / DTMF Modulator block output
FSK Signal Frequency
Bit 1
Bit 0
(Bit 7 of TX TONES = ‘0’)
‘0’ (Space)
‘1’ (Mark)
0
x
Disabled (o/p held at VDD / 2)
-
-
1
0
75bps FSK
450Hz
390Hz
1
1
1200bps FSK
2100Hz
1300Hz
 2003 CML Microsystems Plc
8
D/624/7
V23 / Bell 202 Modem
CMX624
Bell 202 mode (bit 7 of SETUP register = ‘1’):
FSK MODE Reg
Bit 1
Bit 0
0
1
1
FSK / DTMF Modulator block output
(Bit 7 of TX TONES = ‘0’)
x
0
1
Disabled (o/p held at VDD / 2)
150bps FSK
1200bps FSK
FSK Signal Frequency
‘0’ (Space)
‘1’ (Mark)
487Hz
2200Hz
387Hz
1200Hz
When bit 7 of the TX TONES Register is set to ‘1’, the block generates DTMF tone pairs or single tones
from the DTMF range as shown in the table below. Bit 6 of the TX TONES Register is then used to enable
or disable the block’s output to the Tx filter.
TX DATA Register Bits
0-3
D3
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1.5.7
D2
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
D1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
D0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
DTMF Tone Pairs
(TX TONES Register Bit 4 = ‘0’)
Lower
Upper
Keypad
Frequency (Hz)
Frequency (Hz)
Legend
941
1633
D
697
1209
1
697
1336
2
697
1477
3
770
1209
4
770
1336
5
770
1477
6
852
1209
7
852
1336
8
852
1477
9
941
1336
0
941
1209
*
941
1477
#
697
1633
A
770
1633
B
852
1633
C
Single Tone
(Bit 4 = ‘1’)
Single Tone
Frequency (Hz)
1633
1209
1336
1477
1209
1336
1477
1209
852
852
941
941
941
697
770
852
Transmit Filter
This stage attenuates out of band signals present at the output of the FSK/DTMF modulator and also
includes a programmable 3dB level switch, selected by bit 2 of the FSK MODE Register.
The nominal output levels at the TOP pin when VDD = 5.0V are as shown below.
FSK MODE
Register bit 2
0 (low level)
1 (high level)
0dB = 775mVrms
FSK Signal
DTMF Tone
(Low group)
-5dB
-2dB
-6dB
-3dB
DTMF Tone
(High group)
-3dB
0dB
These levels are proportional to VDD, and the actual transmit signal levels present on the 2- or 4-wire line
will depend on the external circuitry as described in Section 1.6.1. Using the external components
recommended in Section 1.6.1 for a nominal FSK transmit level of -9dBm, DTMF tone levels of -8dBm and
-6dBm, then the out of band energy sent to the line will be within the limits shown in Figure 5 for both FSK
and DTMF signals.
 2003 CML Microsystems Plc
9
D/624/7
V23 / Bell 202 Modem
CMX624
0
-10
Bell 202
-20
-30
dBm
V23
-40
-50
-60
-70
10
100
1000
Hz
10000
100000
Figure 5 Maximum Out of Band Tx Line Energy Limits
1.5.8
Transmit Output Buffer
This buffer amplifier, connected to the TXN, TXO and TXON pins, is intended for use as a Tx line driver as
shown in Section 1.6.1. Two symmetrical outputs are provided for use with a balanced load to give
sufficient Tx line signal levels even at low VDD. If this is not required the TXON output can be disabled.
If the buffer is used as a balanced line driver, then bit 6 of the SETUP Register should be set to ‘1’ (TXON
output enabled). Setting bit 6 to ‘0’ disables the TXON output and the buffer draws less current from the
supply. When bit 6 is set to '0' the TXON pin should be left open circuit. N.B. The TXO output is unaffected
by this bit.
1.5.9
Ring Signal Detector
This block, which functions even in Zero Power mode, can be used to detect a telephone line Ring Signal
or Line Voltage Reversal and then generate a Interrupt Request signal to wake up the µC at the start of a
call. Suitable interface circuits are shown in Section 1.6.2.
The output of this block is the ‘Ring Detect’ line shown in Figure 1 which directly drives bit 6 of the FLAGS
Register. Any ‘0’ to ‘1’ or ‘1’ to ‘0’ change on this line will also set the ‘Ring Detect Change’ bit (5) of the
FLAGS Register.
If this block is not used, then the RD and RT pins should be connected to VSS and the ‘Ring Detect
Change’ bit (5) of the IRQ MASK Register set to ‘0’.
 2003 CML Microsystems Plc
10
D/624/7
V23 / Bell 202 Modem
CMX624
1.5.10 Tx/Rx UART
This block connects the µC, via the ‘C-BUS’ interface, to the received data from the FSK Demodulator and
to the transmit data input to the FSK Modulator.
As part of this function, the block can be programmed to convert data to be transmitted from 7 or 8-bit
bytes to asynchronous data characters, adding Start and Stop bits and - optionally - a parity bit to the data
before passing it to the FSK Modulator. Similarly, in the receive direction it can extract data bits from
asynchronous characters coming from the FSK Demodulator, stripping off the Start and Stop bits and
performing an optional Parity check on the received data before passing the result over the ‘C-BUS’ to the
µC. Bits 0-3 of the SETUP Register control the number of Stop and Data bits and the Parity options for
both receive and transmit directions.
Data to be transmitted should be loaded by the µC into the TX DATA Register when the Tx Data Ready bit
(bit 0) of the FLAGS Register goes high. It will then be treated by the Tx UART block in one of two ways,
depending on the setting of bit 3 of the FSK MODE Register:
If the bit is ‘0’ (‘Tx Sync’ mode) then the 8 bits from the TX DATA Register will be transmitted
sequentially at 75, 150 or 1200bps, LSB (D0) first.
If bit 3 of the FSK MODE Register is ‘1’ (‘Tx Async’) then bits will be transmitted as asynchronous
data characters at 75, 150 or 1200 bps according to the following format:
One Start bit (Space).
7 or 8 Data bits from the TX DATA Register (D0-D6 or D0-D7) as determined by bit 0 of
the SETUP Register. LSB (D0) transmitted first.
Optional Parity bit (even or odd parity) as determined by bits 1 and 2 of the SETUP
Register.
One or Two Stop bits (Mark) as determined by bit 3 of the SETUP Register.
In both cases data will only be transmitted if bit 1 of the FSK MODE Register is set to ‘1’.
Failure to load the TX DATA Register with a new value when required will result in bit 1 (Tx Data
Underflow) of the FLAGS Register being set to ‘1’ and if the ‘Tx Async’ mode of operation had been
selected then a continuous Mark (‘1’) signal will then be transmitted until a new value is loaded into TX
DATA, whereas in ‘Tx Sync’ mode the byte already in the TX DATA Register will be re-transmitted.
Figure 6a Transmit UART Function (Async)
 2003 CML Microsystems Plc
11
D/624/7
V23 / Bell 202 Modem
CMX624
Received data from the FSK Demodulator goes into the receive part of the UART block, where it is
handled in one of two ways depending on the setting of bit 7 of the FSK MODE Register:
If the bit is ‘0’ (‘Rx Sync’ mode) then the receive part of the UART block will simply take 8
consecutive bits from the Demodulator and transfer them to the RX DATA Register (the first bit
going into the D0 position). Note that this mode is intended for detection of simple data patterns
such as ‘1010…’ or continuous Mark or Space signals, the CMX624’s receive data clock
extraction circuits are not adequate to support a true synchronous receive data mode of operation.
If bit 7 of the FSK MODE Register is ‘1’ (‘ Rx Async’) then the received data output of the FSK
Demodulator is treated as 75, 150 or 1200 bps asynchronous characters each comprising:
A Start bit (Space).
7 or 8 Data bits as determined by bit 0 of the SETUP Register. These bits will be placed
into the RX DATA Register with the first bit received going into the D0 position.
An optional Parity bit as determined by bits 1 and 2 of the SETUP Register. If Parity is
enabled (bit 2 of the SETUP Register = ‘1’) then bit 7 of the FLAGS Register will be set to
‘1’ if the received parity is incorrect.
At least one Stop bit (Mark).
Bit 2 (Rx Data Ready) of the FLAGS Register will be set to ‘1’ every time a new received value is loaded
into the RX DATA Register. If the previous contents of the RX DATA Register had not been read out over
the ‘C-BUS’ before the new value is loaded from the UART then bit 3 (Rx Data Overflow) of the FLAGS
Register will also be set to ‘1’.
Figure 6b Receive UART Function (Async)
 2003 CML Microsystems Plc
12
D/624/7
V23 / Bell 202 Modem
CMX624
1.5.11 ‘C-BUS’ Interface
This block provides for the transfer of data and control or status information between the CMX624’s
internal registers and the µC over the ‘C-BUS’ serial bus. Each transaction, see Figure 7, consists of a
single Register Address byte sent from the µC which may be followed by a single data byte sent from the
µC to be written into one of the CMX624’s Write Only Registers, or a single byte of data read out from one
of the CMX624’s Read Only Registers, as illustrated in Figure 7.
Data sent from the µC on the Command Data line is clocked into the CMX624 on the rising edge of the
Serial Clock input. Reply Data sent from the CMX624 to the µC is valid when the Serial Clock is high. The
interface is compatible with the most common µC serial interfaces such as SCI, SPI and Microwire, and
may also be easily implemented with general purpose µC I/O pins controlled by a simple software routine.
See Figure 10 for detailed ‘C-BUS’ timing requirements.
Figure 7 ‘C-BUS’ Transactions
 2003 CML Microsystems Plc
13
D/624/7
V23 / Bell 202 Modem
CMX624
1.5.12 ‘C-BUS’ Registers
Write Only ‘C-BUS’ Registers
Addr
$01
$E0
$E1
Reg.
RESET
$E7
$EE
IRQ
MASK
Command Data Byte Bits
4
3
6
5
N/A
TXON o/p:
0 = Off
1 = On
Tone or FSK
o/p:
0 = Off.
1 = On.
N/A
Relay Drive:
0 = o/c
1 = Pull low
Reserved,
set to 0
N/A
0 = Zero
Power
1 = Normal
0 = DTMF
1 = Single
tone
N/A
Stop bits:
0 = 1 bit
1 = 2 bits
Reserved,
set to 0
N/A
Parity:
0 = None
1 = Parity
Reserved,
set to 0
N/A
Parity:
0 = Odd
1 = Even
Reserved,
set to 0
N/A
Data bits:
0 = 8 bits
1 = 7 bits
Set Detect:
0 = FSK/CP
1 = 2100Hz
D7
D6
0 = Rx Sync Rx Equal:
1 = Async
0 = Off
1 = On
D5
0 = Rx Call
Progress
1 = Rx FSK
D4
0 = Rx 75 /
150 bps
1 = 1200
D3
0 = Tx Sync
1 = Async
D2
Tx o/p level:
0 = Normal
1 = +3dB
D1
FSK enable:
Reserved,
Set to 0
Ring Detect
Change
Reserved,
Set to 0
Rx Data
overflow
Rx Data
ready
D0
0 = Tx 75 /
150 bps
1 = 1200 or
DTMF
Tx Data
ready
N/A
FSK mode:
SETUP 0 = V.23
1 = Bell 202
Tx Mode:
TX
TONES 0 = FSK.
1 = Tones.
TX
DATA
FSK
MODE
$E3
7
Reserved,
Set to 0
2
1
0 = Off
1 = On
(Tx & Rx)
Tx Data
underflow
0
Read Only ‘C-BUS’ Registers
Addr
$EA
Reg.
RX
DATA
$EF
FLAGS
7
D7
Bad Rx
Parity
6
5
D6
Ring Detect
D5
Ring Detect
Change **
Reply Data Byte Bits
4
3
D4
Rx Energy
or 2100Hz
detect.
D3
Rx Data
overflow **
2
D2
Rx Data
ready **
1
0
D1
D0
Tx Data
Tx Data
underflow ** ready **
** See notes 2 and 3
Notes:
1.
Accessing the RESET Register over the ‘C-BUS’ clears all of the bits in the SETUP, TX TONES,
TX DATA, FSK MODE and IRQ MASK registers, and bits 0-3 and 5 of the FLAGS Register to
‘0’. This will set the device into Zero Power mode. Note that this is a single-byte ‘C-BUS’
transaction consisting solely of the address byte value $01.
Note that putting the device in Zero Power mode by directly setting SETUP Bit 4 to ‘0’ does not
clear the other register bits. Care should be taken before re-enabling the device that the other
bits are set so as to prevent undesired transient operation. In particular, bit 6 of the TXTONES
Register should be set to ‘0’ to prevent modulation of the transmitter output.
2.
If any of bits 0, 1, 2, 3 or 5 of the FLAGS Register is ‘1’ and the corresponding bit of the IRQ
MASK Register is also ‘1’ then the IRQN output of the CMX624 will be pulled low.
3.
Bit 5 (Ring Detect Change) of the FLAGS Register is set on every ‘0’ to ‘1’ or ‘1’ to ‘0’ change of
bit 6 (Ring Detect).
4.
Clearing bit 4 of the SETUP Register puts the CMX624 into the Zero Power mode by turning off
all blocks except for the ‘C-BUS’ interface and Ring Detector circuit.
5.
Reading the FLAGS Register clears the IRQN output and also clears bits 0, 1, 2, 3 and 5 of the
FLAGS Register.
6.
FLAGS Register (bit 4) is ‘1’ whenever the received signal being looked for is detected and ‘0’
when both signals are absent. IRQ MASK Register (bit 4) is normally set to ‘0’ - but can be set
to ‘1’ to enable interrupts on the IRQN output. In the latter case, IRQN will be continuously
pulled to ‘0’ whilst Rx Energy or 2100Hz are present. This may be useful for device evaluation
purposes.
 2003 CML Microsystems Plc
14
D/624/7
V23 / Bell 202 Modem
CMX624
1.6
Application Notes
1.6.1
Line Interface
A line interface circuit is needed to provide dc isolation between the modem and the line, to perform line
impedance termination, and to set the correct transmit and receive signal levels.
4-Wire Line Interface
Figure 8a shows an interface circuit for use with a 600Ω 4-wire line. The line terminations are provided by
R10 and R15, while R11 and R13 should be selected to give the desired transmit and receive levels.
The gain of the receive input amplifier (R12 / R11) should be set to compensate for the loss of the input
transformer and the supply voltage.
Assuming transformer loss of about 1dB, R11 should be 91kΩ at 5.0V, or 130kΩ at 3.0V.
Note relay circuit, ac and dc loads and line protection not shown for clarity.
R10
R11
R12
600Ω
See text
100kΩ
R13
R14
R15
See text
100kΩ
600Ω
C10
C11
C12
C13
100nF
220pF
330pF
100nF
Resistors ±1%, capacitors ±20%.
Figure 8a 4-Wire Line Interface Circuit
 2003 CML Microsystems Plc
15
D/624/7
V23 / Bell 202 Modem
CMX624
In the transmit direction, the level on the 4-wire line is determined by the level at the TOP pin, the gain
of the Output Buffer Amplifier, a loss of nominally 6dB due to the line termination resistor R15, and the loss
in the transformer.
The TOP pin signal level is proportional to VDD and is also affected by the setting of the Tx o/p level
control bit (bit 2) of the FSK Mode Register.
Assuming that the Tx o/p level control bit is set to ‘1’ (giving a FSK signal level of -3dB wrt 775mVrms at
the TOP pin when VDD = 5.0V) and that there is 1dB loss in the transformer, then:
Tx FSK 4-wire line level = -(3 +6 +1) + 20 x LOG10(2 x R14 / R13) + 20 x LOG10(VDD / 5.0) dBm
For example, to generate a nominal Tx FSK line level of -9dBm, R13 should be 180kΩ when VDD = 5.0V,
falling to 120kΩ at 3.3V.
2-Wire Line Interface
Figure 8b shows an interface circuit suitable for connection to a 600Ω 2-wire line. The circuit also shows
how a relay may be driven from the RLYDRV pin. Note that when the CMX624 is powered from less than
5.0V, buffer circuitry will be required to drive a 5V relay.
Note ac and dc loads and line protection not shown for clarity.
R11
R12
R13
R14
See text
100kΩ
See text
100kΩ
R15
R16
R17
600Ω
120kΩ
100kΩ
C11
C12
C13
C14
220pF
330pF
10nF
100nF
Resistors ±1%, capacitors ±20%
Figure 8b 2-Wire Line Interface Circuit
This circuit includes a 2-wire to 4-wire hybrid circuit, formed by R11, R15, R16, R17, C13 and the
impedance of the line itself, which ensures that the modem receive input and transmit output paths are
both coupled efficiently to the line, while minimising coupling from the modem’s transmit signal into the
receive input.
The values of R11 and R13 should be calculated in the same way as for the 4-wire interface circuit of
Figure 8a.
 2003 CML Microsystems Plc
16
D/624/7
V23 / Bell 202 Modem
1.6.2
CMX624
Ring Detector Interface
Figure 9 shows how the CMX624 may be used to detect the large amplitude Ringing signal received at the
start of an incoming telephone call.
The ring signal is usually applied at the subscriber's exchange as an ac voltage inserted in series with one
of the telephone wires and will pass through either C20 and R20 or C21 and R21 to appear at the top end
of R22 (point X in Figure 9) in a rectified and attenuated form.
The signal at point X is further attenuated by the potential divider formed by R22 and R23 before being
applied to the CMX624 RD input. If the amplitude of the signal appearing at RD is greater than the input
threshold (Vthi) of Schmitt trigger 'A' then the N transistor connected to RT will be turned on, pulling the
voltage at RT to VSS by discharging the external capacitor C22. The output of the Schmitt trigger 'B' will
then go high, setting bit 6 (Ring Detect) of the FLAGS Register.
The minimum amplitude ringing signal that is certain to be detected is:
( 0.7 + Vthi x [R20 + R22 + R23] / R23 ) x 0.707 Vrms
where Vthi is the high-going threshold voltage of the Schmitt trigger A (see Section 1.7.1).
With R20-22 all 470kΩ as Figure 9, then setting R23 to 68kΩ will guarantee detection of ringing signals of
40Vrms and above for VDD over the range 3.0 to 5.5V.
R20, 21, 22
R23
R24
C20, 21
470kΩ
See text
C22
D1-4
470kΩ
Resistors ±1%, capacitors ±20%
0.1µF
0.33µF
1N4004
Figure 9 Ring Signal Detector Interface Circuit
 2003 CML Microsystems Plc
17
D/624/7
V23 / Bell 202 Modem
CMX624
If the time constant of R24 and C22 is large enough then the voltage on RT will remain below the threshold
of the 'B' Schmitt trigger for the duration of a ring cycle.
The time for the voltage on RT to charge from VSS towards VDD can be derived from the formula
VRT = VDD x [1 - exp(-t/(R24 x C22)) ]
As the Schmitt trigger high-going input threshold voltage (Vthi) has a minimum value of 0.56 x VDD , then
the Schmitt trigger B output will remain high for a time of at least 0.821 x R24 x C22 following a pulse at
RD.
The values of R24 and C22 given in Figure 9 (470kΩ and 0.33µF) give a minimum RT charge time of 100
msec, which is adequate for ring frequencies of 10Hz or above.
Note that the circuit will also respond to a telephone line voltage reversal. If necessary the µC can
distinguish between a Ring signal and a line voltage reversal by measuring the time that bit 6 of the
FLAGS Register (Ring Detect) is high.
 2003 CML Microsystems Plc
18
D/624/7
V23 / Bell 202 Modem
1.7
Performance Specification
1.7.1
Electrical Performance
CMX624
1.7.1.1 Absolute Maximum Ratings
Exceeding these maximum ratings can result in damage to the device.
Min.
-0.3
-0.3
-50
Supply (VDD - VSS)
Voltage on any pin to VSS
Current into or out of VDD and VSS pins
Current into RLYDRV pin
Current into or out of any other pin
-20
D2 Package
Total Allowable Power Dissipation at Tamb = 25°C
... Derating
Storage Temperature
Operating Temperature
Min.
-55
-40
D5 Package
Total Allowable Power Dissipation at Tamb = 25°C
... Derating
Storage Temperature
Operating Temperature
Min.
-55
-40
P4 Package
Total Allowable Power Dissipation at Tamb = 25°C
... Derating
Storage Temperature
Operating Temperature
Min.
-55
-40
Max.
7.0
VDD + 0.3
+50
+50
+20
Unit
V
V
mA
mA
mA
Max.
800
13
+125
+85
Unit
mW
mW/°C
°C
°C
Max.
550
9
+125
+85
Unit
mW
mW/°C
°C
°C
Max.
800
13
+125
+85
Unit
mW
mW/°C
°C
°C
Max.
5.5
+85
3.583125
Unit
V
°C
MHz
1.7.1.2 Operating Limits
Correct operation of the device outside these limits is not implied.
Notes
Supply (VDD - VSS)
Operating Temperature
Xtal Frequency
Notes:
1
Min.
2.7
-40
3.575965
1. A Xtal frequency of 3.579545MHz ±0.1% is required for correct operation.
 2003 CML Microsystems Plc
19
D/624/7
V23 / Bell 202 Modem
CMX624
1.7.1.3 Operating Characteristics
For the following conditions unless otherwise specified:
VDD = 2.7V at Tamb = 25°C and VDD = 3.0V to 5.5V at Tamb = -40 to +85°C,
Xtal Frequency = 3.579545MHz ± 0.1%, 0dBm corresponds to 775mVrms.
DC Parameters
IDD (Zero Power mode)
(Running, TXON o/p Off, VDD= 5.0V)
(Running, TXON o/p Off, VDD= 3.3V)
(Running, TXON o/p On, VDD= 5.0V)
(Running, TXON o/p On, VDD= 3.3V)
Logic '1' Input Level
Logic '0' Input Level
Logic Input Leakage Current (Vin = 0 to VDD),
(excluding XTAL/CLOCK input)
Output Logic '1' Level (lOH = 360µA)
Output Logic '0' Level (lOL = 360µA)
IRQN O/P 'Off' State Current (Vout = VDD)
Schmitt trigger input high-going threshold (Vthi)
(see Figure 11)
Schmitt trigger input low-going threshold (Vtlo)
(see Figure 11)
RLYDRV ‘ON’ resistance to VSS (VDD= 5.0V)
Notes:
Notes
1, 2
1
1
1
1
3
3
Typ.
1.0
3.4
1.8
3.5
1.9
-
Max.
6.0
3.2
6.2
3.4
30%
+1.0
Unit
µA
mA
mA
mA
mA
VDD
VDD
µA
VDD-0.4
0.56VDD
-
V
V
µA
V
0.44VDD
- 0.6V
-
-
0.4
1.0
0.56VDD
+ 0.6V
0.44VDD
38.0
TBD
Ω
V
1. At 25°C, not including any current drawn from the CMX624 pins by external circuitry other
than X1, C1 and C2.
2. All logic inputs at VSS except for RT and CSN inputs which are at VDD.
3. Excluding RD, RT and XTAL/CLOCK pins.
FSK Modulator and Tx UART
Level at TOP pin.
Twist (Mark level WRT Space level)
Tx 1200bits/sec (V.23 mode)
Baud Rate (set by UART and Xtal frequency)
Mark (Logical 1) Frequency
Space (Logical 0) Frequency
Tx 75bits/sec (V.23 mode)
Baud Rate (set by UART and Xtal frequency)
Mark (Logical 1) Frequency
Space (Logical 0) Frequency
Tx 1200bits/sec (Bell 202 mode)
Baud Rate (set by UART and Xtal frequency)
Mark (Logical 1) Frequency
Space (Logical 0) Frequency
Tx 150bits/sec (Bell 202 mode)
Baud Rate (set by UART and Xtal frequency)
Mark (Logical 1) Frequency
Space (Logical 0) Frequency
Notes:
Min.
70%
-1.0
Notes
4
Min.
-4.0
-2.0
Typ.
-3.0
0
Max.
-2.0
+2.0
Unit
dBm
dB
1194
1297
2097
1200
1300
2100
1206
1303
2103
Baud
Hz
Hz
74
388
448
75
390
450
76
392
452
Baud
Hz
Hz
1194
1197
2197
1200
1200
2200
1206
1203
2203
Baud
Hz
Hz
149
385
485
150
387
487
151
389
489
Baud
Hz
Hz
4. At VDD = 5.0V, Tx o/p level control bit set to ‘1’; load resistance greater than 40kΩ.
 2003 CML Microsystems Plc
20
D/624/7
V23 / Bell 202 Modem
CMX624
DTMF Transmitter
Level at TOP pin; tones in High Group
Twist (level of High Group tones WRT level of
Low Group tones)
Tone frequency accuracy (worst case)
Notes
4
Tx Filter and Output Buffer
Change in level at TOP pin caused by changing
bit 2 of FSK MODE Register
Buffer output signal swing;
Load greater than 500Ω.
Notes:
Max.
+1.0
-
Unit
dBm
dB
-0.5
-
+0.5
%
Notes
Min.
2.5
Typ.
3.0
Max.
3.5
Unit
dB
5
2.2
-
-
Vp-p
Notes
6
Min.
-43.0
-7.0
20.0
Typ.
-
Max.
-9.0
+7.0
-
Unit
dBm
dB
dB
8
1188
1280
2068
1200
1300
2100
1212
1320
2132
Baud
Hz
Hz
8
TBD
TBD
TBD
75
390
450
TBD
TBD
TBD
Baud
Hz
Hz
8
1188
1180
2168
1200
1200
2200
1212
1220
2232
Baud
Hz
Hz
8
TBD
TBD
TBD
150
387
487
TBD
TBD
TBD
Baud
Hz
Hz
7
6. Measured at point A in Figures 8a and 8b, for VDD = 5.0V. The internal threshold levels
are proportional to VDD. To cater for other supply voltages or different signal level ranges
the voltage gain of the Rx Input Amplifier should be adjusted by selecting the appropriate
external components as described in Section 1.6.1.
7. Flat noise in 300-3400 Hz band for V.23, 200-3400 Hz for Bell 202.
8. Set by Rx UART and Xtal frequency.
2100Hz Detector
‘Will Decode’ Frequency Range
‘Will Not Decode’ Frequency Range
‘Off’ to ‘On’ time
‘On’ to ‘Off’ time
Notes:
Typ.
0.0
+2.0
5. For each of the TXON (if enabled) and TXO pins, load between pin and VDD / 2.
FSK Demodulator and Rx UART
Valid Input Level Range
Acceptable Twist (Mark level WRT Space level)
Acceptable Signal to Noise Ratio
Rx 1200bits/sec (V.23 mode)
Acceptable Rx Data Rate
Mark (Logical 1) Frequency
Space (Logical 0) Frequency
Rx 75bits/sec (V.23 mode)
Acceptable Rx Data Rate
Mark (Logical 1) Frequency
Space (Logical 0) Frequency
Rx 1200bits/sec (Bell 202 mode)
Acceptable Rx Data Rate
Mark (Logical 1) Frequency
Space (Logical 0) Frequency
Rx 150bits/sec (Bell 202 mode)
Acceptable Rx Data Rate
Mark (Logical 1) Frequency
Space (Logical 0) Frequency
Notes:
Min.
-1.0
-
Notes
9
9
Min.
2040
<2010
4.0
Typ.
-
Max.
2235
>2265
25
-
Unit
Hz
Hz
ms
ms
9. 2100Hz detection requires a signal within the amplitude range given in the Rx Energy
Detector section.
 2003 CML Microsystems Plc
21
D/624/7
V23 / Bell 202 Modem
CMX624
Rx Energy Detector
‘Off’ to 'On' Threshold Level (FSK)
‘Off’ to 'On' Threshold Level (Call Progress)
Hysteresis (measured at VDD = 3V and 5V)
'Off' to 'On' Time (Figure 4 Teon):
1200bps Rx mode
75/150bps Rx mode
Call Progress Detect mode
'On' to 'Off' Time (Figure 4 Teoff):
1200bps Rx mode
75/150bps Rx mode
Call Progress Detect mode
Notes:
Notes
6, 10
6, 10
6, 10
6, 10
Typ.
-
Max.
-43.0
-40.0
-
Unit
dBm
dBm
dB
-
-
25
48
48
ms
ms
ms
8.0
20
20
-
-
ms
ms
ms
6, 10
10. Measured with 1300Hz signal in 1200bps mode, 390Hz for 75 or 150 bps and Call
Progress mode, signal level -33dBm for time delay measurements.
XTAL/CLOCK Input
'High' Pulse Width
'Low' Pulse Width
Notes:
Min.
-48.0
-48.0
2.0
Notes
11
11
Min.
100
100
Typ.
-
Max.
-
Unit
ns
ns
Typ.
-
Max.
1.0
-
Unit
ns
ns
ns
µs
µs
ns
ns
ns
ns
ns
ns
ns
ns
11. Timing for an external input to the XTAL/CLOCK pin.
‘C-BUS’ Timings (See Figure 10)
tCSE
CSN-Enable to Clock-High time
tCSH
Last Clock-High to CSN-High time
Clock-Low to Reply Output enable time
tLOZ
CSN-High to Reply Output 3-state time
tHIZ
CSN-High Time between transactions
tCSOFF
Inter-Byte Time
tNXT
Clock-Cycle time
tCK
Serial Clock-High time
tCH
Serial Clock-Low time
tCL
Command Data Set-Up time
tCDS
Command Data Hold time
tCDH
Reply Data Set-Up time
tRDS
Reply Data Hold time
tRDH
Notes
Min.
100
100
0.0
1.0
200
200
100
100
75
25
50
0
Note: These timings are for the latest version of the ‘C-BUS’ as embodied in the CMX624.
 2003 CML Microsystems Plc
22
D/624/7
V23 / Bell 202 Modem
CMX624
Figure 10 ‘C-BUS’ Timing
3.5
3
2.5
2
Vin
1.5
1
Vthi
0.5
Vtlo
0
2.5
3
3.5
4
4.5
5
5.5
Vdd
Figure 11 Typical Schmitt Trigger Input Voltage Thresholds vs. VDD
 2003 CML Microsystems Plc
23
D/624/7
V23 / Bell 202 Modem
1.7.2
CMX624
Packaging
Figure 12a 24-pin SOIC (D2) Mechanical Outline: Order as part no. CMX624D2
Figure 12b 24-pin SSOP (D5) Mechanical Outline: Order as part no. CMX624D5
 2003 CML Microsystems Plc
24
D/624/7
V23 / Bell 202 Modem
CMX624
Figure 12c 24-pin DIL (P4) Mechanical Outline: Order as part no. CMX624P4
Handling precautions: This product includes input protection, however, precautions should be taken to prevent device
damage from electro-static discharge. CML does not assume any responsibility for the use of any circuitry described. No
IPR or circuit patent licences are implied. CML reserves the right at any time without notice to change the said circuitry and
this product specification. CML has a policy of testing every product shipped using calibrated test equipment to ensure
compliance with this product specification. Specific testing of all circuit parameters is not necessarily performed.
www.cmlmicro.com
For FAQs see: www.cmlmicro.com/products/faqs/
For a full data sheet listing see: www.cmlmicro.com/products/datasheets/download.htm
For detailed application notes: www.cmlmicro.com/products/applications/
Oval Park, Langford,
Maldon, Essex,
CM9 6WG - England.
4800 Bethania Station Road,
Winston-Salem,
NC 27105 - USA.
No 2 Kallang Pudding
Road, #09 to 05/06
Mactech Industrial Building,
Singapore 349307
No. 218, Tian Mu Road
West, Tower 1, Unit 1008,
Shanghai Kerry Everbright
City, Zhabei,
Shanghai 200070,
China.
Tel: +44 (0)1621 875500
Tel: +65 6745 0426
Fax: +44 (0)1621 875600
Tel: +1 336 744 5050,
800 638 5577
Fax: +1 336 744 5054
Fax: +65 6745 2917
Tel: +86 21 6317 4107
+86 21 6317 8916
Fax: +86 21 6317 0243
Sales:
[email protected]
Sales:
[email protected]
Sales:
[email protected]
Sales:
[email protected]
Technical Support:
[email protected]
Technical Support:
[email protected]
Technical Support:
[email protected]
Technical Support:
[email protected]