Copyright © 2007 by ZiLOG, Inc. All rights reserved.
www.zilog.com
Product Specification
Z02201
V.22BIS DATA PUMP WITH
INTEGRATED AFE
PS000904-0107
PS000904-0107 Disclaimer
This publication is subject to replacement by a later edition. To determine whether a later edition exists, or to request copies of
publications, visit www.zilog.com.
Document Disclaimer
©2007 by ZiLOG, Inc. All rights reserved. Information in this publication concerning the devices, applications, or technology
described is intended to suggest possible uses and may be superseded. ZiLOG, INC. DOES NOT ASSUME LIABILITY FOR OR
PROVIDE A REPRESENTATION OF ACCURACY OF THE INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED
IN THIS DOCUMENT. ZiLOG ALSO DOES NOT ASSUME LIABILITY FOR INTELLECTUAL PROPERTY
INFRINGEMENT RELATED IN ANY MANNER TO USE OF INFORMATION, DEVICES, OR TECHNOLOGY DESCRIBED
HEREIN OR OTHERWISE. Devices sold by ZiLOG, Inc. are covered by warranty and limitation of liability provisions appearing
in the ZiLOG, Inc. Terms and Conditions of Sale. ZiLOG, Inc. makes no warranty of merchantability or fitness for any purpose.
Except with the express written approval of ZiLOG, use of information, devices, or technology as critical components of life
support systems is not authorized. No licenses are conveyed, implicitly or otherwise, by this document under any intellectual
property rights.
ZiLOG is a registered trademark of ZiLOG Inc. in the United States and in other countries. All other products and/or service
names mentioned herein may be trademarks of the companies with which they are associated.
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
iii
Table of Contents
Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
General Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Pin Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
Pin Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Standard Test Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11
Environmental and power requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
DC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
AC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
Timing Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Analog Inputs: Type AI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Analog Outputs: Type A0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Hardware Interface Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Synchronous Serial Interface Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Host Port Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Eye Pattern Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Technical Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Configurations and Data Rates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Tone Generation and Tone Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Data Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Transmitted Data Spectrum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Transmit Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Receiver Levels . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Clamping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Carrier Recovery . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Software Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Microprocessor Interface Register and Bit Definitions: . . . . . . . . . . . . . . . . 25
RAMI, RXI, and TXI Interrupts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Interface RAM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Data Pump Interface RAM Access Method . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
Modem Data Pump RAM Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
Interface RAM Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Transmitting Tones . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
Tone Detectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
iv
Call-Progress Monitoring Using Biquad Tone Detectors . . . . . . . . . . . . . . . . . . 54
Simultaneous Transmission and Detection of Tones . . . . . . . . . . . . . . . . . . . . 56
Dialing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Tone Dialing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
Pulse Dialing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Manual Handshake Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Originating Modem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60
Answering Modem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61
Making a V.22bis Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Originating Modem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Answering Modem . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
Using HDLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
HDLC Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
Enabling HDLC Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Transmitting . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64
Receiving . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65
Data Pump Firmware Version Number and Part Number . . . . . . . . . . . . . . . . . 65
Sleep Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Typical Performance Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66
Example DAA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
Eye Pattern Circuit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72
Package Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
Z02201 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
1
Features
Combined data pump and Analog Front-End (AFE)
Full duplex data modem throughput to 2400 bps
ITU V.22bis, V.23, V.22, V.21
Bell 212A and Bell 103
FSK (V.23 1200/75 bps, V.21/Bell 103 300 bps), DPSK (V.22/Bell 212A 1200
bps), or QAM encoding (V.22bis 2400 bps)
Automatic handshake plus full manual control over handshake timings
Scrambler/descrambler functions plus selectable control over internal data pump
functions
Programmable Bi-Quad tone detectors for call-progress tone detection
Adaptive equalization to compensate for a wide variety of line conditions
Programmable transmit attenuation and selectable receive threshold
Fully programmable call-progress detectors, signal quality detectors, tone
detectors, tone generators, and transmit signal levels which aid in rapid country
qualifications
Simultaneous tone generation and detection
Host port allows direct parallel interface to standard 8-bit microprocessors
HDLC framing at all speeds
On-chip peripherals
Full-duplex voice band AFE with 12-bit resolution
Synchronous Serial Interface port
Eye pattern interface
Low power consumption: 50 mA typical
44-Pin PQFP and PLCC packages
Single +5 VDC power supply
0 °C to +70 °C commercial temperature range
International Telecommunications Union (ITU), formerly CCITT.
Device Data
Pump
AFE Speed (MHz)
Z02201 16-Bit Integrated 12.288
Note:
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
2
General Description
The Z02201 is a synchronous single-chip modem solution that provides a means
to construct a V.22bis modem capable of 2400 bps full duplex over dial-up lines.
The Z02201 is specifically designed for use in embedded modem applications
where space, performance, and low power consumption are key requirements.
Operating over the Public Switched Telephone Network (PSTN), the Z02201
meets the modem standards for V.22bis, V.22, V.23, V.21, Bell 212A, and Bell 103.
A typical modem application can be made by simply adding a control
microprocessor (host), phone-line interface, and DTE interface.
The Z02201 performs HDLC framing at all speeds. This capability eliminates the
requirement for an external Serial Input/Output (SIO) device for Data Terminal
Equipment (DTE) in products incorporating error control.
All modulation, demodulation, filtering, A/D and D/A conversion functions for
transmit and receive are provided on-chip. Automatic and selectable compromise
equalizers are included to optimize performance over a wide range of line types.
The Z02201 device compensates for a wide variety of adverse line conditions by
using a combination of fixed link, fixed cable, and adaptive equalizers.
The Z02201 provides comprehensive selectable and programmable tone genera-
tion and detection.
All digital I/O signals are TTL compatible. The parallel interface is compatible with
standard 8-bit microprocessors, allowing direct access to eight I/O registers and
indirect access to the modem RAM.
The RAM access capability allows the host to retrieve diagnostic data, modem/
line status and control data, and set programmable coefficients. The serial
interface is used for data transfers. All control and status information is transferred
by means of the parallel interface.
The Z02201 transmit drivers and receive amplifiers can be connected directly to a
Data Access Arrangement (DAA) by means of a transformer. Completing this
connection reduces the external circuits to a minimum.
In addition, the Z02201 offers further system level savings by providing built-in
filters for both the Transmitter Analog Output and the Receiver Analog Input, thus
eliminating the need for external filtering components.
The Z02201 device operates on a single +5 VDC power supply. During periods of
no traffic, the host can place the modem into SLEEP mode, reducing power
consumption to less than 1 percent of full load power.
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
3
All signals with an overline, are active Low. For example, B/W,
in which WORD is active Low; or B/W, in which BYTE is active
Low.
Power connections follow conventional descriptions below:
Connection Circuit Device
Power VCC VDD
Ground GND VSS
Note:
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
4
Figure 1. Z02201 Block Diagram
A/D Converter
D/A Converter
Eye Pattern
Interface
Digital
Processor
HD7–HD0
HA2–HA0
HCS
HWR
HRD
HIRQ
Parallel
Interface
TXD
RXD
RTS
RLSD
Oscillator
Serial
Signal
RXI+
RXI–
TXO–
TXO+
EXTAL
XTAL
EYEOUT
EYECLK
EYESTB
RESET
TCLK
RCLK
Interface
8K ROM
OH
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
5
User Information
The ZiLOG Z02201 data pump can be selected for either parallel or serial
synchronous data transfer under software control. Figure 2 indicates a block
diagram of the general modem chip interface. The hardware and software
configurations can be customized for a particular modem application. The parallel
interface allows direct access to 7 I/O registers, indirect access to the modem
RAM, and is compatible with the Z8, Z80, Z18X family, and other 8-bit
microprocessors. The serial interface is used for data transfer. Controls and status
information are transferred via the parallel interface. The RAM access capability
allows indirect access to diagnostic data, additional status control, and program-
mable coefficients. The hardware and software interfaces are presented in the
subsequent sections.
Figure 2. Z02201 System Block Diagram
Host
Processor
Parallel
Z02201
Eye Pattern
Interface
Line
Interface
Oscilloscope
Telephone
Line
Data
Access
Arrangement
Serial
DTE
Speaker
(Optional)
(Optional) (Optional)
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
6
Figure 3. Z02201 44-Lead PLCC Pin Identification
Figure 4. Z02201 44-Lead LQFP Pin Identification
Z02201 PLCC
7
AVDD
TX0+
TX0–
AGND
Vref
AGND
CF1
CF2
RXI–
RXI+
AVDD
OH
TXD
TCLK
RXD
RLSD
HD7
HD6
HD5
HD4
HD3
HD2
HCS
HA0
HA1
HA2
HIRQ
HWR
VDD
HRD
GND
HD0
HD1
EYESTB
EYEOUT
EYECLK
TEST1
GND
RESET
VDD
EXTAL
XTAL
TEST2/RCLK
RTS
1
28
18
40
39
6
34
35
36
37
38
39
40
41
42
43
44
AV d d
TXO+
TXO-
Agnd
Vref
Agnd
CF1
CF2
RXI-
RXI+
AV d d
OH
TxD
TClk
RxD
RLSD
HD7
HD6
HD5
HD4
HD3
HD2
HCS
HA0
HA1
HA2
HIRQ
HWR
Vdd
HRD
Gnd
HD0
HD1
Eyestb
Eyeout
Eyeclk
Test1
GND
RESET
Vdd
Extal
Xtal
Test2/RClk
RTS
1
2333
Z02201 LQFP
11
22
21
20
19
18
17
16
15
14
13
12
32 31 30 29 28 27 26 25 24
2345678910
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
7
Pin Description
Table 1. Z02201 Pin Assignments
PLCC Pin LQFP Pin Signal Direction
1 28 RESET
229Gnd
3 30 Test1 Input
4 31 Eyeclk Output
5 32 Eyeout Output
6 33 Eyestb Output
7 34 AVdd
8 35 TXO+ Output
9 36 TXO- Output
10 37 Agnd
11 38 Vref Output
12 39 Agnd
13 40 CF1 Input
14 41 CF2 Input
15 42 RXI- Input
16 43 RXI+ Input
17 44 AVdd
18 1 HCS Input
19 2 HA0 Input
20 3 HA1 Input
21 4 HA2 Input
22 5 HIRQ Output
23 6 HWR Input
24 7 Vdd
25 8 HRD Input
26 9 Gnd
27 10 HD0 Input/Output
28 11 HD1 Input/Output
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
8
Pin Functions
HD7–HD0 Host Data Bus (Bidirectional, Active High)—HD0–HD7 constitutes an 8-
bit bidirectional data bus used for the transfer of control and status information.
HCS Host Chip Select
(Input, Active Low)—When CS is Low, data transfer between
the data pump and the host is enabled. Data transfers to the data pump registers
are 8 bits wide.
HWR
Host Write Enable Strobe (Input, Active Low)—The write enable strobe is an
active Low signal that is used to initiate a write operation to the data pump. During
a write operation, data is sent to the data pump by the host via the host data bus.
HRD
Host Read Enable Strobe (Input, Active Low)—The read enable strobe is an
active Low signal that is used to initiate a read operation from the data pump. Dur-
ing a read operation, data is transferred out of the data pump by the host via the
host data bus.
HIRQ
Host Interrupt Request (Output, Active Low)—The HIRQ is an open-drain
output that can be tied through an external pull-up resistor to the digital power
29 12 HD2 Input/Output
30 13 HD3 Input/Output
31 14 HD4 Input/Output
32 15 HD5 Input/Output
33 16 HD6 Input/Output
34 17 HD7 Input/Output
35 18 RLSD Output
36 19 RxD Output
37 20 TClk Output
38 21 TxD Input
39 22 OH Output
40 23 RTS Input
41 24 Test2/RClk Input/Output
42 25 Xtal Output
43 26 Extal Input
44 27 Vdd
Table 1. Z02201 Pin Assignments (Continued)
PLCC Pin LQFP Pin Signal Direction
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
9
supply VDD. The HIRQ active Low data pump output can be activated when the
host selects this option or requests by setting the RXIE or TXIE bits in the data
pump Host Register. This pin can be connected to the host interrupt request pin to
initiate host service.
RESET
Reset (Input, Active Low)—The RESET signal places the device into its
reset state.
HA2–HA0
Host Address (Input, Active High)—These three register select lines
(pins) are used for addressing the controller-accessible internal registers of the
data pump. When HCS is active, the state of the HA2–HA0 is used as the internal
data pump interface register address. HA2 is the most significant bit; HA0 is the
least significant bit.
RLSD
Receive Line Signal Detect (Output, Active Low)—This pin indicates when
an input signal has been detected.
RXD
Receive Data (Output)—The data pump serial receive data is presented by
the data pump to the local DTE on the RXD output.
TCLK
Transmit Serial Data Clock (Output)—The serial data output clock is a syn-
chronous data clock used to transfer serial data via synchronous serial interface
between the data pump and the host. The clock frequencies are 2400, 1200, and
300 Hz, corresponding to the supported data bit rates.
TXD
Transmit Data (Input)—The data pump accepts the serial transmit data from
the local DTE on the TXD input when the data pump is configured to the serial
transmit data mode. The serial transmit data mode is selected when the TDPM bit
(bit 4) of the RAM CONTROL/DATA PUMP STATUS register (Register 6) is reset to
0.
OH
Off Hook Relay Control (Output, Active Low)—This pin is activated to drive a
relay which engages the modem with the phone line (the modem equivalent of
picking up the receiver).
RTS
Request To Send (Input, Active Low)—The logical OR of this pin and the
RTSP bit (bit 3 of register 4), determines the data pump mode of operation. When
the result of the logical OR of these two bits is logic 1, the data pump is in transmit
mode at the selected speed, thereby placing the data pump in receive mode. In
STANDBY mode, the state of this pin is insignificant.
EYECLK
Eye Pattern Clock (Output, Active High)—Data is valid at the rising edge
of the clock. The EYECLK can be used to clock an external Digital-to-Analog (D/A)
converter shift register for eye pattern display.
EYEOUT
Eye Pattern Data (Output, Active High)—This pin controls the serial 16-bit
eye pattern output data. The first 8 bits is the EYEX data, and the next 8-bits are
the EYEY data. This data can be used for display on an oscilloscope X and Y-axis
following D/A conversion.
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
10
EYESTB
Serial Eye Pattern Strobe (Output, Active High)This signal is used for
loading an external D/A converter.
TXO+
Transmit Differential Analog Output Positive (Analog Output)—The TXO+,
TXO– is capable of driving a 600-ohm resistive load over a leased line or public
switched telephone network via a Data Access Arrangement (DAA). The TXO–
and TXO+ can be configured either as a differential or single-ended output driver.
TXO–
Transmit Differential Analog Output Negative (Analog Output)The TXO–,
TXO+ is capable of driving a 600-ohm resistive load over a leased line or public
switched telephone network via a Data Access Arrangement (DAA).
RXI–
Receive Differential Analog Input Negative (Analog Input)—
RXI+
Receive Differential Analog Input Positive (Analog Input)—
TEST1
Test Pin 1 (Input, Active High)—This pin is a test pin and must be tied to
digital ground.
TEST2/RCLK
Test Pin 2, Receive Data Clock (Output, Active High)—This pin is a
test pin and must be tied to digital ground through a pull-down resistor. The resis-
tor should be Low enough to ensure this pin floats below 0.8V when the part is in
the RESET state. After RESET, this pin becomes the Receive Data Clock Output.
The resistor should be high enough such that the output can be driven to logic 1.
This pin is a synchronous data clock used to transfer serial data between the data
pump and the host. The clock frequencies are 2400, 1200, and 300 Hz corre-
sponding to the supported data bit rates.
Vref
Reference Voltage (Output, Active High—An internally generated reference
voltage.
XTAL
Crystal (Output, Active High)—Crystal oscillator connection. This pin must
be left open if an external clock is used instead of a crystal. The data pump chip
can be connected to an external crystal circuit consisting of 24.576-MHz (parallel
resonant) crystal, a resistor, and two capacitors.
EXTAL
External Clock/ Crystal (Input, Active High)—Crystal oscillator connection.
An external clock can be input to the Z02280 on this pin when a crystal is not
used. The oscillator input is not a TTL level (see DC characteristics in Table 4).
CF1 and CF2
Integration Capacitor Pins 1 and 2 (Analog Input)—Connect an 82pF
capacitor between CF2 and CF1 to complete the internal feedback integration fil-
ter for improved Analog-to-Digital (A/D) conversion performance.
GND
Digital ground–0 Volts
V
DD
Digital Power–5 Volts
AV
DD Analog Power5 Volts
AGND
Analog Ground–0 Volts
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
11
Absolute Maximum Ratings
Stresses greater than those listed under “Absolute Maximum Ratings” may cause
permanent damage to the device. This rating is a stress rating only. Operation of
the device at any condition above those indicated in the operational sections of
these specifications is not implied. Exposure to absolute maximum rating condi-
tions for extended periods may affect device reliability.
Standard Test Conditions
The DC Parameters were tested as per Tab le 6. The Z02201 tester has active
loads which are used to test the loading for IOH and IOR.
Available operating temperature range is: where: S = Standard Temperature
Range
S = 0°C to +70°C
Voltage Supply Range:
+4.5 V VCC + 5.5 V
All AC parameters assume a load capacitance of 100 pF. Add 10 ns delay for
each 50 pF increase in load up to a maximum of 150 pF for the data bus, and 100
pF for address and control lines.
Table 2. Absolute Maximum Ratings
Symbol Description Min Max Units
VCC Supply Voltage –0.3 +7.0 V
TOPR
(com)
Operating Temperature 0 +70 °C
TSTG Storage Temperature –65 +150 °C
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
12
Environmental and power requirements
The modem power and environmental requirements are indicated in Table 3 and Table 4.Tab le 5 provides
the crystal specifications.
Table 3. Power Requirements
Voltage
Current Typical
@ 25°C
Current
Maximum @ 0°C
+5 VDC,
Operating
50 mA <=100 mA
+5 VDC, Sleep 25 μA <=125 μA
Note: All voltages are ±5% DC and must have ripple less than
0.1V peak to peak. If switching supply is used, the
frequency may be between 20 kHz and 150 kHz. No
component of the switching frequency should be present
outside of the supply greater than 500 μV peak.
Table 4. Environmental Requirements
Parameter Value
Ambient Temperature Under Bias
(Commercial Temp Range)
0°C to +70°C
Storage Temperature –65°C to +150°C
Voltage on Any Pin to VSS –0.3V to +7V
Power Dissipation 250 mW
Soldering Temperature 0.5 sec +230°C
Table 5. Z02201 Crystal Specifications
Parameter Value
Temperature Range (Commercial) 0°C to +70°C
Nominal Frequency @ 25°C 24.576 MHz
Frequency Tolerance @ 25°20 ppm
Temperature Stability
@ 0°C to 70°C
±25 ppm
Calibration Mode Parallel Resonant
Shunt Capacitance 7 pF max.
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
13
Load Capacitance 32 ± 0.3 pF
Drive Level 1.0 mW max.
Aging, per Year Max. ± 5 ppm
Oscillation Mode Fundamental
Series Resistance 60 ohms max.
Max. Frequency Variation with
28.8 or 35.2 pF load
±30 ppm
Table 5. Z02201 Crystal Specifications (Continued)
Parameter Value
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
14
DC Characteristics
Table 6. TDC Pin Characteristics
Parameter Description Min Typ Max Units Test Conditions
Pin Types I and I/O: Input and Input-Output
VIH Input High Voltage 2 VCC +0.3 V
VIL Input Low Voltage 0 0.8 V
ILInput Leakage Current –10 10 μA GND <V0<VDD
Pin Types O and IO: Output and Input-Output
VOH Output High Voltage 2.4 V IOH= –200 μA
VOL Output Low Voltage 0 0.4 V IOI= –2.2 mA
IOZ Tri-state Leakage Current –10 10 μA GND<V0<VDD
Pin Types I-PU and I-PD: Input with Internal Pull-up/Pull-down Resistor
VIH Input High Voltage 2 VCC +0.3 V IOI= –2.2 mA
VIL Input Low Voltage 0 0.8 V
IIL Input Current –10 10 μA GND <V0<VDD
Pin Type XI: Crystal Input
VIH Input High Voltage VDD x0.8 VDD V
VIL Input Low Voltage 0
Pin Type O-OD: Output with Open-Drain
VOL Output Low Voltage 0 0.4 IOI=2.2 mA
IOZ Tri-state Leakage Current –10 10 μA GND<V0<VDD
Pin Type XO: Crystal Output
VOH Output High Voltage VDD –1 VDD VI
OH=1.0 mA
VOL Output Low Voltage 0 1 V IOI=–1.0 mA
Pin Type AI: Analog Input
VDC Input Bias Offset VREF –15 VREF VREF +15 mV
ILInput Current –100 100 μA
CIN Input Capacitance 10 pF
RIN Input Resistance 20 Kohm
Pin Type AO: Analog Output
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
15
VOAnalog Output Voltage VREF
1.163
VREF VREF
+1.163
mV
VOFF Output DC Offset VREF –40 VREF VREF +40 mV
ROOutput Resistance 0.8 Ohm
COOutput Capacitance 10 pF
ZILoad Impedance 400 600 Infinite Ohm
Pin Type PWR: Power and Ground
VDD Digital Supply Voltage 4.75 5 5.25 V Voltage
GND Digital Ground 0
AVDD Analog Supply Voltage VDD VDD VDD V
AGND Analog Ground GND GND GND V
IDD1 Digital Supply Current 45 90 mA Operating
IADD1 Analog Supply Current 5 10 mA Operating
IDD2 Digital Supply Current 20 100 μA Sleep Mode
IADD2 Analog Supply Current 5 25 μA Sleep Mode
Table 6. TDC Pin Characteristics (Continued)
Parameter Description Min Typ Max Units Test Conditions
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
16
AC Characteristics
Timing Diagrams
Figure 5. Microprocessor Interface Read/Write Diagram
Table 7. Microprocessor Interface Timing
Description Parameter Min Typ Max Units
Read Timing
HA0–2 and HCS to HRD Setup Time 1 0 ns
HA0–2 to HRD Setup Time 2 0 ns
HRD to Data Access Time 3 25 85 ns
HRD Data Hold 4 0 10 ns
HA0–2 and HCS Hold From HRD 50ns
Write Timing
HA0–2 and HCS to HWR Setup Time 6 70 ns
HCS to HWR Setup Time 7 70 ns
Data to HWR Setup Time 8 0 ns
HWR Data Hold 9 10 ns
HA0–2 and HCS Hold from HWR 10 10 ns
Valid Address Valid Address
WR
CS
RS0–2
RD
D0–D7
10
11 9
8
6
7
5
4
3
2
1
Valid Address
Read Data Valid
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
17
HWR Pulse Width 11 25 ns
Reset Timing
Reset Pulse Width 1.0 µs
Reset Rise Time 100 ns
Figure 6. Serial Port Timing Diagram
Table 8. Serial Interface Timing
Description Parameter Min Typ Max Units
RXD Data Valid Delay Time 1 12 ns
TXD Data Setup Time 2 100 ns
TXD Data Hold Time 3 100 ns
Table 7. Microprocessor Interface Timing (Continued)
Description Parameter Min Typ Max Units
23
DCLK
TXD
RXD
1
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
18
Timing Diagrams
Analog Inputs: Type AI
The characteristics below are provided for information only. They are not tested
Figure 7. Eye Pattern Port Timing Diagram
Table 9. Analog Characteristics Table
Description Parameter Min Typ Max Units
Input impedance of transformer
interface
1 400 1200 Ohm
3 dB point of interface 2 21 26.5 32.5 kHz
External integration
capacitance Type NPO (COG)
3 738290pF
Table 10. Analog Inputs, Type AI
AC Characteristics Sym Min Typ Max Units
Input Impedance (DC to VREF)Z
IN 15K 25K Ω
Power Supply Rejection PSRRi40––dB
Input Current li–80 80 μA
Idle Channel Noise
(3950 Hz Bandwidth)
ICNi –––72dBm
Signal to Distortion STDi 30––dB
EYECLK
EYESTB
EYEOUT
D15
(MSB EYEX)
D0
(LSB EYEY)
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
19
except in the functional test vectors.
Analog Outputs: Type A0
Characteristics Sym Min Typ Max Units
Input Capacitance CIN –10–pF
Input Bias VDCOFF –+2.5–V
Analog Input Voltage
(Peak Differential), (23)
VPKI –2.362 +2.362 V
Analog Input Voltage
(Per RXI+. RXI- Pin)
VPKIP –1.181 +1.181 V
Table 11. Analog Inputs Type A0
AC Characteristics Sym Min Typ Max Units
Power Supply Rejection PSRRO 40 dB
Signal to Distortion STD0 35 dB
Idle Channel Noise
(3950 Hz Bandwidth)
ICNO –72 dBm
Out of Band Noise Nqo dBm
4–8 kHz –20 dBm
8–12 kHz –40 dBm
12 kHz and Above
in 4 kHz Bandwidths
––55 dBm
Characteristics Sym Min Typ Max Units
Output Impedance Zout 0.80 Ω
Output Capacitance Cout 10 pF
Analog Output Voltage
(peak differential), (24)
Vpko –2.375 +2.375 V
Load Impedance (25) ZI 400 600
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
20
Hardware Interface Signals
The Z02201 interface consists of the Synchronous Serial Interface Port, 8-bit Host
Microprocessor Interface, Eye Pattern Interface, Voice Band AFE, System Sig-
nals, and Overhead Signals. The Z02201 functional interconnect diagram is indi-
cated in Figure 8. Any signal that is active Low is represented by a line over the
signal name.
Synchronous Serial Interface Port
The Synchronous Serial Interface Port provides no parallel-to-serial/serial-to-par-
allel conversion hardware. The synchronous serial interface port consists of six
signal pins as shown in Table 12.
Figure 8. Modem Functional Interconnect Diagram
RXI+,RXI–
TXO+,TXO–
Oscilloscope
Data Access
Arrangement
Eye Pattern
Interface
DGND (2)
AGND (2)
+5AVDD (2)
+5VDD (2)
Optional Optional
EYE Pins (3)
D(0:7)
Crystal
Oscillator
RS(0:2)
Control
Z02201 2
Synchronous
Serial
Interface
8
3
4
6
RESET
XTAL1 XTAL2
Crystal
Oscillator
PSTN
Host
Processor
DTE (Host)
OH
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
21
Host Port Interface
The host parallel port interface consists of 15 signal pins: 8-bit bidirectional data
bus pins (HD7–HD0), 3-bit Address bus (HA2–HA0), four control lines, which
include the HoST READ (HRD), HOST WRITE (HWR), HOST CHIP SELECt (HCS), and
HOST INTERRUPT REQUEST (HIRQ). Multiple interrupt sources are provided in the
Z02201, each of which can be masked under host control.
The host parallel interface allows the host to access the data pump RAM address
and data bits, transmit and receive data, control the RAM and status bits, and read
data pump status bits. The host can access eye pattern functions, transmit and
receive tones, and access adaptive equalizer coefficients in modem-type
applications.
The host parallel interface is compatible with standard 8-bit microprocessors,
which include the Z8 and Z80 bus.
Eye Pattern Interface
The eye pattern interface consists of three pins: EYE PATTERN DATA (EYEOUT),
EYE PATTERN CLOCK (EYECLK), and EYE PATTERN STROBE (EYESTB). Sixteen
bits of data are serially transmitted via EYEOUT, under control of EYESTB and EYE-
CLK. The first byte is the X-coordinate and the second byte is Y-coordinate of the
sample. The least significant bit is presented first for both the X and Y coordi-
nates. A schematic of an eye pattern circuit is found in Figure 16 at the end of this
specification.
The EYE PATTERN DATA, EYEOUT, outputs a serial bit stream containing data for
display of the eye pattern on an oscilloscope after D/A conversion. 8 bits of the X-
axis data and 8 bits of the Y-axis are output as a single 16-bit data stream with the
Table 12. Synchronous Serial Interface Port
Pin Signal Name
TxD Transmit Data
RxD Receive Data
RTS Request To Send
RLSD Receive Line Signal Detect
TCLK Transmit Data Clock
RCLK Receive Data Clock
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
22
X-axis data first. EYEOUT is synchronous with the rising edge of EYECLK. EYE-
OUT is valid only while the EYESTB is Low. Data is shifted out MSB first.
Data on eyeout is shifted out on each rising edge of the 1.536MHz EYECLK. EYE-
OUT data is valid on the following edge of the EYE PATTERN CLOCK, EYECLK.
The EYEOUT data is valid when the EYE PATTERN STROBE, EYESTB, is Low. EYE-
STB changes state on the rising edge of EYECLK.
Technical Specifications
Configurations and Data Rates
Table 13 provides the selectable options, supported data rate, baud rate, and the
modulation method.
Tone Generation and Tone Detection
The Z02201 provides comprehensive and flexible tone generation and detection,
including all tones required to establish a circuit connection and to setup and
control a communication session. The tone generation furnishes the DTMF tones
for PSTN auto dialing, and the supervisory tones for call establishment. The tone
detection provides support for call-progress monitoring. The detector can also be
user-programmed to recognize up to 16 tones.
Data Encoding
The data encoding for the Z02201 meets both ITU–T recommendations and Bell
standards.
Table 13. Selectable Configurations
Configuration1Modulation2Carrier Freq.
Data Rate
(bps)
Symbol
Rate (baud)
Bits Per
Symbol
Constellation
Points
V.22 bis 2400 QAM 1200/2400 2400 600 4 16
V.22 bis 1200 DPSK 1200/2400 1200 600 2 4
V.22 1200 DPSK 1200/2400 1200 600 2 4
V.23 1200/75 FSK 1700/420 1200/75 1200/75 1
Notes:
1. Configuration is selected through the RAM location Config.
2. QAM=Quadrature Amplitude Modulation FSK=Frequency Shift Keying, DPSK=Dual Phase Shift Keying
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
23
Transmitted Data Spectrum
The transmitted data spectrum, with compromise equalization disabled, is shaped
in the baseband by the finite impulse response (FIR) filter. Table 14 reflects the
spectrum characteristics.
Transmit Levels
The transmit output level of the Z02201 is programmable in 1 dBm decrements
from –6 dBm to –43 dBm. With a default value of –10 dBm, the Z02201 is
measured differentially across pins TX0+ and TX0– with a sinusoidal waveform.
To avoid saturation, the Tx level should be set to –6 dBm or
lower by the host. If a higher transmit level is required,
additional op amps may be added during operation.
Receiver Levels
The timing recovery circuit can track a ±0.01% (100 ppm) frequency error in the
associated transmit timing source with less than 1.0 dB degradation in
performance.
V.21 FSK 1080/1750 300 300 1
Bell 212A DPSK 1200/2400 1200 600 2 4
Bell 103 FSK 1170/2125 300 300 1
Table 14. Spectral Shaping
Mode Carrier Freq Spectral Power Shaping Function
V.22 1200 sqrt 75% Raised Cosine at 600 baud
V.22bis 2400 sqrt 75% Raised Cosine at 600 baud
Note: The carrier and the spectral shaping are selected automatically according to the
configuration.
Table 13. Selectable Configurations (Continued)
Notes:
1. Configuration is selected through the RAM location Config.
2. QAM=Quadrature Amplitude Modulation FSK=Frequency Shift Keying, DPSK=Dual Phase Shift Keying
Note:
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
24
Clamping
Received Data (RXD) is clamped to a constant mark whenever RLSD is OFF.
Carrier Recovery
The recovery circuit can track a ±7 Hz frequency offset in the receiver carrier with
less than 1.0 dB degradation in performance.
Software Interface
This section refers to the Version 0x48 of the datapump
firmware. For various versions of the datapump and the
differences in firmware refer to the addendum of the product
specification.
The host microprocessor communicates with the Z02201 via the parallel
microprocessor bus interface. Access is provided to a set of seven 8-bit Interface
Registers, and through these registers, to Z02201 RAM memory locations. This
interface allows the host to request modem status information and receive data,
control the configuration, and load data for transmit. Table 15 is the Parallel Inter-
face Register map.
Table 15. Parallel Interface Register Map
Function
Register
Number
RS2–0
b2b1b0
MSB
Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1
LSB
Bit 0
Access
Method
RAM Access
Low
0000 RAMDL R/W
RAM Access
High
1001 RAMDH R/W
RAM Access
Address
2010 RAMAL W
Parallel Data 3 011 DATAP R/W
RAM Control
& Status
4 100 TXlE RXlE RAMlE TPDM RTSP RAMRW RAMRQ RAMAH R/W
Modem
Status
5 101 TXI RXI RAMl DPBUSY Reserved RTRND CDET RES R
HDLC 7 111 0 0 0 0 0 TEND RXERR EOF R/W
Note:
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
25
Microprocessor Interface Register and Bit Definitions:
Reg0, Reg1 RAMDL, RAMDH—
DATA PUMP RAM DATA REGISTERS—In this case,
RAMDL is the least significant byte, and RAMDH is the most significant byte.
After a data pump RAM read operation has completed, these registers contain the
requested data. When a data pump RAM write operation is started, these regis-
ters contain the data written to data pump RAM.
Reg2 RAMAL—
DATA PUMP RAM DATA ADDRESS—When a data pump RAM
read or write operation is started, this byte contains the lower 8 bits of the RAM
address. Register 4 (RAMAH) is the high bit of the RAM address.
Reg3 DATAP—
DATA PUMP PARALLEL DATA—This register contains data trans-
ferred to or from the remote modem during the parallel modem (see register Reg-
ister 4, bit 4). At any reset, when Config register bits 0–6 (MODE) is 0 (STANDBY),
the data pump places its firmware version number in register DATAP.
Table 16. REG4: RAM Control Register
SYMBOL POSITION NAME AND DESCRIPTION
RAMAH REG 4, bit 0 RAM Address High Bit. The most significant bit of the data pump RAM
address. This bit is set to 1 when accessing a data pump RAM address
that is greater than 255, or set to 0 for any value below 255.
RAMRQ REG 4, bit 1 Data Pump RAM Access Request Bit. Set this bit to 1 to request a read or
write of the data pump RAM. The data pump sets this bit to 0 when the
request has been fulfilled.
RAMRW REG 4, bit 2 Data Pump RAM Read/Write Bit. Set this bit to 0 to request a read of the
data pump RAM or a 1 to request a write of data pump RAM.
RTSP REG 4, bit 3 Register Request to Send Bit. A logical OR operation is executed using the
value of the hardware RTS signal received by the data pump on the RTS
pin. The host sets RTS or RTSP to 1 to inform the data pump the host is
transmitting data. To control the data pump using the RTS signal, set
RTSP to 0. To control the data pump using RTSP, hold RTS High.
TPDM REG 4, bit 4 Select Parallel Data Mode. Setting this bit selects the parallel data mode.
Resetting it selects the serial data mode.
Note: All the bits in this register (REG 4) default to logic 0 at power-up or after reset sequences are completed.
Bit
TXIE RXIE RAMIE
7654321 0
TPDM RAMRW RAMRQ RAMAHRTSP
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
26
RAMlE REG 4, bit 5 RAM Interrupt Enable Bit. Setting this bit allows the data pump to interrupt
the host when a RAM read/write request has been completed.
RXlE REG 4, bit 6 Receive Data Interrupt Enable Bit, Parallel Data Mode Only. This bit, when
set, causes the data pump to generate an interrupt whenever the RXI bit is
set.
TXlE REG 4, bit 7 Transmit Data Interrupt Enable Bit, Parallel Data Mode Only. This bit,
when set, causes the data pump to generate an interrupt whenever the TXI
bit is set.
Table 16. REG4: RAM Control Register (Continued)
SYMBOL POSITION NAME AND DESCRIPTION
Note: All the bits in this register (REG 4) default to logic 0 at power-up or after reset sequences are completed.
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
27
Table 17. REG5: Data Pump Status Register
SYMBOL POSITION NAME AND DESCRIPTION
RES REG 5, bit 0 Data Pump in RESET Mode. This bit is set whenever the data pump is in
RESET mode because of a hardware reset or power-on. The data pump
sets RES to 0 when it completes the reset cycle.
CDET REG 5, bit 1 Carrier Detect. The data pump sets CDET to 1 when it enters any data mode
and is ready to transmit data. The data pump sets CDET to 0 during retrains
(see Reg5, bit 2, RTRND), and when no signal is detected from the remote
modem. See locations RLSDOnThresh and RLSDOffThresh for more
information. CDET is inverted and reflected on the data pump’s RLSD pin. If
CDET is 1, RLSD is Low (asserted). At any reset, or when the host sets
Config register, bits 0–6 (MODE) to 0 (STANDBY), the data pump sets
CDET to 0.
RTRND REG 5, bit 2 Retrain Detect, 2400 bps (V.22bis data mode only). The Retrain sequence is
detected when this bit is set. The data pump has detected a retrain request
sequence from the remote modem.
Reserved REG 5, bit 3 Reserved bit location.
DPBUSY REG 5, bit 4 Data Pump Busy. This bit is set whenever the data pump starts transmitting
data and RTSP is 1. When the link is to be terminated, setting RTSP to 0
causes this bit to be reset after the data pump has finished transmitting the
most recent data in its internal buffers. When this bit has been reset, it is
safe to set Config. register, bits 0–6 (MODE) to standby mode (0) and hang
up the telephone, terminating the connection. This bit also indicates when
digits are being dialed during timed dialing operation. At any reset, or when
the host sets Config register, bits 0–6 (MODE) to 0 (STANDBY) the data
pump sets DPBUSY to 0. This bit is not valid during HDLC operation.
RAMl REG 5, bit 5 Data Pump RAM Interrupt Status. This bit is set when the data pump has
processed a RAM read/write request.
RXl REG 5, bit 6 Receive Interrupt Status. This bit is set when the data pump is in parallel
data transfer mode (TPDM is 1) and the data pump has written a new octet
to the DATAP register. A read from the DATAP register clears this bit.
TXl REG 5, bit 7 Transmit Interrupt Status. This bit is set when the data pump is in parallel
data transfer mode (TPDM is 1) and the data pump has read the DATAP
register. A write to the DATAP register clears this bit.
Note: The RXI bit is set to 1 after the reset sequences. All other bits in this register (Reg. 5) default to 0 at power up
or after reset sequences are completed.
Bit 7654321 0
TXI RXI RAMI DPBUSY RTRND CDET RESReserved
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
28
Reg7 Data Pump Register 7—These bits represent the state of HDLC frames when
the data pump is in the HDLC FRAMING mode. These bits are valid only if BUFC-
TRL. bit 7 (HDLC) is 1. The host should refrain from writing Reg7 to avoid changing
Table 18. REG7: HDLC Register
SYMBOL POSITION NAME AND DESCRIPTION
EOF REG 7, bit 0 Receive End of Frame. The data pump sets EOF to 1 when an HDLC frame
has been completely received (that is, when frame data has been received
and a closing HDLC flag or HDLC Abort condition is received). If the frame
was correctly received, the data pump also sets Reg5, bit 1 (RXERROR) to
0, Reg5, bit 6 (RXI) to 1, and DATAP to 7EH. See Reg7, bit 1 (RXERROR)
for a description of CRC errors and HDLC Aborts. EOF reflects whether the
current register DATAP value indicates the end of receipt of an HDLC frame.
When the first data byte of the next HDLC frame is received, or if an HDLC
ABORT condition is received when no HDLC frame data was received, the
data pump sets EOF to 0. This condition may occur only 8 bit times after the
data pump sets EOF to 1.
RXERR REG 7, bit 1 Receive Error. If an HDLC frame contains a CRC error, or an HDLC Abort
condition is received, the data pump sets RXERROR to 1, Reg5, bit 6 (RXI)
to 1, and DATAP to the value of 7EH or FFH. If the frame had a CRC error,
DATAP has the value of 7EH. If an HDLC Abort condition was received,
DATAP is FFH. RXERROR reflects whether the current register DATAP
contains an error. When the first data byte of the next HDLC frame is
received, the data pump sets RXERROR to 0. This condition may occur only
8 bit times after the data pump set RXERROR to 1.
TEND REG 7, bit 2 Transmit End of Frame. The data pump sets TEND to 1 when it closes an
HDLC frame that is transmitted. The data pump sets TEND to 0 after
transmitting the CRC bytes, when it starts transmitting the closing flag of the
HDLC frame. The data pump closes an HDLC frame when the host does not
provide data to transmit (see DATAP) in time to be included in the HDLC
frame.
0REG 7,
bits 3–7
Unused. Set these bits to 0.
Notes:
1. All the bits in this register (REG 7) default to 0 at power up or after reset.
2. All undefined bits of this register are reserved. The host writes a 0 to all reserved bit positions when writing this
register. The host ignores the reserved bits when reading this register.
Bit
0 0 0
7654321 0
0 TEND RXERR EOF0
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
29
the values of bit fields set by the data pump. Bits not defined above are reserved
or not available for use.
The host reads register Reg7 immediately before DATAP. The two CRC checksum
bytes in received HDLC frames are provided to the host.
At any reset, or when the host sets Config register, bits 0–6 (MODE) to 0
(STANDBY) the data pump sets TEND to 0, RXERROR to 0, and EOF to 0.
RAMI, RXI, and TXI Interrupts
The three most significant bits in the RAM Control and data pump status registers
define the interrupt masks for RAMI, RXI, and TXI. A logical AND operation is
performed with the RAMIE, RXIE, and TXIE enable bits of the RAM Control regis-
ter and the corresponding interrupt bits in the DATA PUMP STATUS register. A log-
ical OR operation is performed on the outputs driving the HIRQ pin, providing an
interrupt to the host interrupt (See Figure 9).
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
30
Figure 9. Host Interrupt Circuit Diagram
Interface RAM
The interface RAM is used by the data pump for normal operations. All writes to
the interface RAM should be Read-Modify-Write, where only the bits that must be
changed are affected. All undocumented bits are reserved and must be left intact.
1. Data pump RAM reads or writes requires approximately 0.1
msec to complete.
2. Data pump RAM writes take effect at different times, depending upon
the location being written to. During data modes, writes typically take
effect at the end of the next baud period. During other modes of oper-
ation, writes take effect in 0.1 msec.
3. Writing Reg4, for example, to set Reg4, bit 7 (TXIE) to 0 in an interrupt
handler while waiting for the data pump to set Reg4, bit 1 (RAMRQ) to
0 in the background, may cause unwanted side effects. Setting Reg4,
bit 1 (RAMRQ) to 1 may cause the data pump to repeat the read/write
request if the data pump had just set Reg4, bit 1 (RAMRQ) to 0; how-
ever, setting Reg4, bit 1 (RAMRQ) to 0 may abort the RAM read/write
request.
Data Pump Interface RAM Access Method
To write to the data pump RAM:
1. Write data to RAMDL & RAMDH.
RAMIE
RAMI
RXIE
RXI
TXIE
TXI
HIRQ
Notes:
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
31
2. Write the lower 8 bits of the address of the data pump RAM location to register
RAMAL.
3. With one write operation to register R4, set the high bit of the data pump RAM
address in R4, RAMAH, set R4, bit 2 (RAMRW) to 1, and set R4, bit 1
(RAMRQ) to 1.
4. Wait until the data pump sets R4, bit 1 (RAMRQ) to 0.
To read from data pump RAM:
1. Write the lower 8 bits of the address of the data pump RAM location to register
RAMAL.
2. With one write operation to register R4, set the high bit of the data pump RAM
address in R4, RAMAH, set R4, bit 2 (RAMRW) to 0, and set R4, bit 1
(RAMRQ) to 1.
3. Wait until RAMRQ is reset to 0 by the data pump or until RAMIE is set to 1.
4. Read data from RAMDL and RAMDH.
Reads and writes to the data pump RAM may require 105 μs to complete.
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
32
Modem Data Pump RAM Map
Table 19. Modem Data Pump RAM Map
Mnemonic Address (Hex) Access Mode Description
Config 01FF R/W Data Pump Configuration
Trnctrl 01FE R/W Training Control
Bufctrl 01FD R/W Buffer Control
ToneStatus 01FC R/W DTMF and Tone Control Status
Dpctrl 01FA R/W Data Pump Miscellaneous Controls
MStatus 01F7 R/W Modem Control and Status
EQMMaxThresh 01F6 R/W MSE Maximum Threshold
RLSDOffThresh 01F5 R/W RLSD Off Threshold
RLSDOnThresh 01F4 R/W RLSD On Threshold
CONN_Mode 01F0 R/W Connection Speed After Handshake is
Complete
Notch 01A2–01A6 R/W Notch Filter Coefficients
DTMFh_lev 01A1 R/W DTMF High Band Transmit Level
DTMFl_lev 01A0 R/W DTMF Low Band Transmit Level
ToneGenA 0191 R/W Tone Generator A
ToneGenB 0196 R/W Tone Generator B
TxLevel 0185 R/W Modem Transmit Level
Seq3Count 18E R/W Dial Timer Inter-Pulse Count
Seq2Count 18D R/W Dial Timer Off Count
Seq1Count 18C R/W Dial Timer On Count
BiquadA 0155–015E R/W Biquad A Coefficient
BiquadB 015F–0168 R/W Biquad B Coefficient
DTD0–DTD15 0145–0154 R/W Tone Detector Coefficients
EQMlev 092 R/W Eye Quality Monitor Level
BiQuadOffThresh 052 R/W Biquad Detectors Off Point
BiQuadOnThresh 051 R/W Biquad Detectors On Point
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
33
DTD0Lev–DTD15Lev 026–035 R/W Tone Detector Levels
DTDThresh 03 R/W Tone Detector Threshold
DTDStatus 00 R/W Discrete Tone Detector Status
Table 19. Modem Data Pump RAM Map (Continued)
Mnemonic Address (Hex) Access Mode Description
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
34
Interface RAM Definitions
Table 20. Modem Data Pump Word Definitions
Register & Address
(hex)
Default
Value Function and Explanation
Config 01FF 0H Data pump Config register
b15 Unused. Set this bit to 0.
b14 ORG (Set Originate Mode: all modes)
If ORG is 1, the modem is in Originate Mode. Otherwise, it is in
answer mode. Be sure to set ORG before or at the same time as
Config register, bits 0–6 (MODE), not afterwards.
b13 ERROR (Data Pump Error: all modes)
This bit is set to 1 when the data pump detects an internal error
condition such as an invalid Config code. The host should reset the
data pump.
b12 RESERVED
b11 RESERVED
b10 MCUCTRL (Manual Handshake: V.22/V.22bis/B212A)
This bit allows the host to control the handshake process in V.22bis.
(See Manual Handshake Procedures on page 59 for more
information).
b9 RESERVED
b8 SRESET (Soft Reset: all modes)
Set this bit to soft reset the data pump. The data pump sets SRESET
to 0 when the software reset completes.
b7 Unused. Set this bit to 0.
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
35
b0–6 MODE (Data Mode Configuration: selects a mode)
Selects the data pump operation mode. All modes unlisted below
should be considered Reserved. The host should read MODE, one
time after writing it, to allow the data pump enough time to begin
operation in the new mode. Setting MODE to 0 (STANDBY) starts
the IDLE mode of operation, not the power-saving SLEEP mode.
Data Mode Specified
0 Standby
1 Transmit tones using both generators simultaneously
2 Detect tones/BiQuads using all discrete tone detectors and
biquad tone detectors simultaneously
3 Dial
4 Simultaneous transmission of tones (mode 0X01) and
detection of tones (mode 0x02)
8 V.22bis 2400 bps/1200 bps mode
9 V.22 1200 bps mode
B Bell 212A 1200 bps mode
10 V.21 300 bps mode
11 Bell 103 300 bps mode
13 V.23 1200 bps Tx/75 bps Rx mode
14 V.23 75 bps Tx/1200 bps Rx mode
Table 20. Modem Data Pump Word Definitions (Continued)
Register & Address
(hex)
Default
Value Function and Explanation
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
36
Trnctrl 01FE 0H Training Control Register
The data pump sets this location to its default value at any reset and
when the host sets Config register, bits 0–6 (MODE) to 0 or to any
data mode. This RAM location controls the handshake process
during a manual training process (see Manual Handshake
Procedures on page 59 for an example on the use of this interface).
This RAM location has no effect when data mode is entered (Trnctrl
is set to 5 or 6).
Table 20. Modem Data Pump Word Definitions (Continued)
Register & Address
(hex)
Default
Value Function and Explanation
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
37
b7 SB1DET–Scrambled Binary 1 Detected (1200 bps or
2400 bps). Debounced through 30 ms.
b6 S1DET–S1 Detected. Debounced through 27 ms
b5 USB1DET–Unscrambled Marks Detected (1200 bps)
b4 SB0DET–Scrambled Binary 0 Detected (1200 bps or
2400 bps)
b3 V22bis Force 16 Way Decisions.
b0–2 TXCTRL Transmitter Control. Set TXCTRL to control the
output of the data pump, using the table below as a guide. The
default frequency for the transmitted tone (TXCTRL is 7) is
2225 Hz, and may be changed after setting TXCTRL by
changing ToneGenA appropriately. The tone level is controlled
by TxLevel.
Value V.22/Bell 212A/V.22bis
Sequence Transmitted
0 Silence: squelch transmitter
1 Transmit unscrambled binary 1 at 1200 bps
2 Transmit S1 signal
3 Transmit scrambled binary 1 at 1200 bps
4 Transmit scrambled binary 1 at 2400 bps
5 Begin V.22, or Bell212A, 1200 bps data mode
6 Begin V.22bis 2400 bps data mode
7 Transmit tone. The default frequency for the
transmitted tone is 2225 Hz, and may be
changed after setting TXCTRL to 7 by changing
ToneGenA approximately. The tone level is
controlled by TxLevel.
Value FSK (V.21/ Bell 103/ V.23) Sequence
Transmitted
0 Silence: squelch transmitter
1 Transmit marks (binary 1)
2 Transmit spaces (binary 0)
5 Begin FSK Data Mode
7 Transmit tone. Set the frequency to be
transmitted by changing ToneGenA after setting
TXCTRL is 7. The tone level is controlled by
TxLevel.
Table 20. Modem Data Pump Word Definitions (Continued)
Register & Address
(hex)
Default
Value Function and Explanation
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
38
Bufctrl 01FD 0h Buffer Control Register
Table 20. Modem Data Pump Word Definitions (Continued)
Register & Address
(hex)
Default
Value Function and Explanation
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
39
b15..
b8
Set these bits to 0 when setting Bufctrl.HDLC to 1.
b7 HDLC (Set HDLC Mode: all data modes)
Set HDLC mode. When parallel data transfer mode is selected
(TPDM is 1) and HDLC is set, the data pump transfers data
using the synchronous HDLC mode. In serial mode (TPDM is
0), this bit has no effect.
The host should set bits 8–15 to 0 when it sets this bit to 1.
b3 SCRDIS (Scrambler Disable: V.22, V.22bis, Bell 212A)
Set this bit to disable the transmitter scrambler. This action
takes precedence over TRNCTRL/TXCTRL.
b2 TXMHLD (Hold Tx Output to Marks: all modes)
Set this bit to force the data pump to transmit only marks to the
remote modem, disregarding data received from the host.
b1 DSCRDIS (Descrambler Disable: V.22, V.22bis, Bell 212A).
Set this bit to disable the receiver descrambler.
b0 RXMHLD (Hold Rx Output to Marks: all modes)
Set RXMHLD to 1 to cause the data pump to transmit only
marks to the host, disregarding data received from the remote
modem.
Table 20. Modem Data Pump Word Definitions (Continued)
Register & Address
(hex)
Default
Value Function and Explanation
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
40
ToneStatus 01FC 080h Biquad Tone Detector Control and Status, Dial Control
The data pump sets this location to its default value at any reset.
Table 20. Modem Data Pump Word Definitions (Continued)
Register & Address
(hex)
Default
Value Function and Explanation
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
41
b15 TONEA (Tone A Detected)
The tone frequency programmed in biquad detector A is
detected if this bit is set.
b14 TONEB (Tone B Detected)
The tone frequency programmed in biquad detector B is
detected if this bit is set.
b13 Cascade Biquad Tone Detectors A & B
The two 4th-order biquad tone detectors can be cascaded to
form a single 8th-order biquad tone detector if this bit is set by
the host. The result of the cascaded biquad tone detector is
available in ToneStatus, bit 15.
b7 TONEDIAL (Use DTMF to Dial)
This bit causes the data pump to use DTMF tone dialing when
in dialing mode (Config register, bits 0–6 (MODE) is 3).
b5 SQRDIS (Squarer Disable)
Set SQRDIS to 1 to cause the data pump to provide the output
of biquad detector A directly to the input of biquad detector B,
without first squaring it. SQRDIS is valid only when the biquad
tone detectors are cascaded (see ToneStatus, bit 13).
b4 TIMEDIAL (Timed Dialing)
Set TIMEDIAL to 1 to cause the data pump to generate timed
DTMF tones or pulse dialing. If TIMEDIAL to 0, continuous
dialing is used.
b0–
b3
DIAL DIGIT The DTMF digit to be dialed is set here before
Config is set for DTMF transmit. See the table below to
determine how to set this parameter. For pulse dialing, only
digits 0 through 9 are valid:
Digit Value
00
11
22
33
44
55
66
77
88
Table 20. Modem Data Pump Word Definitions (Continued)
Register & Address
(hex)
Default
Value Function and Explanation
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
42
Dpctrl 01FA 0H Data Pump Miscellaneous Controls
Do not modify this location during automatic handshake or retrain.
The data pump sets this location to its default value at any reset.
b15 TXSQLCH (Squelch Transmitter: all modes)
b14 AGCFRZ (Freeze Autogain Control: V.22/V.22bis/Bell 212A)
Set to 1 to freeze AGC adaptation.
b13 Reserved for Internal Use
Set to 0 when Dpctrl is written by the host.
b12 Reserved for Internal Use
Set to 0 when Dpctrl is written by the host.
b10–
11
LEQTYPE (Link Equalizer Type) Set LEQTYPE to 0 for a flat
line equalizer, or LEQTYPE to 1 for a 3002 line equalizer.
b9 GTEN (Guard Tone Enable: V.22/V.22bis/Bell 212A)
This bit controls if a V.22/V.22bis/Bell 212A link has a guard
tone or not. If ia guard tone is set, the tone is transmitted along
with the carrier. This bit must not be enabled in modes other
than V.22, V.22bis, and Bell 212A. This bit must be set prior to
selecting the mode in the Config. register.
b8 GTSEL (Guard Tone Select: V.22/V.22bis/Bell212A)
This bit selects the guard tone frequency: 0 is 550 Hz, and 1 is
1800 Hz. This bit must be set prior to selecting the mode in the
Config. register.
b4 EQE (EQMlev > EQMMaxThresh: V.22, V.22bis, BELL
212A)—The data pump sets EQE to 1 when EQMlev exceeds
the threshold set in EQMMaxThresh.
b3 EQFRZ (Freeze Equalizer: all modes)
Set to 1 to freeze adaptive equalizer (AEQ) adaptation. AEQ
coefficients are lost when a mode change (in the Config.
register) occurs.
b2 TSPACE (Select T-spaced vs. T/2-spaced Equalizer)
This bit, when set, selects a T-spaced AEQ. When reset, it
selects a T/2 spaced AEQ. V.22/V.22bis/Bell 212A modes
always use a T/2-spaced equalizer.
Table 20. Modem Data Pump Word Definitions (Continued)
Register & Address
(hex)
Default
Value Function and Explanation
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
43
MStatus 01F 0H Modem Control and Status
b11 RETRAIN (Force a Retrain: V.22bis)
When set, this bit forces a retrain if the data pump has a
V.22bis connection. The CDET (Register 5 bit 1) bit is set to 0
when the retrain begins. The CDET bit is set to 1 when the
retrain is complete. The data pump sets RETRAIN to 0 when
the retrain procedure begins and when the host sets Config
register, bits 0–6 (MODE) to any data mode.
b2 OFFHOOK (Enable Off-Hook Relay)
The data pump sets the OH signal to the inverted value of this
bit. For example, when OFFHOOK is 1, the data pump sets OH
Low. When OH is Low, the off-hook relay closes for the signal
from the telephone line to be presented to the data pump.
The data pump sets OFFHOOK to 1 when the host sets Config
register, bits 0–6 (MODE) to 3 (dial), or to any data mode. The
data pump sets OFFHOOK to 0 at any reset.
Modify OFFHOOK only when Config register, bits 0–6 (MODE)
is set to 0 (STANDBY) to avoid interference with the data
pump’s use of this bit.
EQM MaxThresh 01F6 400H EQM Maximum Threshold
The upper acceptable limit for the Eye Quality Monitor (EQM). During
V.22, V.22bis or Bell 212A data mode, the EQMlev exceeds
EQMMaxThresh, and the data pump sets Dpctrl, bit 4 (EQE) to 1.
The data pump sets this location to its default value at any reset.
Changes in value take effect at the end of the next baud period.
RLSDOffThresh 01F5 –48 dBm Received Line Signal Detect OFF Threshold
RLSDOnThresh 01F4 –43 dBm Received Line Signal Detect ON Threshold
Table 20. Modem Data Pump Word Definitions (Continued)
Register & Address
(hex)
Default
Value Function and Explanation
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
44
This register represents the upper and lower thresholds of the
received telephone line energy. If Reg5, bit 1 (CDET) to 1, and the
telephone line energy falls below RLSDOffThresh, the data pump
sets Reg5, bit 1 (CDET) to 0. If Reg5, bit 1 (CDET) is 1 and the
telephone line energy rises above RLSDOnThresh the data pump
sets Reg5, bit 1 (CDET) to 1. These thresholds stabilize Reg5, bit 1
(CDET) by hysteresis when RLSDOffThresh is set to a lower value
than RLSDOnThresh. Use the following formula when thresh is
specified in dBm and is less or equal to 0:
The data pump sets this location to its default value at any reset.
Changes in value take effect after the next baud period.
Table 20. Modem Data Pump Word Definitions (Continued)
Register & Address
(hex)
Default
Value Function and Explanation
RLSDval 10 power()2030 32767()=
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
45
CONN_Mode 01F0 Connection Mode Register
This RAM location reports the connection type and speed
established after handshake is completed. The values for this
location are the same as those for Config register, bits 0–6 (MODE):
Value Data mode specified
8 V.22bis 2400 bps mode
9 V.22 1200 bps mode
B Bell 212A 1200 bps mode
10 V.21 300 bps mode
11 Bell 103 300 bps mode
13 V.23 1200 bps Tx/75 bps Rx mode
14 V.23 75 bps Tx/1200 bps Rx mode
Table 20. Modem Data Pump Word Definitions (Continued)
Register & Address
(hex)
Default
Value Function and Explanation
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
46
Notch 01A2-1A6 below Notch Filter Coefficients
These RAM locations contain the notch filter coefficients. The notch
filter is a biquad section (2nd-order IIR) used during simultaneous
transmission and detection of tones (Config register, bits 0–6
(MODE) is 4) to remove a single transmitted tone from the received
signal used by the tone detectors. See the section Simultaneous
Transmission and Detection of Tones on page 56 for more
information.
The default values for these locations are 0, 0, 0, 0, and 0x4000
respectively. The default values cause the notch filter to not modify
the received signal used by the tone detectors. The data pump sets
these locations to their default values when the host sets Config
register, bits 0–6 (MODE) to 4 to begin simultaneous transmission
and detection of tones.
The host must not modify these locations unless Config register, bits
0–6 (MODE) is 4.
To calculate the coefficients to remove a frequency f from the
received signal, use these following formulae where,
r = pole radius (0£r<1), 0.9 is recommended
q = 2pf/9600, f is the frequency (Hz) to be removed, (0£f<4800)
a= (1-2rcos(q)+r2)/(2-2cos(q))
Location 0x1A2 0x1A3 0x1A4 0x1A5 0x1A6
Name b2 b1 a3 a2 a1
Formula -r 2 2rcos(q) a -2acos(q) a
The cosine function is calculated in radians, not degrees.
Before writing the coefficients to data pump RAM, convert them to
the format used by the data pump by multiplying each coefficient by
16,383, and round to the nearest 16-bit signed integer. For example,
2.0 becomes 32,766 (0x7FFE), -1.0 becomes -16,383 (0xC001), -2.0
becomes -32,766 (0x8002).
These formulae determine the coefficients of a biquad section with
symmetric zeroes, a zero radius of 1.0, a pole radius of r, and pole
and zero frequencies of f Hz.
See Simultaneous Transmission and Detection of Tones on page -56
for more detail and notch filter coefficients for the default frequencies
detected by the discrete tone detectors.
Table 20. Modem Data Pump Word Definitions (Continued)
Register & Address
(hex)
Default
Value Function and Explanation
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
47
DTMFh_lev 01A1 –6 dBm DTMF Transmit Level — High Band
DTMFl_lev 01A0 –9 dBm DTMF Transmit Level — Low Band
These are the transmit levels for the DTMF low band (DTMFl_lev)
and DTMF high band (DTMFh_lev) frequencies. The levels are set
by the following formula where lev is specified in dBm and less or
equal to 0:
Change in value takes effect in 0.1 msec. The data pump sets these
locations to their default values at any reset.
ToneGenA 0191 Tone Generator A
ToneGenB 0196 Tone Generator B
The data pump has two independent tone generators, each
simultaneously generating a pure tone with its own transmit level
when Config register, bits 0–6 (MODE) is 1 (transmit tones). The
outputs of the tone generators are mixed together. The generated
frequencies are set by writing a coefficient to location ToneGenA or
ToneGenB. The coefficient is defined as the following: where f is the
frequency of the tone to be generated:
The transmit levels for tone generators A and B are set in locations
DTMFl_lev and DTMFh_lev, respectively. See “Transmitting Tones”
for more information including a description of setting the tone
transmission levels.
TxLevel 0185 –10 dBm Transmit Power Level
To sets the transmit power level, use the following formula where
power is specified in dBm and less than or equal to –6:
Change in value takes effect at the end of the baud period.
Seq3Count 18E None Dial Timer Inter-Pulse Count See Seq1Count
Seq2Count 18D 95 msec Dial Timer Off Count See Seq1count
Table 20. Modem Data Pump Word Definitions (Continued)
Register & Address
(hex)
Default
Value Function and Explanation
DTMFlev 10 lev()2032767=
coeffx
2πf
9600
------------ 4096=
TxLevel 10 power()202048=
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
48
Seq1Count 18C 95 msec Dial Timer On Count
Seq1Count, Seq2Count, and Seq3Count are timer counts in units of
1/9600 of a second, for DTMF and pulse dialing.
For DTMF dialing, Seq1Count is the length of the digit on-time, and
Seq2Count is the length of the digit off-time.
For pulse dialing, Seq1Count is the length of the break period,
Seq2Count is the length of the make period, and Seq3Count is the
length of the pause after dialing a digit.
The data pump sets these locations to their default values when the
host sets Config register, bits 0–6 (MODE) to 3 (dial).
Biquad A Coefficients
0155–015E
Biquad A and B Coefficients
Biquad B Coefficients
015F–0168
These locations program the frequency range for the biquad tone
detectors. The coefficients are in the following order:
b2, b1, a3, a2, a1, B2, B1, A3, A2, A1.
See the section on Call-Progress Monitoring Using Biquad Tone
Detectors on page -54 for more information.
DTD0–DTD15
0145–0154
Tone Detector Coefficients
These locations set the tone detector coefficients for the 16 detectors
in the system. The coefficients are set by using the following formula
where (2 pi x ftone/9600) is measured in radians:
See “Tone Detectors” for more information.
EQMlev 092 Eye Quality Monitor (EQM)
This register provides a measure of line quality during V.22, V.22bis,
or Bell 212A, while computing a running average of the mean square
error (MSE) of the received point and decision point. When EQMlev
exceeds EQMMaxThresh, Dpctrl.EQE is set to 1; otherwise, it is set
to 0.
Table 20. Modem Data Pump Word Definitions (Continued)
Register & Address
(hex)
Default
Value Function and Explanation
coefftone
2πftone
9600
----------------------
⎝⎠
⎛⎞
cos 32767=
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
49
BiQuadOffThresh 052 –42 dBm Biquad Tone Detectors OFF Point
The data pump sets this location to its default value when Config
register, bits 0–6 (MODE) is set to 2 by the host.
This location can be used to set the off point for the Biquad tone
detectors. If the power level is below this value, the detector turns off
the detection status bit.
Use the following formula to set the threshold where the level is in
dBm:
The data pump sets this location to its default value when the host
sets Config register, bits 0–6 (MODE)=2 (detect tones).
BiQuadOnThresh 051 –35 dBm Biquad Tone Detectors ON Point
The data pump sets this location to its default value when Config
register, bits 0–6 (MODE) is set to 2 by the host.
This location can be used to set the ON point for the Biquad tone
detectors. If the power level is above this value, the detector turns
the detection status bit ON.
Use the following formula to set the threshold where level is in dBm:
The data pump sets this location to its default value when the host
sets Config register, bits 0–6 (MODE) is 2 (detect tones).
DTD0Lev– 26–35
DTD15Lev
Discrete Tone Detector Levels
These locations represent the tone detector levels when in the Tone
Detect mode (Config register, bits 0–6 (MODE) has the value of
02h). These areas may be used by the host to determine which tone
is dominant if multiple tones are detected. These particular locations
have no default.
DTDThresh 03 –24 dBm Discrete Tone Detector Threshold
Table 20. Modem Data Pump Word Definitions (Continued)
Register & Address
(hex)
Default
Value Function and Explanation
Threshold 10 level()2032767=
Threshold 10 level()2032767=
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
50
Transmitting Tones
The data pump has two tone generators, each with their own transmit level. The
outputs are mixed together. The frequency of the tones are programmed by writ-
ing coefficients to locations TONEGENA and TONEGENB. The transmit levels are
programmed by writing values to locations DTMF_LEV and DTMFH_LEV. If only
one tone is to be transmitted, the other tone generator’s transmit level is set to 0 to
disable it.
This location programs the threshold for all discrete tone detectors.
Any signal whose signal strength is above this threshold turns on the
detection bit for that tone. Any signal below this threshold turns off
the detection bit for that tone. This location can be programmed
using the following formula:
This location must be programmed after Config register, bits 0–6
(MODE) is set to detect tone (02h), because the data pump resets
this location to its default when Config register, bits 0–6 (MODE) is
set to tone detect mode. See “Tone Detectors” for more information.
DTDStatus 00 Discrete Tone Detector Status
This location contains the status of the tone detectors when in tone
detect mode (Config register, bits 0–6 (MODE) is 02h). Bit 0 contains
the status of detector 0, bit 1 (the status of detector 1), and so on.
This location is only valid when in tone detection mode.
The response time of the tone detectors is dependent upon the
frequency of the tone being detected and sampling rate of the data
pump.
When the host sets Config register, bits 0–6 (MODE) to 0
(STANDBY), or resets the data pump, the data pump writes its part
number into this location.
Table 20. Modem Data Pump Word Definitions (Continued)
Register & Address
(hex)
Default
Value Function and Explanation
Threshold 10 level()2032767=
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
51
Figure 10. Transmitting Tones
For example, to generate a 2100 Hz Answer Tone for 3.3 seconds at –10dBm:
1. Set location TONEGENA to 015FEh.
2. Set location DTMFL_LEV to 0287h.
3. Set location DTMFH_LEV to 0, disabling TONEGENB.
4. Set CONFIG register, bits 0–6 (MODE) to 1 (transmit tone).
5. Wait 3.3 seconds before setting CONFIG register, bits 0–6 (MODE) to 0
(STANDBY).
Tone Detectors
There are 16 tone detectors in the data pump. They are programmed by setting
up one word for each tone detector. There is one global threshold setting for all 16
tone detectors. The address for the tone detectors are as follows:
Tone Detector Coefficients—01450154h
(Tone0–Tone15)
Tone Detector Receive Levels—026h035h
(DTD0lev–DTD15lev)
Tone Detector Threshold–03h
+
**
High Band Tone (0x196) Low Band Tone (0x196)
DTMFh_lev (0x1A1) DTMFl_lev (0x1A0)
Transmitted Tones
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
52
Tone Detector Status–00h
The tone coefficients are calculated as follows:
The default values on reset are represented in Ta ble 21 :
The threshold is calculated as follows:
where level is in dBm. The default value for the threshold is –24 dBm. This value
is set every time CONFIG register, bits 0–6 (MODE) is set up to detect tones. If the
user wishes a different value, it should be reloaded after CONFIG register, bits 0–6
(MODE) is set to detect tones.
Table 21. Tone Detector Default Values
Tone Detector Frequency Detected (Hz)
0697
1770
2852
3941
41209
51336
61477
71633
81750
91800
10 1650
11 2225
12 2250
13 1300
14 2100
15 600
coefftone
2πftone
9600
---------------------
⎝⎠
⎛⎞
cos 32767=
Threshold 10 level()2032767=
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
53
To use the tone detectors, perform the following steps:
1. Set up the tone detector coefficients (01450154h).
2. Set CONFIG register, bits 0–6 (MODE) to tone detect mode (02h).
Tone detect mode is the same mode used for Biquad tone
detectors, because both Biquad tone detectors and tone
detectors run concurrently. As a result, the host is allowed to
look for individual answer tones as well as call-progress tones.
3. Set up the tone detector threshold DTDTHRESH.
4. Inspect the tone detector status.
5. When the detection phase is complete, set CONFIG register, bits 0–6 (MODE)
to STANDBY (00h).
Figure 11. Tone Detectors
Note:
Level 0 Tone 0
Tone 15Level 15
Tone Detector Levels
(026h–035h)
Threshold (03h)
Comparator
Tone Detector Status
(00h)
Tone Detector
Coefficients
(0145h–0154h)
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
54
Call-Progress Monitoring Using Biquad Tone Detectors
The data pump contains two biquad tone detectors that are capable of detecting
energy in a frequency band. These detectors are useful for call-progress
monitoring, where the exact frequency of the incoming signal is not known. Each
biquad tone detector is composed of two cascaded, independently
programmable, biquad sections. The order of biquad coefficients in RAM is:
b2, b1, a3, a2, a1, B2, B1, A3, A2, A1
The addresses for the coefficients for the two sections start at 0155H (TONEA) and
015FH (TONEB). The sample rate is 9600 Hz.
The transfer equation for each section of the biquad tone detector is of the form:
There are two threshold settings affecting both biquad tone detectors. The loca-
tions BIQUADOFFTHRESH and BIQUADONTHRESH define the on and off hystere-
sis points where level is in dBm:
1. BIQUADOFFTHRESH052h–OFF point.
2. BIQUADONTHRESH051h–ON point.
Use the following formula to set the thresholds:
The default values are –35 dBm (BiQuadOnThresh) and –42dBm (BiQuad-
OffThresh).
The biquad tone detector status is contained in TONESTATUS, bit 15 (TONEA) and
TONESTATUS, bit 14 (TONEB). The response time of the biquad tone detectors
depends on the coefficients and the input signal frequency.
The biquad tone detectors can be cascaded to form one tone detector with 4
biquad sections (an 8th order IIR filter) by setting ToneStatus.CASCADE. In this
case, TONESTATUS, bit 15 (TONEA) contains the status of the cascaded tone
detector, and TONESTATUS, bit 5 (SQRDIS) controls whether the output of biquad
tone detector B is squared before being input to biquad tone detector A.
The default settings for the biquad tone detector coefficients are indicated in
Table 22 and Ta ble 2 3 , where the first row is TONEA and the second row is
TONEB. The data pump sets the biquad tone detector coefficients to their default
settings at any reset.
Hn
2a1a2Z1 a3Z2
++()
12b1Z1
–2b2Z2
()
------------------------------------------------------=
Threshold 10 level()2032767=
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
55
To use the Biquad tone detectors to perform Call-Progress Monitoring, execute
the following:
1. Set the coefficients. Coefficients which are changed remain valid until the next
reset.
2. Set CONFIG register, bits 0–6 (MODE) to 2 (detect tones). The biquad tone
detectors and the discrete tone detectors operate simultaneously to allow the
host to look for call-progress tones and individual answer tones at the same
time.
3. Set the BIQUADONTHRESH and BIQUADOFFTHRESH values.
4. If the two biquad tone detectors are to be cascaded, set TONESTATUS, bit 13
(CASCADE) to 1. If required, set TONESTATUS, bit 5 (SQRDIS) to 1 to disable
the squarer when the tone detectors are cascaded.
5. Inspect TONESTATUS, bit 15 (TONEA) and TONESTATUS, bit 14 (TONEB) for
the detection status. If TONESTATUS
, bit
13
(
CASCADE
)
is set, only inspect
TONESTATUS, bit 15 (TONEA).
6. Time the ON time and the OFF time of the tone(s) to provide the cadence,
which is used to identify the type of call-progress tone detected.After call-
progress monitoring is complete, set CONFIG register, bits 0–6 (MODE) to 0
(STANDBY).
Table 22. Biquad Section 1 Coefficients (Hex)
Band (Hz) b2 b1 a3 a2 a1
245–650 C774 7601 0716 F5FB 0716
360–440 C148 7A66 FF5C 0000 00A4
Table 23. Biquad Section 2 Coefficients (Hex)
Band (Hz) B2 B1 A3 A2 A1
245–650 C63E 6FE1 F8EA 0000 0716
360–440 C7CD 7438 01AA FEBC 01AA
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
56
Simultaneous Transmission and Detection of Tones
Setting CONFIG register, bits 0–6 (MODE) to 4 enables the simultaneous operation
of all Discrete Tone Detectors, Biquad Tone Detectors, and Tone Generators.
Please refer to the sections Transmitting Tones on page 50, and Tone Detectors
on page 51 for descriptions of how to use each of these features by itself.
The host uses simultaneous transmission and detection of tones when it needs to
detect tones while generating a single tone. An example during the call establish-
ment phase of a special purpose modem.
To prevent a single generated tone from interfering with the tone detectors the
host programs data pump RAM locations 0x1A2 through 0x1A6 with coefficients
for a notch filter to remove a single tone from the received signal used by the tone
detectors.
The notch filter coefficients are set to their default values when the host sets CON-
FIG register, bits 0–6 (MODE) to 4, so the host writes new values to these locations
after setting CONFIG register, bits 0–6 (MODE) to begin simultaneous transmission
and detection of tones. The default notch filter coefficient values cause the notch
filter to not change the received signal used by the tone detectors.
The notch filter is a biquad section (2nd-order IIR filter). The values of the coeffi-
cients determine the frequency to be removed. Refer to the description of RAM
location “Notch” for the formulae used to compute these commonly used coeffi-
cient values:
Table 24. Notch Filer Coefficients
f (Hz) 0x1A2 0x1A3 0x1A4 0x1A5 0x1A6
default 0x0 0x0 0x0 0x0 0x4000
600 0xCC2A 0x6A6D 0x3DCD 0x8DCF 0x3DCD
1300 0xCC2A 0x4BF4 0x3A89 0xB2CF 0x3A89
1650 0xCC2A 0x364D 0x3A34 0xC921 0x3A34
1750 0xCC2A 0x2F8A 0x3A24 0xD002 0x3A24
1800 0xCC2A 0x2C15 0x3A1D 0xD385 0x3A1D
2100 0xCC2A 0x1679 0x39FE 0xE95F 0x39FE
2225 0xCC2A 0x0D2A 0x39F5 0xF2C1 0x39F5
2250 0xCC2A 0x0B4A 0x39F4 0xF4A4 0x39F4
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
57
Failing to program the notch filter to the same frequency as
the transmitted tone when CONFIG register, bits 0–6 (MODE)
is 4 seriously reduces the accuracy and sensitivity of the data
pump's tone detectors.
It is not possible to generate two tones simultaneously when
CONFIG register, bits 0–6 (MODE) is 4 without seriously
reducing the accuracy and sensitivity of the data pump's tone
detectors, even if the notch filter is programmed to remove
one of the generated tones.
The notch filter attenuates received signals at frequencies
close to the notched frequency. For the commonly used
coefficient values shown, signals within 100 Hz of the notch
frequency are attenuated by 6 dB or more, signals 320 Hz or
more from the notch frequency are attenuated by less than
1 dB.
Dialing
The data pump may be programmed to dial using either DTMF tones, or make/
break pulses. By default, the data pump is configured for tone (DTMF) dialing.
Tone Dialing
Tone dialing may be either continuous or timed. Continuous dialing generates the
required tone until the host specifically shuts it OFF. Timed dialing allows the host
to specify the on/off timing of the digit dialed.
The following example assumes the host controls the data pump’s RTS through
Reg4, bit 3 (RTSP). To perform tone dialing:
1. Set Reg4, bit 3 (RTSP) to 0, TONESTATUS, bit 4 (TIMEDIAL) to 1 for timed
dialing, or to 0 for continuous dialing. Set CONFIG register, bits 0–6 (MODE) to
3 (DIAL). If timed dialing is required, set the timer locations SEQ1COUNT and
SEQ2COUNT to 1.
2. Control the twist by setting locations DTMFH_LEV and DTMFL_LEV to specify
the transmit levels of the high tone and the low tone, respectively.
Notes:
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
58
3. Set up the digit to be dialed in TONESTATUS bits 03 (DIGIT) according to the
following table:
1. For continuous operation, set Reg4, bit 3 (RTSP) to 1 to start transmitting the
DTMF tone, and to 0 to stop.
2. For timed operation, set Reg4, bit 3 (RTSP) to 1 to dial the digit. The data pump
sets Reg5, bit 4 (DPBUSY) to 1 while it dials the digit. Set Reg4, bit 3 (RTSP) to
0 after the digit has been dialed. The data pump sets Reg5, bit 4 (DPBUSY) to
0 when the dial sequence is completed.
3. To dial additional digits, repeat the procedure starting at step 3.
4. When dialing is complete, set CONFIG register, bits 0–6 (MODE) to 0
(STANDBY).
The Z02922 data pump exhibits limited maximum output power. This feature
applies not only to data mode, but also to DTMF and other tone generation.
During DTMF or tone generation, if the sum of the transmit levels programmed
Table 25. Tone Dialing
Digit Value
00
11
22
33
44
55
66
77
88
99
*10
#11
A12
B13
C14
D15
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
59
into DTMFh_lev and DTMFl_lev exceeds 30720 (0x7800) the data pump may not
properly transmit the tones.
When transmitting DTMF with a required twist (power difference between high
and low bands), use this formula to determine the maximum DTMF transmit levels
where x is the DTMF low band (DTMFL_LEV) transmit level in dBm, and x+b is the
DTMF high band (DTMFH_LEV) transmit level in dBm (b is the twist in dBm):
10^(x/20) + 10^((x+b)/20) <= 30720/32768
The values for maximum transmit levels (DTMFl_lev + DTMFh_lev = 30720) at
common twist values are described in the following table:
Pulse Dialing
Pulse dialing is very similar to timed dialing, with the exception that the tone gen-
erated is a cadence of pulses output on the OH pin and mirrored in RAM location
MSTATUS, bit 2 (OFFHOOK). To implement pulse dialing, follow the instructions for
timed tone dialing, except:
1. Select pulse instead of tone dial mode by setting location TONESTATUS, bit 7
(TONEDIAL) to 0 TONESTATUS, bit 4 (TIMEDIAL) has no effect. Pulse dialing
is always timed.
2. After setting CONFIG register, bits 0–6 (MODE) to 3 (DIAL), set SEQ1COUNT,
SEQ2COUNT, and SEQ3COUNT to the required make and break times, pausing
after each digit is dialed. For North American applications requiring a
100 msec cadence, a 39%/61% make/break ratio, and a 0.75 second pause,
set locations SEQ1COUNT to 024Ah, SEQ2COUNT to 0176h, and SEQ3COUNT to
01C20h.
Manual Handshake Procedures
The V.22bis data pump software allows the host to control every aspect of the
handshake procedure. The host instructs the data pump which signal to send at
which time. The data pump sets status bits when it receives signals from the
remote modem.
Table 26. Maximum Transmit Levels
DTMFl_lev DTMFh_lev x x+b b
14,477 16,243 -7.10 -6.10 1
13,599 17,121 -7.64 -5.64 2
12,733 17,987 -8.21 -5.21 3
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
60
The host begins a manual handshake by setting CONFIG register, bit 10 (MCUC-
TRL) to 1 to prevent the data pump from transmitting its own handshake signals.
The host monitors the receive signal status bits in location TRNCTRL and trans-
mits its own responding signals by setting TRNCTRL, bits 02 (TXCTRL) transmits
the following values:
In the following section, certain acronyms are used to denote the various V.22bis
handshake signals. These are:
Originating Modem
1. Take the telephone line off-hook and dial.
2. Program the discrete tone detectors and the biquad tone detectors for answer
tones (2100 Hz) and call-progress tones (200–600 Hz). Look for both the
answer tone and call-progress tones (such as busy tones, ring back and so
on).
3. Upon receiving the 2100 Hz answer tone, set CONFIG to 4409h (V.22, V.22bis
originate, manual handshake).
Table 27. Signal Transmit Values
Trnctrl Value Signal Transmitted
0 Silence
1 1200 bps Unscrambled Binary 1
2S1
3 1200 bps Scrambled Binary 1
4 2400 bps Scrambled Binary 1
5 1200 bps data mode or FSK
6 2400 bps data mode
7 2225 Hz tone
Table 28. Handshake Acronyms
Name Meaning
USB1 Unscrambled Binary 1
SB1 Scrambled Binary 1
S1 S1 Signal
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
61
4. Wait for TRNCTRL, bit 5 (USB1DET) to be set to 1 (USB1 DETECTED)
continuously for 155 msec.
5. Wait for 456 msec.
6. Set TRNCTRL, bits 02 (TXCTRL) to 2 (TRANSMIT S1 SIGNAL) for 100 msec.
7. Set TRNCTRL, bits 02 (TXCTRL) to 3 (TRANSMIT SB1), and inspect TRNCTRL,
bit 6 (S1DET) and TRNCTRL, bit 7 (SB1DET) repeatedly for either a received S1
signal or SB1. If SB1 is received for 270 msec, proceed to step 11. If S1 is
received, wait for the S1 to end. Wait for an additional 450 msec.
8. Set TRNCTRL, bit 3 (V22BIS) to 1 (force a 16-way receive decision). Wait for
150 msec.
9. Set TRNCTRL, bits 02 (TXCTRL) to 4 (transmit SB1 at 2400 bps). Wait for 200
msec.
10. Set TRNCTRL, bits 02 (TXCTRL) to 6 (2400 bps DATA mode). Data is now
being transmitted and received at 2400 bps.
11. In step 7, if SB1 is detected instead of the S1 signal, wait for 765 msec.
Proceed to set TRNCTRL, bits 02 (TXCTRL) to 5 (1200 bps DATA mode).
Data is now being transmitted and received at 1200 bps.
Answering Modem
1. At a ring signal or a command from the host, take the phone off-hook and
transmit silence for 1.8 to 2.5 seconds.
2. If required, use the tone generators to transmit a 2100 Hz tone for 2.6 to 4
seconds. This tone is the V.25 answer tone.
3. Set CONFIG register, bits 0–6 (MODE) to 0 (STANDBY) and transmit silence for
75 msec.
4. Set CONFIG to 8 (ANSWER MODE, MANUAL HANDSHAKE). After setting
Config, the host is ready to receive data from the remote modem. The data
pump holds the received data to marks (that is, receives nothing) until the
modem is able to receive data from the remote modem.
5. Set TRNCTRL, bits 02 (TXCTRL) to 1 (transmit USB1).
6. Inspect TRNCTRL, bit 6 (S1DET) and TRNCTRL, bit 7 (SB1DET) repeatedly for
either a received S1 signal or SB1. If SB1 is received continuously for 270
msec, proceed to step 12. If an S1 signal is received (TRNCTRL, bit 6 (S1DET)
is 1) wait for the S1 to end.
7. Set TRNCTRL, bits 02 (TXCTRL) to 2 (transmit S1 signal) for 100 msec.
8. Set TRNCTRL, bits 02 (TXCTRL) to 3 (transmit SB1) for 350 msec.
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
62
9. Set TRNCTRL, bit 3 (V22BIS) to 1 (force 16-way receive decisions). Wait for
150 msec.
10. Set TRNCTRL, bits 02 (TXCTRL) to 4 (transmit SB1 at 2400 bps). Wait for 200
msec.
11. Set TRNCTRL, bits 02 (TXCTRL) to 6 (2400 bps data mode). Data is now
being transmitted and received at 2400 bps.
12. If in step 6., SB1 is received instead of an S1 signal, set TRNCTRL, bits 02
(TXCTRL) to 3 (Transmit SB1) for 765 msec. From that point, set TRNCTRL,
bits 02 (TXCTRL) to 5 (1200 bps DATA mode). Data is now transmitted and
received at 1200 bps.
Making a V.22bis Connection
In the following example, all timing is performed by the host.
Originating Modem
1. Take the telephone line OFF-HOOK and dial.
2. Program the discrete tone detectors and the biquad tone detectors for answer
tones (2100 Hz) and call-progress tones (200–600 Hz). Look for the answer
tone and call-progress tones (busy tones, ring back, etc.)
3. Upon receiving the 2100 Hz answer tone, set CONFIG to 4008h (V.22bis
originate). After setting Config, the host should be prepared to receive data
from the remote modem. The data pump holds the received data to marks
(that is, receives nothing) until the modem is able to receive data from the
remote modem.
4. When the data pump establishes a V.22bis connection, and is ready to
transmit data to the remote modem, it sets Reg5, bit 1 (CDET) to 1. Data may
now be transmitted or received between the modems.
Answering Modem
1. Upon a ring signal or command from the terminal, take the phone off-hook and
transmit silence for 1.8–2.5 seconds.
2. If required, use the tone generators to transmit a 2100 Hz tone for 2.6–4
seconds. This tone is the V.25 answer tone.
3. Set CONFIG register, bits 0–6 (MODE) to 0 (STANDBY) and transmit silence for
75 msec.
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
63
4. Set CONFIG to 8 (V.22BIS ANSWER). After setting Config, the host should be
prepared to receive data from the remote modem. The data pump holds the
received data to marks (receives nothing) until the modem is able to receive
data from the remote modem.
5. When the data pump establishes a V.22bis connection, and is ready to
transmit data to the remote modem, it sets Reg5, bit 1 (CDET) to 1. Data may
now be transmitted or received between the modems.
The data pump sets Reg5, bit 1 (CDET) to 0 during carrier
dropouts, retrains, and when the remote modem hangs up the
telephone line. Depending on the data mode, the host may
use Reg5, bit 1 (CDET), Reg5, bit 2 (RTRND), Dpctrl.EQE,
EQMlev and EQMMaxThresh to determine when the remote
modem has initiated a retrain, or has hung up the telephone
line.
During 2400 bps V.22bis data mode, the host may use
Dpctrl.EQE and EQMMaxThresh or EQMlev, to determine
when to initiate a retrain (see Table 20, Mstatus.RETRAIN) to
improve the quality of the connection.
Using HDLC
The data pump includes HDLC firmware operating in all data modes. The HDLC
firmware performs all the necessary operations to frame host-supplied data into
HDLC format, including automatic opening and closing flag generation, zero inser-
tion and deletion, flag and abort detection, and CRC checksum computation and
checking.
HDLC Operation
During HDLC operation, the data pump frames host-supplied asynchronous data
into a synchronous data stream in the transmitter, and extracts the same asyn-
chronous data from the received synchronous data stream in the receiver. The
inclusion of 16-bit cyclic redundancy check (CRC) information in the frames allows
the receiving host to check whether the data has been correctly received.
HDLC data is sent in frames. A frame consists of a number of bytes, each com-
posed of 8 data bits. A frame contains an opening flag, frame data bytes, two CRC
checksum bytes, and a closing flag, respectively. Opening flags and closing flags
indicate the start and the end of a frame, respectively.
Notes:
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
64
A flag, byte value 07Eh, is one of two HDLC control symbols. The other is an
abort, which is any sequence of consecutive binary 1s more than six bits long. If
the frames do not use the bandwidth of the data mode (for example, when there is
no host data to transmit), the modem fills the remaining bandwidth by sending
flags between frames.
Frame data bytes for transmission are supplied by the host to the data pump’s
DATAP register. These bytes are modified by the data pump to ensure that no
more than five consecutive binary 1 bits are sent. To accomplish this modification,
the transmitting modem inserts a single 0 bit after every five consecutive binary 1
bits in the host supplied data. This zero insertion process allows the receiving
modem’s data pump to distinguish between frame data, flags, and aborts. The
receiving modem’s data pump uses a zero deletion process to remove each
inserted 0 bit before returning the data to the receiving modem's host.
When a frame is to be closed, the frame's two CRC checksum bytes are sent
immediately following the frame data. The CRC checksum is computed without
the inserted zeroes. The frame’s closing flag is transmitted following the CRC.
This flag may also serve as the opening flag of the next frame, saving bandwidth.
Enabling HDLC Operation
The data pump’s HDLC firmware is disabled at power-up and any reset, and can
be enabled only in parallel mode (Reg4., bit 4 (TPDM) is 1). To enable HDLC, set
BUFCTRL, bit 7 (HDLC) to 1, and bits 8–15 of BUFCTRL to 0 prior to beginning data
mode operation. The host also reads register DATAP just before starting data
mode to clear DATAP.
These examples demonstrate the use of the data pump in parallel mode to trans-
mit and receive HDLC data frames. The examples assume that the data pump
has just been put in data mode, and HDLC operation is enabled. The data to be
sent or received is the sequence of N bytes (Byte1–ByteN), where Byte1 is sent
(or received) first.
Transmitting
1. When Reg5, bit 7 (TXI) is 1, write Byte1 to DATAP. Repeat this step for each
byte to be transmitted. If Reg4, bit 7 (TXIE) is 1, the data pump generates an
interrupt when it is ready to transmit the next byte, for example, when the byte
sets Reg5, bit 7 (TXI) to 1.
2. When the last byte, ByteN, has been sent, wait for the data pump to set Reg7,
bit 2 (TEND) to 1. This function indicates the data pump has closed the current
frame. The data pump now computes and transmits the CRC checksum and
closing flag for the frame. The data pump does not set Reg7, bit 7 (TEND) to 1
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
65
until at least 8 bit times after it has set Reg4, bit 7 (TXI) to 1, indicating the data
pump is ready to transmit another data byte. To transmit another frame, repeat
steps 1–2.
3. When the data pump begins sending the frame's closing flag, it sets Reg7, bit
2 (TEND) to 0. Transmission of the frame is complete 8 bit times after the data
pump sets Reg7, bit 7 (TEND) to 0.
Receiving
1. Prepare to receive a new frame.
2. When Reg5, bit 6 (RXI) is 1, the data pump has received a byte. First read
register Reg7, followed by DATAP. Register 7 (Reg7) is read first, because the
data pump may change it any time after DATAP is read. If Reg4, 6 (RXIE) is 1,
the data pump generates an interrupt when it sets Reg5, bit 6 (RXI) 1.
Act on the value of Reg7 read in step 2 as follows:
If RXERROR is 0 and EOF is 0, the DATAP value read in step 2 is an HDLC
frame byte. Repeat step 2 to receive all remaining frame bytes.
If RXERROR is 0 and EOF is 1, an HDLC frame with a correct checksum has
been received.
If Byte1–ByteN+3 have been read, with ByteN+3 being the DATAP value just
read, then the two previous bytes (ByteN+1 and ByteN+2), are the frame
checksum bytes; the remaining bytes (Byte1–ByteN) are the frame data bytes.
3. Continue from step 1 to receive the next frame. If RXERROR is 1, discard any
received frame bytes and continue from step 1 to receive the next frame.
4. If DATAP was 0FF, an HDLC abort sequence was received. If DATAP was
07Eh, an HDLC frame with an incorrect checksum was received.
Data Pump Firmware Version Number and Part Number
The data pump code version can be obtained any time the RAM location CONFIG
register, bits 0–6 (MODE) is set to 0. The data pump writes the part number to data
pump RAM location 0 and the code version number to the DATAP register. To
obtain the version and part number from the data pump, the following steps must
be performed:
1. Set CONFIG register, bits 0–6 (MODE) to 0 (STANDBY), then read location
Config to provide the data pump enough time to begin standby operation.
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
66
2. Read the DATAP register. This register returns the code release version
number (an 8 bit value, for example, 030h indicates version 30).
3. Read RAM location 0. This location returns the part number (for example,
02201h for a Z02201 part).
Sleep Mode
The data pump incorporates a low-power sleep mode. In this mode, the data
pump clock is shut down, effectively stopping the part. To enter SLEEP mode, the
controller can set Config to mode 7. To exit SLEEP mode, the controller can either
reset the data pump (asserting the RESET signal) or write any value to the DATAP
register. The host must wait at least 2 msec before accessing the data pump reg-
isters.
Typical Performance Data
The Bit Error Rate (BER) and Block Error Rate (BLER) curves in Figure 12 and
Figure 13 represent typical performance over a variety of signal to noise
conditions (SNR).
Figure 12. Bit Error Rate
Data Pump, Version 41
Line Type: Flat Receive Level (line): -30 dBm
1.E-05
1.E-04
1.E-03
1.E-02
15 17 19 21 23
S/N dB
BER
V.29, 7200 bps
V.29, 9600 bps
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
67
Modems usually exhibit lower bit error rates receiving in the low
band as opposed to the high band.
When an analog link is completed, the Adaptive Equalizer (AEQ) is frozen. The
noise level is increased without making new links. These tests were conducted
using a Consultronics TCS500 Telephone Line Simulator, and a Hewlett Packard
4951B protocol analyzer/BERT tester under the following conditions:
Table 29. Performance Testing Conditions
Line Simulation Flat
Transmit Level –10 dBm
Receive Level –16.0 dBm
Data Transmitted 511 pseudo-random pattern
Number of Bits Sent 1,000,000
Number of Blocks Sent 1,000
Bits per Block 1,000
AEQ Frozen after link establishment
Noise Calibration C-message
Note:
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
68
Figure 13. Typical Performance Data
Data Pump, Version 41
Line Type: Flat Receive Level (line): -30 dBm
1.E-05
1.E-04
1.E-03
1.E-02
12 14 16
S/N dB
BE
R
V.22bis low band
V.22bis high band
Data Pump, Version 41
Line Type: Flat Receive Level (line): -30 dBm
1.E-05
1.E-04
1.E-03
1.E-02
5 6 7 8 9
S/N dB
BE
R
V.22 low band
V.22 high band
Data Pump, Version 41
Line Type: Flat Receive Level (line): -30 dBm
1.E-05
1.E-04
1.E-03
1.E-02
5 6 7 8 9
S/N dB
BE
R
B212a low band
B212a high band
Data Pump, Version 41
Line Type: Flat Receive Level (line): -30 dBm
1.E-05
1.E-04
1.E-03
1.E-02
2 4 6 8 10
S/N dB
BER
V.21 low band
V.21 high band
Data Pump, Version 41
Line Type: Flat Receive Level (line): -30 dBm
1.E-05
1.E-04
1.E-03
1.E-02
3 4 5 6 7 8 9
S/N dB
BER
B103 low band
B103 high band
Data Pump, Version 41
Line Type: Fl at Receive Level (line): -30 dBm
1.E-05
1.E-04
1.E-03
1.E-02
0 2 4 6 8 10 12 14 16
S/ N dB
BER
V.23, 75 bps
V.23, 1200 bps
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
69
Figure 14. Typical Modem Using Z02201 and a Z02205 Controller
VCC
AVCC
VCC
VCC
VCC
VCC
VCC
AVCC
VCC
VCC
VCC
VCC
DECOUPLING CAPACITORS
E Y E P a tte rn G e n e ra to r is o
p
tional.
D7
D6
D5
D4
D3
D2
D1
D0
A0
A1
A2
/DPRES
/DPRES
/D P W R /D P W R
/DPRD /DPRD
/DPCS /DPCS
/D P IR Q /D P IR Q
SOUT
SIN
/u P O H
/u P O H
/S H U N T
/SHUNT
/R IN G
/R IN G
DCD
DTR
RxD
SIN
SIN
TxC
RxC/TST2
R xC /TS T2
EYEOUT
EYEOUT
EYECLK
EYECLK
EYESTB
EYESTB
/M U T E
/M U T E
/D O H
/D O H
/D O H
Y201
14.7456M H z
Y202
24.576M H z
C201
47 pF
C206
10uF
+
U204
74H C 595
SER 14
SRCLK 11
SRCLR 10
RCLK 12
G13
QA
15
QB
1
QC
2
QD
3
QE
4
QF
5
QG
6
QH
7
QH'
9
U 205A
74H C T04
12
R 203
100K
Z202B
1 uF
+
J201
R 202
10K
U202
Z 0 2 2 0 1
TXD/DACK
38
RXD/DREQ
36
DCLK
37
RTS
40
OH
39
RLSD
35
D0
27 D1
28 D2
29 D3
30 D4
31 D5
32 D6
33 D7
34
RS0
19 RS1
20 RS2
21
CS
18 RD
25 WR
23
IR Q
22
EYEOUT
5
EYECLK
4
EYESTB
6
TXO + 8
TX O - 9
RXI+ 16
RXI- 15
CF1 13
CF2 14
XTAL1 43
XTAL2 42
TST1 3
TST2 41
VDD 24
VDD 44
VSS 2
VSS 26
AVDD 7
AVDD 17
AVSS 10
AVSS 12
RESET
1
Z201B
1 uF
+
L201
10uH
Z202E
1 uF
+
U203
AD557
D7 1
D6 2
D5 3
D4 4
D3 5
D2 6
D1 7
D0 8
CS 10
CE 9
VOUT
16
VA
15
VB
14
VCC
11
GND
12 GND
13
CN302
SOCKET PLCC SM T 44
X201
SHUNT
CN301
SOCKET DIP 28
J202
J203
C203
47 pF
R201
10K
R206
10K
C202
82 pF C204
68 pF
C205
68 pF
R205
10K
C207
0.1 uF
Z202A
0.1 uF
U206
AD557
D7 1
D6 2
D5 3
D4 4
D3 5
D2 6
D1 7
D0 8
CS 10
CE 9
VOUT
16
VA
15
VB
14
VCC
11
GND
12 GND
13
U207
74HC595
SER 14
SRCLK 11
SRCLR 10
RCLK 12
G13
QA
15
QB
1
QC
2
QD
3
QE
4
QF
5
QG
6
QH
7
QH'
9
U205B
74H C T04
34
U205C
74H C T04
56
U205D
74H C T04
98
Z202C
0.1 uF
Z202D
0.1 uF
Z202F
0.1 uF
Z201A
0.1 uF
Z203
0.1 uF
Z204
0.1 uF
Z205
0.1 uF
Z206
0.1 uF
Z207
0.1 uF
U201
Z02205
VCC
8GND 22
XTAL1
10
XTAL2
9
TxD
16
OH
17
SHUNT
15
DCD
14
DTR/LCS
13
RINGDET/LCS
12
DPIRQ
11
RxD
18
D7 3
D6 2
D5 1
D4 28
D3 27
D2 26
D1 25
D0 24
MUTE/RI 7
DPRESET 6
DPW R 5
DPRD 4
DPCS 23
A2 21
A1 20
A0 19
SOUT
DCD
DTR
SIN
/SHUNT
/O H
/R IN G
RxD
TxC
RxC
/M U T E
TxA+
TxA-
RxA+
RxA-
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
70
Example DAA
Figure 15 indicates an example DAA configuration for North America. Isolation
transformer, T1, couples the primary (line) and secondary (modem) sides, while
providing high voltage isolation. This wet transformer (allowing DC current)
simplifies the circuit, while reducing the cost of the DAA.
On the Secondary side, the transmit (TxA+ and TxA–) and receive (RxA+ and
RxA–) are combined in the 4-wire to 2-wire hybrid circuit. This hybrid can be either
passive or active. The more complex active hybrid allows operation to lower signal
levels. It cancels out most of the transmit signal from the receive
signal.
On the Primary side, the off-hook relay switches the phone line between a local
handset (PHONE) or the modem. The ring detect circuit consists of DC blocking
capacitor C4, current limiting resistor R2, zener diodes CR3 and CR4, optocoupler
U3, and its reverse protection diode D3. Protection elements RV1, F1, C1, and C2
(and transformer T1’s isolation) provide higher voltage capability for approval in
some foreign markets. C1 and C2, for example, may must be replaced by Metal
Oxide Varistors (MOV’s) or Gas Discharge Tubes (GDTs). The shunt relay
reduces the DAA impedance during pulse dialing. This operation is required for
some country regulations
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
71
.
Figure 15. Example DAA
VCC
VCC
VCC
VCC
VCC
-10V
VCC
-1 0 V
VCC
-10V
DECOUPLING CAPACITORS
Active DAA
Passive DAA
R in g D e te c t
H ook/Shunt/Transform er
NOTES
1/ J301 selects Active or P assive D AA.
2/ J302 through J306 select C YG 21xx or Softart D AA
(R ing D etect and H ook/S hunt/Transform er).
3/ For CYG 21xx R306, R 307 and R 312 m ust be changed.
4/ C 306, C 307 and C 312 are to optim ize Return Loss
(w h e re n e c e s s a ry ).
5/ For G erm any and Switzerland use the C YG 23xx
s e rie s .
TRXA2
TRXA1
TRXA2
TRXA1
C 303
0.033uF
T301
671-8001
1 4
2 3
F301
FU SE
R V 301
220LA30
C 304
0.47 uF
CR303
1N 4742A
CR301
1N 5228B
K301
TQ 2EH -5V
+
32
4
89
7
10
1
CR302
1N 5228B
D 303
MMBD914
C R 304
1N 4742A
C N 301
RJ11
1
2
3
4
5
6
7
8
U 303
4N 35
21
5 4
6
Q 301
MMBT3906
R 302
7K5
R 303
47K
Q 302
M M BT3906
D 302
MMBD914
R301
100 K302
TQ 2E H -5V
+
3
2
4
8
9
710
1
Z301A
0.1 uF
R 304
10K
R305
10K
D 301
MMBD914
R 306
237
R 309
40k2
C 308
.1 u F
J304
J303
X301
SHUNT x 13 C N 304B
HEADER RECEPTICAL-2
C N 304A
HEADER RECEPTIC AL-7
C 314
1 nF
J305
C 312
xxx
C 306
xxx
C307
xxx
U 302A
LF353
3
21
8 4
U 301A
LF353
3
2
1
84
L301
EM I BEAD
J306
C 313
1.5 nF
L302
EM I BEAD R 307
237
R 312
475
R 308
40k2
R311
40k2
R 310
40k2
R 313
40k2
R 315
100k
R 316
20k5
R 314
20k5
R 319
60k4
R 320
40k2
R 317
80k6
R 318
20k5
C 310
.1 u F
U 302B
LF353
5
67
Z302A
0.1 uF
Z304
0.1 uF
C 309
.1 u F
C 311
.1 u F
C302
1 nF
1 kV
C301
1 nF
1 kV J301A
J302A
Z301B
0.1 uF
Z302B
0.1 uF
U304
C Y G 21xx
LIN E 1
1
LIN E 2
2
RINGDET
3
GND 4
OH
5
MUTE
6
VCC
7
TIP 11
RING 10
/R IN G
TxA+
TxA-
RxA-
RxA+
SPEAKER
/SHUNT
/O H
O ptional
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
72
Eye Pattern Circuit
Figure 16 is the eye pattern circuitry used in the Z0220100ZCO modem
evaluation board, and can be used with modem components such as the ZiLOG
Z02201 and Z02201 that have an eye pattern interface. The Z02201 Eye Pattern
port consists of 3 signals:
Data (EYEOUT)The most significant and least significant bytes of this 16 bit word
are the X and Y coordinates respectively for the eye pattern display. Each byte is
most significant bit first.
Clock (EYECLK)—Data is set on the rising edge of the EYECLK, and should be
read on the falling edge.
Strobe (EYESTB)—This signal is active Low when the data is valid.
Data is shifted through a pair of 8 bit serial-in parallel-out shift registers (74HC594)
in response to the falling edge of EYECLK, then latched into a pair of 8 bit DACs
on the rising edge of EYESTB. The output of these DACs can be viewed on an
oscilloscope in X–Y mode to see the received signal quality.
Figure 16. Eye Pattern Circuit
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
73
Package Information
Figure 17. 44-Lead PLCC Package Diagram
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
74
Figure 18. 44-Pin LQFP Package Diagram
A2
A
A1
LE
c
EHE
e
L
0-7˚
b
D
HD
DETAIL A
Z02201
V.22BIS Data Pump with Integrated AFE
PS000904-0107
75
ORDERING INFORMATION
Z02201
12.288 MHz
44-Pin PLCC
Refer to the Z02201 Product Update for the software differences between the two
ROM codes versions. The Product Update also lists the work-arounds for Ver.
0x31 of the ROM Code.
For fast results, contact your local ZiLOG sales office for assistance in ordering
the part required.Codes
ROM Code Version 0x48 Z0220112VSCR4078
ROM Code Version 0X31 Z0220112VSCR3470
Speed 12=12.288 MHz
Package V=Plastic Leaded Chip Carrier
Temperature S=0°C to +70°C
Environmental C = Plastic Standard
ROM Code R4078 = ROM code number 4078 (ROM code Version 0x48)
R3470 = ROM code number 3470 (ROM code Version 0x31)
Package
Environmental Flow
Temperature
ZiLOG Prefix
Speed
Product Number
Example
Z02201 12 V S C R 4078 is a Z02201 with ROM code R4078, 12.288 MHz, PLCC, 0 °C to +70 °C, Plastic Standard Flow
ROM Code Number
ROM Code