Main
AN93
Si2493/57/34/15/04 (Revision D) and Si2494/39 Modem Designers Guide
Figure 1.Functional Block Diagram
1. Introduction
Page
AN93
T ABLE OF C
Section Page
Page
Page
Page
Page
Page
AN93
Table 3. Carriers and Tones
Table 4. ISOmodem Capabilities
2. Modem (System-Side) Device
2.1. Resetting the Device
Page
Table 5. SOIC-16 Reset-Strap Options
Table 6. TSSOP-24 UART-Interface Options
Table 7. TSSOP-24 Parallel-Interface Options
Table 8. TSSOP-24 SPI-Interface Clock-Frequency Options
Table 9. Reset Strapping Options for QFN Parts with UART Operation
Table 10. Reset Strapping Options for QFN parts with SPI Operation
Table 11.
2.2. System Interface
Table 12. Pin Functions vs. Interface Mode (SOIC-16)
Table 13. Pin Functions vs. Interface Mode (TSSOP-24)
Table 14. Pin Functions vs. Interface Mode (QFN-38)
Table 15. UART-Interface Signals
Table 16. SPI-Interface Signals
Table 17. Parallel-Interface Signals
Figure 2. Asychronous UART Serial Interface Timing Diagram
Table 18. DTE Rates
Table 19. Serial Formats Detected in Autobaud Mode
Page
Figure 5. UART Serial Interface
Page
Table 21. Hardware Interface Register Bit Map
Table 22. Hardware Interface Register1
Table 23. Parallel Interface Signals
Page
Page
2.3. Isolation Capacitor Interface
2.4. Low-Power Modes
2.5. SSI/Voice Mode (24-Pin TSSOP and 38-Pin QFN Only)
Figure 10. Voice Mode Block Diagram
Table 25. SSI Interface Pin Connection
2.6. EEPROM Interface (24-Pin TSSOP and 38-Pin QFN Only)
Table 26. EEPROM Commands
Table 27. EEPROM Status Register (Any Other Bits are Unused)
Table 28. EEPROM Timing
Figure 11. EEPROM Serial I/O Timing
Table 28. EEPROM Timing
Figure 12. Three-Wire EEPROM Connection Diagram
HOST
SPIEEPROM
TELEPHONELINE
SI/SO CS SCLK
MODEM
Page
Page
Table 29. Combination Example
Table 30. ASCII Chart
3. DAA (Line-Side) Device
3.1. Hookswitch and DC Termination
Figure 13. FCC Mode I/V Characteristics DCV[1:0] =11, MINI[1:0] =00
Figure 14. TBR21 (Legacy) Mode I/V Characteristics DCV[1:0] =11, MINI[1:0] =00
3.2. AC Termination
3.3. Ringer Impedance and Threshold
3.4. Pulse Dialing and Spark Quenching
3.5. Line Voltage and Loop Current Sensing
Table 31. AC Termination Settings for the Si3018 Line-Side Device
Figure 15. Typical Loop Voltage LVS Transfer Function
Figure 16. Typical Loop Current LCS Transfer Function
ILIM = 1 ILIM = 0
3.6. Legacy-Mode Line Voltage and Loop Current Measurement
3.7. Billing Tone Detection
4. Hardware Design Reference
4.1. Component Functions
Page
Figure 17. Billing-Tone Filter Table 33. Optional Billing Tone Filters Component Values
No Ground Plane In DAA Section
Hookswitch/DCT
EMI/EMC
Figure 18. Si3018/10 Component Functions
ISOcap
Capacitors
4.2. Schematic
Note: See Section "10.4.2. Safety" for information regarding the use of a fuse or PTC resistor.
No Ground Plane In DAA Section
Figure 19. Si3018/10 Schematic
4.3. Bill of Materials
4.4. Layout Guidelines
Figure 20. Reference Placement
Figure 21. Illustrated Layout Guidelines
Table 34. Layout Checklist
This is not a complete schematic. Only critical component placement and nets are drawn.
Note: Encircled references are described in the numbered paragraphs in Appendix A.
*Note: Do NOT use ferrite beads in place of R12 and R13.
Page
Table 34. Layout Checklist (Continued)
Figure 22. Modem Module VCC and RESET Filter
4.5. Analog Output
Figure 23. PWM Audio Processing and Amplifying Circuit
Figure 24. Audio Filter Response
5. Modem Reference Guide
5.1. Controller
5.2. DSP
5.3. Memory
5.4. AT Command Set
Table 35. Configuration Status
Table 36. Command Examples
Table 37. Multiple AT Commands on a Single Line
Table 38. Consecutive U-Register Writes on a Single Line
Table 39. Basic AT Command Set
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
5.5. Extended AT Commands
Table 40. Extended AT& Command Set
Table 40. Extended AT& Command Set (Continued)
Page
Table 41. Extended AT% Command Set
Table 42. Extended AT\ Command Set
Table 41. Extended AT% Command Set (Continued)
Page
Table 42. Extended AT\ Command Set (Continued)
Table 43. Result Codes
Page
Table 43. Result Codes (Continued)
Table 44. Disconnect Codes
5.6. S Registers
Table 45. S-Register Descriptions
Page
Table 45. S-Register Descriptions (Continued)
5.7. U Registers
Table 46. U-Register Descriptions
Page
AN93
Page
Page
5.7.1. U-Register Summary
Table 47. Bit-Mapped U-Register Summary
Table 48. U0U16 (Dial Tone Registers)
Table 49. U17U30 (Busy Tone Detect Registers)
Table 50. BPF Biquad Values
Page
Table 51. Ringback Cadence Registers
Table 52. Dial Tone Timing Register
Table 53. Pulse Dial Registers
Table 54. DTMF Dial Registers
Table 55. Ring Detect Registers
Table 56. Register U4D Bit Map
Table 57. Pre-Dial Delay Timer Register
Table 58. Flash Hook Time Register
Table 59. Loop Current Debounce Registers
Table 60. Transmit Level Register
Table 61. U53 Bit Map
Table 62. U54 Bit Map
Table 63. U62 Bit Map
Table 64. U63 Bit Map
Table 63. U62 Bit Map (Continued)
Table 65. U65 Bit Map
Table 65. U65 Bit Map (Continued)
Table 66. U66 Bit Map
Table 67. U67 Bit Map*
Table 68. U68 Bit Map*
Table 67. U67 Bit Map* (Continued)
Table 69. U6A Bit Map*
Table 70. U6C Bit Map
Table 71. U6E Bit Map
Table 72. U6F Bit Map
Table 73. U70 Bit Map
Page
Table 74. U76 Bit Map
Table 75. U77 Bit Map
Table 76. U78 Bit Map
Table 77. Monitor Mode Values
Table 78. U79 Bit Map
Page
Page
Page
Page
5.8. Firmware Upgrades
5.9. Escape Methods
Table 82. Load Technique and Speed Table*
Figure 27. +++ Escape Timing
Figure 28. 9th Bit Escape Timing
+++
Leading Guard Time
UART Timing for Modem Transmit Path (9N1 Mode with 9th Bit Escape)
5.10. Data Compression
5.11. Error Correction
5.12. Wire Mode
Table 83. Enabling Error Correction/Data Compression
5.13. EPOS (Electronic Point of Sale) Applications
5.14. Legacy Synchronous DCE Mode/V.80 Synchronous Access Mode
5.15. V.80 Mode
Table 84. Synchronous Mode Overview
Table 85. Synchronous Access Mode Settings
Table 86. EM In-Band Commands and Statuses
Table 86. EM In-Band Commands and Statuses (Continued)
Table 87. Fast Connect Settings
Table 86. EM In-Band Commands and Statuses (Continued)
Page
Page
6. Programming Examples
6.1. Quick Reference
Table 88. Modem Feature vs. Hardware, AT Command and Register Setting
6.2. Country-Dependent Setup
Table 89. DC Termination Control Bits
Table 88. Modem Feature vs. Hardware, AT Command and Register Setting (Continued)
Table 90. Country Initialization Table
Page
Page
Page
Page
Page
Page
Page
Page
Page
Page
Table 91. International Call Progress Registers
Table 92. Dial Registers
Table 93. Line Interface/Control Registers
Page
6.3. Caller ID
Table 94. Caller ID Modes
6.4. SMS Support
Table 95. Japan Caller ID
Table 96. Protocol 1
Table 97. Protocol 2
Table 98. SMS Commands
6.5. Type II Caller ID/SAS Detection
Table 99. MDMF Parameters
Table 100. SAS Tone Frequency
Table 101. SAS Cadence for Supported Countries*
Page
Page
Page
Page
Page
Page
Page
Page
6.6. Intrusion/Parallel Phone Detection
Page
Table 102. Intrusion Detection
6.7. Modem-On-Hold
Table 103. Possible Responses to PMHR Command from Remote Modem
6.8. HDLC: Bit Errors on a Noisy Line
Table 104. Bit Errors
Page
Table 104. Bit Errors (Continued)
6.9. Overcurrent Detection
6.10. Pulse/Tone Dial Decision
Table 105. Overcurrent Detection
Table 106. Automatic Phone Line Configuration
6.11. Telephone Voting Mode
6.12. V.92 Quick Connect
Table 107. Possible +PMHT Settings
Table 108. AT+PQC Parameters
Table 109. AT+PSS Parameters
7. Handset, TAM, and Speakerphone Operation
7.1. Software Reference
Table 110. Extended AT+ Command Set
Page
Page
Page
Page
Table 111. <DLE> Commands (DTE-to-DCE)
Table 112. <DLE> Simple Events (DCE-to-DTE)
Table 112. <DLE> Simple Events (DCE-to-DTE) (Continued)
Table 113. <DLE> Complex Event Reports (DCE-to-DTE)
Table 114. Voice Mode U Registers
Page
Page
Page
Page
Tabl e 115 .
Table 116.
7.2. Voice ReferenceOverview
Page
Page
Table 117. Voice Mode Operations (+FCLASS=8)
Table 118. +FCLASS and IDLE State Transitions Expected Response
Table 117. Voice Mode Operations (+FCLASS=8) (Continued)
7.3. Si3000 Configuration
Figure 31. System Voice Modes
Speakerphone
Handset
Hands-Free
Handset
7.4. Initialization
Table 119. Initialization Sequence
Table 119. Initialization Sequence (Continued)
7.5. Handset
Table 119. Initialization Sequence (Continued)
Table 120.
Table 121. Handset Automatic Tone Dial
Table 122. Handset Manual Off-Hook Dial
Table 123. Handset Automatic Pulse Dial
Table 124. Handset to TAM Hands-Free Transition
Table 125. Handset to Speakerphone Transition
7.6. Telephone Answering Machine
Table 126. Local Ring Notification with Type I CID Event
Table 127. TAM Hands-Free Record OGM
Table 128. TAM Hands-Free Review OGM
Table 129. TAM Handset Record OGM
Table 129. TAM Handset Record OGM (Continued)
Table 130. TAM Handset Review OGM
Table 129. TAM Handset Record OGM (Continued)
Table 130. TAM Handset Review OGM (Continued)
Table 131. TAM PSTN Normal Answer OGM Playback with ICM Record
Table 131. TAM PSTN Normal Answer OGM Playback with ICM Record (Continued)
Table 132. TAM PSTN Interrupted Answer OGM Playback with DTMF Menu Entry
Table 131. TAM PSTN Normal Answer OGM Playback with ICM Record (Continued)
Table 132. TAM PSTN Interrupted Answer OGM Playback with DTMF Menu Entry (Continued)
7.7. Speakerphone
Table 132. TAM PSTN Interrupted Answer OGM Playback with DTMF Menu Entry (Continued)
Figure 32. Transmit Gain Reference Measurements
Table 133. Simplex Speakerphone U Registers
Page
Table 134. Transmit/Receive Gain Calibration Dial Remote Telephone
Figure 34. Receive Gain Reference Measurements
Figure 35. Receive Gain Configuration
Figure 36. AEC Gain Calibration
Table 135. AEC Gain Calibration Dial Remote Telephone
Table 136. Speakerphone Configuration
Table 136. Speakerphone Configuration (Continued)
Table 137. Simplex Speakerphone Configuration
Table 138. Speakerphone Automatic Tone Dial
Table 139. Speakerphone Manual Off-Hook Dial
Table 140. Speakerphone Automatic Pulse Dial
Table 141. Speakerphone to Handset Transition
7.8. Glossary
Table 141. Speakerphone to Handset Transition (Continued)
7.9. References
8. Security Protocols
8.1. Implementing the SIA Protocol
Page
Page
Table 143. Definitions of Result Codes Typically Expected in an SIA Session
8.2. Implementing the Ademco Contact ID Protocol
Table 144. Ademco Contact ID Protocol Tone Transmission AT Commands
Table 145. Ademco Mode of Operation
Page
Page
Page
9. Chinese ePOS SMS
9.2. SMS AT Command Set
Table 146. AT Commands for SMS
Table 147. User Registers for SMS Operations
Page
Page
9.3. Example Session
Figure 38. Diagram of Handshake (Using CAS/CAS ACK) and Message Packet Exchange
Figure 39. SMS Process in Host and Modem
O
A
1 2
10. Testing and Diagnostics
10.1. Prototype Bring-Up (Si3018/10)
Page
Page
Figure 40. Test the Host Interface
Figure 41. Test the Prototype Modem
Figure 42. Test the Prototype Si3018/10 Circuitry
Figure 43. Verify Prototype Si3018/10 Failure
Figure 44. Si3018/10 Typical Voltages Table 148. Resistance to Si3018/10 Pin 15
On-Hook
Off-Hook
Voltages measured with respect to IGND (Si3018 pin 15)
Table 149. Resistance across Components
Table 150. Voltages across Components with Diode Checker
Page
10.3. Board Test
Figure 46. Bell 103V.34 Modem Functional Test Connection
Teltone TLS 3 Modem Under Test
Reference Modem
Test Computer
Figure 47. V.90 Modem Functional Test Connection
Table 151. Test Coverage
Teltone ILS 2000 ISDN Modem
Modem Under Test
10.4. Compliance Testing
Table 152. AT Commands for Compliance Testing
Table 153. Symbol/Data Rate
Table 154. V.29 Data Rate
1000 @ 100 MHz, 200 mA
Page
10.6. Debugging the DTE interface
APPENDIX AEPOS APPLICATIONS
VISA II (7E1)
ENQ (0x05)
STX <data>ETX, LRC ACK (0x06)
Terminal
ACK (0x06)
Host
Dials host Disconnects EOT (0x04)
Recommendation V.80
Page
Figure 51. ISOmodem V.80 Protocol HDLC Framing in Framed Sub-Mode
The ISOmodem in EPOS Applications
V.80 Handler
Isomodem with V.80 UART
A V.29 FastPOS Sample Program
Introduction
Example Program in C/C++
Page
Page
Page
Page
Page
Page
Page
Page
V.29 FastPOS Detailed Wave Files
RTS (not
RTS) signal
V.29 FastPOS DTE Trace
This is recorded while the program listed above is running. The patch load is left out for brevity.
APPENDIX BLINE AUDIO RECORDING
When to Use Audio Recording
Times When Audio Recording May Not Help
Hardware Setup
Setting PC Microphone Input for Recording (Windows NT)
Page
Figure 54. Multimedia Properties
Setting PC Microphone Input for Recording (Windows XP)
Page
Making the Recording with Windows Sound Recorder (Windows XP, NT or Windows 98)
Figure 56. Sound Recorder
Figure 57. Adobe Audition Example
Making the Recording with Adobe Audition or WaveSurfer
Audio Playback and Analysis
Figure 58. Adobe Audition Temporal View of a Good V.22 Transaction
Figure 59. Adobe Audition Spectral View of a Good V.22 Transaction
Page
Audio-Recording Pitfalls
Figure 62. Recording Made at Excessive Level
Figure 63. Recording Made with AGC Noise Reduction
Details of Some Low-Speed Protocols
Figure 65. Appearance of V.22 Protocol
Figure 64. Appearance of Bell 212 Protocol
Answering modems Scambled Binary
Figure 66. Appearance of V.22 bis Protocol
Figure 67. Appearance of V.22 Fast Connect Protocols
Figure 68. Appearance of V.29 FastPOS Protocol
Figure 69. Examples of EPOS Server Misbehavior
Page
Examples of Line Impairments
DTMF Distorted by Low Line Level
Power Line Related Noise
Figure 73. Odd Harmonics of 50 Hz Manifest as Horizontal Lines Spaced at 100 Hz
APPENDIX CPARALLEL/SPI INTERFACE SOFTWARE IMPLEMENTATION
Page
Software Description
Hardware Access Layer
Interrupt Service and Polling Layer
Page
Page
Page
Buffer Management, Status and Control Layer
Page
The Application Layer: Sample Application
Compiler Option: Dot Commands
Modem Operation
Initialization
Making a Connection
Data Bursts
Modem Interrupt Service Sample Code
Page
Page
DOCUMENT CHANGE LIST
Revision 0.5 to Revision 0.6
Revision 0.6 to Revision 0.7
Revision 0.7 to Revision 0.8
Revision 0.8 to Revision 0.9
CONTACT INFORMATION