CMX868 COMMUNICATION ICs Low Power V.22 bis Modem DATA BULLETIN ADVANCE INFORMATION Features Applications * * * * * * * * * * * * * * * * V.22bis 2400/2400bps QAM V.22, Bell 212A 1200/1200 or 600/600bps DPSK V.23 1200/75, 1200/1200, 75, 1200bps FSK Bell 202 1200/150, 1200/1200, 150, 1200bps FSK V.21 or Bell 103 300/300bps FSK DTMF/Tones Transmit and Receive Extremely Low Power: 3.5mA/3V, 6.5mA/5V typical `Powersave' Standby Mode LINE LINE INTERFACE TX USART & SCRAMBLER. QAM / DPSK / FSK MODULATOR. TONE / DTMF GENERATOR. RX DESCRAMBLER & USART, QAM / DPSK / FSK RECEIVER. TONE / DTMF DETECTOR. Cable TV Set Top Box (STB) Telephone Telemetry Systems Remote Utility Meter Reading Security Systems Industrial Control Systems Electronic Cash Terminals Pay-Phones Modem Links with Caller ID CMX868 C-BUS SERIAL INTERFACE HOST C RING DETECTOR. RELAY DRIVER. The CMX868 is a multi-standard modem for use in telephone based information and telemetry systems. Control of the device is via a simple high speed serial bus, compatible with most types of C serial interface. The data transmitted and received by the modem is also transferred over the same serial bus. On-chip programmable Tx and Rx USARTs meeting the requirements of V.14 are provided for use with asynchronous data and allow unformatted synchronous data to be received or transmitted as 8-bit words. It can transmit and detect standard DTMF and modem calling and answer signals or user-specific programmed single or dual tone signals. A general purpose Call Progress signal detector is also included. Flexible line driver and receive hybrid circuits are integrated on chip, requiring only passive external components to build a 2 or 4-wire line interface. The device also features a hook switch relay drive output and a Ring Detector circuit which continues to function when the device is in the Powersave mode, providing an interrupt which can be used to wake up the host Controller when line voltage reversal or ringing is detected. The CMX868 operates from a single 2.7 to 5.5V supply over a temperature range of -40C to +85C and is available in 24-pin TSSOP, SOIC and DIP packages. 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 2 CMX868 Advance Information CONTENTS Section Page 1 Block Diagram................................................................................................................ 3 2 Signal List....................................................................................................................... 4 3 External Components.................................................................................................... 5 3.1 3.2 Ring Detector Interface........................................................................................................ 6 Line Interface....................................................................................................................... 7 3.2.1 2-Wire Line Interface .............................................................................................................. 7 3.2.2 4-Wire Line Interface .............................................................................................................. 8 4 General Description....................................................................................................... 9 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 4.10 Tx USART ......................................................................................................................... 10 FSK and QAM/DPSK Modulators...................................................................................... 11 Tx Filter and Equalizer....................................................................................................... 12 DTMF/Tone Generator ...................................................................................................... 12 Tx Level Control and Output Buffer ................................................................................... 12 Rx DTMF/Tones Detectors ................................................................................................ 12 Rx Modem Filtering and Demodulation ............................................................................. 13 Rx Modem Pattern Detectors and Descrambler ................................................................ 14 Rx Data Register and USART ........................................................................................... 15 C-BUS Interface ................................................................................................................ 16 4.10.1 General Reset Command (no data) C-BUS address $01 .................................................. 17 4.10.2 General Control Register: 16-bit write-only C-BUS address $E0........................................ 18 4.10.3 Transmit Mode Register: 16-bit write-only C-BUS address $E1 ......................................... 19 4.10.4 Receive Mode Register ........................................................................................................ 23 4.10.5 Tx Data Register .................................................................................................................. 25 4.10.6 Rx Data Register .................................................................................................................. 25 4.10.7 Status Register: 16-bit read-only C-BUS address $E6 ...................................................... 26 4.10.8 Programming Register ......................................................................................................... 29 5 Application Notes ........................................................................................................ 32 5.1 5.2 V.22bis Calling Modem Application ................................................................................... 32 V.22bis Answering Modem Application ............................................................................. 33 6 Performance Specification.......................................................................................... 34 6.1 6.2 Electrical Performance ...................................................................................................... 34 6.1.1 Absolute Maximum Ratings.................................................................................................. 34 6.1.2 Operating Limits ................................................................................................................... 34 6.1.3 Operating Characteristics..................................................................................................... 35 Packaging.......................................................................................................................... 42 MX-COM, Inc. reserves the right to change specifications at any time and without notice. 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. CS QAM/DPSK DEMODULATOR FSK DEMODULATOR RT TXA Tx Level Control LOCAL ANALOG LOOPBACK Descrambler Enable REPLY DATA RD TXA MODEM ENERGY DETECTOR RING DETECTOR RECEIVE MODEM FILTER & EQUALIZER DTMF/TONE/ CALL PROG/ ANSWER TONE DETECTOR Rx Gain Control 3 Figure 1: Block Diagram COMMAND DATA DTMF/TONE GENERATOR Tx Output Buffer Low Power V.22bis Modem SERIAL CLOCK QAM/DPSK MODULATOR Scrambler Enable C-BUS SERIAL INTERFACE + Tx / Rx DATA REGISTERS & USART + RXA - RXA Rx Input Amplifier RXAFB Xtal Osc and Clock Dividers XTAL VBIAS VDD VSS CMX868 Advance Information XTAL / CLOCK Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 IRQ TRANSMIT FILTER & EQUALIZER 1 Block Diagram 2000 MX-COM, Inc. 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA FSK MODULATOR RDRV Low Power V.22bis Modem 4 CMX868 Advance Information 2 Signal List D2/E2/P4 Pin No. 1 Name Signal XTAL Type output Description 2 XTAL/CLOCK input 3 RDRV output 4, 8, 12, 17, 21 VSS Power 5 RD input 6 RT bi-directional 7, 16, 24 VDD Power 9 10 RXAFB output input 11 RXA RXA 13 VBIAS output 14 TXA TXA output 15 18 CS 20 COMMAND DATA SERIAL CLOCK 22 REPLY DATA 19 23 IRQ The output of the on-chip Xtal oscillator inverter. The input to the oscillator inverter from the Xtal circuit or external clock source. Relay drive output, low resistance pull down to VSS when active and medium resistance pull up to VDD when inactive. The negative supply rail (ground). Schmitt trigger input to the Ring signal detector. Connect to VSS if Ring Detector not used. input Open drain output and Schmitt trigger input forming part of the Ring signal detector. Connect to VDD if Ring Detector not used. The positive supply rail. Levels and thresholds within the device are proportional to this voltage. The output of the Rx Input Amplifier. The inverting input to the Rx Input Amplifier The non-inverting input to the Rx Input Amplifier Internally generated bias voltage of approximately VDD/2, except when the device is in `Powersave' mode when VBIAS will discharge to VSS. Should be de-coupled to VSS by a capacitor mounted close to the device pins. The inverted output of the Tx Output Buffer. output input The non-inverted output of the Tx Output Buffer. The C-BUS chip select input from the C. input The C-BUS serial data input from the C. input The C-BUS serial clock input from the C. tri-state A 3-state C-BUS serial data output to the C. This output is high impedance when not sending data to the C. output 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 pull-up resistor is required i.e. R1 of Figure 2. Table 1: Signal List 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 5 CMX868 Advance Information 3 External Components VDD C1 C2 XTAL X1 XTAL/CLOCK RDRV VSS Ring Detector See Section 3.1 Rx Line Interface See Section 3.2 + C5 RD RT VDD VSS RXAFB RXA RXA VDD C4 1 2 24 23 22 3 21 4 20 5 6 CMX868 19 18 7 8 17 9 16 10 15 11 14 13 12 VDD R1 IRQ REPLY DATA VSS SERIAL CLOCK COMMAND DATA CS VSS VDD TXA TXA VBIAS C3 C-BUS to/from C Tx Line Interface See Section 3.2 Figure 2: Recommended External Components for Typical Applciation R1 C1, C2 C3, C4 100k 22pF 100nF C5 10uF X1 11.0592MHz or 12.288MHz Resistors 5%, capacitors 20% unless otherwise stated. Table 2: Recommended External Components for typical Application Note: 1. This device is capable of detecting and decoding small amplitude signals. To achieve this VDD and VBIAS should be de-coupled and the receive path protected from extraneous in-band signals. It is recommended that the printed circuit board be laid out with a VSS ground plane in the CMX868 area to provide a low impedance connection between the VSS pins and the VDD and VBIAS decoupling capacitors. The VSS connections to the Xtal oscillator capacitors C1 and C2 should also be low impedance and preferably be part of the VSS ground plane to ensure reliable start up of the oscillator. 2. For best results, a crystal oscillator design should drive the clock inverter input with signal levels of at least 40% of VDD, peak to peak. Tuning fork crystals generally cannot meet this requirement. To obtain crystal oscillator design assistance, please consult your crystal manufacturer. 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 3.1 6 CMX868 Advance Information Ring Detector Interface Figure 3 shows how the CMX868 may be used to detect the large amplitude Ringing signal voltage present on the 2-wire line 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 3) 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 CMX868 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 14 (Ring Detect) of the Status Register. The minimum amplitude ringing signal that is certain to be detected is: (R20 + R22 + R23)(0.707V ) 0.7 + Vt HI RMS R23 where VtHI is the high-going threshold voltage of the Schmitt trigger A (see Section 6.1). With R20-22 all 470k as Figure 3, then setting R23 to 68k will guarantee detection of ringing signals of 40VRMS and above for VDD over the range 3 to 5V. C20 R20 CMX868 X 2-Wire Telephone Line D1 - 4 B R22 RD A R23 C21 To Status Register RT R21 VDD C22 R24 Ring signal Bridge rectifier output (X) VtHI RT VtHI VSS VSS Status Register bit 14 (Ring Detect) Figure 3: Ring Signal Interface Circuit R20, 21, 22 C20, 21 0.1F R23 470k See text C22 R24 470k D1-4 0.33F 1N4004 Resistors 5%, capacitors 20% Table 3: Ring Signal Detector Interface Circuit External Components 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 7 CMX868 Advance Information 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 -t R 24xC22 = VDD 1 - e 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 3 (470k and 0.33F) give a minimum RT charge time of 100ms, which is adequate for ring frequencies of 10Hz or above. Note: 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 14 of the Status Register (Ring Detect) is high. If the Ring detect function is not used then pin RD should be connected to VSS and RT to VDD. 3.2 Line Interface A line interface circuit is needed to provide dc isolation and to terminate the line. 3.2.1 2-Wire Line Interface Figure 4 shows an interface for use with a 600 2-wire line. The complex line termination is provided by R13 and C10, high frequency noise is attenuated by C10 and C11, while R11 and R12 set the receive signal level into the modem. For clarity, the 2-wire line protection circuitry has not been shown. RDRV To Ring Detect Circuit See Section 3.1 +ve Optional buffer if needed to drive low resistance relay RXAFB R12 R11 R13 1:1 C11 RXA RXA C3 VBIAS TXA 2-Wire Line C10 + CMX868 TXA Figure 4: 2-Wireline Interface Circuit R11 R12 See text 100k C3 C10 See Figure 2 33nF R13 600 C11 100pF Resistors 5%, capacitors 20% Table 4: 2-Wireline Interface Circuit External Components The transmit line signal level is determined by the voltage swing between the TXA and TXA pins, less 6dB due to the line termination resistor R13, and less the loss in the line coupling transformer. 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 8 CMX868 Advance Information Allowing for 1dB loss in the transformer, then with the Tx Mode Register set for a Tx Level Control gain of 0dB the nominal transmit line levels will be: QAM, DPSK and FSK Tx modes (no guard tone) Single tone transmit mode DTMF transmit mode VDD = 3.0V -10dBm -10dBm -6 and -8 dBm VDD = 5.0V -5.5dBm -5.5dBm -1.5 and -3.5 dBm For a line impedance of 600, 0dBm = 775mVRMS. See also Section 6.1.3. In the receive direction, the signal detection thresholds within the CMX868 are proportional to VDD and are affected by the Rx Gain Control gain setting in the Rx Mode Register. The signal level into the CMX868 is affected by the line coupling transformer loss and the values of R11 and R12 of Figure 4. Assuming 1dB transformer loss, the Rx Gain Control programmed to 0dB and R12 = 100k, then for correct operation (see Section 6.1.3) the value of R11 should be equal to 500 / VDD k i.e. 160k at 3.0V, falling to 100k at 5.0V 3.2.2 4-Wire Line Interface Figure 5 shows an interface for use with a 600 4-wire line. The line terminations are provided by R10 and R13, high frequency noise is attenuated by C11 while R11 and R12 set the receive signal level into the modem. Transmit and receive line level settings and the value of R11 are as for the 2-wire circuit. RXAFB C11 R12 1:1 C12 R11 RXA RXA Rx R10 + VBIAS C3 4-Wire Line CMX868 R13 TXA Tx TXA Figure 5: 4-Wireline Interface Circuit R10, 13 R11 R12 600 See text 100k 1 C3 See Figure 2 C11 C12 100pF 33nF Resistors 5%, capacitors 20% Table 5: 4-Wireline Interface Circuit External Components 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 9 CMX868 Advance Information 4 General Description The CMX868 transmit and receive operating modes are independently programmable. The transmit mode can be set to any one of the following: * V.22bis modem. 2400bps QAM (Quadrature Amplitude Modulation). * V.22 and Bell 212A modem. 1200 or 600bps DPSK (Differential Phase Shift Keying). * V.21 modem. 300bps FSK (Frequency Shift Keying). * Bell 103 modem. 300bps FSK. * V.23 modem. 1200 or 75bps FSK. * Bell 202 modem. 1200 or 150bps FSK. * DTMF transmit. * Single tone transmit (from a range of modem calling, answer and other tone frequencies) * User programmed tone or tone pair transmit (programmable frequencies and levels) * Disabled. The receive mode can be set to any one of the following: * V.22bis modem. 2400bps QAM. * V.22 and Bell 212A modem. 1200 or 600bps DPSK. * V.21 modem. 300bps FSK. * Bell 103 modem. 300bps FSK. * V.23 modem. 1200 or 75bps FSK. * Bell 202 modem. 1200 or 150bps FSK. * DTMF detect. * 2100Hz and 2225Hz answer tone detect. * Call progress signal detect. * User programmed tone or tone pair detect. * Disabled. The CMX868 may also be set into a Powersave mode that disables all circuitry except for the C-BUS interface and the Ring Detector. 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 4.1 10 CMX868 Advance Information Tx USART A flexible Tx USART is provided for all modem modes, meeting the requirements of V.14 for QAM and DPSK modems. It can be programmed to transmit continuous patterns, Start-Stop characters or Synchronous Data. In both Synchronous Data and Start-Stop modes the data to be transmitted is written by the C into the 8-bit C-BUS Tx Data Register from which it is transferred to the Tx Data Buffer. If Synchronous Data mode has been selected the 8 data bits in the Tx Data Buffer are transmitted serially, b0 being sent first. In Start-Stop mode a single Start bit is transmitted, followed by 5, 6, 7 or 8 data bits from the Tx Data Buffer b0 first - followed by an optional Parity bit then - normally - one or two Stop bits. The Start, Parity and Stop bits are generated by the USART as determined by the Tx Mode Register settings and are not taken from the Tx Data Register. C-BUS Interface Tx Data Register 7 0 Tx data from C Tx Data Buffer Scrambler Parity bit generator Tx USART Enable Start/Stop bits To FSK or QAM/DPSK Modulator Continuous patterns USART Control Modem bit rate clock Figure 6: Tx USART Every time the contents of the C-BUS Tx Data Register are transferred to the Tx Data Buffer the Tx Data Ready flag bit of the Status Register is set to 1 to indicate that a new value should be loaded into the C-BUS Tx Data Register. This flag bit is cleared to 0 when a new value is loaded into the Tx Data Register. Tx Line Signal: Start B0 B1 B7 Par'y Stop Tx Data Ready flag bit: Figure 7: Tx USART Function (Start-Stop mode, 8 Data Bits + Parity) If a new value is not loaded into the Tx Data Register in time for the next Tx Data Register to Tx Data Buffer transfer then the Status Register Tx Data Underflow bit will be set to 1. In this event the contents of the Tx Data Buffer will be re-transmitted if Synchronous Data mode has been selected, or if the Tx modem is in Start-Stop mode then a continuous Stop signal (1) will be transmitted until a new value is loaded into the Tx Data Register. In all modes the transmitted bit and baud rates are the nominal rates for the selected modem type, with an accuracy determined by the XTAL frequency accuracy, however for QAM and DPSK modes V.14 requires that Start-Stop characters can be transmitted at up to 1% over-speed (basic signaling rate range) or 2.3% over-speed (extended signaling rate range) by deleting a Stop bit from no more than one out of every 8 (basic range) or 4 (extended range) consecutive transmitted characters. To accommodate the V.14 requirement the Tx Data Register has been given two C-BUS addresses, $E3 and $E4. Data should normally be written to $E3. In QAM or DPSK Start-Stop modes if data is written to $E4 then the programmed number of Stop bits will be reduced by one for that character. In this way the C can delete transmitted Stop bits as needed. 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 11 CMX868 Advance Information In FSK Start-Stop modes, data written to $E4 will be transmitted with a 12.5% reduction in the length of the Stop bit at the end of that character. In all Synchronous Data modes data written to $E4 will be treated as though it had been written to $E3. The underspeed transmission requirement of V.14 is automatically met by the CMX868 as in Start-Stop mode it automatically inserts extra Stop bit(s) if it has to wait for new data to be loaded into the C-BUS Tx Data Register. The optional V.22/V.22bis compatible data scrambler can be programmed to invert the next input bit in the event of 64 consecutive ones appearing at its input. It uses the generating polynomial: 1 + x -14 + x -17 4.2 FSK and QAM/DPSK Modulators Serial data from the USART is fed via the optional scrambler to the FSK modulator if V.21, V.23, Bell 103 or Bell 202 mode has been selected or to the QAM/DPSK modulator for V.22, V.22bis and Bell 212A modes. The FSK modulator generates one of two frequencies according to the transmit mode and the value of current transmit data bit. The QAM/DPSK modulator generates a carrier of 1200Hz (Low Band, Calling modem) or 2400Hz (High Band, Answering modem) which is modulated at 600 symbols/sec as described below: 600bps V.22 signals are transmitted as a +90 carrier phase change for a `0' bit, +270 for `1'. For V.22 and Bell 212A 1200bps DPSK the transmit data stream is divided into groups of two consecutive bits (dibits) which are encoded as a carrier phase change: Dibit (left-hand bit is the first of the pair) 00 Phase change +90 01 0 11 +270 10 +180 For V.22bis 2400bps QAM the transmit data stream is divided into groups of 4 consecutive data bits. The first two bits of each group are encoded as a phase quadrant change and the last two bits define one of four elements within a quadrant: First two bits of group (left-hand bit is the first of the pair) 00 +90 (e.g. quadrant 1 to 2) 01 0 (no change of quadrant) 11 +270 (e.g. quadrant 1 to 4) 10 +180 (e.g. quadrant 1 to 3) 11 01 Phase Quadrant 2 10 00 Phase quadrant change Q 10 11 Phase Quadrant 1 00 01 I 01 00 Phase Quadrant 3 11 10 00 10 Phase Quadrant 4 01 11 Figure 8: V.22 bis Signal Constellation 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 4.3 12 CMX868 Advance Information Tx Filter and Equalizer The FSK or QAM/DPSK modulator output signal is fed through the Transmit Filter and Equalizer block which limits the out-of-band signal energy to acceptable limits. In 600, 1200 and 2400bps FSK, DPSK and QAM modes this block includes a fixed compromise line equalizer which is automatically set for the particular modulation type and frequency band being employed. This fixed compromise line equalizer may be enabled or disabled by bit 10 of the General Control Register. The amount of Tx equalization provided compensates for one quarter of the relative amplitude and delay distortion of ETS Test Line 1 over the frequency band used. 4.4 DTMF/Tone Generator In DTMF/Tones mode this block generates DTMF signals or single or dual frequency tones. In QAM/DPSK modem modes, it is used to generate the optional 550 or 1800Hz guard tone. 4.5 Tx Level Control and Output Buffer The outputs (if present) of the Transmit Filter and DTMF/Tone Generator are summed then passed through the programmable Tx Level Control and Tx Output Buffer to the pins TXA and TXA . The Tx Output Buffer has symmetrical outputs to provide sufficient line voltage swing at low values of VDD and to reduce harmonic distortion of the signal. 4.6 Rx DTMF/Tones Detectors In Rx Tones Detect mode the received signal, after passing through the Rx Gain Control block, is fed to the DTMF / Tones / Call Progress / Answer Tone detector. The user may select any of four separate detectors: The DTMF detector detects standard DTMF signals. A valid DTMF signal will set bit 5 of the Status Register to 1 for as long as the signal is detected. The programmable tone pair detector includes two separate tone detectors (see Figure 20). The first detector will set bit 6 of the Status Register for as long as a valid signal is detected, the second detector sets bit 7, and bit 10 of the Status Register will be set when both tones are detected. The Call Progress detector measures the amplitude of the signal at the output of a 275 - 665Hz bandpass filter and sets bit 10 of the Status Register to 1 when the signal level exceeds the measurement threshold. 10 0 -10 -20 dB -30 -40 -50 -60 0 0.5 1 1.5 2 kHz 2.5 3 3.5 4 Figure 9: Response of Call Progress Filter The Answer Tone detector measures both amplitude and frequency of the received signal and sets bit 6 or bit 7 of the Status Register when a valid 2225Hz or 2100Hz signal is received. 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 4.7 13 CMX868 Advance Information Rx Modem Filtering and Demodulation When the receive part of the CMX868 is operating as a modem, the received signal is fed to a bandpass filter to attenuate unwanted signals and to provide fixed compromise line equalization for 600, 1200 and 2400bps FSK, DPSK and QAM modes. The characteristics of the bandpass filter and equalizer are determined by the chosen receive modem type and frequency band. The line equalizer may be enabled or disabled by bit 10 of the General Control Register and compensates for one quarter of the relative amplitude and delay distortion of ETS Test Line 1. The responses of these filters, including the line equalizer and the effect of external components used in Figure 4 and Figure 5, are shown in Figure 10, Figure 11, Figure 12, and Figure 13: dB 10 10 0 0 -10 -10 -20 -20 -30 dB -30 -40 -40 -50 -50 -60 -60 0 0.5 1 1.5 2 2.5 3 3.5 4 0 kHz 1 1.5 2 2.5 3 3.5 4 3.5 4 kHz Figure 10: QAM/DPSK Rx Filters dB 0.5 Figure 11: V.21 Rx Filters 10 10 0 0 -10 -10 -20 -20 -30 dB -30 -40 -40 -50 -50 -60 -60 0 0.5 1 1.5 2 2.5 3 3.5 kHz Figure 12: Bell 103 Rx Filters 4 0 0.5 1 1.5 2 2.5 3 kHz Figure 13: Bell 202 / V.23 Rx Filters The signal level at the output of the Receive Modem Filter and Equalizer is measured in the Modem Energy Detector block, compared to a threshold value, and the result controls bit 10 of the Status Register. The output of the Receive Modem Filter and Equalizer is also fed to the FSK or QAM/DPSK demodulator depending on the selected modem type. 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 14 CMX868 Advance Information The FSK demodulator recognizes individual frequencies as representing received `1' or `0' data bits: The QAM/DPSK demodulator decodes QAM or DPSK modulation of a 1200Hz or 2400Hz carrier and is used for V.22, V.22bis and Bell 212A modes. It includes an adaptive receive signal equalizer (auto-equalizer) that will automatically compensate for a wide range of line conditions in both QAM and DPSK modes. The autoequalizer can provide a useful improvement in performance in 600 or 1200bps DPSK modes as well as 2400bps QAM, so although it must be disabled at the start of a handshake sequence, it can be enabled as soon as scrambled 1200bps 1s have been detected. Both FSK and QAM/DPSK demodulators produce a serial data bit stream that is fed to the Rx pattern detector, descrambler and USART block. See Figure 14. In QAM/DPSK modes the demodulator input is also monitored for the v.22bis handshake signal `S1" signal. The QAM/DPSK demodulator also estimates the received bit error rate by comparing the actual received signal against an ideal waveform. This estimate is placed in bits 2-0 of the Status Register. See Figure 19. 4.8 Rx Modem Pattern Detectors and Descrambler Reference Figure 14. The 1010.. pattern detector operates only in FSK modes and will set bit 9 of the Status Register when 32 bits of alternating 1's and 0's have been received. The `Continuous Unscrambled 1's' detector operates in all modem modes and sets bits 8 and 7 of the Status Register to `01' when 32 consecutive 1's have been received. The descrambler operates only in DPSK/QAM modes and is enabled by setting bit 7 of the Rx Mode Register. The `Continuous Scrambled 1's' detector operates only in DPSK/QAM modes when the descrambler is enabled and sets bits 8 and 7 of the Status Register to `11' when 32 consecutive 1's appear at the output of the descrambler. To avoid possible ambiguity, the `Scrambled 1's' detector is disabled when continuous unscrambled 1's are detected. The `Continuous 0's' detector sets bits 8 and 7 of the Status Register to `10' when NX consecutive 0's have been received, NX being 32 except when DPSK/QAM Start-Stop mode has been selected, in which case NX = 2N + 4 where N is the number of bits per character including the Start, Stop and any Parity bits. All of these pattern detectors will hold the `detect' output for 12 bit times after the end of the detected pattern unless the received bit rate or operating mode is changed, in which case the detectors are reset within 2ms. 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 4.9 15 CMX868 Advance Information Rx Data Register and USART A flexible Rx USART is provided for all modem modes, meeting the requirements of V.14 for QAM and DPSK modems. It can be programmed to treat the received data bit stream as Synchronous data or as Start-Stop characters. In Synchronous mode the received data bits are all fed into the Rx Data Buffer which is copied into the C-BUS Rx Data Register after every 8 bits. In Start-Stop mode the USART Control logic looks for the start of each character, then feeds only the required number of data bits (not parity) into the Rx Data Buffer. The parity bit (if used) and the presence of a Stop bit are then checked and the data bits in the Rx Data Buffer copied to the C-BUS Rx Data Register. b9 b7 b8 Status Register: 1010 Detector (FSK only) Continuous Unscrambled 1s detector Continuous Scrambled 1s detector Continuous 0s detector C-BUS Interface Rx Data Register Rx data 7 0 to C Rx Data Buffer From FSK or QAM/DPSK Demodulator Descrambler (QAM/DPSK only) Parity bit checker Rx USART Start/Stop bits Enable USART Control Bit rate clock Figure 14: Rx Modem Data Paths Whenever a new character is copied into the C-BUS Rx Data Register, the Rx Data Ready flag bit of the Status Register is set to `1' to prompt the C to read the new data; and in Start-Stop mode, the Even Rx Parity flag bit of the Status Register is updated. In Start-Stop mode, if the Stop bit is missing (received as a `0' instead of a `1') the received character will still be placed into the Rx Data Register and the Rx Data Ready flag bit set, but, unless allowed by the V.14 overspeed option described below, the Status Register Rx Framing Error bit will also be set to `1' and the USART will re-synchronize onto the next `1' - `0' (Stop - Start) transition. The Rx Framing Error bit will remain set until the next character has been received. Rx Signal: Start B0 B1 B7 Par'y Stop Rx Data Ready flag bit: Figure 15: Rx USART Function (Start-Stop mode, 8 Data Bits + Parity) If the C has not read the previous data from the Rx Data Register by the time that new data is copied to it from the Rx Data Buffer then the Rx Data Overflow flag bit of the Status Register will be set to 1. The Rx Data Ready flag and Rx Data Overflow bits are cleared to 0 when the Rx Data Register is read by the C. For QAM and DPSK Start-Stop modes, V.14 requires that the receive USART be able to cope with missing Stop bits; up to 1 missing Stop bit in every 8 consecutive received characters being allowed for the +1% overspeed (basic signaling rate) V.14 mode and 1 in 4 for the +2.3% over-speed (extended signaling rate) mode. To accommodate the requirements of V.14, the CMX868 Rx Mode Register can be set for 0, +1% or +2.3% over-speed operation in QAM or DPSK Start-Stop modes. Missing Stop bits beyond those allowed by the selected over-speed option will set the Rx Framing Error flag bit of the Status Register. 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 16 CMX868 Advance Information In order that received Break signals can be handled correctly in V.14 Rx over-speed mode, a received character which has all bits `0', including the Stop and any Parity bits, will always cause the Rx Framing Error bit to be set and the USART to re-synchronize onto the next `1' - `0' transition. Additionally the received Continuous 0s detector will respond when more than 2M + 3 consecutive `0's are received, where `M' is the selected total number of bits per character including Stop and any Parity bits. 4.10 C-BUS Interface This block provides for the transfer of data and control or status information between the CMX868's internal registers and the C over the C-BUS serial bus. Each transaction consists of a single Register Address byte sent from the C which may be followed by a one or more data byte(s) sent from the C to be written into one of the CMX868's Write Only Registers, or a one or more byte(s) of data read out from one of the CMX868's Read Only Registers, as illustrated in Figure 16. Data sent from the C on the Command Data line is clocked into the CMX868 on the rising edge of the Serial Clock input. Reply Data sent from the CMX868 to the C is valid when the Serial Clock is high. The CS line must be held low during a data transfer and kept high between transfers. The C-BUS interface is compatible with most common C serial interfaces and may also be easily implemented with general-purpose C I/O pins controlled by a simple software routine. Figure 24 gives detailed C-BUS timing requirements. The following C-BUS addresses and registers are used by the CMX868: * General Reset Command (address only, no data). Address $01 * General Control Register, 16-bit write-only. Address $E0 * Transmit Mode Register, 16-bit write-only. Address $E1 * Receive Mode Register, 16-bit write-only. Address $E2 * Transmit Data Register, 8-bit write-only. Addresses $E3 and $E4 * Receive Data Register, 8-bit read-only. Address $E5 * Status Register, 16-bit read-only. Address $E6 * Programming Register, 16-bit write-only. Address $E8 Note: The C-BUS addresses $E9, $EA and $EB are allocated for production testing and should not be accessed in normal operation. 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 17 CMX868 Advance Information 4.10.1 General Reset Command (no data) C-BUS address $01 This command resets the device and clears all bits of the General Control, Transmit Mode and Receive Mode Registers and bits 15 and 13-0 of the Status Register. Whenever power is applied to the CMX868 a General Reset command should be sent to the device, after which the General Control Register should be set as required. A) Single byte from C CS SERIAL CLOCK COMMAND DATA Hi-Z REPLY DATA 7 6 5 4 3 2 1 0 Address (01 Hex = Reset) Note: The SERIAL CLOCK line may be high or low at the start and end of each transaction. See Figure 24. = Level not important b) One Address and one Data byte from C CS SERIAL CLOCK COMMAND DATA 7 6 5 4 3 2 1 0 Address 7 6 5 4 3 2 1 0 Data to CMX868 Hi-Z REPLY DATA c) One Address and 2 Data bytes from C CS SERIAL CLOCK COMMAND DATA 7 6 5 4 3 2 1 0 Address Hi-Z REPLY DATA 7 6 5 4 3 2 1 0 First (msb) data byte to CMX868 7 6 5 4 3 2 1 0 Second (lsb) data byte to CMX868 d) One Address byte from C and one Reply byte from CMX868 CS SERIAL CLOCK COMMAND DATA REPLY DATA 7 6 5 4 3 2 1 0 Address 7 6 5 4 3 2 1 0 Data from CMX868 Hi-Z e) One Address byte from C and 2 Reply bytes from CMX868 CS SERIAL CLOCK 7 6 5 4 3 2 1 0 Address COMMAND DATA REPLY DATA 7 6 5 4 3 2 1 0 First (msb) byte from CMX868 Hi-Z 7 6 5 4 3 2 1 0 Second(lsb) byte from CMX868 Figure 16: C-BUS Transactions 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 18 CMX868 Advance Information 4.10.2 General Control Register: 16-bit write-only C-BUS address $E0 This register controls general features of the CMX868 such as the Powersave and Loopback modes, the IRQ mask bits and the Relay Drive output. It also allows the fixed compromise equalizers in the Tx and Rx signal paths to be disabled if desired, and sets the internal clock dividers to use either a 11.0592 or a 12.288 MHz XTAL frequency. All bits of this register are cleared to 0 by a General Reset command. Bit: 15 0 14 0 13 0 12 Xtal freq 11 LB 10 Equ 9 Rlydrv 8 Pwr 7 Rst 6 Irq en 5 4 3 2 1 IRQ Mask Bits 0 General Control Register b15-13: Reserved, set to 000 General Control Register b12: Xtal frequency This bit should be set according to the Xtal frequency. b12 = 1 11.0592MHz b12 = 0 12.2880MHz General Control Register b11: Analog Loopback test mode This bit controls the analogue loopback test mode. Note that in loopback test mode both Transmit and Receive Mode Registers should be set to the same modem type and band or bit rate. b11 = 1 Local analog loopback mode enabled b11 = 0 No loopback (normal modem operation) General Control Register b10: Tx and Rx Fixed Compromise Equalizers This bit allows the Tx and Rx fixed compromise equalizers in the modem transmit and receive filter blocks to be disabled. b10 = 1 Disable equalizers b10 = 0 Enable equalizers (600, 1200 or 2400bps modem modes) General Control Register b9: Relay Drive This bit directly controls the RDRV output pin. b9 = 1 RDRV output pin pulled to VSS b9 = 0 RDRV output pin pulled to VDD General Control Register b8: Power-up This bit controls the internal power supply to most of the internal circuits, including the Xtal oscillator and VBIAS supply. Note that the General Reset command clears this bit, putting the device into Powersave mode. When the device is switched from Powersave mode to normal operation by setting the Powerup bit to 1, the Reset bit should also be set to 1 and should be held at 1 for about 20ms while the internal circuits, Xtal oscillator, and VBIAS to stabilize before starting to use the transmitter or receiver. Changing the Powerup bit from 0 to 1 clears all bits of the Transmit Mode and Receive Mode Registers and clears b15 and b13-0 of the Status Register. b8 = 1 Device powered up normally b8 = 0 Powersave mode (all circuits except Ring Detect, RDRV and C-BUS interface disabled) 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 19 CMX868 Advance Information General Control Register b7: Reset Setting this bit to 1 resets the CMX868's internal circuitry, clearing all bits of the Transmit and Receive Mode Registers and b15 and b13-0 of the Status Register. b7 = 1 Internal circuitry in a reset condition. b7 = 0 Normal operation General Control Register b6: IRQ EN ( IRQ Output Enable) Setting this bit to 1 enables the IRQ output pin. b6 = 1 IRQ pin driven low (to VSS) if the IRQ bit of the Status Register = 1 b6 = 0 IRQ pin disabled (high impedance) General Control Register b5-0: IRQ Mask bits These bits affect the operation of the IRQ bit of the Status Register as described in Section 4.10.7. 4.10.3 Transmit Mode Register: 16-bit write-only C-BUS address $E1 This register controls the CMX868 transmit signal type and level. All bits of this register are cleared to 0 by a General Reset command, in Powersave mode, or when Bit 7 (Reset) of the General Control Register is 1. 15 Bit: 14 13 12 11 10 Tx mode = modem Tx level Tx mode = DTMF/Tones Tx level 9 8 7 Guard tone 0 2000 MX-COM, Inc. 0 4 3 Start-stop / synch data 2 1 0 # data bits / synch data source DTMF or Tone select Set to 0000 0000 0000 Tx Mode Register Bits 15-12: Tx mode These 4 bits select the transmit operating mode. b15 b14 b13 b12 1 1 1 1 V.22bis 2400bps QAM 1 1 1 0 " 1 1 0 1 V.22/Bell 212A 1200bps DPSK 1 1 0 0 " 1 0 1 1 V.22 600bps DPSK 1 0 1 0 " 1 0 0 1 V.21 300bps FSK 1 0 0 0 " 0 1 1 1 Bell 103 300bps FSK 0 1 1 0 " 0 1 0 1 V.23 FSK 0 1 0 0 " 0 0 1 1 Bell 202 FSK 0 0 1 0 " 0 0 0 1 DTMF / Tones 0 5 Unused, set to 0000 Tx mode = Disabled 0 6 Scrambler High band (Answering modem) Low band (Calling modem) High band (Answering modem) Low band (Calling modem) High band (Answering modem) Low band (Calling modem) High band (Answering modem) Low band (Calling modem) High band (Answering modem) Low band (Calling modem) 1200bps 75bps 1200bps 150bps Transmitter disabled www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 20 CMX868 Advance Information Tx Mode Register Bits 11-9: Tx level These 3 bits set the gain of the Tx Level Control block. Bit 11 Bit 10 Bit 9 1 1 1 0dB 1 1 0 -1.5dB 1 0 1 -3.0dB 1 0 0 -4.5dB 0 1 1 -6.0dB 0 1 0 -7.5dB 0 0 1 -9.0dB 0 0 0 -10.5dB Tx Mode Register b8-7: Tx Guard tone (QAM, DPSK modes) These 2 bits select the guard tone to be transmitted together with highband QAM or DPSK. Set both bits to 0 in FSK modes. Bit 8 Bit 7 1 1 Tx 550Hz guard tone 1 0 Tx 1800Hz guard tone 0 x No Tx guard tone Tx Mode Register b6-5: Tx Scrambler (QAM, DPSK modes) These 2 bits control the operation of the Tx scrambler used in QAM and DPSK modes. Set both bits to 0 in FSK modes. Bit 6 Bit 5 1 1 0 1 0 x Scrambler enabled, 64 ones detect circuit enabled (normal use) Scrambler enabled, 64 ones detect circuit disabled Scrambler disabled Tx Mode Register b4-3: Tx Data Format (QAM, DPSK, FSK modes) These two bits select Synchronous or Start-stop mode and the addition of a parity bit to transmitted characters in Start-stop mode. Bit 4 Bit 3 1 1 Synchronous mode 1 0 0 0 1 0 Start-stop mode, no parity Start-stop mode, even parity bit added to data bits Start-stop mode, odd parity bit added to data bits Tx Mode Register b2-0: Tx Data and Stop bits (QAM, DPSK, FSK Start-Stop modes) In Start-stop mode these three bits select the number of Tx data and stop bits. b2 b1 b0 1 1 1 8 data bits, 2 stop bits 1 1 0 8 data bits, 1 stop bit 1 0 1 7 data bits, 2 stop bits 1 0 0 7 data bits, 1 stop bit 0 1 1 6 data bits, 2 stop bits 0 1 0 6 data bits, 1 stop bit 0 0 1 5 data bits, 2 stop bits 0 0 0 5 data bits, 1 stop bit 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 21 CMX868 Advance Information Tx Mode Register b2-0: Tx Data source (QAM, DPSK, FSK Synchronous mode) In Synchronous mode (b4-3 = 11) these three bits select the source of the data fed to the Tx FSK or QAM/DPSK scrambler and modulator. b2 b1 b0 1 x x Data bytes from Tx Data Buffer 0 1 1 Continuous 1s 0 1 0 Continuous 0s 0 0 x Continuous V.22bis handshake S1 pattern dibits '00,11' in DPSK and QAM modes, continuous alternating 1s and 0s in all other modes. 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 22 CMX868 Advance Information Tx Mode Register b8-0: DTMF/Tones mode If DTMF/Tones transmit mode has been selected (Tx Mode Register b15-12 = 0001) then b8-5 should be set to 0000 and b4-0 will select a DTMF signal or a fixed tone or one of four programmed tones or tone pairs for transmission. b4 = 0: Tx fixed tone or programmed tone pair Bit 3 Bit 2 Bit 1 Bit 0 Tone frequency (Hz) 0 0 0 0 No tone 0 0 0 1 697 0 0 1 0 770 0 0 1 1 852 0 1 0 0 941 0 1 0 1 1209 0 1 1 0 1336 0 1 1 1 1477 1 0 0 0 1633 1 0 0 1 1300 (Calling tone) 1 0 1 0 2100 (Answer tone) 1 0 1 1 2225 (Answer tone) 1 1 0 0 Tone pair TA Programmed Tx tone or tone pair, see 1.5.10.8 1 1 0 1 Tone pair TB " 1 1 1 0 Tone pair TC " 1 1 1 1 Tone pair TD " b4 = 1: Tx DTMF Bit 3 Bit 2 Bit 1 0 0 0 0 0 0 0 0 1 0 0 1 0 1 0 0 1 0 0 1 1 0 1 1 1 0 0 1 0 0 1 0 1 1 0 1 1 1 0 1 1 0 1 1 1 1 1 1 2000 MX-COM, Inc. Bit 0 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 Low frequency (Hz) 941 697 697 697 770 770 770 852 852 852 941 941 941 697 770 852 High frequency (Hz) 1633 1209 1336 1477 1209 1336 1477 1209 1336 1477 1336 1209 1477 1633 1633 1633 www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Keypad symbol D 1 2 3 4 5 6 7 8 9 0 * # A B C Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 23 CMX868 Advance Information 4.10.4 Receive Mode Register Receive Mode Register: 16-bit write-only. C-BUS address $E2 This register controls the CMX868 receive signal type and level. All bits of this register are cleared to 0 by a General Reset command, in Powersave mode or when b7 (Reset) of the General Control Register is 1. Bit: 15 14 13 12 11 10 Rx mode = modem Rx level Rx mode = Tones detect Rx level 9 8 Eq 7 6 5 Descramble 4 3 Start-stop/Synch 2 1 0 No. of bits and parity DTMF/Tones/Call Progress select Rx mode = Disabled Set to 0000 0000 0000 Rx Mode Register Bits 15-12: Rx mode These 4 bits select the receive operating mode. Bit 15 1 1 1 1 Bit 14 1 1 1 1 Bit 13 1 1 0 0 Bit 12 1 0 1 0 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 0 1 1 0 0 1 1 0 0 1 1 0 0 1 0 1 0 1 0 1 0 1 0 1 0 V.22bis 2400bps QAM " V.22/Bell 212A 1200bps DPSK " High band (Calling modem) Low band (Answering modem) High band (Calling modem) Low band (Answering modem) V.22 600bps DPSK High band (Calling modem) " Low band (Answering modem) V.21 300bps FSK High band (Calling modem) " Low band (Answering modem) Bell 103 300bps FSK High band (Calling modem) " Low band (Answering modem) V.23 FSK 1200bps " 75bps Bell 202 FSK 1200bps " 150bps DTMF, Programmed tone pair, Answer Tone, Call Progress detect Receiver disabled Rx Mode Register b11-9: Rx level These three bits set the gain of the Rx Gain Control block. Bit 11 1 1 1 1 0 0 0 0 Bit 10 1 1 0 0 1 1 0 0 Bit 9 1 0 1 0 1 0 1 0 2000 MX-COM, Inc. 0dB -1.5dB -3.0dB -4.5dB -6.0dB -7.5dB -9.0dB -10.5dB www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 24 CMX868 Advance Information Rx Mode Register b8: Rx Auto-equalize (DPSK/QAM modem modes) This bit controls the operation of the receive DPSK/QAM auto-equalizer. Set to 0 in FSK modes. Bit 8 = 1 Enable auto-equalizer Bit 8 = 0 DPSK mode: Auto-equalizer disabled QAM mode : Auto-equalizer settings frozen Rx Mode Register b7-6: Rx Scrambler (DPSK/QAM modem modes) These 2 bits control the operation of the Rx de-scrambler used in QAM and DPSK modes. Set both bits to 0 in FSK modes Bit 7 Bit 6 1 1 De-scrambler enabled, 64 ones detect circuit enabled (normal use) 1 0 De-scrambler enabled, 64 ones detect circuit disabled 0 x De-scrambler disabled Rx Mode Register b5-3: Rx USART Setting (QAM, DPSK, FSK modem modes) These three bits select the Rx USART operating mode. The 1% and 2.3% over-speed options apply to DPSK/QAM modes only. b5 b4 b3 1 1 1 Rx Synchronous mode 1 1 0 Rx Start-stop mode, no over-speed 1 1 0 0 1 0 0 x x Rx Start-stop mode, +1% over-speed (1 in 8 missing Stop bits allowed) Rx Start-stop mode, +2.3% over-speed (1 in 4 missing Stop bits allowed) Rx USART function disabled Rx Mode Register b2-0: Rx Data bits and parity (QAM, DPSK, FSK Start-Stop modem modes) In Start-stop mode these three bits select the number of data bits (plus any parity bit) in each received character. These bits are ignored in Synchronous mode. Bit 2 Bit 1 Bit 0 1 1 1 8 data bits + parity 1 1 0 8 data bits 1 0 1 7 data bits + parity 1 0 0 7 data bits 0 1 1 6 data bits + parity 0 1 0 6 data bits 0 0 1 5 data bits + parity 0 0 0 5 data bits Rx Mode Register b2-0: Tones Detect mode In Tones Detect Mode (Rx Mode Register b15-12 = 0001) b8-3 should be set to 000000 Bits 2-0 select the detector type. Bit 2 Bit 1 Bit 0 1 0 0 Programmable Tone Pair Detect 0 1 1 Call Progress Detect 0 1 0 2100, 2225Hz Answer Tone Detect 0 0 0 0 2000 MX-COM, Inc. 1 0 DTMF Detect Disabled www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 25 CMX868 Advance Information 4.10.5 Tx Data Register Tx Data Register: 8-bit write-only. Bit: C-BUS addresses $E3 and $E4 7 6 5 4 3 2 1 0 Data bits to be transmitted In Synchronous Tx data mode this register contains the next 8 data bits to be transmitted. Bit 0 is transmitted first. In Tx Start-Stop mode the specified number of data bits will be transmitted from this register (b0 first). A Start bit, a Parity bit (if required) and Stop bit(s) will be added automatically. This register should only be written to when the Tx Data Ready bit of the Status Register is 1. C-BUS address $E3 should normally be used, $E4 is for implementing the V.14 over-speed transmission requirement in Start-Stop mode, see Section 4.1. 4.10.6 Rx Data Register Rx Data Register: 8-bit read-only. Bit: C-BUS address $E5 7 6 5 4 3 2 1 0 Received data bits In unformatted Rx data mode this register contains 8 received data bits, b0 of the register holding the earliest received bit, b7 the latest. In Rx Start-Stop data mode this register contains the specified number of data bits from a received character, b0 holding the first received bit. 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 26 CMX868 Advance Information 4.10.7 Status Register: 16-bit read-only C-BUS address $E6 Bits 15 and 13-0 of this register are cleared to 0 by a General Reset command, in Powersave mode, or when b7 (Reset) of the General Control Register is 1. Bit: 15 14 13 IRQ RD PF 12 11 10 9 8 7 6 5 4 3 2 1 0 See below for uses of these bits The meanings of the Status Register bits 12-0 depend on whether the receive circuitry is in Modem or Tones Detect mode. Status Register bits: Rx Modem modes Rx Tones Detect modes ** IRQ Mask bit Bit 15 IRQ Bit 14 Set to 1 on Ring Detect Bit 5 Bit 13 Programming Flag bit. See 1.5.10.8 Bit 4 Bit 12 Set to 1 on Tx data ready. Cleared by write to Tx Data Register Bit 3 Bit 11 Set to 1 on Tx data underflow. Cleared by write to Tx Data Register Bit 3 Bit 10 1 when energy is detected in Rx modem signal band 1 when energy is detected in Call Progress band or when both programmable tones are detected Bit 2 b9 1 when S1 pattern (double DPSK dibit 00,11) is detected in DPSK or QAM modes, or when `1010..' pattern is detected in FSK modes 0 b1 b8 See following table 0 b1 b7 See following table 1 when 2100Hz answer tone or the second programmable tone is detected b1 b6 Set to 1 on Rx data ready. Cleared by read from Rx Data Register 1 when 2225Hz answer tone or the first programmable tone is detected b0 b5 Set to 1 on Rx data overflow. Cleared by read from Rx Data Register 1 when DTMFcode is detected b0 b4 Set to 1 on Rx framing error 0 - b3 Set to 1 on even Rx parity Rx DTMF code b3, see table - b2 QAM/DPSK Rx signal quality b2 Rx DTMF code b2 - b1 QAM/DPSK Rx signal quality b1 Rx DTMF code b1 - b0 QAM/DPSK Rx signal quality b0 or FSK frequency demodulator output Rx DTMF code b0 - Note: ** This column shows the corresponding IRQ Mask bits in the General Control Register. A 0 to 1 transition on any of the Status Register bits 14-5 will cause the IRQ bit b15 to be set to 1 if the corresponding IRQ Mask bit is 1. The IRQ bit is cleared by a read of the Status Register or a General Reset command or by setting b7 or b8 of the General Control Register to 1. A spurious `continuous 0s' detect may be generated within 4ms of changing the Rx Mode Register to any of the QAM or DPSK modes. The operation of the data demodulator and pattern detector circuits within the CMX868 does not depend on the state of the Rx energy detect function. 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 27 CMX868 Advance Information Decoding of Status Register b8,7 in Rx Modem Modes, see also Figure 14. b8 1 1 0 0 b7 1 0 1 0 De-scrambler disabled Unscrambled 0s Unscrambled 1s - De-scrambler enabled (DPSK/QAM modes only) Scrambled 1s Scrambled 0s Unscrambled 1s - When the descrambler is enabled then detection of continuous unscrambled 1s will inhibit the continuous scrambled 1s detector. Rx signal Hold time Status Register bit 5,6,7,8,9 or 10 Detect time Note 3 Status Register bit 15 (IRQ) Note 1 IRQ output Note 2 Notes: 1. IRQ will go high only if appropriate IRQ Mask bit in General Control Register is set. The IRQ bit is cleared by a read of the Status Register. 2. IRQ output will go low when IRQ bit high if IRQEN bit of General Control Register is set 3. In Rx Modem modes Status Register bits 5 and 6 are set by a Rx Data Ready or Rx Data Underflow event and cleared by a read of the Rx Data Register Figure 17: Operation of Status Register bits 5-10 The IRQ output pin will be pulled low (to VSS) when the IRQ bit of the Status Register and the IRQ EN bit (b6) of the General Control Register are both 1. Changes to Status Register bits caused by a change of Tx or Rx operating mode can take up to 150s to take effect. In Powersave mode or when the Reset bit (b7) of the General Control Register is 1 the Ring Detect bit (b14) continues to operate but all other bits will be 0. The `continuous 0' and `continuous 1' detectors monitor the Rx signal after the QAM/DPSK descrambler, (see Figure 14) and hence will detect continuous 1s or 0s if the descrambler is disabled, or continuous scrambled 1s or 0s if the descrambler is enabled. In QAM or DPSK Rx modem modes b2-0 of the Status Register contain a value indicative of the received signal BER, see Figure 19. In Rx FSK modem modes bits 2 and 1 will be zero and b0 will show the output of the frequency demodulator, updated at 8 times the nominal data rate. 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 28 CMX868 Advance Information A B Rx DTMF bursts Status Register bit 5 Status Register bits 3-0 Code for burst A Status Register bit 15 (IRQ) Note 1 IRQ output Note 2 Notes: Code for burst B 1. IRQ will go high only if the IRQ Mask bit b0 in the General Control Register is set. The IRQ bit is cleared by a read of the Status Register. 2. IRQ output will go low when IRQ bit high if IRQEN bit of General Control Register is set Figure 18: Operation of Status Register in DTMF Rx Mode b3 0 b2 0 b1 0 b0 0 Low frequency (Hz) 941 High frequency (Hz) 1633 Keypad symbol D 0 0 0 0 0 0 0 0 1 1 0 1 1 0 0 1 0 1 0 1 697 697 697 770 770 1209 1336 1477 1209 1336 1 2 3 4 5 0 0 1 1 1 1 1 1 1 1 1 1 0 0 0 0 1 1 1 1 1 1 0 0 1 1 0 0 1 1 0 1 0 1 0 1 0 1 0 1 770 852 852 852 941 941 941 697 770 852 1477 1209 1336 1477 1336 1209 1477 1633 1633 1633 6 7 8 9 0 * # A B C Table 6: Received DTMF Code: b3-0 of Status Register 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 29 CMX868 Advance Information 1.E-03 1.E-04 BER 1.E-05 1.E-06 0 1 2 3 4 5 6 7 Rx Status Register BER reading Figure 19: Typical Rx BER vs. Average Status Register BER Reading (b2-0) 4.10.8 Programming Register Programming Register : 16-bit write-only. C-BUS address $E8 This register is used to program the transmit and receive programmed tone pairs by writing appropriate values to RAM locations within the CMX868. Note that these RAM locations are cleared by Powersave or Reset. The Programming Register should only be written to when the Programming Flag bit (b13) of the Status Register is 1. The act of writing to the Programming Register clears the Programming Flag bit. When the programming action has been completed (normally within 150s) the CMX868 will set the bit back to 1. When programming Transmit or Receive Tone Pairs, do not change the Transmit or Receive Mode Registers until programming is complete and the Programming Flag bit has returned to 1. Transmit Tone Pair Programming 4 transmit tone pairs (TA to TD) can be programmed. The frequency (max 3.4kHz) and level must be entered for each tone to be used. Single tones are programmed by setting both level and frequency values to zero for one of the pair. Programming is done by writing a sequence of up to seventeen 16-bit words to the Programming Register. The first word should be 32768 (8000 hex), the following 16-bit words set the frequencies and levels and are in the range 0 to 16383 (0-3FFF hex) Word 1 2 3 4 5 6 7 ----16 17 2000 MX-COM, Inc. Tone Pair TA TA TA TA TB TB ----TD TD Value written 32768 Tone 1 frequency Tone 1 level Tone 2 frequency Tone 2 level Tone 1 frequency Tone 1 level ------------------Tone 2 frequency Tone 2 level www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 30 CMX868 Advance Information The Frequency values to be entered are calculated from the formula: Value to be entered = desired frequency (Hz) x 3.414 i.e. for 1kHz the value to be entered is 3414 (or 0D56 in Hex). The Level values to be entered are calculated from the formula: Value to be entered = desired VRMS x 93780 VDD i.e. for 0.5VRMS at VDD = 3.0V, the value to be entered is 15630 (3D0E in Hex) Note that allowance should be made for the transmit signal filtering in the CMX868 which attenuates the output signal for frequencies above 2kHz by 0.25dB at 2.5kHz, by 1dB at 3kHz and by 2.2dB at 3.4kHz. On power-up or after a reset, the tone pairs TA-TC are set to notone, and TD is set to generate 2130Hz + 2750Hz at approximately -20dBm each. Receive Tone Pair Programming The programmable tone pair detector is implemented as shown in Figure 20. The filters are 4th order IIR sections. The frequency detectors measure the time taken for a programmable number of complete input signal cycles and compare this time against programmable upper and lower limits. Frequency measurement Detector 1 B6 enable Filter Level Detect B10 Frequency measurement B7 Rx signal Detector 2 Status Register enable Filter Level Detect Figure 20: Programmable Tone Detectors b01 input Z-1 Z-1 H(z) = b11 b21 + b02 + -a11 + Z-1 + -a21 b01.z + b11.z-1 + b21.z-2 1 + a11.z-1 + a21.z-2 Z-1 b12 + + output -a12 + Z-1 + b22 b02.z + b12.z-1 + b22.z-2 1 + a12.z-1 + a22.z-2 -a22 Z-1 Fsample = 9600Hz Figure 21: Filter Implementation 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 31 CMX868 Advance Information Programming is done by writing a sequence of twenty-seven 16-bit words to the Programming Register. The first word should be 32769 (8001 hex), the following twenty-six 16-bit words set the frequencies and levels and are in the range 0 to 32767 (0000-7FFF hex). Word 1 2 3 4 5 6 7 8 9 10 11 12 13 14 Value written 32769 Filter #1 coefficient b21 Filter #1 coefficient b11 Filter #1 coefficient b01 Filter #1 coefficient a21 Filter #1 coefficient a11 Filter #1 coefficient b22 Filter #1 coefficient b12 Filter #1 coefficient b02 Filter #1 coefficient a22 Filter #1 coefficient a12 Freq measurement #1 ncycles Freq measurement #1 mintime Freq measurement #1 maxtime Word Value written 15 16 17 18 19 20 21 22 23 24 25 26 27 Filter #2 coefficient b21 Filter #2 coefficient b11 Filter #2 coefficient b01 Filter #2 coefficient a21 Filter #2 coefficient a11 Filter #2 coefficient b22 Filter #2 coefficient b12 Filter #2 coefficient b02 Filter #2 coefficient a22 Filter #2 coefficient a12 Freq measurement #2 ncycles Freq measurement #2 mintime Freq measurement #2 maxtime The coefficients are entered as 15-bit signed (two's complement) integer values (the most significant bit of the 16-bit word entered should be zero) calculated as 8192 * coefficient value from the user's filter design program (i.e. this allows for filter design values of -1.9999 to +1.9999). The design of the IIR filters should make allowance for the fixed receive signal filtering in the CMX868 which has a low pass characteristic above 1.5kHz of 0.4dB at 2kHz, 1.2dB at 2.5kHz, 2.6dB at 3kHz and 4.1dB at 3.4kHz. `ncycles' is the number of signal cycles for the frequency measurement. `mintime' is the smallest acceptable time for ncycles of the input signal expressed as the number of 9.6kHz timer clocks. i.e. `mintime' = 9600 * ncycles / high frequency limit `maxtime' is the highest acceptable time for ncycles of the input signal expressed as the number of 9.6kHz timer clocks. i.e. `maxtime' = 9600 * ncycles / low frequency limit The level detectors include hysteresis. The threshold levels - measured at the 2 or 4-wire line with unity gain filters, using the line interface circuits described in Section 3.2, 1.0 dB line coupling transformer loss and with the Rx Gain Control block set to 0dB - are nominally: `Off' to `On' -44.5dBm `On' to `Off' -47.0dBm Note: If any changes are made to the programmed values while the CMX868 is running in Programmed Tone Detect mode they will not take effect until the CMX868 is next switched into Programmed Tone Detect mode. On power-up or after a reset, the programmable tone pair detector is set to act as a simple 2130Hz + 2750Hz detector. 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 32 CMX868 Advance Information 5 Application Notes 5.1 V.22bis Calling Modem Application This section describes how the CMX868 can be used in a V.22bis Calling modem application, employing V.25 automatic answering and the V.22bis recommended handshake sequence. This attempts to establish a 2400bps connection but may fall back to 1200bps if the answering modem is not capable of 2400bps operation. 1. Ensure that the CMX868 is powered up. Set the Tx Mode Register to DTMF/Tones mode (set to `No Tone' at this time), and the Rx Mode Register to Call Progress Detect mode. 2. Connect the line (go off hook) then dial the required number using the DTMF generator, monitoring for call progress signals (dial tone, busy, etc). Change to Answer Tone Detect mode. 3. On detection of the 2100Hz answer tone wait for it to end then wait for the 2225Hz answer tone detector to respond. (The `2225Hz' answer tone detector will recognize unscrambled binary 1s at 1200bps High Band as well as 2225Hz). When unscrambled binary 1s or 2225Hz have been received for 155ms set a 456ms timer. 4. When the 456ms timer expires check that the 2225Hz or unscrambled 1s is still being received, then set the Tx Mode Register for V.22 1200bps Low Band transmission of S1 signal and set a 100ms timer. Also set the Rx Mode Register to V.22 1200bps High Band receive, descrambler, and Rx USART disabled. 5. When the 100ms timer expires set the Tx Mode Register for V.22 1200bps Low Band transmission of scrambled 1s (continuous 1s with the scrambler enabled) and look for received S1 signal. 6. If the S1 signal is not detected within 270ms then go to step 14 as the answering modem is not capable of 2400bps operation. 7. If S1 signal is detected wait for it to end then set a 450ms timer. 8. When the 450ms timer expires set the Rx Mode Register to V.22bis 2400bps High Band (this will begin 16-way decisions) with the auto-equalizer and de-scrambler enabled. Start to monitor for Rx scrambled 1's. Set a 150ms timer. 9. Once 32 consecutive bits of received scrambled 1's at 2400bps have been detected, enable the Rx USART. 10. When the 150ms timer expires set the Tx Mode Register for V.22bis 2400bps scrambled 1s, set a 200ms timer. 11. Load the Tx Data Register with the first data to be transmitted. 12. When the 200ms timer expires set the Tx Mode Register for Start-Stop or Synchronous transmission of data from the Tx Data Buffer. This will start transmission of the data loaded in step 11. 13. A 2400bps data connection has now been established. 14. If the S1 signal had not been detected within 270ms after step 5 then monitor for scrambled 1s at 1200bps. 15. When scrambled 1s (at 1200bps) have been received for 270ms enable the Rx USART, set a 765ms timer and load the Tx Data Register with the first data to be transmitted. 16. When the timer expires set the Tx Mode Register for Start-Stop or Synchronous transmission of data from the Tx Data Buffer. This will start transmission of the data loaded in step 15. 17. A 1200bps data connection has now been established. 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 5.2 33 CMX868 Advance Information V.22bis Answering Modem Application This section describes how the CMX868 can be used in a V.22bis Answering modem application, employing V.25 automatic answering and the V.22bis recommended handshake sequence. A 1200 or 2400bps connection will be established depending on the signals received from the calling modem. 1. It is assumed that the CMX868 will be in Powersave mode, with the Ring Detector circuits monitoring the line. 2. When a ring signal is detected connect the line (go off hook), set a 2150ms timer and power up the CMX868, setting the Tx Mode Register to DTMF/Tones mode (set for `no tone' at this time) and the Rx Mode Register to V.22 1200bps Low Band receive, descrambler enabled, Rx USART disabled. 3. When the 2150ms timer expires set the Tx Mode Register to transmit the 2100Hz answer tone and set a 3300ms timer. 4. When the 3300ms timer expires set the Tx Mode Register to no tone and set a 75ms timer. 5. When the 75ms timer expires set the Tx Mode Register for V.22 High Band 1200bps transmission of unscrambled 1s. Monitor the received signal for the S1 signal or scrambled 1s. 6. If scrambled 1s are detected for 270ms go to step 15. 7. If the S1 signal is received wait for it to end then set the Tx Mode Register for V.22 High Band 1200bps transmission of the S1 signal and set a 100ms timer. 8. When the 100ms timer expires set the Tx Mode Register for V.22 High Band 1200bps transmission of scrambled 1s and set a 350ms timer. 9. When the 350ms timer expires set the Rx Mode Register for V.22bis Low Band 2400bps receive (this will begin 16-way decisions) with the auto-equalizer and de-scrambler enabled and the Rx USART disabled, set a 150ms timer and start to monitor for Rx scrambled 1s. 10. When the 150ms timer expires set the Tx Mode Register for V.22bis High Band 2400bps transmission of scrambled 1s and set a 200ms timer. 11. Load the Tx Data Buffer with the first data to be transmitted. 12. Once 32 consecutive bits of received scrambled 1s at 2400bps have been detected, enable the Rx USART. 13. When the 200ms timer expires set the Tx Mode Register for Start-Stop or Synchronous transmission of data from the Tx Data Buffer. This will start transmission of the data loaded in step 11. 14. A 2400bps data connection has now been established. 15. If scrambled 1s had been detected for 270ms in step 6, set the Tx Mode Register to V.22 High Band 1200bps scrambled 1s transmission and set a 765ms timer and enable the Rx USART. 16. Load the Tx Data Buffer with the first data to be transmitted. 17. When the 765ms timer expires set the Tx Mode Register for Start-Stop or Synchronous transmission of data from the Tx Data Buffer. This will start transmission of the data loaded in step 16. 18. A 1200bps data connection has now been established. 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 34 CMX868 Advance Information 6 Performance Specification 6.1 6.1.1 Electrical Performance Absolute Maximum Ratings Exceeding these maximum ratings can result in damage to the device. Supply (VDD - VSS) Voltage on any pin to VSS Current into or out of VDD and VSS pins Current into RDRV pin ( RDRV pin low) Current into or out of any other pin D2 / P4 Package Total Allowable Power Dissipation at TAMB = 25C Derating above 25C Storage Temperature Operating Temperature E2 Package Total Allowable Power Dissipation at TAMB = 25C Derating above 25C Storage Temperature Operating Temperature 6.1.2 Min. -0.3 -0.3 -50 Max. 7.0 VDD + 0.3 +50 +50 Units V V mA mA -20 +20 mA -55 -40 1000 13 +125 +85 mW mW/C above 25C C C -55 -40 400 5.3 +125 +85 mW mW/C above 25C C C Operating Limits Correct operation of the device outside these limits is not implied. Notes Supply (VDD - VSS) Operating Temperature 2000 MX-COM, Inc. Min. 2.7 -40 Max. 5.5 +85 www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Units V C Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 6.1.3 35 CMX868 Advance Information Operating Characteristics Details in this section represent design target values and are not currently guaranteed. For the following conditions unless otherwise specified: VDD = 2.7V to 5.5V at TAMB = -40 to +85C, Xtal Frequency = 11.0592 or 12.288MHz 0.01% (100ppm) 0dBm corresponds to 775mVRMS. DC Parameters IDD (Powersave mode) (Reset but not powersave, VDD = 3.0V) (Reset but not powersave, VDD = 5.0V) (Running, VDD = 3.0V) (Running, VDD = 5.0V) 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 = 2 mA) Output Logic '0' Level (lOL = -3 mA) Notes Min. Typ. Max. Units 1, 2 - - TBD 1, 3 1, 3 1 1 4 4 70% -1.0 2.0 3.5 3.5 6.5 - TBD TBD TBD TBD 30% +1.0 A mA mA mA mA VDD VDD 80% - - 0.4 1.0 VDD V 0.56VDD - 0.56VDD + 0.6V V 0.44VDD - 0.6V - 0.44VDD V - - TBD - - TBD 30 30 - - ns ns 548 -4.0 2400 1200 600 1200/600 2400 550 -3.0 552 -2.0 Hz Hz Baud bps bps Hz dB 1797 -7.0 1800 -6.0 1803 -5.0 Hz dB IRQ output 'Off' State Current (VOUT = VDD) RD and RT pin Schmitt trigger input highgoingthreshold (VtHI) (see Figure 22) RD and RT pin Schmitt trigger input lowgoing threshold (VtLO) (see Figure 22) RDRV `ON' resistance to VSS (VDD= 3.0V) RDRV `OFF' resistance to VDD (VDD= 3.0V) XTAL/CLOCK Input (timings for an external clock input) 'High' Pulse Width 'Low' Pulse Width Transmit QAM and DPSK Modes (V.22, Bell 212A, V.22bis) Carrier frequency, high band Carrier frequency, low band Baud rate Bit rate (V.22, Bell 212A) Bit rate (V.22bis) 550Hz guard tone frequency 550Hz guard tone level with respect to data signal 1800Hz guard tone frequency 1800Hz guard tone level with respect to data signal 2000 MX-COM, Inc. 5 5 6 6 6 www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA A A Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 36 Transmit V.21 FSK Mode Baud rate Mark (logical 1) frequency, high band Space (logical 0) frequency, high band Mark (logical 1) frequency, low band Space (logical 0) frequency, low band Transmit Bell 103 FSK Mode Baud rate Mark (logical 1) frequency, high band Space (logical 0) frequency, high band Mark (logical 1) frequency, low band Space (logical 0) frequency, low band Transmit V.23 FSK Mode Baud rate Mark (logical 1) frequency, 1200 baud Space (logical 0) frequency, 1200 baud Mark (logical 1) frequency, 75 baud Space (logical 0) frequency, 75 baud Transmit Bell 202 FSK Mode Baud rate Mark (logical 1) frequency, 1200 baud Space (logical 0) frequency, 1200 baud Mark (logical 1) frequency, 150 baud Space (logical 0) frequency, 150 baud DTMF/Single Tone Transmit Tone frequency accuracy Distortion Transmit Output Level Modem and Single Tone modes DTMF mode, Low Group tones DTMF: level of High Group tones with respect to Low Group Tx output buffer gain control accuracy Receive QAM and DPSK Modes (V.22, Bell 212A, V.22bis) Carrier frequency (high band) Carrier frequency (low band) Baud rate Bit rate (V.22, Bell 212A) Bit rate (V.22bis) Receive V.21 FSK Mode Acceptable baud rate Mark (logical 1) frequency, high band Space (logical 0) frequency, high band Mark (logical 1) frequency, low band Space (logical 0) frequency, low band 2000 MX-COM, Inc. CMX868 Advance Information Notes Min. Typ. Max. Units 6 1647 1847 978 1178 300 1650 1850 980 1180 1653 1853 982 1182 Baud Hz Hz Hz Hz 6 2222 2022 1268 1068 300 2225 2025 1270 1070 2228 2028 1272 1072 Baud Hz Hz Hz Hz 6 1298 2097 389 449 1200/75 1300 2100 390 450 1302 2103 391 451 Baud Hz Hz Hz Hz 6 1198 2197 386 486 1200/150 1200 2200 387 487 1202 2203 388 488 Baud Hz Hz Hz Hz 7 -0.2 - 1.0 +0.2 2.0 % % 7 7 7 -4.0 -2.0 +1.0 -3.0 -1.0 +2.0 -2.0 0.0 +3.0 dBm dBm dB 7 -0.25 - +0.25 dB 9 9 9 2392 1192 - 2400 1200 600 1200/600 2400 2408 1208 - Hz Hz Baud bps bps 297 1638 1838 968 1168 300 1650 1850 980 1180 303 1662 1862 992 1192 Baud Hz Hz Hz Hz www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 37 Notes Receive Bell 103 FSK Mode Acceptable baud rate Mark (logical 1) frequency, high band Space (logical 0) frequency, high band Mark (logical 1) frequency, low band Space (logical 0) frequency, low band Receive V.23 FSK Mode 1200 baud Acceptable baud rate Mark (logical 1) frequency Space (logical 0) frequency 75 baud Acceptable baud rate Mark (logical 1) frequency Space (logical 0) frequency Receive Bell 202 FSK Mode 1200 baud Acceptable baud rate Mark (logical 1) frequency Space (logical 0) frequency 150 baud Acceptable baud rate Mark (logical 1) frequency Space (logical 0) frequency Rx Modem Signal (FSK, DPSK and QAM Modes) Signal level Signal to Noise Ratio (noise flat 3003400Hz) Rx Modem S1 Pattern Detector (DPSK and QAM modes) Will detect S1 pattern lasting for Will not detect S1 pattern lasting for Hold time (minimum detector `On' time) Rx Modem Energy Detector Detect threshold (`Off' to `On) Undetect threshold (`On' to `Off') Hysteresis Detect (`Off' to `On') response time QAM and DPSK modes 300 and 1200 baud FSK modes 150 and 75 baud FSK modes Undetect (`On' to `Off') response time QAM and DPSK modes 300 and 1200 baud FSK modes 150 and 75 baud FSK modes 2000 MX-COM, Inc. 10 CMX868 Advance Information Min. Typ. Max. Units 297 2213 2013 1258 1058 300 2225 2025 1270 1070 303 2237 2037 1282 1082 Baud Hz Hz Hz Hz 1188 1280 2080 1200 1300 2100 1212 1320 2120 Baud Hz Hz 74 382 442 75 390 450 76 398 458 Baud Hz Hz 1188 1180 2180 1200 1200 2200 1212 1220 2220 Baud Hz Hz 148 377 477 150 387 487 152 397 497 Baud Hz Hz -45 20 - -9 - dBm dB 90.0 72.0 ms ms ms 5.0 - 10,11 10,11 10,11 -48.0 2.0 - -43.0 - dBm dBm dB 10,11 10,11 10,11 10.0 8.0 16.0 - 35.0 30.0 60.0 ms ms ms 10,11 10,11 10,11 10.0 10.0 20.0 - 55.0 40.0 80.0 ms ms ms www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 38 Rx Answer Tone Detectors Detect threshold (`Off' to `On) Undetect threshold (`On' to `Off') Hysteresis Detect (`Off' to `On') response time Undetect (`On' to `Off') response time 2100Hz detector `Will detect' frequency `Will not detect' frequency 2225Hz detector `Will detect' frequency `Will not detect' frequency Rx Call Progress Energy Detector Bandwidth (-3dB points) See Figure 9 Detect threshold (`Off' to `On) Undetect threshold (`On' to `Off') Hysteresis Detect (`Off' to `On') response time Undetect (`On' to `Off') response time DTMF Decoder Valid input signal levels (each tone of composite signal) Not decode level (either tone of composite signal) Twist = High Tone/Low Tone Frequency Detect Bandwidth Frequency Not Detect Bandwidth Max level of low frequency noise (i.e. dial tone) Interfering signal frequency <= 550Hz Interfering signal frequency <= 450Hz Interfering signal frequency <= 200Hz Max. noise level with respect to signal DTMF detect response time DTMF de-response time Status Register b5 high time `Will Detect' DTMF signal duration `Will Not Detect' DTMF signal duration Pause length detected Pause length ignored Receive Input Amplifier Input impedance (at 100Hz) Notes Min. Typ. Max. Units 10,12 10,12 10,12 10,12 10,12 -48.0 2.0 30.0 7.0 33.0 18.0 -43.0 45.0 25.0 dBm dBm dB ms ms 2050 - - 2160 2000 Hz Hz 2160 2335 - 2285 - Hz Hz 10,13 10,13 10,13 10,13 10,13 275 -42.0 2.0 30.0 6.0 36.0 8.0 665 -37.0 45.0 50.0 Hz dBm dBm dB ms ms 10 -30.0 - 0.0 dBm 10 - - -36.0 dBm -10.0 1.8 - 6.0 3.5 dB % % 0.0 10.0 20.0 -10.0 40.0 30.0 15.0 dB dB dB dB ms ms ms ms ms ms ms +0.25 M V/V dB 14 14 14 14,15 Open loop gain (at 100Hz) Rx Gain Control Block accuracy 2000 MX-COM, Inc. CMX868 Advance Information 14.0 40.0 30.0 - 25.0 - 10.0 10000 -0.25 www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 39 CMX868 Advance Information Operating Characteristics Notes: 1. At 25C, not including any current drawn from the CMX868 pins by external circuitry other than X1, C1 and C2. 2. All logic inputs at VSS except for RT and CS inputs which are at VDD. 3. General Mode Register b8 and b7 both set to 1. 4. Excluding RD and RT pins. 5. % carrier frequency accuracy is the same as XTAL/CLOCK % frequency accuracy. 6. Tx signal % baud or bit rate accuracy is the same as XTAL/CLOCK % frequency accuracy. 7. Measured between TXA and TXA pins with Tx Level Control gain set to 0dB, 1k2 load between TXA and TXA , at VDD = 3.0V (levels are proportional to VDD - see Section 3.2). Level measurements for all modem modes are performed with random transmitted data and without any guard tone. 0dBm = 775mVRMS. 8. Measured on the 2 or 4-wire line using the line interface circuits described in Section 3.2 with the Tx line signal level set to -10dBm for QAM, QPSK, FSK or single tones, -6dBm and -8dBm for DTMF tones. Excludes any distortion due to external components such as the line-coupling transformer. 9. These are the bit and baud rates of the line signal; the acceptable tolerance is 0.01%. 10. Rx 2 or 4-wire line signal level assuming 1dB loss in line coupling transformer with Rx Gain Control block set to 0dB and external components as Section 3.2. 11. Thresholds and times measured with random data for QAM and DPSK modes, continuous binary `1' for all FSK modes. Fixed compromise line equalizer enabled. Signal switched between off and -33dBm. 12. `Typical' value refers to 2100Hz or 2225Hz signal switched between off and -33dBm. Times measured with respect to received line signal. 13. `Typical' values refers to 400Hz signal switched between off and -33dBm. 14. Referenced to DTMF tone of lower amplitude. 15. Flat Gaussian Noise in 300-3400Hz band. 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 40 CMX868 Advance Information 4 3.5 3 2.5 VIN 2 1.5 Vthi 1 Vtlo 0.5 0 2.5 3 3.5 4 4.5 5 5.5 VDD Figure 22: Typical Schmitt Trigger Input Voltage Thresholds vs. VDD 0 -10 Bell 202 -20 -30 dBm -40 -50 -60 -70 10 100 1000 10000 100000 Hz Figure 23: Maximum Out of Band Tx Line Energy Limits (see Operating Characteristics Note 8) 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 6.1.3.1 41 CMX868 Advance Information Timing C-BUS Timings (See Figure 24) tCSE CS -Enable to Clock-High time Notes Min. 100 Typ. - Max. - Units ns tCSH Last Clock-High to CS -High time 100 - - ns tLOZ tHIZ Clock-Low to Reply Output enable time CS -High to Reply Output 3-state time 0.0 - - 1.0 ns s tCSOFF CS -High Time between transactions 1.0 - - s tNXT tCK tCH tCL tCDS tCDH tRDS tRDH Inter-Byte Time Clock-Cycle time Serial Clock-High time Serial Clock-Low time Command Data Set-Up time Command Data Hold time Reply Data Set-Up time Reply Data Hold time 200 200 100 100 75.0 25.0 50.0 0.0 - - ns ns ns ns ns ns ns ns Maximum 30pF load on each C-BUS interface line. Note: These timings are for the latest version of the C-BUS as embodied in the CMX868, and allow faster transfers than the original C-BUS timings as given in MX-COM document # 20480060.001. tCSOFF CS tCSE tNXT tCK tCSH SERIAL CLOCK 7 COMMAND DATA REPLY DATA 6 5 4 3 2 1 0 tLOZ HI-Z 7 6 5 4 3 2 1 0 tHIZ 7 6 5 4 3 2 1 0 = Level not important or undefined tCH tCK 70% VDD 30% VDD SERIAL CLOCK tCL tCDH tRDH tRDS tCDS REPLY DATA COMMAND DATA Figure 24: C-BUS Timing 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 6.2 42 CMX868 Advance Information Packaging Figure 25: 24-pin SOIC (D2) Mechanical Outline: Order as part no. CMX868D2 Figure 26: 24-pin TSSOP (E2) Mechanical Outline: Order as part no. CMX868E2 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies. Low Power V.22bis Modem 43 CMX868 Advance Information Figure 27: 24-pin DIP (P4) Mechanical Outline: Order as part no. CMX868P4 2000 MX-COM, Inc. www.mxcom.com tel: 800 638 5577 336 744 5050 fax: 336 744 5054 4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USA Doc. # 20480205.006 All trademarks and service marks are held by their respective companies.