Z02215 Single Chip Modem with Integrated Controller, Data Pump, and Analog Front End Product Specification PS001907-0904 ZiLOG Worldwide Headquarters • 532 Race Street • San Jose, CA 95126 Telephone: 408.558.8500 • Fax: 408.558.8300 • www.ZiLOG.com This publication is subject to replacement by a later edition. To determine whether a later edition exists, or to request copies of publications, contact: ZiLOG Worldwide Headquarters 532 Race Street San Jose, CA 95126 Telephone: 408.558.8500 Fax: 408.558.8300 www.ZiLOG.com 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. Document Disclaimer ©2004 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. Except with the express written approval ZiLOG, use of information, devices, or technology as critical components of life support systems is not authorized. No licenses or other rights are conveyed, implicitly or otherwise, by this document under any intellectual property rights. PS001907-0904 Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE iii Table of Contents Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Parallel Host Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Operating Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 IDLE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 DIALING . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 HANDSHAKE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 ON-LINE . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 COMMAND . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Retrain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 AT Command Set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Command Line Execution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 AT Command Prefix . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 A/ Repeat Last Command . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 <CR> End-of-Line Character . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 Dial Modifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Setting the Highest Line Rate . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Result Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Modem S-Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Minitel Line Reversal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 General Description of the Turnaround Principle . . . . . . . . . . . . . . . . . . . . 44 DYNAMIC REVERSE Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 STATIC REVERSE Mode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 Escape Sequences . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45 TIES Escape Sequence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Carrier Detection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 Blacklisting Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Technical Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Configurations and Data Rates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Data Encoding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Transmitted Data Spectrum . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 Active Hybrid Circuit and Relay Driver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 Operating Notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Dynamic Power Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 Clock Oscillator Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49 PS001907-0904 Table of Contents Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE iv Country Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Typical Performance Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Standard Test Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Available Operating Temperature Range . . . . . . . . . . . . . . . . . . . . . . . . . . Voltage Supply Range: . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . DC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Capacitance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Analog Inputs: Type AI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Analog Outputs: Type A0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Package Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Ordering Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Z02215 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . PS001907-0904 51 51 58 59 59 59 60 62 64 65 66 67 67 67 68 Table of Contents Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE v List of Figures Figure 1. Figure 2. Figure 3. Figure 4. Figure 5. Figure 6. Figure 7. Figure 8. Figure 9. Figure 10. Figure 11. Figure 12. Figure 13. Figure 14. PS001907-0904 Z02215 Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 Z02215 44-Lead PLCC Pin Identification (for Prototype Only) . . . . . 5 Z02215 44-Lead LQFP Pin Identification . . . . . . . . . . . . . . . . . . . . . 5 Modem State Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Oscillator Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Typical Performance Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Typical Performance Data (continued) . . . . . . . . . . . . . . . . . . . . . . 54 Typical Modem Employing the Z02215 (Serial Mode) . . . . . . . . . . . 55 Typical Modem Employing the Z02215 (Parallel Mode) . . . . . . . . . 56 Data Access Arrangement (DAA) . . . . . . . . . . . . . . . . . . . . . . . . . . 57 Serial Port Timing Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Parallel Port Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 44-Lead PLCC Package Diagram (for Prototype Only) . . . . . . . . . . 66 44-Lead LQFP Package Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . 66 List of Figures Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE vi List of Tables Table 1. Pin Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 Table 2. Status Register. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 Table 3. AT Command Set. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 Table 4. Dial Modifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 Table 5. S37 Register Connect Rates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Table 6. Result Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36 Table 7. Modem S-Registers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37 Table 8. Minitel Terminology and Definitions . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 Table 9. Selectable Configurations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 Table 10. Spectral Shaping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 48 Table 11. Suggested Crystal Specifications (C1=C2=20pF*, C0=2pF) . . . . . . . 50 Table 12. Absolute Maximum Ratings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Table 13. Power Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Table 14. Environmental Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Table 15. DC Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 Table 16. Microprocessor Interface Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62 Table 17. Serial Interface Timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Table 18. Parallel Interface Timing. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 Table 19. Analog Characteristics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 PS001907-0904 List of Tables Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 1 Features PS001907-0904 • Complete modem integrated circuit with integrated controller, data pump and Analog Front End (AFE) with active hybrid • Includes an AT command set interpreter in the on-chip ROM with no external memory required • Programmable country parameters through AT commands or EEPROM interface • Automatic determination of AT command speed and parity • Includes V.14 asynchronous to synchronous conversion • Accepts asynchronous or synchronous terminal data • Speed matching and RTS/CTS flow control between the modem and the terminal • Voice answer detection – Line-In-Use detection before connection – Pick-up detection during connections • Supports Tone or Pulse dialing • Call progress monitoring controls • Guard tone controls • Line quality monitoring and auto-retrain • Auto-Dial and Auto-Answer • Supports telephone dial blacklisting • Data modem throughput to 2400 bps – ITU V.22bis, V.23, V.22, V.21 – Bell 212A, Bell 103, Bell 202, Bell 202T • FSK (V.23 1200/75 bps, Bell 202/Bell 202T 1200/150 bps, V.21/Bell 103 300 bps), DPSK (V.22/Bell 212A 1200 bps), or QAM Encoding (V.22bis 2400 bps) • V.23 with Minitel line reversal • Programmable bi-quad call progress tone detectors • Adaptive equalization to compensate for a wide variety of line conditions • Programmable transmit attenuation and selectable receive threshold • Fully-programmable call progress detectors for precise call program monitoring, including signal quality detectors, tone detectors, tone generators, and transmit signal levels that aid in rapid country qualifications • On-chip peripheral, a full-duplex voice band AFE with 12-bit resolution Features Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 2 • Dynamic power management: power-saving SLEEP modes • North American Type-I Caller ID • 44-Pin PLCC, 44-Pin LQFP footprint • Single +5 VDC power supply • Minimal external logic • 0°C to +70°C standard temperature range and –40°C to +85°C extended temperature range Note: International Telecommunications Union (ITU, formerly known as CCITT) PS001907-0904 Features Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 3 General Description The Z02215 is a synchronous single-chip V.22bis modem capable of 2400 bps full-duplex over dial-up lines. It is a full-featured, self-controlled modem that includes a modem controller, DSP, and Analog Front End (AFE) functions. This device 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 Z02215 meets the modem standards for V.22bis, V.22, V.23 (Minitel), V.21, Bell 212A, Bell 202, Bell 202T, and Bell 103. A typical modem can be created by simply adding a phone- line interface (DAA), and DTE interface. All modulation, demodulation, filtering, Analog to Digital (A/D), and Digital to Analog (D/A) conversion functions for transmission and reception are provided onchip. Automatic compromise equalizers are included to optimize performance over a wide range of line types. The Z02215 device compensates for a wide variety of adverse line conditions by using adaptive equalizers. The Z02215 provides comprehensive selectable and programmable tone generation and detection. Transmit drivers and receive amplifiers can be connected directly to a Data Access Arrangement (DAA) by adding a transformer, or a silicon DAA, reducing the external circuits to a minimum. In addition, the Z02215 provides further system-level savings by providing built-in filters for both the transmitter analog output and the receiver analog Input. This configuration eliminates the need for external filtering components. The analog front end of the Z02215 includes an active hybrid circuit that improves modem performance and reduces system-level costs by reducing the requirement for external components. The Z02215 device operates on a single +5 VDC power supply. During periods of no traffic, the modem can be placed into SLEEP mode, reducing power consumption through Dynamic Power Management. Note: All signals with an overline, are active Low. For example, B/W, in which WORD is active Low; and B/W, in which BYTE is active Low. PS001907-0904 Features Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 4 Power connections follow these conventional descriptions: Connection Circuit Device Power VCC VDD Ground GND VSS RESET SHTRL OH CID RDET/LCS LCS_CHK Mute Serial/ Parallel Interface EXTAL XTAL Oscillator Controller Data Pump Z02202 DSP Analog Front End Active Hybrid (Optional) EEPROM Interface (Optional) RAM/ ROM Internal DAA Control Signals RXI+ RXI– TXO– TXO+ RAM/ ROM Internal Z02215 Figure 1. Z02215 Block Diagram PS001907-0904 Features Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 5 6 DSR/HD7 RI/HD6 CTS/HD5 DCD/HD4 1 40 7 39 Z02215 PLCC 29 1718 28 PB3/HD3 PB2/HD2 RTS/HD1 DTR/HD0 PC1/HA0 DGND VDD RCLK/HRD RxD/HWR TCLK/HCS TxD/IRQ EE_DATA EE_CLK MUTE RDET/LCS VDD DGND LCS_CHK CID SHTREL OH DGND AVDD TxO+ TxO– AGND VREF AGND CF1 CF2 RxI– RxI+ AVDD S/P TEST EXTAL XTAL DGND VDD RESET Pin Descriptions TEST EXTAL XTAL DGND VDD RESET S/P DSR/HD7 RI/HD6 CTS/HD5 DCD/HD4 Figure 2. Z02215 44-Lead PLCC Pin Identification (for Prototype Only) 30 25 35 20 Z02215 LQFP 40 15 1 5 10 PB3/HD3 PB2/HD2 RTS/HD1 DTR/HD0 PC1/HA0 DGND VDD RCLK/HRD RxD/HWR TCLK/HCS TxD/IRQ EE_DATA EE_CLK MUTE RDET/LCS VDD DGND LCS_CHK CID SHTREL OH DGND AVDD TxO+ TxO– AGND VREF AGND CF1 CF2 RxI– RxI+ AVDD Figure 3. Z02215 44-Lead LQFP Pin Identification PS001907-0904 Pin Descriptions Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 6 Table 1. Pin Descriptions Symbol PLCC LQFP Pin # Pin # RESET 1 VDD Function Direction Description 28 Reset (Active low) Input, Output The RESET signal sets the modem to a RESET state. 2 29 Digital Power DGND 3 30 Digital Ground XTAL 4 31 Crystal (Time-based Output) Output This pin connects a parallel-resonant crystal. This pin is left open if an external clock is used instead of a crystal. EXTAL 5 32 Crystal (Time-based Output) Input This pin connects a parallel-resonant crystal. An external clock can be input to the device on this pin when a crystal is not used. TEST 6 33 Input This pin is a test pin that must be tied to digital ground. AVDD 7 34 Analog Power TXO+ 8 35 Transmit Differential Analog Output Positive Analog Output The TXO+ is capable of driving a 600W resistive load over a leased line or public switched telephone network via a Data Access Arrangement (DAA). TXO– 9 36 Transmit Differential Analog Output Negative Analog Output The TXO+ is capable of driving a 600W resistive load over a leased line or public switched telephone network via a Data Access Arrangement (DAA). AGND 10 37 Analog Ground VREF 11 38 Reference Voltage active High Analog Output An internally generated DC voltage. AGND 12 39 Analog Ground CF1 13 40 Integration Analog Capacitor PIN 1 Input Connect an 82pF capacitor between CF2 and CF1 to complete the internal feedback integration filter for improved analog A/D performance. CF2 14 41 Integration Analog Capacitor PIN 2 Input Connect an 82pF capacitor between CF2 and CF1 to complete the internal feedback integration filter for improved analog A/D performance. RXI– 15 42 Receive Differential Analog Output Negative PS001907-0904 Analog Input These are the analog inputs from the DAA. Pin Descriptions Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 7 Table 1. Pin Descriptions (Continued) Symbol PLCC LQFP Pin # Pin # RXI+ 16 AVDD 17 Function Direction Description 43 Receive Differential Analog Output Positive Analog Input These are the analog inputs from the DAA. 44 Analog Power EE_DATA 18 1 Input/ Output I2C EEPROM Data. EE_CLK 19 2 Output I2C EEPROM Clock. MUTE 20 3 Speaker Mute Control Output Controls speaker muting. RDET/ LCS 21 4 Ring Detect Input Line Current Sense Input Signals the presence of a ring signal on the line.The LCS_CHK input is used to detect when a parallel phone is off-hook before dialing or when a parallel phone has been picked up while connected. In either case when LCS goes Low, the connection attempt is dropped with a NO CARRIER message. VDD 22 5 Digital Power Output DGND 23 6 Digital Ground LCS_CHK 24 7 Line Current Sense Output This signal is used to enable the Line Current Sense circuits in the DAA when checking for parallel phone off-hook condition prior to taking the phone line off-hook. CID 25 8 Caller ID Relay Output This signal is used to turn on the Caller ID relay in the DAA. SHTREL 26 9 Pulse Dial Shunt Relay Output SHTREL works in conjunction with pulse dial make/break. It offers extra-low resistance across the tip and ring. When all relays are closed, SHRTEL provides 100 Ohms (Low) instead of 600 Ohms. OH 27 10 Off-Hook Relay Output Output DGND 28 11 Digital Ground PS001907-0904 Output This signal is used to turn on the off-hook relay in the DAA. Pin Descriptions Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 8 Table 1. Pin Descriptions (Continued) Symbol PLCC LQFP Pin # Pin # Function Direction Description TXD/IRQ 29 Transmit Data Input Interrupt Request Open Drain Output TCLK/ HCS 30 12 13 Transmit Serial Output Data Clock RCLK/ HRD 32 14 15 Serial mode only. This pin is a synchronous data clock used to transfer serial data via TXD to the DTE. The clock frequencies are 2400,1200, and 300 Hz. Active Low, Parallel mode only. When this pin goes Low, data transfer between the Z02215 Parallel Interface and the Host are enabled. Data transfers are 8 bits wide. Receive Data Output Active Low, Serial mode only. The serial receive data from the DSP is presented on this pin. Host Write Input Active Low, Parallel mode only. On the rising edge of HWR the data on HD7– HD0 is written to register PIDR or PISR depending on the state of HA0 and provided HCS is Low. Receive Serial Data Clock Output Serial mode only. This pin is a synchronous data clock used to transfer serial data via RXD to the DTE. The clock frequencies are 2400 Hz, 1200 Hz, and 300 Hz. Host Read Input VDD 33 16 Digital Power DGND 34 17 Digital Ground PS001907-0904 Active Low, Parallel mode only. This pin goes Low in response to an interrupt from the Parallel Interface which is enabled. IRQ returns High when the source of the interrupt is serviced, or by disabling the interrupt. Input Host Chip Select RXD/HWR 31 Active Low, Serial mode only. Serial transmit data to the DSP is presented on this pin. Active Low, Parallel mode only. When this pin and HCS is Low, the contents of register PIDR or PISR, (depending on the state of HA0), is placed on HD7–HD0. See Table 2, “Status Register,” on page 11 Pin Descriptions Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 9 Table 1. Pin Descriptions (Continued) Symbol PLCC LQFP Pin # Pin # Function Direction Description PC1/HA0 35 Port C Input/ Output Serial mode only. This line can be configured as an input or output on a bit-by-bit basis. Host Address Input Parallel mode only. Address bit 0 for the Parallel interface. High level selects the PICR register; Low selects the PIDT register. PS001907-0904 18 Pin Descriptions Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 10 Table 1. Pin Descriptions (Continued) Symbol PLCC LQFP Pin # Pin # Function Direction Description Note: This comment applies to pins HD0–HD7, respectively. HD0–HD7 are the Host Parallel Interface Data bus. Bi-directional, Active High, Parallel mode only. These pins constitute an 8-bit bi-directional data bus used for the transfer of control and status information. HD0–HD7 are 3-stated except for a PIDT or PICR read. DTR/HD0 36 19 Data Terminal Ready Input Serial mode only. This signal is asserted by the DTE when it is ready to receive data. RTS/HD1 37 20 Request To Send Input Serial mode only. This signal indicates that the DTE is ready to send data to the modem. When the modem is ready, it asserts CTS (see CTS, below). PB2/HD2 38 21 General Output Purpose Output Serial mode only. Programmable using Diplomat™. PB3/HD3 39 22 General Output Purpose Output Serial mode only. Programmable using Diplomat™. DCD/HD4 40 23 Data Carrier Detect Output Serial mode only. This signal indicates that a modem carrier signal has been detected on the line. CTS/HD5 41 24 Clear To Send Output Serial mode only. This signal indicates that the modem is ready for the DTE to send data to it. RI/HD6 42 25 Ring Indicator Output Serial mode only. When active, this signal indicates that a ring signal on the phone line is detected by the modem. DSR/HD7 43 26 Data Set Ready Output Serial mode only. This pin is the Data Set Ready pin and indicates when the modem is ready to transmit data. Refer to the &S command for details. S/P 27 Serial or Parallel Mode Select This pin configures the Z02215 Host interface to Serial or Parallel mode. When High (VCC), the Serial mode is selected and when this pin is tied Low (GND), the Parallel mode is selected. 44 Input Parallel Host Interface With the Parallel Host Interface, a host controller can put the Z02215 on its processor bus and access it as a peripheral.The Parallel Interface consists of two host registers: PS001907-0904 • Register 0–Parallel Interface Data Register (PIDR) • Register 1–Parallel Interface Status Register (PISR) Parallel Host Interface Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 11 PIDR is the data register for transmitting and receiving data, including the AT commands. In RECEIVE DATA mode (when HRD, HCS, HA0, S/P are Low), Z02215 reads the data on the Host Parallel Data bus (HD0–HD7) for the external host to read the contents. In TRANSMIT DATA mode (when HWR, HCS, HA0, S/P are Low), Z02215 reads the contents placed on the Host Parallel Data bus (HD0–HD7) by the external host processor. PISR is the Status register. Bits 0, 1, 6 and 7 of this register are defined in hardware, and bits 2, 3, 4, and 5 are defined in software as follows: Table 2. Status Register 7 6 5 4 3 2 1 0 RRIE TRIE DCD RBRK DTR SBRK RRF TRE R/W R/W R/W R/W R/W R/W R/W R/W 0 0 1 0 0 0 0 1 Bit No. Mnemonic R/W Default Value Description Bit 7 RRIE R/W 0 Receive Register Interrupt Enable. When this bit is 1, the Z02215 drives the HIRQ pin Low when RRF is 1. Bit 6 TRIE R/W 0 Transmit Register Interrupt Enable. When this bit is 1, the Z02215 drives the HIRQ pin Low when TRE is 1 Bit 5 DCD R/W 1 DCD signal sent from the Z02215. 1–Active 0–Inactive Bit 4 RBRK R/W 0 Break signal sent to the host. The Z02215 sets this bit to 1 to indicate that a line break is transmitted to the host. The Z02215 resets this bit to 0 when the line break condition is ended. Bit 3 DTR R/W 0 DTR signal sent to the Z02215. 1: Active 0: Inactive Bit 2 SBRK R/W 0 Send Line Break to the Z02215. The host sets this bit to 1 to transmit a line break to the Z02215. The host sets this bit to 0 to stop transmitting a line break. The host performs the timing of the transmitted line break. Bit 1 RRF R/W 0 Receive Register Full. The host can receive a byte from the Z02215 when this bit is 1. Bit 0 TRE R/W 1 Transmit Register Empty. The host can transmit a byte to the Z02215 when this bit is 1. PS001907-0904 Parallel Host Interface Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 12 Operating Modes The modem controller software features several different states of operation. DIALING IDLE HANDSHAKE RETRAIN COMMAND ON-LINE Figure 4. Modem State Diagram IDLE When the modem is in the IDLE state it is not communicating with another modem. The modem accepts AT commands from the terminal while IDLE. DIALING When the modem dials it performs the same tasks a person uses to dial a telephone. The modem does not accept AT commands or data from the terminal while dialing. HANDSHAKE When the modem handshakes it communicates with another modem to determine the data rate the two modems use to communicate. Handshaking takes place at the beginning of each connection between two modems. The originator and answerer of a connection perform different actions while handshaking. The modem does not accept AT commands or pass data from the terminal while handshaking. PS001907-0904 Operating Modes Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 13 ON-LINE After successfully completing Handshaking the modems enter the ON-LINE state. When a modem is in the ON-LINE state, data received from its terminal is sent over the telephone line to the other modem. Data received from the other modem is sent to the terminal. COMMAND If the terminal sends a special escape sequence to a modem in the ON-LINE state, the modem enters the COMMAND state. During COMMAND state the modem maintains the connection with the other modem but does not pass data between the terminal and the other modem. Instead, data received from the terminal is treated as AT commands in the same way as if the modem was in the Idle state. The modem can be returned to the ON-LINE state by the O command. Data received from the other modem while a modem is in COMMAND state is discarded unless the modem can buffer it for display on the terminal when the modem re-enters the ON-LINE state. Retrain During a telephone line connection, the modem tries to remain synchronized with the remote modem by adapting to changes in telephone line connection and bridging transient noises such as call waiting, analog switching and cross talk. In V.22bis and higher speed data modes, if the modem loses synchronization with the remote modem data can not be received until synchronization is restored by a process called Retraining. During Retraining the modem accepts data and commands from the terminal but does not transmit data to, or receive data from, the other modem. AT Command Set Command lines are typed to the modem from the terminal when the modem is in the IDLE or COMMAND state. The modem does not execute any of the commands in a command line until after the command line is ended by the end-of-line character <CR>. A command line is a string of characters starting with the A and T characters and ending with a special end-of-line character, <CR>. Characters typed before the AT are ignored. Command lines contain, at most, 40 characters after the AT. The modem does not execute any of the commands in a command line that is too long. To echo command line characters, use the E1 command. PS001907-0904 AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 14 Typing mistakes can be aborted by using a special BackSpace character, <BS>, after the initial A and T characters are entered. A partial command line can be aborted by typing a Ctrl-X character. The modem returns an OK result code and ignores the partial AT command line. Command lines may contain several commands one after another. The Answer (A), Dial (D), and Go ON-LINE (O) commands usually cause the following commands in the command line to be ignored. PS001907-0904 AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 15 Command Line Execution The characters in a command line are executed one at a time. Any unexpected characters (except control characters) stop command line execution and return an ERROR result code. Unexpected characters include numbers outside the range of values accepted by the command. All control characters in a command line except Ctrl-X (and the special characters such as <CR> and <BS>) are ignored. The numerical argument of a command is assumed to be 0 if it is not provided. For example, the commands ATH<CR> and ATH0<CR> both hang up the telephone line. When the modem has executed a command line, the result code of the most recent command executed is returned to the terminal. If the value written to a modem S-register is outside the range of values accepted by the S-register, then its value is set to the nearest allowed value. Leading 0s in numeric arguments, including S-register numbers, are ignored. For example, both set S-register S1 to 2: ATS1=2 ATS01=2 All numeric arguments, including S-register numbers, are decimal (base 10). AT Command Prefix Each modem command line begins with the letters A and T. The modem uses these characters to determine the data rate and parity from the terminal. A/ Repeat Last Command To repeat the commands in the most recent command line, type the letters A and / instead of A and T. <CR> End-of-Line Character This character is typed to end a command line. The value of the <CR> character is stored in S-register S3. The default value is 13 (the ASCII carriage return character). When the <CR> character is entered, the modem executes the commands in the command line. PS001907-0904 AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 16 . Table 3. AT Command Set Command A Function and Description Answer The A command causes the modem to go off-hook and respond to an incoming call. This command is issued after the modem has returned the RING result code. If the modems successfully complete the answering process, each returns a CONNECT result code and enters the ON-LINE state. If no transmit carrier signal is received from the calling modem within the time specified in S-register S7, the modem hangs up, returns the NO CARRIER result code, and enters the IDLE state. If the modem is in the COMMAND state or &Q2 or &Q3 is selected then the ERROR result code is returned. Any commands following the A command on the command line are ignored. This command is aborted if a character is received from the terminal before the answer process is completed, or when DTR drops if certain options in the &Q or &D commands have been used. Note: North American default values are designated by bold type. The operation of these commands, and the default values of option commands, are configurable for operation in different countries. B Communicat The B command specifies special telephone line modulation standards required ion Standard for the connection. The modem can be configured to use: Option 1 – Bell 212A instead of ITU-T V.22 at 1200 bps 2 – Bell 103 instead of ITU-T V.21 at 300 bps 3 – ITU-T V.23 or Bell 202 in data modes with receive and transmit speeds that differ whether the caller or answerer transmits data at a higher data rate. 4 – In ITU-T V.23 data mode, Minitel line reversals. 5 – ITU-T V.23 or Bell 202T in data modes when the receive and transmit speeds are different, and with a 4-wire telephone interface instead of a 2-wire telephone interface When ON-LINE in data modes with differing receive and transmit speeds (V.23, Bell 202), the modem recognizes only the Escape Sequence (+++) and modem commands at the higher of the speeds. S-register S37 also contributes to the selection of the modulation standard. This register sets the telephone line data rate, and the split rate data mode (Bell 202/ Bell 202T or V.23). Both modems must be configured identically to prevent communication failures caused by incompatible telephone line modulation standards. PS001907-0904 AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 17 Table 3. AT Command Set (Continued) Command PS001907-0904 Function and Description B0 This option specifies the ITU-T modulation standards for all telephone line data rates unless S-register S37 is 2. These rates include V.22 for the 1200 bps telephone line data rate, and V.21 for the 300-bps telephone line data rate. When the value of S-register S37 is 1and the originating modem is transmitting at 75 bps and receiving at 1200 bps, V.23 is utilized. The answering modem transmits data at 1200 bps and receives data at 75 bps. When the value of Sregister S37 is 2 and the originating modem is transmitting at 150 bps and receiving at 1200 bps, Bell 202 is utilized. The answering modem transmits data at 1200 bps and receives data at 150 bps. B1 This option specifies the Bell modulation standards for 1200 bps and 300 bps telephone line data rates, unless Sregister S37 is 1. Bell 212A at 1200 bps is utilized instead of V.22. Bell 212A, V.22 is the default value for North America. Bell 103 is utilized when a 300 bps telephone line data rate is required. If neither the 1200 bps nor 300 bps telephone line data rate are required, then a setting of B1 is ignored and the modem operates as if B0 was set. B2 When the value of S-register S37 is 1 and when the originating modem is transmitting at 1200 bps and receiving at 75 bps V.23 B1 is selected. The answering modem transmits data at 75 bps and receives data at 1200 bps. When the value of S register S37 is 2 and when the originating modem is transmitting at 1200 bps and receiving at 150 bps, Bell 202 is utilized. The answering modem transmits data at 150 bps and receives data at 1200 bps. When S-register S37 is set to any value other than 1 or 2, then a setting of B2 operates as if B0 is set. B3 This option is the same as B0. AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 18 Table 3. AT Command Set (Continued) Command Function and Description B4 The Minitel compatibility mode is activated by this command. It defaults to master mode (Tx75/Rx1200) if the modem is the originator. If S-register S37 is 1, Minitel line reversals are supported. Minitel allows a modem using V.23 and transmitting at 75 bps to simultaneously switch its transmitter to 1200 bps and receiver to 75 bps. The other V.23 Minitel modem detects the rate change and switches its transmitter to 75 bps and receiver to 1200 bps. The \R and R commands describe methods of causing a Minitel line reversal during a V.23 connection. When S-register S37 is set to any value other than 1, then a setting of B4 operates as if B0 was set. B5 When S-register S37 is 1 (V.23) or 2 (Bell 202T), the modem assumes that a 4-wire telephone connection exists. Both the transmitter and receiver use the 1200 bps telephone line data rate. This mode does not operate properly unless a 4-wire telephone connection exists. When S-register S37 is set to any value other than 1 or 2, the B5 option operates as if B0 is set. &C Data Carrier This command determines how the modem’s DCD signal relates to the carrier signal (RLSD) from the other modem. This option takes effect only at the Detect beginning of a telephone line connection. If &C is issued from the COMMAND Options state, no immediate effect results. PS001907-0904 &C0 During asynchronous operation (&Q0 in effect), DCD is on at all times. During synchronous operation (&Q1, &Q2 or &Q3), DCD reflects the state of the carrier signal from the other modem using S-registers S9 and S10. This command is the default value in North America. &C1 This command reflects the state of the carrier signal from the other modem using S-registers S9 and S10. AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 19 Table 3. AT Command Set (Continued) Command #CID= Function and Description Caller ID Options This command controls how the modem displays North American caller identification information. If Caller ID has been disabled in the country configuration, the modem responds with an ERROR result code to a #CID= command. Caller ID information is displayed only when it is provided by the telephone company, and only when the terminal data rate is 2400 bps or higher. Lower data rates are too slow to display Caller ID information. The modem receives Caller ID information between telephone rings. The country configuration contains a parameter controlling whether the modem uses Bell 202 or V.23 to receive Caller ID information. D Dial #CID=0 This command does not display Caller ID information. This option is the default value. #CID=1 This command returns the information as formatted data. #CID=2 This command returns the information as unformatted data. #CID=? This command returns the current setting of the #CID=command. The D command initiates a telephone call using the digits and dial modifiers in the dial string following the command. Any commands following the dial string on a command line are ignored, unless a semicolon is the last character in the dial string. If the modem was already off-hook when the Dial command is issued, the modem dials immediately without trying to detect a dial tone. Characters other than digits and dial modifiers in a dial string are ignored; however, ignored characters are counted in the command line buffer. If line-current sensing is enabled and line current is detected before the modem is taken off-hook when the modem must dial, a NO CARRIER result code is displayed and the modem enters the IDLE state. If the modem is not required to perform a dial function (for example, ATD with no dial string), the modem assumes the call was manually established and attempts to make a connection. The X1 command may be used to disable the modem's need to detect dial tone or busy tone before handshaking. The D command is not valid when the modem is in the ON-LINE state or when &Q2 or &Q3 is in effect. See “Dial Modifiers” on page 34 for more information. PS001907-0904 AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 20 Table 3. AT Command Set (Continued) Command &D Function and Description Data Terminal Ready Options The &D command determines the modem’s response to the DTR signal from the terminal. S-register S25 debounces changes in DTR. During connection, the modem does not act on changes in DTR until the change is present for the length of time specified by the setting in S-register S23. The response to changes in DTR also depend on the value of &Q (See “&Q” on page 28 for further details). When DTR is OFF for all possible combinations of the &D and &Q commands, the results are as described below. The default value is &D0 in North America. PS001907-0904 &D0 &D1 &D2 &D3 &Q0 None B C D &Q1 C B C D &Q2 C C C D &Q3 C C C D A The modem hangs up the telephone line and issues an OK result code. B If in the ON-LINE state, the modem goes into the COMMAND state, and issues an OK result code. C The modem hangs up the telephone line and issues an OK result code. Auto-Answer is disabled as long as DTR remains OFF. D The modem resets. AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 21 Table 3. AT Command Set (Continued) Command E %E &F Function and Description Command Mode Character Echo This command enables or disables character echoing sent from the terminal when the modem is accepting AT commands. Automatic Retrain Options The %E command enables or disables retraining with the other modem during a telephone line connection (during operation in data modes supporting retrain). The modem always responds to a retrain operation initiated by the remote modem. The modem can be forced to initiate a retrain by the ON-LINE (O1) command. Recall Factory Profile E0 Does not echo characters sent from the terminal. E1 Echoes characters sent from the terminal. This value is the default value in North America. %E0 Retrain is not initiated automatically. %E1 Retraining is initiated if the data pump indicates retraining is required. This value is the default value. &F changes these AT command options to their default values. The default values may be changed for use by country. S0=0 S1=0 S2=43 S3=13 S4=10 S5=8 S6=2 S7=30 S8=2 S9=6 S10=14 S11=95 S12=50 S17=10 S25=5 S28=0 S29=25 S37=0 Commands B1 PS001907-0904 E1 M1 P &S0 %E1 Q0 V1 X4 \N1 \Q3 &C0 &D0 \R0 &G0 &P0 &K3 &Q0 AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 22 Table 3. AT Command Set (Continued) Command #F Function and Description DTMF Detection Command #F is used to detect DTMF digits received by the modem when it is off-hook in the COMMAND state. #F does not operate during a data connection. The #F command can only be entered from the command state and assumes that the phone is off-hook. For example, to dial a call and then immediately enter the DTMF detection mode the following series of steps are taken: 1. Send ATDxxxxx; command where xxxxx is the phone number. 2. Wait for the OK response. 3. Send AT#F1 to the modem. 4. You are now in the DTMF detection mode. During DTMF detection the modem decodes received DTMF tones and issues a line of ASCII text to the terminal each time a DTMF digit is detected. DTMF Digit 0–9 * # A–D Output Text 0–9 10 11 12–15 The following table describes the output text according to which pair of DTMF high and low tones were detected. PS001907-0904 High band/ Low band 1209 Hz 1336 Hz 1477 Hz 1633 Hz 697 Hz 1 2 3 12 770 Hz 4 5 6 13 852 Hz 7 8 9 14 941 Hz 10 0 11 15 #F0 Detect DTMF digits with out using a human speech filter. DTMF digits as short as 50 ms can be detected. #F1 Detect DTMF digits while using a filter that reduces the effect of human speech on the detection of DTMF digits, improving the accuracy of detection. DTMF digits as short as 60 ms can be detected. AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 23 Table 3. AT Command Set (Continued) Command Function and Description #F (cont.) When human speech is generated at the end of the telephone connection detecting DTMF digits, for example by a parallel voice circuit multiplexed onto the telephone line signal, an external hybrid must be used in the telephone line interface. This external hybrid cancels the locally generated human speech from the received signal, improving DTMF digit detection. Without an external hybrid, the received DTMF tones my be attenuated by the telephone network to such low power levels that locally-generated speed prevents DTMF detection, even when the human speech filter is used. &G H Guard Tone The &G command selects the guard tone to be transmitted when the modem is Options transmitting the High band (for example, ANSWER HANDSHAKE and ANSWER mode). Hook PS001907-0904 &G0 No guard tone. This value is the default value in North America. &G1 550 Hz guard tone (V.22, V.22bis and Bell 212A only) &G2 1800 Hz guard tone (V.22, V.22bis and Bell 212A only) H0 Off-hook. H1 Off-hook without answering a telephone call. This option may be disabled in countries prohibiting its use. AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 24 Table 3. AT Command Set (Continued) Command &HT Function and Description PTT Test PS001907-0904 The &HT command enables the modem to transmit tones for PTT testing. The test tone is generated until a character is typed on the modem’s terminal. If this command is issued when the command is disabled by a country configuration, the modem returns an ERROR result. &HT0 – &HT9 DTMF tone for digit n where the command is &HTn &HT10 DTMF tone“*” &HT11 DTMF tone “#” &HT12 DTMF tone “A” &HT13 DTMF tone “B” &HT14 DTMF tone “C” &HT15 DTMF tone “D” &HT16 V.21 channel 1 mark &HT17 V.21 channel 2 marks &HT18 V.23 1200bps marks &HT19 V.23 75bps marks &HT20 V.21 channel 1 spaces &HT21 V.21 channel 2 spaces &HT22 V.23 1200bps spaces &HT23 V.23 75bps spaces &HT24 V.22 originate mode &HT25 V.22 answer mode &HT26 V.22bis originate mode &HT27 V.22bis answer mode &HT28 V.25 calling tone AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 25 Table 3. AT Command Set (Continued) Command Function and Description &HT PTT Test (continued) (continued) &HT29 550-Hz guard tone &HT30 1800-Hz guard tone &HT31 Silence &HT32 Detect 2100 Hz answer tone &HT33 Detect all supported answer tones simultaneously &HT34 Detect dial tone &HT35 Detect call progress tones I &K Identification The I command queries the modem for information that can be used to determine the modem’s compatibility with other software and to ensure the modem is operating properly. I0 Product Code. The modem reports its product code to the terminal. The modem produces information text dependent upon its features and capabilities. I1 ROM Checksum. The modem reports the value of its ROM checksum. The decimal number displayed is the 8- bit sum (from 0 to 255) of all the bytes in ROM. I2 ROM Checksum. The modem checks its ROM and reports a result code of OK or ERROR. I3 Software Versions. The modem reports its software versions and release date. I4 Modem Identification. The modem reports a configurable identification message to the terminal. Flow Control This command provides compatibility with the &K functions in the Rockwell AT command set. PS001907-0904 &K0 This option disables flow control. &K3 This option enables RTS/CTS flow control. Same as \Q3. &K4 This option enables XON/XOFF Flow control. Same as \Q1. AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 26 Table 3. AT Command Set (Continued) Command M \N Function and Description Speaker ON/ M0 OFF Options M1 Asynchronou s Terminal Data Options The speaker is always OFF. The speaker is ON until the carrier is detected. This value is the default value in North America. M2 The speaker is always ON (in this case, the speaker stays ON after the carrier is detected). M3 The speaker is off as digits are dialled, but on during ringback and the until carrier signal is detected. The \N command determines the path of asynchronous format data through the modem to the terminal. The data path is set at the start of a telephone line connection. The Communications Mode Options (&Q) determines whether terminal data is in asynchronous or synchronous format. \N0 This command is NORMAL (or buffered) operation. This mode enables data rate matching between the telephone line and terminal, and flow control between the modem and the terminal. In all data modes (V.22bis, V.22, Bell 212A, V.23, Bell 202, Bell 202T, V.21 and Bell 103), data is buffered through the modem controller before being modulated to and from the telephone line. \N1 This command is the DIRECT operation. This mode does not enable data rate matching, or flow control between the modem and the terminal. After the CONNECT message is displayed, the terminal adjusts the data rate to match the telephone line rate. In V.23, V.21, Bell 202, Bell 202T, and Bell 103 data modes, data from the terminal is directly modulated to and from the telephone line. In V.22bis, V.22 and Bell 212A data modes, data from the terminal is converted to SYNCHRONOUS format using ITU V.14 to adjust for small (up to 2.5%) timing discrepancies in the data rate without the use of flow control. This value is the default value. PS001907-0904 AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 27 Table 3. AT Command Set (Continued) Command O Function and Description Return to ON-LINE Mode The O command returns the modem to the ON-LINE mode. It frequently follows the escape character sequence (+++) to resume communication with the remote modem. If handshaking is started, the modem uses ORIGINATE or ANSWER mode handshaking. O0 This option returns the modem to the ON-LINE state from the COMMAND state during a telephone line connection. The modem starts handshaking if there is no telephone line connection but the modem was off-hook. O1 This option returns the modem to the ON-LINE state and retrains its data pump during a telephone line connection. The modem starts handshaking if no telephone line connection exists and the modem is off-hook. P Pulse Dialing &P Pulse Dial The &P command sets the cadence of the pulse dial. The country configuration Make/Break may disable this command, forcing particular pulse dialing parameters. When country restrictions are in effect and this command is issued, the modem Ratios returns an ERROR result. Q Selects the PULSE method of dialing. Pulse is the default dialing method in North America. &P0 39%/61% make/break ratio and 10 pulses per second when pulse dialing. This value is the default value. &P1 33%/67% make/break ratio and 10 pulses per second when pulse dialing. &P2 39%/61% make/break ratio and 20 pulses per second when pulse dialing. &P3 33%/67% make/break ratio and 20 pulses per second when pulse dialing. Result Code This command enables or disables display of result codes. Display Q0 For this option, result codes are displayed. This value is the Options default value for North America. Q1 PS001907-0904 Result codes are not displayed. AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 28 Table 3. AT Command Set (Continued) Command &Q Function and Description Communicat The &Q command selects the terminal communication mode: asynchronous or ions Mode synchronous. Synchronous terminal data is transmitted directly between the Options terminal and data pump using the data pump clock signals. PS001907-0904 &Q0 ASYNCHRONOUS mode. This value is the default value for North America. The \N command controls asynchronous terminal data options. &Q1 SYNCHRONOUS mode. This option disconnects the modem from the line if DTR goes from ON to OFF for longer than the time in S-register S25 after the CONNECT result code has been sent to the terminal. &Q2 SYNCHRONOUS mode. This option takes the telephone line off-hook and either answers or dials when DTR goes from OFF to ON. If S-register S0 has been set to answer the telephone line (S0 > 0) and more than the specified number of ring signals are received (see S-Register S1), then the modem answers, otherwise the modem dials the stored telephone number (see &Z). When DTR goes from ON to OFF for longer than the time in S-register S25, the modern disconnects from the line. &Q3 SYNCHRONOUS mode. This option takes the telephone line off-hook and handshakes as either an answerer or an originator when DTR goes from OFF to ON. If S-Register S0 has been set to answer the telephone line (S0 > 0) and the number of signals received is greater than the value of S0 (see S-Register S1) then the modem answers. Otherwise, the modem originates. The modem hangs up when DTR goes from ON to OFF for longer in time than the value of S-register S25. AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 29 Table 3. AT Command Set (Continued) Command \Q Function and Description Flow Control The \Q command specifies flow control between the modem and the terminal when \N0 is selected. Flow control prevents data from being lost by preventing the terminal from sending data to the modem too quickly. The modem issues flow-control characters to the terminal to inform it to stop sending data. When it is able to receive more data by informing the terminal to resume sending data. Similarly, the terminal can use flow control to prevent data loss caused by the modem sending data too quickly to the terminal. Flow control does not work unless both the terminal and the modem are configured to use the same type of flow control. #QSI RAM Download Command \Q0 This option disables flow control. \Q1 This option enables XON/XOFF flow control. In this mode, either the modem or terminal may send an XOFF character to stop the other device from sending data. An XON character is sent to resume the transmission of data. \Q2 This option enables CTS flow control. The modem turns its CTS signal OFF to stop data transfer. The modem turns its CTS signal ON to permit data transfer. \Q3 This option enables RTS/CTS flow control. In this mode, the modem uses its CTS signal as described in \Q2. The terminal turns its RTS signal OFF to stop data transfer. The modem turns its RTS signal ON to permit data transfer. This value is the default value. \Q4 This option enables unidirectional Data communication Equipment (DCE)-to-Data Terminal Equipment (DTE) XON/ XOFF flow control. In this mode, the modem sends an XOFF character to instruct the terminal to stop sending data. The modem sends an XON character to instruct the terminal to resume sending data. The modem treats XON and XOFF characters sent from the terminal to the modem as data characters. This command is used by a host controller to send a table of country parameters to the modem immediately after reset. At reset, the modem uses the country parameters stored in ROM, or the optional attached EEPROM, until parameters are loaded into RAM using #QSI. Tables of country parameters are created using Diplomat. #QSIh PS001907-0904 Download a table of parameters as ASCII hexadecimal characters. Use this format when the host controller uses a parity bit on data transmitted to the modem. AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 30 Table 3. AT Command Set (Continued) Command Function and Description #QSIb Download a table of parameters as binary 8-bit data. Use this format when the host controller sends 8-bit data to the modem (that is, when no parity bit is used on data sent to the modem). After the download command is issued, the host controller waits for the modem to return an ASCII ACK (0x06), then transmits the table of country parameters. The modem returns a result code after the download completes, either OK or ERROR. If an ERROR result code is returned, the host controller is expected to reset the modem. The country parameters stored in RAM include all the parameters stored in EEPROM or ROM except the client message (AT14), the S-register defaults and limits, and the adjustable transmit levels. The modem uses the copies of these parameters kept in the optional EEPROM, or the ROM. PS001907-0904 AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 31 Table 3. AT Command Set (Continued) Command R Function and Description Line Reversal Command and Option When issued to the modem transmitting at 75 bps during Minitel V.23 operation (B4 and S register S37 is 1), this command causes the transmit data rate to change to 1200 bps and the receive data rate to change to 75 bps. If the remote modem supports and is configured for Minitel operation with line reversals, it automatically detects the rate switch and changes its own transmit and receive data rates. When issued to modems in the IDLE state (no connection), this command causes the modem to attempt to establish its next connection using the reverse data band, as described below. The V.22bis, V.22, Bell 212, V.23, Bell 202, V.21 and Bell 103 data modes each support two data bands. One data band is used to transmit data, the other to receive. The modem picks which data bands it uses for transmit and receive according to whether it is the calling or answering modem for the connection. If the data bands are reversed, the modem will not be able to establish a connection with another modem unless that modem's data bands are also reversed. By issuing this command to both the calling and answering modems, a V.23 Minitel connection (command B4) may be started with the calling modem transmitting at 1200 bps and receiving at 75 bps. This command may be used before establishing a connection in any data band, and affects only the next connection. If the modem is in the IDLE state, the R command configures the modem to enter STATIC REVERSE mode when a Minitel connection is made. If the modem has a connection and is in Minitel MASTER mode then issuing the R command performs a direct turnaround. If the reversal is successful then the modem returns OK. If the reversal is unsuccessful, the modem returns OK. Otherwise, it returns NO CARRIER. If the modem is not in MASTER mode, ERROR is returned. When B4 and S-register S37 are 1 and the terminal is transmitting at 75 bps during Minitel V.23 operation, the transmit and receive rates change to 1200 bps and 75 bps respectively. If the remote modem supports and is configured for Minitel operation with line reversals, it automatically detects the rate switch and changes its own transmit and receive data rates. See “Minitel Line Reversal” on page 44 for details. Note: R may be followed the O command in the command line to return ONLINE immediately. PS001907-0904 AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 32 Table 3. AT Command Set (Continued) Command \R Function and Description Minitel line reversal using RTS Options During V.23 Minitel connections, B4 and S-register S37 are 1. When the modem is transmitting at 75 bps, it can be configured to perform a Minitel line reversal when RTS changes from ON to OFF. To perform a Minitel line reversal, the modem transmitting at 75 bps changes its transfer rate to1200 bps (transmit) and 75 bps (receive). If the remote modem supports and is configured for Minitel operation with line reversals, it automatically detects the rate switch and changes its own transmit and receive data rates. See the section on See “Minitel Line Reversal” on page 44 for details. \R0 This option does not execute a Minitel line reversal when RTS changes from ON to OFF. This value is the default value. \R1 This option performs a Minitel line reversal when RTS changes from ON to OFF. Sn Sets the current S-register to n The Sn command sets the current S-register to the value n selected by the user. For example, ATS7 sets the current S-register to S7. The default value is 0. Sn addresses a particular S-register number so future commands like ? and = reads or writes the S-register. Modem reset and the &F command select S0 as the default S-register. &S Data Set Ready The &S command controls Data Set Ready. If &Q1, &Q2 or &Q3 (SYNCHRONOUS mode) is selected, the modem's DSR signal operates as if &S1 is set. If &Q0 (ASYNCHRONOUS mode) has been selected: &S0 This option forces DSR always ON. This value is the default value in North America. &S1 This option causes the modem's DSR signal to be ON at the start of handshaking and OFF when the modem is retraining or in the IDLE state. , Pause , Comma (,) makes the modem pause for a length of time in S-register S8 before processing the next character in the command line. ? Read an S-Register ? The ? command displays the value of the last S-register named in the Sn command. =x Write an S-register =x The =x command writes the value x to the last S-register named in the Sn command. The range of valid values for x depends upon the S-register being written. The value 0 is assumed if no value is provided for x. T Tone Dialing T PS001907-0904 Selects the tone method of dialing. AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 33 Table 3. AT Command Set (Continued) Command V Function and Description Result Code The V command changes the format in which result codes are displayed. Format V0 All result codes are displayed as numbers. V1 X Call Progress All result codes are displayed as words (verbose form). This value is the default value for North America. The X command controls detection of a busy signal or dial tone when the modem is dialing. The X command also limits the result codes the modem may return when dialing. The operation of the X command is configurable for operation in different countries. X0 Neither a busy signal nor a dial tone is detected. When a telephone line connection is made, the result code does not indicate the telephone line data rate. X1 Neither a busy signal nor a dial tone is detected. When a telephone line connection is made, the result code indicates the telephone line data rate. X2 A busy signal is not detected; however, a dial tone is detected. When a telephone line connection is made, the result code indicates the telephone line data rate. X3 Busy signal is detected; however, a dial tone is not detected. When a telephone line connection is made, the result code indicates the telephone line data rate. X4 Both a busy signal and a dial tone are detected. When a telephone line connection is made, the result code indicates the telephone line data rate. This value is the default value in North America. The @ and W dial modifiers are not affected by the X command. The @ dial modifier may return the result codes 8 (NO ANSWER) or 7 (BUSY) each time it appears in the dial string. The W dial modifier may return the result codes 6 (NO DIALTONE) or 7 (BUSY) each time it appears in the dial string. &Z0=x Store Telephone Number The &Z0=x command saves a dialing string in the modem's nonvolatile memory (EEPROM). The value of X may be up to 36 characters long and may contain any dialing digits or modifiers, except the S=n modifier. Characters that are neither dialing digits or dial modifiers are ignored and not stored. If the modem does not feature nonvolatile memory, an ERROR result code is returned. The command may be issued in one of three different ways: &Z<dial string> &Z=<dial string> &Z0=<dial string> PS001907-0904 AT Command Set Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 34 Dial Modifiers Dial modifiers perform special functions within a dial command. Example: ATDT9W1552368!@#71234;<CR> In this example, the modem is instructed to use tone dialing • (T), to access a number outside a PBX • (9), to wait for dial tone • (W), to dial the number 1552368 • To do a hook-flash (for example, timed break recall) • To wait for quiet answer • To issue the PBX transfer code #7 before dialing extension number 1234. After these instructions are executed, the modem returns to the COMMAND state before initiating the handshake. . Table 4. Dial Modifiers Modifier Function 0–9 A B C D # * Dialing digits and characters. The digits and characters 0-9 A B C D # * specify the numbers the modem dials. The characters A B C D # * apply only to tone dialing. The characters are ignored for pulse dialing. The characters A, B, C, and D may be disabled in countries prohibiting their use. P Pulse dialing. P selects the PULSE method of dialing. This command may be issued within a dial command or as a separate command. The default method of dialing is PULSE. R Originate a call in ANSWER mode. R causes the modem to handshake in ANSWER mode so it can originate a call to an originate-only modem. S=n Dial a stored telephone number. The equals command S=0 instructs the modem to dial a stored telephone number if the modem has nonvolatile memory (EEPROM) to store country parameters. Stored numbers may contain any dial digits or modifiers. Telephone numbers may be stored using the &Z command. If the modem does not feature nonvolatile memory (EEPROM) and the S command is issued, an ERROR result code is returned. T Tone dialing. T selects the TONE method of dialing. T can be issued within a DIAL command or as a separate command. The default method of dialing is PULSE. W Wait for dial tone. W causes the modem to wait for a dial tone before proceeding. If no dial tone is detected, the modem hangs up the telephone line and returns the NO DIALTONE result code. , Delay processing of next character. A comma (,) causes the modem to pause for the length of time in S-register S8 before processing the next character in a dial string. PS001907-0904 Dial Modifiers Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 35 Table 4. Dial Modifiers (Continued) Modifier Function @ Wait for quiet answer. The @ modifier causes the modem to listen for silence before continuing. The modem waits up to the length of specified time in S-register S7. If enough (configurable by country) silence is not detected within the time period specified in S-register S7, the modem hangs up and returns the NO ANSWER result code. If enough silence is detected, the modem continues processing the other characters in the dial string. ! Timed break recall (Hookflash). An exclamation point (!) causes the modem to hang up the telephone line for the length of time specified in S-register S29, then take the telephone line off-hook again. This modifier is frequently used to access a PBX’s call transfer function. ; Return to COMMAND state after dialing. A semicolon (;) instructs the modem to return to COMMAND state after dialing without breaking the telephone line connection and without handshaking with the other modem. The semicolon may only be used when calling a voice mail system that permits tones to transmit numbers when a connection is established. Setting the Highest Line Rate The connect rate can be selected by S-register S37. The following connect rates are supported. Table 5. S37 Register Connect Rates S37 Value Carrier 0 Data Rate The Data Rate of the Last AT Command 1 V.23 2 Bell 202, Bell 202T 1200/150 bps. Refer to the Communication Standard Options (B) command for a description. When ON-LINE, the modem recognizes the Escape Sequence (+++) and modem commands only at 1200 bps. 3 V.21, Bell 103 4 1200/75 bps. Refer to the Communication Standard Options (B) command for a description. When ON-LINE, the modem recognizes the Escape Sequence (+++) and modem commands only at 1200 bps. 300 bps. Refer to the Communication Standard Options (B) command for a description. Reserved 5 V.22, Bell 212A 1200 bps. Refer to the Communication Standard Options (B) command for a description. 6 V.22bis 2400 bps PS001907-0904 Setting the Highest Line Rate Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 36 Result Codes A result code is a line of text or a number that the modem sends to the terminal to indicate the result of a command execution. Some connect result codes indicate the telephone line data rate. The following table provides a list of the available result codes. Table 6. Result Codes Number Word Result Code Description 0 OK A command line is executed successfully without errors. 1 CONNECT The modem is in the ON-LINE state, ready to transfer data. 2 RING The modem has detected a ring signal on the telephone line. The country configuration may disable the modem’s ability to detect a telephone line ring signal. 3 NO CARRIER Either no carrier signal is detected when answering/placing a telephone call or the carrier is lost during a call. The modem also returns this result code when the telephone line connection is broken for any reason. 4 ERROR An invalid command is issued, or there an error exists in the command line. 5 CONNECT 1200 The modem is in the ON-LINE state, ready to transfer data. The telephone line data rate is 1200 bps. 6 NO DIALTONE No dial tone is detected when the modem takes the telephone line offhook. 7 BUSY The modem detects a busy signal on the telephone line. 8 NO ANSWER A too short period of silence is detected in response to the @ dial modifier. 10 CONNECT 2400 The modem is in the ON-LINE state, ready to transfer data. The telephone line data rate is 2400 bps. 16 CONNECT 1200TX/75RX The modem is in the ON-LINE state, ready to transfer data. This modem transmits at 1200 bps and receives at 75 bps. 17 CONNECT 75TX/ 1200RX The modem is in the ON-LINE state, ready to transfer data. This modem transmits at 75 bps and receives at 1200 bps. 18 CONNECT 1200TX/150RX The modem is in the ON-LINE state, ready to transfer data. This modem transmits at 1200 bps and receives at 150 bps. 19 CONNECT 150TX/ The modem is in the ON-LINE state, ready to transfer data. This modem 1200RX transmits at 150 bps and receives at 1200 bps. 20 BLACKLISTED The modem does not allow any number to be dialed until the modem is reset. 21 DELAYED The modem does not allow any number to be dialed now, until a specified time period elapses. PS001907-0904 Result Codes Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 37 Modem S-Registers Modem S-registers contain the values of special purpose ASCII characters, timing parameters and other modem parameters. The value of an S-register is modified by the AT S command. Each S-register has three values that may be configured for specified countries: a default value, an upper limit, and a lower limit. The values described in this manual are for North America. Table 7. Modem S-Registers Register Range Default Units Description S0 0–255 0 Rings Sets number of rings before auto-answer. The modem automatically answers the telephone after it rings the number of times specified in register S0. If S-register S0 is 0 the modem does not automatically answer the telephone. Any value from 0 to 255 is valid. The country configuration may disable the modem’s ability to detect a telephone line ring signal. In this case, the modem never automatically answers the telephone regardless of the S0 setting. The default value is 0 (auto-answer disabled) S1 0–255 0 Rings Returns the number of times the phone rings. When the modem is in the IDLE state and set to automatically answer the telephone (S-register S0 > 0), the modem records the number of times the phone rings in S-register S1. The value of S1 reverts to 0 if no ring occurs for several seconds. S2 0–255 43 ASCII Sets escape sequence character. S-register S2 is the value of the escape sequence character. Setting S2 to a value greater than 127 disables the character escape sequence, preventing the modem from returning to Command state when in the ON-LINE state. The ASCII default value is +. S3 0–127 13 ASCII Sets the end-of-line character. S-register S3 is the value of the end of line character. S3 is used at the end of command lines and result codes. S4 0–127 10 ASCII Sets the line feed character. S-register S4 is the value of the character for line feed. S5 0–127 8 ASCII Sets the backspace character. S-register S5 is the value of the character for backspace. This character moves the cursor left on a command line, deleting the previous character. PS001907-0904 Modem S-Registers Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 38 Table 7. Modem S-Registers (Continued) Register Range Default Units Description S6 2 Seconds Delay to wait before performing a blind dial. S-register S6 is the modem's delay after going off-hook before blind dialing (that is, dialing without waiting for a dial tone). The delay lets the central telephone office detect the modem has gone offhook and put a dial tone on the line. This delay only applies to the first dial tone. S-register S6 is used only if X0, X1 or X3 has been selected. 2–255 The W dial modifier in the DIAL command applies only to detection of dial tone at a later time and is independent of S6. S7 1–255 30 Seconds Delay to wait for carrier after dialing. S-register S7 is the maximum amount of time the modem waits for a dial tone (see Table 4, “Dial Modifiers,” on page 34, W dial modifier), waiting for silence (@ dial modifier), dialing or handshaking. When answering, the modem may spend time handshaking up to the amount specified in S7 (taking the telephone line offhook until entering DATA mode). When calling, the modem may spend up to to the amount specified in S7,(from taking the telephone line off-hook until beginning handshaking). Then the modem may spend additional time handshaking, up to the amount specified in S7, with the other modem until entering DATA mode. The modem hangs up and returns the NO DIALTONE, NO ANSWER or NO CARRIER result codes if a length of time longer than the amount specified in S7 is required for these operations. S8 0–255 2 Seconds Delay to wait when a comma dial modifier is processed. S-register S8 is the duration of the delay when the comma (,) command or dial modifier is processed. S9 1–255 6 1/10th second Time carrier must be present before being recognized. Sregister S9 is the number of tenths of a second a carrier signal must be present before the modem recognizes it PS001907-0904 Modem S-Registers Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 39 Table 7. Modem S-Registers (Continued) Register Range Default Units Description S10 14 1/10th second Delay between lost carrier and hang up. S-register S10 is the time between loss of the carrier signal from the other modem and hang up by this modem. The carrier signal may be lost for periods up to S10 minus S9 without causing the modem to hang up. Setting S-register S10 to 255 causes the modem to never hang up the telephone line because of loss of carrier. 1–255 The modem only recognizes a carrier signal after the time specified in S-register S9. S-register S10 must always be greater than S-register S9 so a carrier signal can be recognized before the telephone line goes off-hook. S11 50–255 95 msecond DTMF tone duration. S-register S11 is the duration of a DTMF tone. The country configuration may also specify that S11 is the time between DTMF tones. S12 0–255 50 1/50th second Escape prompt delay time. Register S12 is the prompt delay time for escape sequences from the ON-LINE state to the COMMAND state. S13 Reserved Reserved Reserved S14 Reserved Reserved Reserved S15 Reserved Reserved Reserved S16 Reserved Reserved Reserved S17 6 to 43 S18 Reserved Reserved Reserved S19 Reserved Reserved Reserved S20 Reserved Reserved Reserved S21 Reserved Reserved Reserved S22 Reserved Reserved Reserved S23 Reserved Reserved Reserved S24 Reserved Reserved Reserved PS001907-0904 10 –dBm Sets transmit level. The actual transmit power used is adjustable by the country configuration to accommodate differences in transformers and other components in the telephone line interface. Modem S-Registers Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 40 Table 7. Modem S-Registers (Continued) Register Range Default Units Description S25 5 seconds or 1/100 second DTR detection. During synchronous operation with the &Q1 command in effect, S-register S25 is the number of seconds after a telephone line connection is made before the modem examines DTR. This action allows sufficient time to disconnect the modem from an asynchronous terminal and attach it to a synchronous terminal. 0–255 In the ON-LINE or COMMAND state during any mode of operation, DTR changes from S25-1 to S25 hundredths of a second are ignored.. S26 Reserved Reserved Reserved S27 Reserved Reserved Reserved S28 0–255 0 minutes Terminal inactivity time-out. Hangs up the modem after the number of minutes specified in S28 if no characters are received from the modem’s terminal. S29 0–255 25 1/50th second Hook flash on-hook time. The amount of time in 20 millisecond units the modem leaves the telephone on-hook while performing a hook-flash according to the ! dial string modifier. S37 0–6 0 code Sets the highest line rate. This register determines the highest telephone line data rate the modem uses when connecting with a remote modem. If S37 is set to a data rate higher than the modem supports it attempts to connect at its highest data rate. The Communication Standard Options command (B) controls which modulation standards are allowed for telephone line data rates that feature more than one choice. S37 refers to the telephone line data rate. The modems may communicate with their terminals at different data rates. In case of conflict between the B option and S37, S37 takes precedence. Configure both modems identically to prevent communication failures caused by incompatible telephone line modulation standards. See “Setting the Highest Line Rate” on page 21 for different Communication Standards. PS001907-0904 Modem S-Registers Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 41 Table 7. Modem S-Registers (Continued) Register Range Default S90 0x3F 0–255 PS001907-0904 Units Description PttBitmap (0) Bit 0: PTT_ALLOW_ABCD, set to allow A, B, C, and D DTMF tones to be issued (ADT). Bit 1: PTT_ALLOW_PULSE, set to allow pulse dialing (ATDP). Bit 2: PTT_ALLOW_ATH1, set to allow the modem to go offhook but not handshake (ATH1). Bit 3: ALLOW_BUSY_DISABLE, set to allow busy detection to be disabled (ATX). Bit 4: ALLOW_BLIND_DIAL, set to allow the dial tone detection to be disabled, that is, to allow blind dialing (ATX). Bit 5: USE_AP_CMD, set to allow the pulse dial make/break ration to be set (AT&P). Bit 6: DISABLE_P_AFTER_T, set to disable pulse dialing after tone dialing (no ATDT12P12). Bit 7: LINE_SENSE_ENABLE, set to enable line current sensing before taking the modem off-hook (ATA, ATD, autoanswer) Modem S-Registers Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 42 Table 7. Modem S-Registers (Continued) Register Range Default S91 0x88 0–255 PS001907-0904 Units Description PttBitmap (11) Bit 0: FORCE_1800HZ_GT, set to force use of 1800 HZ guard tone. Bit 1: CALLTONE_ENABLED, set to force use of V.25 calling tone. Bit 2: DO_SWISS_BUSY, set to use the Swiss busy workaround. Bit 3: PTT_TEST_CMD, set to enable the AT&HT command (PTT test). Bit 4: BLIST_ENABLED, set to enable blacklisting. See BL_MINDELAY_S and related parameters. Bit 5: FRANCE_CALL_DELAY, set to force France call originate delay after ring. Bit 6: VOICE_ANSWER, set to enable detection of voice answer. Bit 7: DTMF_S11, set to use S11 instead of DTMFINTERDIGITMS for the delay between dialed DTMF digits. Modem S-Registers Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 43 Table 7. Modem S-Registers (Continued) Register Range Default S92 0–255 0x80 S93– S246 0–255 – PS001907-0904 Units Description PttBitmap (12) Bit 0: Z02215_GPOB0, general purpose parallel output pin. This bit allows for automatic selection of country specific circuits in a general purpose DAA design. Set this bit to 1 to set the PB2 signal to +5 V. Set it to 0 to set PB2 to 0V. Bit 1: Z 02215_GPOB0, general purpose parallel output pin. This allows for automatic selection of country specific circuits in a general purpose DAA design. Set this to 1 to set the PB3 signal to +5 V. Set to 0 to set PB3 to 0V. Bit 2: Z02215_USE_ACTIVEHYBRID, set this bit enables the DSP's on chip active hybrid in all non-4 wire connections. Bit 3: LINE_SENSE_ONLINE, set to require detection of line current when the telephone line is off-hook. Bit 4: DPSLEEP_DISABLE, set to1 to prevent the data pump from being put into sleep mode when idle. Placing the data pump in sleep mode reduces power consumption by approximately 50 mA. Disabling sleep mode may increase the modem's reliability, some modem designs experience occasional problems waking after sleep. Bit 5: MCSLEEP_DISABLE, set =1 to prevent the Z02215 from being put to sleep when idle. Placing the Z02215 in sleep mode reduces power consumption by approximately 8 mA. Disabling sleep mode may increase the modem's reliability, some modem designs experience occasional problems waking after sleep. Regardless of the setting of MCSLEEP_DISABLE, the Z02215 is not put into sleep mode when dial blacklisting. Bit 6: CID_V23, set =1 to use V.23 when decoding the CID signal. Set =0 to use B202 when decoding the CID signal. Bit 7: CID_ENABLE, set to enable the recognition of North American Caller ID signals. Note: The default for S92 is 0x80 (or 128 decimal), the AT command to set the active hybrid would be: ATS92=132 – These S-registers provide direct access to the country parameters stored in RAM, and are not intended to by used during normal operation of the modem. Refer to the #QSI command for a description of updating the modem’s country parameters in RAM. Modem S-Registers Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 44 Minitel Line Reversal The modem contains code that supports the Minitel Line Reversal method, as specified in the STUM documentation (Minitel specification). Table 8 describes the terminology and definitions used in this section. Table 8. Minitel Terminology and Definitions STATIC REVERSE mode The ability of the modem to dial and connect in REVERSE mode (Rx@75 bps, Tx @ 1200 bps). DYNAMIC REVERSE mode The ability of the modem to enter REVERSE mode one connected (switching from one mode to the next). MASTER mode NORMAL mode (Tx75/Rx1200 from the originator side) SLAVE mode REVERSE mode (Tx1200/Rx75 from the originator side) Direct turnaround Entering REVERSE mode Reverse turnaround Entering NORMAL mode General Description of the Turnaround Principle Only the modem which is in MASTER mode can physically initiate a turnaround by changing its carrier from 390 Hz to 1300 Hz. When this change occurs the remote modem, which is in SLAVE mode, detects the changing carrier and also reverses. The Minitel STUM specifies character sequences that are exchanged by the Data Terminal Equipment and the PAVI (Videotex server) to determine if the PAVI can reverse (before the first turnaround). Some character sequences are also sent through the Minitel modem to request a Reverse turnaround from the PAVI, and then acknowledge the turnaround. The modem ignores these sequences. DYNAMIC REVERSE Mode Direct Turnaround To perform a direct turnaround, the user enters into ON-LINE COMMAND mode by sending the +++ escape command or by making an active/inactive DTR transition (if AT and DI has been previously executed). The user then sends the ATRO command (an R command followed by an O command). As the modem supports the Time Independent Escape Sequence (TIES), the following command may be sent. +++ATRO<CR> The modem then goes off-line, executes the R command, and returns ON-LINE. PS001907-0904 Minitel Line Reversal Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 45 Alternatively, the user can select the \R1 command option and use the RTS hardware signal to initiate a line reversal. When RTS changes from active (logic 0 or 0 volts) to inactive (logic 1 or +5 volts), the line turnaround executes. This method is the fastest method of executing the line turnaround. At execution of the R command, the Carrier Detect signal (CD) goes inactive, the modem reverses (its carrier changes from 390 Hz to 1300 Hz), and waits for a 390 Hz carrier for 440 ms. • If the modem detects more than 40 ms of a 390 Hz carrier within 440 ms, it sends the CONNECT 1200/75 result code to the Host. CD goes active. • If the modem does not detect more than 40 ms of a 390 Hz carrier within 440 ms, it hangs up and sends the NO CARRIER code to the Host. Reverse Turnaround The modem performs a Reverse turnaround when a carrier drop longer than 20 ms is detected. The Carrier Detect (CD) signal goes inactive and the modem reverses its carrier (from 1300 Hz to 390 Hz) and waits for a 1300 Hz carrier for 220 ms. • If the modem detects more than 40 ms of a 1300 Hz carrier within 220 ms, it sends the CONNECT 75/1200 code to the Host. The CD then goes active. • If the modem does not detect more than 40 ms of a 1300 Hz carrier within 220 ms, it reverses again and waits for a 390 Hz carrier for 220 ms. – If the modem detects more than 40 ms of a 390 Hz carrier within 220 ms, it sends the CONNECT 1200/75 code to the Host. The CD then goes active (there was a short carrier dropout). – If the modem does not detect more than 40 ms of a 390 Hz carrier within 220 ms, it hangs up and sends the NO CARRIER code to the Host. If the modem is in REVERSE mode and receives the R command, it sends the ERROR code to the Host. STATIC REVERSE Mode If the command ATR has been executed, the following ATD command forces the modem to try to connect in REVERSE mode. Escape Sequences An escape sequence is one or more particular characters sent from the terminal to the modem during the ON-LINE state. This sequence is activated to switch the PS001907-0904 Escape Sequences Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 46 modem to the COMMAND state so modem commands may be entered during a telephone line connection. The Escape Sequence characters are typically sent to the other modem as data. An escape sequence must not occur accidentally during an exchange of data between two modems. Unfortunately, it is impossible to guarantee that any escape sequence never occurs accidentally, because there are no restrictions on the data or timing between characters sent between two modems during the ONLINE state. The only method of switching from the ON-LINE state to the COMMAND state that never occurs accidentally during an exchange of data is the Data Terminal Ready signal (the &D1 command). The terminal has complete control of this signal, and it is not part of the data exchanged between the modems. TIES Escape Sequence Time Independent Escape Sequence (TIES) is a sequence of three escape characters (+ characters by default). When these characters are recognized, the modem enters the COMMAND state without sending a confirming result code to the terminal. The modem then starts a prompt delay timer. During the prompt delay, the following situations may occur: • If one of the recognized AT commands is received before the timer expires, the timer is stopped, the command is executed, and its result code is sent to the terminal. • If any other data is received while the timer is running, the timer is stopped, the modem returns to the ON-LINE state, and the received data is sent to the other modem. • If the timer expires, a confirming result code is sent to the terminal, indicating that the modem is in the COMMAND state. The escape character and prompt delay timer can be changed by writing new values to S-registers S2 and S12. Carrier Detection After handshaking, the modem determines if a telephone line connection exists by detecting the carrier signal from the other modem. If the carrier is not detected for a specified period of time, the modem presumes the telephone line connection with the other modem has been broken. The modem uses S-register S9 to determine how long a carrier must be present before it is detected. The modem uses Sregister S10 to determine how long a carrier may not be detected before the telephone line is disconnected. PS001907-0904 Carrier Detection Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 47 Blacklisting Management Blacklisting applies separately to each number dialed, and indicates the call blocking capability for specific phone numbers. To minimize RAM, calls are treated as if they are all to the same number. The first connection attempt after modem reset or a successful connection is always allowed. If a connection attempt is not successful, then each following connection attempt is checked as follows: a. If voice answer was detected too many times the attempt is not allowed, the modem returns a BLACKLISTED result code. b. If the attempt occurred too quickly (within the inter-call timing period) then the attempt is not allowed, and the modem returns a DELAYED result code. c. If there is a blacklisting period limiting the number of attempts that may be made within the period, and too many attempts are made, then the attempt is not allowed, the modem returns a DELAYED (if a call may be made later) or BLACKLISTED result code (if no calls may be made later). The following Blacklisting parameters can be controlled through Diplomat™: • Minimum delay in seconds between successive dial attempts • Number of successive dial attempts after which (c) applies • Minimum delay in seconds between successive dial attempts after (b) unsuccessful dial attempts • Maximum number of dial attempts permitted in a series of dial attempts • Blacklisting period in minutes for each series of dial attempts Technical Specifications Configurations and Data Rates The Z02215 can be configured to any of the V.22bis operation modes. Table 9 provides the selectable options, the supported data rate, and the baud rate, and frequency to be modulated. Data Encoding The data encoding for the Z02215 meets ITU–T recommendations as well as Bell standards. PS001907-0904 Blacklisting Management Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 48 Table 9. Selectable Configurations Data Rate (bps) Symbol Rate (baud) Bits Per Symbol Constellation Points Configuration Modulation1,2 Carrier Frequency 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 – 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 – Bell 202/ Bell 202T 1200/150 FSK 1700/437 1200/150 1200/150 1 – Notes: 1. QAM is Quadrature Amplitude Modulation FSK is Frequency Shift Key 2. Tone is Single or Dual Tone (DTMF), TM is Trellis Modulation, DPSK is Dual Phase Shift Keying Transmitted Data Spectrum The transmitted data spectrum, with compromised equalization disabled, is shaped in the baseband of the Finite Impulse Response (FIR) filter. Table 10 reflects the spectrum characteristics. Table 10. Spectral Shaping Mode Carrier Freq Spectral Power Shaping Function V.22 1200/2400 square root 75% Raised Cosine at 600 baud V.22bis 1200/2400 square root 75% Raised Cosine at 600 baud Bell 212A 1200/2400 square root 75% Raised Cosine at 600 baud Note: The carrier and the spectral shaping are selected automatically according to the Configuration. Active Hybrid Circuit and Relay Driver An active hybrid circuit is added to the Analog Front End (AFE) of the Z02215 to improve the received signal quality level by 20dB and to improve the modem performance. The on-chip active hybrid reduces system level costs by reducing the PS001907-0904 Transmitted Data Spectrum Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 49 requirement for external components making the designs cost effective and space efficient. The 2-wire to 4-wire hybrid interfaces to telecom coupling transformers in the Data Access Arrangement (DAA). The off-hook and shunt relay drivers provide a drive capability of 30 mA to allow the use of commonly available mechanical telecom relays. Operating Notes Dynamic Power Management The Z02215 incorporates a low-power SLEEP mode. In this mode, the clock is stopped. The modem controller software automatically puts the modem's data pump into a power-saving SLEEP mode when it is not in use. The modem controller software also puts the modem controller to SLEEP when possible. This SLEEP feature operates transparently to the modem's operation. Approximately 58 mA of power is saved when both the modem data pump and controller are put in SLEEP mode. When the Modem Controller is in SLEEP mode, it stays asleep until an interrupt is issued for a condition, such as: • Start bit is received from the terminal • Telephone line ring is detected from the telephone line interface The modem controller cannot be in SLEEP mode if dial blacklisting is enabled in the country parameters and is being timed. The modem controller cannot be in SLEEP mode if AT&D3 is set because a DTR ON-to-OFF transition cannot change the modem’s state out of SLEEP mode. Clock Oscillator Description The Z02215 on-chip oscillator has a high-gain, parallel-resonant amplifier, for connection to a crystal (XTAL is Output, EXTAL is Input). The crystal is AT cut, 24.576 MHz, with a series resistance (RS) of less than or equal to 25 Ohms. The crystal is connected across XTAL and EXTAL using the vendor's recommended capacitor values from each pin directly to the device Ground pin to reduce ground-noise injection into the oscillator. Note: For better noise immunity, the capacitors must be tied directly to the device Ground pin (VSS). PS001907-0904 Operating Notes Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 50 XTAL C1=C2 to 2(C2) VSS* 100K C1, C2 – The C values are dependent on the load capacitance of the chosen crystal. Refer to the Application Note titled Crystal Oscillator for Embedded Modems at: http://www.zilog.com/pdfs/modem/ appnote_crystal.pdf C2=20 pF Max. EXTAL R = 100K W * Device ground pin VSS* Figure 5. Oscillator Configuration Table 11. Suggested Crystal Specifications (C1=C2=20pF*, C0=2pF) Parameter Value Temperature Range (Standard) Temperature Range (Extended) 0°C to +70°C –40°C to +85°C Nominal Frequency @ 25°C 24.576 MHz Frequency Tolerance @ 25°C ±20 PPM Temperature Stability @ 0°C to 70°C ±25 PPM Calibration Mode Parallel Resonant Shunt Capacitance (C0) 4 pF Max. Load Capacitance 15 pF Drive Level 1.5 mW max. Aging, per Year Max. ±5 PPM Oscillation Mode Fundamental Series Resistance 25 Ω max. Q 70K * includes pin parasitics Suggested reading: IEEE JSSC p222-228 April 1980 IEEE JSSC p774-783 June 1988 PS001907-0904 Operating Notes Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 51 Country Configuration The Z02215 contains modem controller code that is targeted to operate over a North America-style telephone network with the DAA configuration illustrated in the schematics at the end of this product specification. The customer may choose to configure the modem for use on other telephone networks. This capability is enabled by the addition of a serial EEPROM to hold various country tables. The EEPROM may be omitted from the application if the customer chooses to operate with the default North America-style parameters. If an EEPROM is not desired, the country table can also be downloaded to the Z02215 from the host and stored in on-board RAM. The Z02215 provides a means of loading information into the EEPROM for setting homologation or country approval tables. One way to set these tables is by choosing the desired geographic region to be served in a DOS program, supplied by ZiLOG, called Diplomat™. This program interfaces to the modem through the serial port using hidden AT commands, allowing reprogramming of the EEPROM. Typical Performance Data The Bit Error Rate (BER) and Block Error Rate (BLER) curves in Figure 6 are representative of a typical V.22 and V.22bis performance over a variety of signal-tonoise ratio (SNR) conditions. Note: Modems usually exhibit lower bit error rates receiving in the low band as opposed to the high band. For each BER curve illustrated, one connection is made, after which the Adaptive Equalizer (AEQ) was frozen. BER measurements are taken in 1 dB SNR steps from low noise levels to high noise levels. These tests were conducted using a Consultronics TCS500 Telephone Line Simulator and a Hewlett Packard 4951B protocol analyzer/BERT tester, under the following conditions: PS001907-0904 Line Simulation Flat Transmit Level –10 dBm Receive Level –30.0 dBm Data Transmitted 511 pseudorandom pattern Number of Bits Sent 10,000,000 in V.22bis, V.22 and Bell 212A. Bits per Block 1,000 AEQ Frozen after link establishment Noise Calibration C-message Country Configuration Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 52 Data Access Arrangement Figure 10 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 and reduces 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. 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 C304, current limiting resistor R305, zener diodes CR303 and CR304, optocoupler U303, and its reverse protection diode D304. Protection elements RV301, F301, C301, and C302 (and transformer T1’s isolation) provide higher voltage capability for approval in some foreign markets. C201 and C202, for example, may require replacement by Metal Oxide Varistors (MOVs) or Gas Discharge Tubes (GDTs). The shunt relay reduces the DAA impedance during pulse dialing. This relay is required for certain country approvals. The CID relay provides a signal path (through C4) to receive Caller ID signals without taking the line off-hook. PS001907-0904 Country Configuration Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 53 Data Pump Version 0x50 , External Hybrid, V.22bis 2400 bps Line Type: Flat Receive Level (line): -30 dBm 10^7 bits per sample 1 dB S/N steps AGC & AEQ frozen Data Pump Version 0x50, External Hybrid, V.22 1200 bps Line Type: Flat Receive Level (line): -30 dBm 10^7 bits per sample 1 dB S/N steps AGC & AEQ frozen 1.E-02 1.E-02 1.E-03 1.E-03 V.22 low band BER V.22bis low band V.22 high band V.22bis high band 1.E-04 1.E-04 1.E-05 1.E-05 1.E-06 1.E-06 12 13 14 15 S/N dB 16 17 5 18 6 7 8 9 10 Data Pump Version 0x50, External Hybrid, V.21 300 bps Line Type: Flat Receive Level (line): -30 dBm 10^6 bits per sample 1 dB S/N steps AGC & AEQ frozen Data Pump Version 0x50, External Hybrid, V.23 Line Type: Flat Receive Level (line): -30 dBm 10^6 bits per sample 1 dB S/N steps AGC & AEQ frozen 1.E-02 1.E-02 1.E-03 1.E-03 V.23, 1200 bps V.21 low band V.23, 75 bps V.21 high band 1.E-04 1.E-04 1.E-05 1.E-05 -3 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 1 2 3 4 5 6 7 Figure 6. Typical Performance Data PS001907-0904 Country Configuration Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 54 Data Pump Version 0x50 data pump, External Hybrid, Bell 212a 1200 bps Line Type: Flat Receive Level (line): -30 dBm 10^7 bits per sample 1 dB S/N steps AGC & AEQ frozen Data Pump Version 0x50, External Hybrid, Bell 202 Line Type: Flat Receive Level (line): -30 dBm 10^6 bits per sample 1 dB S/N steps AGC & AEQ frozen 1.E-02 1.E-02 1.E-03 1.E-03 Bell 202, 1200 bps Bell 202, 134.5 bps Bell 212a low band 1.E-04 Bell 212a high band 1.E-04 1.E-05 1.E-05 1.E-06 -3 5 6 7 8 9 -2 -1 0 1 2 3 4 5 6 7 8 9 10 11 12 13 10 Data Pump Version 0x50, External Hybrid, Bell 103 300 bps Line Type: Flat Receive Level (line): -30 dBm 10^6 bits per sample 1 dB S/N steps AGC & AEQ frozen 1.E-02 1.E-03 Bell 103, high band Bell 103, low band 1.E-04 1.E-05 1 2 3 4 5 6 7 Figure 7. Typical Performance Data (continued) PS001907-0904 Country Configuration RDET 1 2 3 4 VCC WP SCL SDA SOCKET PLCC SMT 44 NM24C04 A0 A1 A2 GND 8 7 6 5 VCC Optional U202 OH SHUNT CID RING MUTE RTS DTR 1 1 1 EE_CLK EE_DATA AVCC R203 10K VCC X204 X202 X203 Z201A 0.1 µF RTS DTR VCC Z201B 1 µF Z02215 S/P PC1/HA0 DSR/HD7 RI/HD6 CTS/HDS DCD/HD4 PB3/HD3 PB2/HD2 RTS/HD1 DTR/HD0 OH SHUNT CID LCS RDET MUTE EECK EEDT RXD/HWR RXC/HRD TXD/IRQ TXC/HCS TEST XTAL EXTAL RESET VREF 6 4 5 1 11 CF2 14 13 Z201C 0.1 µF VCC Z201D 0.1 µF Z201E 1 µF Y201 24.576 MHz RESET C201 15 pF Z201F 0.1 µF RxARxA+ RXI- 15 RXI+ 16 CF1 TxA+ TxA- 8 TXO+ 9 TXO- U201 Z02215 Decoupling Capacitors 44 35 43 42 41 40 39 38 37 36 DSR RI CTS DCD DSR RI CTS DCD 1 27 26 25 24 21 20 19 18 OH SHUNT CID LCS RDET MUTE EE_CLK EE_DATA X201 31 32 RxD RxC RxD RxC 29 30 TxD TxC TxD TxC CN302 DAA Control Lines OH SHUNT CID RING MUTE RTS DTR DSR RI CTS DCD RxD RxC TxD TxC AVCC GND GND GND GND 34 28 23 3 RS-232 Interface 27 VDD 2 VDD 33 VDD AGND AGND 10 12 PS001907-0904 7 AVDD 17 AVDD VCC Z201G 0.1 µF R201 100K Z202 0.1 µF C203 15 pF C202 15 pF VCC C204 10 mF R202 10K S201 2 4 MNO Push-button 3 1 RxARxA+ TxA+ TxA- RxARxA+ TxA+ TxA- Analog Interface Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 55 Figure 8. Typical Modem Employing the Z02215 (Serial Mode) Country Configuration OH SHUNT CID RING MUTE HA0 HD7 HD6 HD5 HD4 HD3 HD2 HD1 HD0 IRQ HCS HWR HRD SOCKET PLCC SMT 44 CN302 DAA Control Lines OH SHUNT CID RING MUTE HA0 HD7 HD6 HD5 HD4 HD3 HD2 HD1 HD0 IRQ HCS HWR HRD 1 2 3 4 VCC WP SCL SDA NM24C04 A0 A1 A2 GND U202 RDET 8 7 6 5 EE_CLK EE_DATA vcc AVCC vcc X201 R204 10K Z201A 0.1 µF HA0 HD7 HD6 HD5 HD4 HD3 HD2 HD1 HD0 Z201B 1 µF S/P PC1/HA0 DSR/HD7 RI/HD6 CTS/HD5 DCD/HD4 PB3/HD3 PB2/HD2 RTS/HD1 DTR/HD0 OH SHUNT CID LCS RDET MUTE EECK EEDT TXD/IRQ TXC/HCS RXD/HWR RXC/HRD TEST XTAL EXTAL RESET VREF CF2 CF1 RXI– RXI+ TXO+ TXO– Z201C 0.1 µF VCC Z201D 0.1 µF 14 6 4 5 1 11 Z201F 0.1 µF Y201 24.576 MHz RESET C201 15 pF RXA– RXA+ 15 16 13 TXA+ TXA– 8 9 U201 Z02215 Z201E 1 µF Decoupling Capacitors 44 35 43 42 41 40 39 38 37 36 27 26 25 24 21 20 19 18 OH SHUNT CID LCS RDET MUTE EE_CLK EE_DATA 29 30 31 32 IRQ HCS HWR HRD GND GND GND GND 34 28 23 3 PARALLEL INTERFACE 22 2 33 VDD VDD VDD vcc Avcc 7 17 AVDD AVDD AGND AGND PS001907-0904 10 12 vcc Z201G 0.1 µF R201 100K Z202 0.1 µF C203 15 pF C202 15 pF C204 10 uF R202 10K vcc S201 2 4 MNO PUSHBUTTON 1 3 RxA- RxARxA+ RxA+ TxA+ TxA- RxARxA+ TxA+ TxA- Analog Interface Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 56 Figure 9. Typical Modem Employing the Z02215 (Parallel Mode) Country Configuration PS001907-0904 SHUNT CID OH RING RJ11 CN301 VCC EMI BEAD L302 EMI BEAD 24 R301 R308 47K C302 1pF 1kV C301 1pF 1kV L301 24 R302 U303 4N35 FUSE F301 24 R303 D304 1N4742A CR304 1N4742A CR303 1N4742A R305 7K5 C304 0.47 mF RV301 220LA301 4 K301 1 10 8 3 TQ2EH-5V VCC 7 9 2 K302 4 1 D301 MMBD914 10 8 3 TQ2EH-5V 7 9 2 ISOLATION BARRIER VCC K303 4 1 D302 MMBD914 10 8 3 TQ2EH-5V 7 9 2 C303 0.033mF D303 MMBD914 VCC R304 100 3 4 6718001 T301 2 1 R310 20 Ω R309 20 Ω CR302 1N5228B CR301 1N5228B 237 R306 TxA+ RxA+ RxA- TxA- SPEAKER Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 57 Figure 10. Data Access Arrangement (DAA) Country Configuration Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 58 Absolute Maximum Ratings Table 12. Absolute Maximum Ratings Parameter Min Max Units Operating Temperature (TOPR) 0 +70 C Extended Temperature (TEXT) –40 85 C Storage Temperature (TSTG) –55 +150 C Voltage on any Pin with Respect to VSS –0.6 +7 V Voltage on VDD Pin with Respect to VSS –0.3 +7 V Voltage on XTAL and RESET Pins with Respect to VSS –0.6 VDD+1 V Total Power Dissipation 820 mW Maximum Allowable Current out of VSS 140 mA Maximum Allowable Current into VDD 140 mA Notes 1 2 Maximum Allowable Current into an Input Pin –600 600 µA 3 Maximum Allowable Current into an Open-Drain Pin –600 600 µA 4 Maximum Allowable Output Current Sinked by Any I/O Pin 20 mA Maximum Allowable Output Current Sourced by Any I/O Pin 20 mA Notes: 1. This parameter applies to all pins except XTAL pins and where otherwise noted. 2. There is no input protection diode from pin to VDD and current into pin is limited to ±600 µA 3. Excludes XTAL pins 4. Device pin is not at an output low state Stresses greater than those listed under Absolute Maximum Ratings may cause permanent damage to the device. This rating is a stress rating only. Functional 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 conditions for an extended period may affect device reliability. Total power dissipation must not exceed 820W for the package. Power dissipation is calculated as follows: Total Power Dissipation = VDD x [IDD – (sum of IOH)] + sum of [(VDD – VOH) x IOH] + sum of (V0L x I0L) PS001907-0904 Absolute Maximum Ratings Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 59 Standard Test Conditions The DC Parameters are be tested according to the DC Characteristics detailed in Table 15. The Z02215 tester has active loads which are used to test the loading for IOH and IOR. Available Operating Temperature Range Standard = 0°C to +70°C Extended = –40°C to +85°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. PS001907-0904 Standard Test Conditions Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 60 Power Requirements The modem power and environmental requirements are indicated in Table 13 and Table 14. Table 13. Power Requirements Voltage Current Typical @ 25°C Current Maximum @ 0°C +5 VDC, Operating 60mA 90mA +5 VDC, Sleep 10mA 25mA Note: All voltages are ±5% DC. If a switching supply is used, the frequency may be between 20 kHz and 150 kHz. However, it is recommended that no harmonics of the switching frequency greater than 3mV rms be present on the analog supply pin of the chip. Table 14. Environmental Requirements Parameter Value Ambient Temperature Under Bias (Standard Temperature Range) 0° C to +70° C Extended Temperature –40° C to +85° C Storage Temperature –55° C to +150° C Voltage on any pin to VSS –0.3V to +7V Power Dissipation 352mW Soldering Temperature 10 sec +230° C DC Characteristics Table 15. DC Characteristics Parameter Description Test Conditions Minimum Typical Maximum Units Pin Types I and I/O: Input and Input/Output VIH Input High Voltage 2.0 – VCC +0.3 V VIL Input Low Voltage -0.3 – 0.8 V IL Input Leakage Current – – 10 µA 2.4 – – V GND < V0 < VDD Pin Types O and IO: Output and Input/Output VOH Output High Voltage PS001907-0904 IOH = –.20 mA DC Characteristics Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 61 Table 15. DC Characteristics (Continued) Parameter Description Test Conditions Minimum Typical Maximum Units VOL Output Low Voltage IOl = -2.2 mA – – 0.4 V IOZ Tristate Leakage Current GND < V0 < VDD – – 1.0 µA V Pin Type XI: Crystal Input VIH Input High Voltage VCC - 0.6 VCC + 0.3 VIL Input Low Voltage -0.3 0.6 Pin Type O–OD: Output with Open-Drain VOL Output low Voltage IOZ Tristate Leakage Current GND < V0 < VDD IOI = 2.2 mA 2.4 – – V – – 1.0 µA Pin Type XO: Crystal Output VOH Output High Voltage IOH = 1.0 mA VCC -1.0 VCC V VOL Output Low Voltage IOI = –1.0 mA 0V .35 V Pin Type AI: Analog Input VDC Input Bias Offset VREF –15 VREF VREF +15 mV VOFFI Input Offset (Differential) –20 0 +20 mV IL Input Current –100 – 100 mA CIN Input Capacitance – 10 – pF RIN Input Resistance – 20 – KΩ Pin Type AO: Analog Output VO Analog Output Voltage VOFF VREF +1.163 mV Output DC Offset VREF –1.163 VREF VREF –40 VREF VREF +40 mV VOFFO Output DC Offset (differential) –40 0 +40 mV RO Output Resistance – 0.8 – W CO Output Capacitance – 10 – pF ZI Load Impedance 400 600 Infinite W 4.5 5 5.5 V VDD VDD VDD V Pin Type PWR: Power and Ground VDD Digital Supply Voltage AVDD Analog Supply Voltage IDD1 Digital Supply Current Operating – 60 90 mA IADD1 Analog Supply Current Operating – 6 9 mA IDD2 Digital Supply Current SLEEP Mode – 10 25 mA IADD2 Analog Supply Current SLEEP Mode – <10 10 µA PS001907-0904 Voltage DC Characteristics Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 62 Capacitance TA = 25°C, VCC = GND = 0V, f = 1.0 MHz, unmeasured pins to GND. Parameter Minimum Maximum Input capacitance 0 12 pF Output capacitance 0 12 pF I/O capacitance 0 12 pF Table 16. Microprocessor Interface Timing Reset Timing Parameter Minimum Reset Pulse Width 1.0 Typical Maximum Units – – µs TCLK 2 3 TXD RCLK 1 RXD Figure 11. Serial Port Timing Diagram PS001907-0904 Capacitance Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 63 CS A0 RD B A D(7..0) out C D F WR E D(7..0) in Figure 12. Parallel Port Timing Table 17. Serial Interface Timing Description Parameter Minimum Typical Maximum Units RXD Data Valid Delay Time 1 – 12 – ns TXD Data Setup Time 2 100 – – ns TXD Data Hold Time 3 100 – – ns Maximum Units 25 ns Table 18. Parallel Interface Timing Description (Read Cycle) Parameter CS, A0, or RD to Data valid A Data hold from CS, A0, or RD B 0 ns CS, and A0 setup before WR C 15 ns Data setup before WR D 5 ns Data hold from WR E 5 ns WR pulse width F 10 ns PS001907-0904 Minimum Typical Capacitance Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 64 Table 19. Analog Characteristics Description Parameter Minimum Typical Maximum Units Input impedance of transformer interface 1 400 1200 – W 3 dB point of transformer interface 2 21 26.5 32.5 kHz External integration capacitance Type NPO (COG) 3 73 82 90 pF Note: NPO and COG are synonymous terms for an industry standard dielectric material used for ceramic capacitors which provides a very low temperature coefficient of capacitance (±30 ppm per °C) and voltage coefficient of capacitance (under 0.01% per Volt). It also has a low dissipation factor (0.1% max at 1 MHz for the values of interest). Analog Inputs: Type AI AC Characteristics Symbol Minimum Typical Maximum Units Input Impedance (DC to VREF) ZIN 15K 25K – Ω Power Supply Rejection PSRRi 40 – – dB Input Current Ii –80 – 80 mA Idle Channel Noise (3950 Hz Bandwidth) ICNi – – –72 dBm Signal to Distortion STDi 30 – – dB The characteristics below are provided for information only. They are not tested except in the functional test vectors. PS001907-0904 Characteristics Symbol Minimum Typical Maximum Units Input Capacitance CIN – 10 – pF Input Bias VDCOFF – +2.5 – V Analog Input Voltage VPKI (peak differential), (23) –2.362 – +2.362 V Analog Input Voltage (per RXI+. RXI– pin) –1.181 – +1.181 V VPKIP Analog Inputs: Type AI Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 65 Analog Outputs: Type A0 PS001907-0904 AC Characteristics Symbol Minimum Typical Maximum 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 4–8 kHz – – –20 dBm 8–12 kHz – – –40 dBm 12 kHz and above in 4 – kHz bandwidths – –55 dBm Characteristics Symbol Minimum Typical Maximum 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 – – dBm Analog Outputs: Type A0 Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 66 Package Information Figure 13. 44-Lead PLCC Package Diagram (for Prototype Only) Figure 14. 44-Lead LQFP Package Diagram PS001907-0904 Package Information Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 67 Ordering Information Z02215 Z0221524VSCR50A5 PLCC 24.576 MHz Standard Temp Z0221524ASCR50A5 LQFP 24.576 MHz Standard Temp Z0221524AECR50A5 LQFP 24.576 MHz Extended Temp For fast results, contact your local ZiLOG sales office for assistance in ordering the part required. Note: PLCC is for prototype only. Codes PS001907-0904 Speed 24 = 24.576 MHz Package V = Plastic Leaded Chip Carrier A = Very small Quad Flat Pack Temperature S = 0×C to +70×C (Standard) E = –40×C to +85×C (Extended) Environmental C = Plastic Standard ROM Code R50A5 = ROM code number 50A5 (DSP ROM code Version 0x51, Controller ROM code version 2.0) Ordering Information Z02215 Single Chip Modem with Integrated Controller, Data Pump, and AFE 68 Example Z 02215 24 A S C R 50A5 is a Z02215 with ROM code R50A5, 24.576 MHz, LQFP, 0×C to +70×C, Plastic Standard Flow ROM Code Number ROM Code Designator Environmental Flow Temperature Package Speed Product Number ZiLOG Prefix PS001907-0904 Codes