DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in General Description The DM562AP integrated modem is a two-chipset design that provides a complete solution for stateof-the-art, voice-band Plain Old Telephone Switching (POTS) communication. The modem provides for Data (up to 56,000bps), Fax (up to ban0bps), Voice and Full Duplex Speaker-phone functions to comply with various international standards. The DM562AP modem reference design is preapproved for FCC part 68 and provides minimum design cycle time, with minimum cost to insure the maximum amount of success. The simplified modem system, shown in figure below, illustrates the basic interconnection between the MCU, DSP, AFE and other basic components of a modem. The individual elements of the DM562AP are: The design of the DM562AP is optimized for desktop personal computer applications, embedded microprocessor applications and Multi-Function Peripheral (MFP) FAX application. It provides a low cost, highly reliable, maximum integration, with the minimum amount of support required. The DM562AP modem can operate over a dial-up network (PSTN) or 2 wire leased lines. • • DM6580 Analog Front End (AFE). 48-pin LQFP package. DM6588A ITU-T V.90 integrated Processors with 32K bytes SRAM built in 128-pin QFP package The modem integrates auto dial and answer capabilities, asynchronous data transmissions, serial and parallel interfaces, various tone detection schemes and data test modes. Block Diagram LED Optional 29.4912MHz PCI Bus Micro Controller Unit TX DSP DM6588A PnP 32KB SRAM ISA Bus UART V.24 Interface V.24 Interface Preliminary Version: DM562AP-DS-P02 March 05, 2004 Ring Detector 30.24MHz RX DSP SCLK DIT DOT TFS DIR DOR RFS TXSCLK*2 RXSCLK CLKIN TXDCLK RXDCLK DM6580 RxIN TxA1 Analog Front End SPKR DAA Line TxA2 Speaker Driver Microphone Driver 2M Flash 1 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in Table of Contents General Description 1 Block Diagram 1 Features 3 Chipset Chip 1: DM6588A Modem Controller Unit with PnP DM6588A Description DM6588A Block Diagram DM6588A Features DM6588A External Pin Configuration DM6588A ISA Pin Configuration DM6588A PCI Pin Configuration DM6588A Pin Description DM6588A Pin Description-ISA interface only DM6588A Pin Description-PCI interface only 4 4 4 5 6 7 8 11 12 Chip 2: DM6580 Analog Front End DM6580 Description DM6580 Block Diagram DM6580 Features DM6580 Pin Configuration DM6580 Pin Description DM6580 Functional Description DM6580 Register Description DM6580 Absolute Maximum Ratings DM6580 DC Characteristics DM6580 AC Characteristics & Timing Diagrams DM6580 Performance Package Information Ordering Information Company Overview Contacts 40 40 41 41 42 43 43 44 44 45 45 47 48 48 48 DM6588A Functional Description 14 1. Operating Mode Selection 14 2. Micro-controller Program Memory 14 3. Micro-controller Power Down Mode 14 4. Enhanced Internal Direct Memory 14 5. Re-flash Program Memory 14 6. Micro-controller I/O Description 14 7. HDLC Description 16 8. Micro-controller Control Register for Internal Mode 17 9. Host Control Register for Virtual 1550A UART 17 10. Micro-controller Control Register for PCI Interface 22 11. PCI Configuration Register Definition 23 DM6588A External Electrical Characteristics DM658A External Absolute Maximum Ratings DM658A External DC Characteristics DM6588A ISA Electrical Characteristics DM6588A ISA Absolute Maximum Ratings DM6588A ISA DC Characteristics DM6588A ISA AC Characteristics & Timing Diagrams DM6588A PCI Electrical Characteristics DM6588A PCI Absolute Maximum Ratings DM6588A PCI DC Characteristics DM6588A PCI AC Characteristics & Timing Diagrams 2 35 35 35 36 36 36 37 38 38 38 39 Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 integrated Data/ Fax/ Voice/ Speaker Phone Modem Device Single Chip With Memory Built in Features z Data - z Fax - z MNP Class 5 ITU-T V.42bis Voice compression - z MNP Class 4 ITU-T V.42 LAPM Data Compression - z ITU-T V.34 (33600 to 2400bps) ITU-T V.17 (14400, 12000, 9600,7200bps) ITU-T V.29 (9600, 7200bps) ITU-T V.27ter (4800, 2400bps) ITU-T V.21 Channel 2 (300bps) Group III, Class 1 Support ECM mode Automatic rate adaptation in V.34 halfduplex mode z 4 bit ADPCM (ITU-T) 2, 3 an 4 bit ADPCM (Davicom proprietary) 8 Bit PCM DTE Interface - DTE speed up to 115200bps - Version: DM562AP-DS-P02 March 05, 2004 TIA/EIA 602, ITU V.25 ter AT command Set TIA/EIA 602, ITU V.25 ter AT command Set TIA/EIA 578 Fax Class 1 command set TIA/EIA IS-101 Voice command set z Integrated UART 16550 z Parallel (ISA/PCI) and Serial (UART) interfaces - 6, 7 and 8 bit character support - Even, odd, mark and none parity detection and generation - 1 and 2 stop bit support - Auto DTE data speed detection through “AT” z Support FSK Caller identification (Caller ID) z Speakerphone z Selectable world wide call progress tone detection z Enhanced 8032 compatible micro-controller z Power down mode z Access up to 256K bytes external program memory z Access up to 64K bytes external data memory z NVRAM to store two user configurable, selectable profiles with three programmable telephone numbers z 32K bytes SRAM built in Parallel bus for embedded microprocessor Compatible to ISA bus PCI internal modem only z z z Preliminary Enhanced “AT” command set and S registers - Data Error Correction - z ITU-T V.90 (56000 to 28000 bps) ITU-T V.34 (33600 to 2400 bps) ITU-T V.32bis (14400, 12000, 9600, 7200, 4800bps) ITU-T V.32 (9600, 4800bps) ITU-T V.22bis (2400, 1200bps) ITU-T V.22 (1200bps) ITU-T V.23 (1200/75bps) ITU-T V.21 (300bps) Bell 212A (1200bps) Bell 103 (300bps) PCI Plug and Play (PnP) support Compliant with PCI specification 2.1 Compliant with PCI bus Power Management Interface Specification revision 1.0 3 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in Chip 1:Integrated Processor Unit with PnP DM6588A Description The DM6588A MCU performs general modem control functions, and is also designed to provide Plug and Play capability for PCI bus systems. The DM6588A Modem Control Unit is designed for use in high speed internal and external modem applications. The DM6588A incorporates a 80C32 micro-controller, a virtual 16550A UART with FIFO mode, and Plug & Play control logic. DM6588A Block Diagram Mode Selection PCI Interface PC Data Bus PC Address Bus PnP Control Logic Virtual 16550 UART IRQ & R/W Control 8032 Micro-Controller External ROM Interface I/O Control Logic Modem Control Interface ISA Interface RS 232 Interface DM6588A Features • • • • • • 4 Control interface support Supports parallel and serial interfaces Includes a 80C32 micro-controller 256K bytes maximum external program memory 64K bytes data memory built in Provides automatic Plug and Play or software configuration capabilities • Virtual 16550A UART compatible parallel interface • Fully programmable serial interface: - 6, 7 or 8-bit characters - Even, odd, mark and none parity bit generation and detection - 1 and 2 stop bit generation - Baud rate generation - Includes I/O control logic for modem control interface Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in GND D1 D2 D3 105 104 103 108 D0 FR_SP2 109 106 FR_SP1 110 107 Voice Sel1 /POR 111 VDD 113 Voice Sel2 CODEC_CLK 114 112 OSCI OSCO 117 115 TEST1 118 116 TD_SP2 GND 119 INT# PS1 120 122 121 GND EXT/INB 123 124 125 126 127 128 VDD DM6588A External Pin Configuration TEST4 1 102 D4 UD0 2 101 D5 UD1 3 100 D6 UD2 4 99 D7 UD3 5 98 CA0 GND 6 97 CA1 7 96 CA2 RXDCLK 8 95 CA3 UD4 9 94 VDD UD5 10 93 CA4 UD6 11 92 CA5 UD7 12 91 CA6 VCC 13 90 CA7 14 89 GND 15 88 CA8 16 87 CA9 17 86 CA10 85 CA11 84 CA12 83 CA13 RD_SP2 DM6588A External 18 TXDCLK 19 GND 20 DSPTXD 21 82 CA14 OUTP3 22 81 CA15 OUTP2 23 80 GND OUTP1 24 79 SCLK OUTP0 25 78 DSPRXD 26 77 GND 27 76 TXSCLK RD_SP1 INP3 28 75 29 74 VCC Preliminary Version: DM562AP-DS-P02 March 05, 2004 60 61 62 63 /OH /VOICE EEPROM1 EEPROM2 EEPROM3 64 58 59 /DTR 57 56 /RI 55 54 53 52 T1 65 51 38 50 /LCS T0 VDD 66 GND 67 37 49 36 GND 48 RESET CA16 RXD TD_SP1 TXD 68 47 69 35 46 34 TEST3 CA17 TEST2 /PWR RXSCLK 45 70 VDD 33 44 /PSEN VDD 43 71 XTAL2 32 42 /WR INP0 41 /RD 72 XTAL1 73 40 30 31 39 INP2 INP1 5 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in FR_SP2 GND D0 D1 D2 D3 106 105 104 103 109 107 FR_SP1 110 108 Voice Sel1 /POR 111 VDD 113 Voice Sel2 CODEC_CLK 114 112 OSCI OSCO 115 TEST1 117 TEST4 1 102 D4 UD0 2 101 D5 UD1 3 100 D6 UD2 4 99 D7 UD3 5 98 CA0 GND 6 97 CA1 7 96 CA2 8 95 CA3 UD4 9 94 VDD UD5 10 93 CA4 UD6 11 92 CA5 UD7 12 91 CA6 VCC 13 90 CA7 14 89 GND 15 88 CA8 16 87 CA9 17 86 CA10 85 CA11 84 CA12 83 CA13 21 82 CA14 UA2 22 81 CA15 UA1 23 80 GND UA0 24 79 25 78 IRQ 26 77 GND 27 76 RIN 28 75 IOWB 29 74 VCC IORB 30 73 /RD CSN 31 72 /WR 32 71 /PSEN DM6588A ISA 18 19 GND 20 60 61 62 63 /OH /VOICE EEPROM1 EEPROM2 EEPROM3 64 58 59 /DTR 57 56 TXSCLK 55 54 53 50 GND 52 49 CA16 51 48 SCLK 65 47 66 38 CA17 37 TD_SP1 GND 46 VDD /PWR 67 45 36 VDD RD_SP2 RST# 44 68 XTAL2 35 43 RD_SP1 TEST3 42 RXSCLK 69 41 70 34 XTAL1 33 40 VDD TEST2 39 6 116 TD_SP2 GND 118 PS1 119 120 EXT/INB 122 121 GND 123 124 125 126 127 128 VDD DM6588A ISA Pin Configuration Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in FR_SP2 GND D0 D1 D2 D3 106 105 104 103 109 107 FR_SP1 110 108 Voice Sel1 /POR 111 VDD 113 Voice Sel2 CODEC_CLK 114 112 OSCI 117 OSCO TEST1 118 115 GND 119 116 PS1 TD_SP2 120 EXT/INB INT# 121 AD30 AD3 1 GND 125 122 AD29 126 123 AD28 127 124 VDD 128 DM6588A PCI Pin Configuration TEST4 1 102 D4 AD27 2 101 D5 AD26 3 100 D6 AD25 4 99 D7 AD24 5 98 CA0 GND 6 97 CA1 IDSEL 7 96 CA2 8 95 CA3 AD23 9 94 VDD AD22 10 93 CA4 AD21 11 92 CA5 AD20 12 91 CA6 VCC 13 90 CA7 GND C/BE3# AD19 14 89 AD18 15 88 CA8 AD17 16 87 CA9 86 CA10 85 CA11 84 CA12 83 CA13 AD16 17 C/BE2# 18 FRAME# 19 GND 20 IRDY# 21 82 CA14 TRDY# 22 81 CA15 DEVSEL# 23 80 GND STOP# 24 79 PCLK PERR# 25 78 POWEROFF SERR# 26 77 GND PAR 27 76 RIN C/BE1# 28 75 DM6588A PCI AD15 29 74 PME# VCC AD14 30 73 /RD AD13 31 72 /WR AD12 32 71 /PSEN Preliminary Version: DM562AP-DS-P02 March 05, 2004 63 64 AD1 TXSCLK EEPROM3 57 AD2 62 56 AD3 61 55 AD4 EEPROM1 54 AD5 EEPROM2 53 AD6 60 52 AD7 /VOICE 51 GND 58 50 59 49 CA16 /OH 48 /DTR 47 CA17 TD_SP1 /PWR AD0 46 SCLK 65 45 66 38 44 37 VDD GND AD11 C/BE0# VDD 43 67 XTAL2 36 42 RD_SP2 RST# XTAL1 68 41 35 AD8 RD_SP1 TEST3 40 RXSCLK 69 39 70 34 AD9 33 AD10 VDD TEST2 7 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in DM6588A Pin Description Pin Name I/O Description TEST4 I UD0 - UD7 O RxDCLK I RD_SP2 I 19 TXDCLK I 21 DSPTxD I Test pin 4, normal ground. External: N/C (low). PCI: N/C (low). ISA: connect to 3.3V. Modem Control Output, for external modem: Memory address mapping of the controller is E800H. Receive Data Rate Clock:(External) This pin is used as reference clock of DSPRXD pin. Data Input Pin Of The Serial Port 2: The serial data is sampled at the falling edge of the SCLK. The MSB is coming immediately after the falling of FR_SP2 signal. Transmit Data Rate Clock:(External) This pin is used as reference clock of DSPTXD pin. Modem Transmit Data (External) Shifted into DM6581/DM6582 from EIA port through this pin at the rising edge of TXDCLK. Data Input Pin Of The Serial Port 1: The serial data is sampled at the falling edge of the SCLK. The MSB is coming immediately after the falling of FR_SP1 signal. Ground Pin No. External 1 Pin No. Internal PCI 1 Pin No. Internal ISA 1 2,3,4,5, 9,10,11, 12 8 18 8 68 68 28 69 69 RD_SP1 I 6,20,37 50,77,80, 89,107, 118,123 22, 23, 24, 25 29, 30, 31, 32 33,45 67,94, 113,128 13,74 34 35 36 6,20,37 50,80,89 107,118, 123 6,20,37 50,77,80, 89,107, 118,123 GND P O 33,45, 67,94, 113,128 13,74 34 35 33,45, 67,94, 113,128 13,74 34 35 OUTP3, OUTP2, OUTP1, OUTP0 INP3, INP2, INP1, INP0 VDD VCC TEST2 TEST3 RESET P I I I 42 43 46 42 43 46 42 43 46 XTAL1 XTAL2 /PWR I O O I P Modem Control Output For external modem, these pins are bit7~4 of the modem control output. Memory address mapping of the controller is C800H. Modem Control Input:(External) These pins are bit3~0 of the modem control input. Memory address mapping of the controller is C800H. +3.3V Power Supply +2.5V Power Supply Test pin 2,normal ground Test pin 3,normal ground Reset: An active high signal used to reset the DM6588A. Crystal Oscillator Input Crystal Oscillator Output Controller Program Write Enable: Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in 48 48 48 TD_SP1 O 49 47 49 47 49 47 CA16 CA17 O 76 57 58 59 60 76 57 58 59 60 T0 T1 /RI TxSCLK*2 /DTR /OH /VOICE I I I I I O O 61-63 66 61-63 61-63 EEPROM 1-3 /LCS I/O I 79 66 66 SCLK I I O I 51 52 57 76 58 59 60 68 69 70 70 70 RXD TXD RxSCLK 71 71 71 /PSEN O 72 73 78 72 73 72 73 /WR /RD DSPRxD O O O 117 81,82, 83,84, 85,86, 87,88 90,91, 92,93, 95,96, 117 81,82, 83,84, 85,86, 87,88 90,91, 92,93, 95,96, 117 81,82, 83,84, 85,86, 87,88 90,91, 92,93, 95,96, TEST1 CA15,CA14, CA13,CA12, CA11,CA10, CA9,CA8 CA7 - CA0 Preliminary Version: DM562AP-DS-P02 March 05, 2004 This pin is used to enable FLASH ROM programming. Data Output Pin Of Serial Port 1 The serial data is clocked out through this pin according to the rising edge of SCLK. The MSB is sent immediately after the falling edge of the FR_SP1 signal. Bank Switch Control: These signals are used to switch external program memory between banks. CA16 CA17 Bank 0 0 0 Bank 1 1 0 Bank 2 0 1 Bank 3 1 1 Controller Counter 0 Input Controller Counter 1 Input Ring Signal Input TxDSP Interrupt 1 Input DTR Input Pin (P1.1) Hook Relay Control (P1.2) Voice Relay Control. Modem Control Output (memory map is bit 3 of DAA at memory address D000H) EEPROM Control Pins (P1.4-P1.6) Loop Current Detection. Modem Input Control: This pin is mapped to bit0 of address D000H. Reference Clock For Serial Port 1 And Serial Port 2 Controller Serial Port Data Input Controller Serial Port Data Output O Rx DSP Interrupt 3 Input Controller Program Store Enable: This output goes low during a fetch from external program memory. Controller External Data Memory Write Control Controller External Data Memory Read Control Modem Received Data :(External) Shifted out to the EIA port through this pin according to the rising edge of RXDCLK. Test pin 1, normal ground Controller Address Bus O Controller Address Bus 9 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in 97,98 99,100, 101,102, 103,104, 105,106 108 109 110 111 112 97,98 99,100, 101,102, 103,104, 105,106 108 109 110 111 112 97,98 99,100, 101,102, 103,104, 105,106 108 109 110 111 112 D7,D6, D5,D4, D3,D2, D1,D0 FR_SP2 FR_SP1 /POR VOICE Se1 1 VOICE Se1 2 114 115 114 115 114 115 CODEC_CLK OSCO O O 116 117 119 116 117 119 116 117 119 OSCI TEST1 TD_SP2 I I O 120 120 120 PS1 O 122 122 122 EXT/INTB I 7,8, 14,15,16, 17,21,25, 26,27,28, 32,38,39, 40,41,44, 51,52,53, 554,55,56, 64,65,75, 79,121, 124,125, 126,127 NC N 7,14,15, 16,17,26, 27,38,39, 40,41,44, 53,54,55, 56,64,65, 75,121, 124,125, 126,127 10 I/O Controller Data Bus I/O I/O O O Frame Signal Of Serial Port 2 Frame Signal Of Serial Port 1 DSP Reset Output Modem Control Output Memory map is bit 1-2 of DAA at memory address D000H 20.16MHz Clock Output For DM6580 Chip Optional Codec X’tal clock output Optional Codec X’tal clock input Test pin 1,normal ground Data Output Pin Of Serial Port 2 The serial data is clocked out through this pin according to the rising edge of SCLK. The MSB is sent immediately after the falling edge of the FR_SP2 signal. Modem Control Port Select Output: Memory address mapping of the controller is D800H. Select Pin: Used to select internal or external operation. 0: internal modem, PCI or ISA. 1: external modem NC Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in DM6588A Pin Description-ISA Interface only Pin No. 2-5, 9-12 Pin Name UD0-UD3, UD4-UD7 I/O I/O 22-24 UA0-UA2 I 29 /IOWB I 30 /IORB I 31 /CSN I 36 /RST I 78 IRQ O Preliminary Version: DM562AP-DS-P02 March 05, 2004 Description Data Bus Signal: These signals are connected to the data bus of the PC (or Host) I/O. They are used to transfer data between the PC and the DM6588A. System Address: These signals are connected to the bus of PC (or Host) I/O. They are used to select the DM6588A offset UART I/O address. I/O Write: An active low input signal used to write data to the DM6588A. I/O Read: An active low input signal used to read data from the DM6588A. Address Enable: This is an active low signal to enable the system address for DM6588A. Reset: An active low signal used to reset the DM6588A. Interrupt Request: The active pin will go high when an interrupt request is generated from the DM6588A. 11 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in DM6588A Pin Description-PCI Interface only Pin No. 78 121 Pin Name POWEROFF INT# I/O O O 79 PCLK I 75 PME# O 124-127,2-5 9-12,14-17 29-32,38-41 51-56,64,65 7 AD31-AD0 I/O IDSEL I 8 18 28 44 C/BE3# C/BE2# C/BE1# C/BE0# I 19 FRAME# I 21 IRDY# I 22 TRDY# I/O 23 DEVSEL# I/O 24 STOP# I/O 25 PERR# I/O 26 SERR# O 12 Description Power Off when high PCI Interrupt Request This signal will be asserted low when an interrupt condition as defined in CR5 is set and the corresponding mask bit in CR7 is not set. PCI System Clock This signal is the PCI bus clock that provides timing for all bus phases. The frequency is 33MHz. Power Management Event The signal indicates that a power management event. PCI Address & Data Bus These are the multiplexed address and data signals. DM6588A will decode each address on the bus and respond if it is the target being addressed. Initialization Device Select For the accesses to the configuration address space, the device select Decoding is done externally and is signaled via this pin. This signal is asserted high during configuration read and write access. PCI Bus Command/Byte Enable During the address phase, these signals define the bus command or the type of the bus transaction that will take place. During the data phase, these pins indicate which byte lanes contain valid data. C/BE0# applies to bit7~0 and C/BE3# applies to bit 31~24. PCI Cycle Frame This signal is driven low by the master to indicate the beginning and duration of a bus transaction. It is deasserted when the transaction is in its final phase. PCI Initiator Ready This signal is driven low when the master is ready to complete the current data phase of the transaction. A data phase is completed on any clock both IRDY# and TRDY# are sampled asserted. PCI Target Ready This signal is driven low when the target is ready to complete the current data phase of the transaction. During a read, it indicates that the valid data is asserted. During write, it indicates that the target prepares to accept data. PCI Device Select DM6588A asserts the signal low when it recognizes its target address after FRAME# is asserted. PCI Stop This signal is asserted low by the target device to request the master device to stop the current transaction. PCI Parity Error DM6588A will assert this signal low to indicate a parity error on any incoming data. PCI System Error This signal is asserted low when an address parity is detected with PCICS bit31 enabled. The system error asserts two clock cycles after the address if an address parity error is detected. Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in 27 PAR I/O 36 RST# I 76 77 RIN GND_AUX I P Preliminary Version: DM562AP-DS-P02 March 05, 2004 PCI Parity This signal indicates even parity across AD0~AD31 and C/BE0#~C/BE3# including the PAR pin. It is stable and valid one clock after the address phase. Reset: An active low signal used to reset the DM6588A. Ring Signal Input for Auxiliary Power Auxiliary Ground 13 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in DM6588A Functional Description 3. Micro-controller Power Down Mode 1. Operating Mode Selection An instruction that sets the register PD (PCON.1) will cause the 80C32 to enter power down mode. There are three ways to wake up the 80C32 (1) Positive pulse signal occurring at the reset pin of the 80C32 (2) Negative pulse occurring at /RI (P1.0) of the 80C32 (3) Programming the PnP Wake Up Controller Register. The DM6588A can be used in internal or external modem applications. When operating as an internal modem, the EXT/INTB input (pin 122) must be attached to ground, and vice versa ( VDD ) when operating as an external modem. External mode is operated with host by UART. Internal mode can support parallel (ISA) and PCI interface to host. The TEST4 input (pin 1) is for ISA or PCI selection. 2. Micro-controller Program Memory The DM6588A supports two bank switch control pins to switch external program memory among four banks. The DM6588A can access a total of 256K of external program memory. Address mapping: bank0: 00000H - 0FFFFH bank1: 10000H - 1FFFFH bank2: 20000H - 2FFFFH bank3: 30000H - 3FFFFH For bank switching, three instructions must be included in software. Switch to bank1: CLR P1.3 SETB P1.7 JMP BANK 1 ADDRESS Switch to bank2: CLR P1.7 SETB P1.3 JMP BANK 2 ADDRESS Switch to bank3: CLR P1.7 CLR P1.3 JMP BANK 3 ADDRESS Return to bank 0: SETB P1.7 SETB P1.3 JMP BANK 0 ADDRESS * For detailed information about the micro-controller, refer to the Programmer's Guide to 8032. 4. Enhanced Internal Direct Memory There are two 128 byte banks of internal direct memory in the 80C32. The system uses the lower 128 bytes under normal conditions. Switching to the upper bank is achieved by loading register 8FH.1 (SFR of the 80C32) with 1. Switching to the lower bank can be achieved by loading the same register with 0. 5. Re-flash Program Memory By setting 8FH.2 the system can switch program and data memory. If the system uses FLASH memory as program memory this function is used to re-flash program code by downloading the program to data memory then switching them. Example: SETB LJMP 8FH.2 0000H 6. Micro-controller I/O Description MODEM expansion port: Address C800H (external only) Bit7 Bit6 bit5 bit4 bit3 bit2 bit1 bit0 OUT OUT OUT OUT INP3 INP2 INP1 INP0 P3 P2 P1 P0 Bit0 to Bit3: read only Bit4 to Bit7: write only Modem Output Port 1 Register: Address D000H Write only Bit7 bit6 bit5 bit4 Bit3 bit2 bit1 bit0 /Voice Voice Voice /POR -sel2 -Sel1 These 4 bits control the DM6588A output ports. 14 Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in Modem Output Port 2 Register: Address D800H Write only bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 /MUT /PUL /CID E SE These 3 bits control the DM6588A output ports. Memory Mapping of Micro-controller 80C32 : Address Description External Internal C800H GPIO OUTP3-OUTP0(Bit7~4);INP3~INP0(Bit3~0) Y N D000H DAA Port Y Y D400H UART Clock Register N Y D800H PS1 Port (Modem hybrid circuit control port) Y Y DC0XH HDLC registers Y Y E000H Modem UART Status Register N Y E400H /RUCS Port(RX DSP Dual Port Registers) Y Y E800H Modem LED Output Port UD7~UD0 Y N EC00H UART Baud Generator Divisor Latch Register N Y F000H /TUCS Port (TX DSP Dual Port Register) Y Y F80XH PCI Vender & Device ID Port Register N Y Preliminary Version: DM562AP-DS-P02 March 05, 2004 15 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in 7. HDLC Description HDLC RxDataBits Register: Address DC00H Write only Once the RxDataBit set to 1, the data in the RxBuffer will be transferred to RxFIFO. The transfer bit number is the same as the programming value of RxDataBits Register. HDLC RxBuffer: Address DC01H Write only Receive data will be written to the RxBuffer and will be input to the RxHDLC circuit. The RxBuffer is 16 bytes wide. HDLC RxFiFo: Address DC01H Read only After the data has been passed from the RxBuffer to the RxHDLC circuit, the RxHDLC circuit will remove the 7eH patterns and transfer the results to the RxFIFO. There RxFIFO is 21 bytes wide. HDLC TxDataBits Register: Address DC02H Write only Data written to TxDataBits will be presented to the TxFIFO. The data in TxFIFO will be transferred to TXHDLC circuit. The transfer bit number is the same as the value of TxDataBits register. If the TxFIFO is empty , a 7e pattern will be loaded to the TxFIFO. If TxFIFO is not empty and the data frame has the pattern of five consecutive “1” , then the TXHDLC circuit will insert “0” automatically. HDLC TxFiFo Register: Address DC03H Write only The original HDLC frame data will be loaded to the TxFIFO, presented to the input of the TxHDLC circuit. The TxFIFO is 21 bytes wide. HDLC TxBuffer: Address DC03H Read only According to TxDataBits, the TxHDLC circuit will transfer the same number data bits to the TxBuffer. The TxBuffer is 16 bytes wide. HDLC CNTL/STATUS Register: Address DC04H Bit0:TxReady0 16 0: indicates the data in the TxFIFO has deceased to zero and the HDLC circuit has transferred the 1st 7eH pattern. 1:indicates that the TxFIFO data is greater than or equal to the threshold value. Bit1:Rxdata 0: all the data in the RxBuffer has been read. 1:Programed by software to indicate that all data in the RxDataBits register has been written to the RxBuffer. Bit2:TxFIFO Threshold 0: TxFIFO threshold No. = 11 1: TxFIFO threshold No. =16 Bit3:TxFiFo Status 0:data No. in TxFIFO >= threshold 1:data No. in TxFIFO <= threshold Bit4:Txdata 0:A write action to TxDataBites register will clear this bit. 1:Bit No. in TxBuffer = TxDataBits register. Bit5: RxFIFO empty 0:data bytes No. in RxFIFO <>0 1:data bytes No. in RxFIFO = 0 Bit6: Reset 0:Normal state 1:reset HDLC circuit Zero Deletion In _ buffer register: Address DC08H write only Controller write the original data to this temp buffer. Zero Deletion Out _ buffer register: Address DC08H read only Controller read the result data from this buffer Zero Deletion Status/Rst register: Address DC09H Bit0: data ready flag (read only) 1:data has been load to out _ buffer. (clear automatically by a read from out_ buffer) 0: data has not been load to out _ buffer. Bit1: frame end flag (read only) 1:Indicate end of HDLC frame (clear by a reset action) Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in Bit2: fram ready flag (read only) 1:CRC check ok. 0:CRC check fail. Bit3: In _ buffer empty flag 1:In _ buffer empty (clear automatically by a write to In _buffer) 0:In _ buffer not empty Bit7: reset bit (write only) 1:software reset CRCL register: Address DC0AH (read only) CRCH register: Address DC0BH (read only) 8. Micro-controller Control Register for Internal Mode UART Clock (internal mode only) The internal clock of the virtual UART logic is fixed at 1.8432MHz. The clock is derived from an external 30MHz crystal. The UART 1.8432MHz clock will be obtained by division. When the operating frequency of the DM6588A controller changes, the divider should be changed accordingly. This divider is specified by the Configuration Register which can be written by the DM6588A controller. The address mapping of the register is D400H: (DM6588A controller memory mapping) By reading this register, the micro-controller can monitor the value of the low byte divisor latch of the virtual UART baud generator (see DLL in next section) and determine the baud rate clock itself. Modem Status Control Register (MSCR): Address E000H ( internal mode only ) Write only bit7 bit6 0 0 bit5 0 bit4 0 bit3 bit2 bit1 /CTS /DSR /DCD bit0 /RI This register contains information about the line status of the modem. The available signals are Ring Detect (/RI), Carrier Detect (/DCD), Data Set Ready (/DSR) and Clear To Send (/CTS). 9. Host Control Register for Virtual 16550A UART (internal mode only) Receiver Buffer (Read), Transmitter Holding Register (Write): Address: 0 (DLAB=0) Reset State 00h bit7 bit6 bit5 bit4 bit3 Bit2 bit1 Bit0 dat7 dat6 dat5 dat4 dat3 Dat2 dat1 Dat0 When this register address is read, it contains the parallel received data. Data to be transmitted is written to this register. Bit 0: Always 0. Bit 6-1: define the clock divider range from 2 to 64 (even number). Bit 7: Not used. Interrupt Enable Register (IER): Address 1 Reset State 00h, Write Only bit7 Bit bit bit4 bit3 6 5 0 UART Clock Register: ( internal mode only ) Address D400H Reset State: 06H Write Only bit7 X bit6 bit5 bit4 bit3 bit2 bit1 dat6 dat5 dat4 dat3 dat2 dat1 bit0 0 0 0 0 bit2 bit1 bit0 Enable Enable Enable Enable Modem Line TX RX Status Status Holding Data Intr Intr Register Intr Intr UART Baud Generator Divisor Latch Register: Address EC00H ( internal mode only ) This 8-bit register enables the four types of interrupts as described below. Each interrupt source can activate the INT output signal if enabled by this register. Resetting bits 0 through 3 will disable all UART interrupts. Read only bit7 bit6 bit5 bit4 bit3 Bit2 bit1 bit0 dat7 dat6 dat5 dat4 dat3 Dat2 dat1 dat0 Bit 0: This bit enables the Received Data Available and timeout interrupts in the FIFO mode when set to logic 1. Preliminary Version: DM562AP-DS-P02 March 05, 2004 17 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in Bit 1: This bit enables the Transmitter Holding Register Empty Interrupt when set to logic 1. Bit 2: This bit enables the Receiver Line Status Interrupt when set to logic 1. Bit 3: This bit enables the MODEM Status Interrupt when set to logic 1. Bit 4-7: Not used Interrupt Identification Register (IIR): Address 2 eset State 01h, Read only Bit7 Bit6 bit5 bit4 bit3 bit2 bit1 FIFO 0 0 0 D3: D2: D1: Enable INTD2 INTD1 INTD0 bit0 D0: int Pending The IIR register gives prioritized information regarding the status of interrupt conditions. When accessed, the IIR indicates the highest priority interrupt that is pending. Bit 0: This bit can be used in either a prioritized interrupt or polled environment to indicate whether an interrupt is pending. When this bit is a logic 0, an interrupt is pending, and the IIR contents may be used as a pointer to the appropriate interrupt service routine. When bit 0 is a logic 1, no interrupt is pending, and polling (if used) continues. Bit 1-2: These two bits of the IIR are used to identify the highest priority interrupt pending, as indicated in the table below. Bit 3: In character mode, this bit is 0. In FIFO mode, this bit is set, along with bit 2, when a timeout In order to provide minimum software overhead during interrupt is pending. data transfers, the virtual UART prioritizes interrupts into four levels as follows: Receiver Line Status Bit 4-6: Not used (priority 1), Receiver Data Available (priority 2), Character Timeout Indication (priority 2, FIFO mode Bit 7: FIFO always enabled. only), Transmitter Holding Register Empty (priority 3), and Modem Status (priority 4). Interrupt Identification Register (IIR): Address 2 (continued) D3 D2 D1 D0 Priority Level Interrupt Type Condition 0 0 0 1 0 1 1 0 Highest Receiver Line Overrun Error, Parity Error, Status Framing Error or Break Interrupt 0 1 0 0 Second Receiver Data Receiver Data Available or Available Trigger Level Reached 1 1 0 0 Second 0 0 1 0 Third 0 0 0 0 Fourth 18 Reset Reads the Line Status Register Reads the Receiver Buffer Register or the FIFO has Dropped Below the threshold value Reads The Receiver Buffer Register Character No characters have been Timeout Indication read from or written to the Rx FIFO during programming time interval, and the Rx FIFO is not empty Transmitter Ready to accept new data Reads the IIR Register or (if Holding Register for transmission source of interrupt) Writes Empty To The Transmitter Holding Register Modem Status Clear to Send, Data Set Reads the Modem Status Ready, Ring Indicator or Register Data Carrier Detected Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in FIFO Control Register (FCR): Address 2 Reset State 00h , write only bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 RCVR RCVR 0 0 DMA TxFIFO RxFIFO FIFO Trig Trig Mode Reset Reset Enable (MSB) (LSB) This is a write only register at the same location as the IIR, which is a read only register. This register is used to enable the FIFOs, clear the FIFOs, set the RxFIFO trigger level, and select the type of DMA signal. Bit 0: FIFO Enable, This bit is always high Bit 1: Writing a 1 to FCR1 clears all bytes in the RxFIFO and resets the counter logic to 0. Bit 2: Writing a 1 to FCR2 clears all bytes in the TxFIFO and resets the counter logic to 0. Bit 3: Setting FCR3 to 1 will cause the RXRDY and TXRDY pins to change from mode 0 to mode 1 if FCR0 = 1. Bit 4-5: Reserved Bit 6-7: FCR6, FCR7 are used to set the trigger level for the RxFIFO interrupt. FCR6 0 0 1 FCR7 0 1 0 RxFIFO Trigger Level 01 04 08 Line Control Register (LCR): Address 3 Reset State 00h, Write Only bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 DLAB SBRK STP EPS PEN STB WLS1 WLS0 This register is available to maintain compatibility with the standard 16550 register set, and provides information to the internal hardware that is used to determine the number of bits per character. Preliminary Version: DM562AP-DS-P02 March 05, 2004 WLS1 0 0 1 1 WLS0 0 1 0 1 Word Length 5 bits 6 bits 7 bits 8 bits Bit 0-1: WLS0-1 specifies the number of bits in each transmitted and received serial character. Bit 2: STB specifies the number of stop bits in each transmitted character. If bit 2 is a logic 0, one stop bit is generated in the transmitted data. If bit 2 is a logic 1 when a 5-bit word length is selected via bits 0 and 1, one and a half stops are generated. If bit 2 is a logic 1 when either a 6-, 7- or 8-bit word length is selected, two stop bits are generated. The Receiver checks the first Stop-bit only, regardless of the number of Stop bits selected. Bit 3: Logic 1 indicates that the PC has enabled parity generation and checking. Bit 4: Logic 1 indicates that the PC is requesting an even number of logic 1s (even parity generation) to be transmitted or checked. Logic 0 indicates that the PC is requesting odd parity generation and checking. Bit 5: When bits 3, 4 and 5 are logic 1, the parity bit is transmitted and checked by the receiver as logic 0. If bits 3 and 5 are 1 and bit 4 is logic 0, then the parity is transmitted and checked as logic 1. Bit 6: This is a Break Control bit. When it is set to logic 1, a break condition is indicated. Bit 7: The Divisor Latch Access bit must be set to logic 1 to access the Divisor Latches of the baud generator during a read or write operation. It must be set to logic 0 to access the Receiver Buffer, the Transmitter Holding Register, or the Interrupt Enable Register. 19 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in Modem Control Register (MCR): Address 4 Reset State 00h bit7 bit6 bit5 0 0 0 bit4 0 bit3 0 bit2 0 bit1 bit0 RTS DTR Bit 0: This bit asserts a Data Terminal Ready condition that is readable via port P1.1 of the microcontroller 80C32. When bit 0 is set to logic 1, the P1.1 is forced to logic 0. When bit 0 is reset to logic 0, the P1.1 is forced to logic 1. Bit 1: This bit asserts a Request To Send condition that is readable via port P3.4 of the micro-controller 80C32. When bit 1 is set to logic 1, the P3.4 is forced to logic 0. When bit 1 is reset to logic 0, the P3.4 is forced to logic 1. Line Status Register (LSR): Address 5 Reset State 60h, Read only bit7 bit6 bit5 bit4 bit3 RCV ETEMT THRE BI FE bit2 PE bit1 OE bit0 DR This register provides status information to the host PC concerning character transfer. Bit 1-4 indicates error conditions that produce a Receiver Line Status interrupt whenever any of the corresponding conditions are detected. The Line Status Register is valid for read operations only. Bit 0: Set to logic 1 when a received character is available in the RxFIFO. This bit is reset to logic 0 when the RxFIFO is empty. Bit 1: An Overrun error will occur only after the RxFIFO is full and the next character has overwritten the unread FIFO data. This bit is reset upon reading the Line Status Register. Bit 2: A logic 1 indicates that a received character does not have the correct even or odd parity as selected by the Parity Select bit. This error is set when the corresponding character is at the top of the RxFIFO. It will remain set until the CPU reads the LSR. 20 Bit 3: This bit is the Framing Error (FE) indicator. Bit 3 indicates that the received character did not have a valid stop bit. Bit 3 is set to a logic 1 whenever the stop bit following the last data bit or parity bit is detected as a zero bit (spacing level). The FE bit is reset whenever the CPU reads the contents of the Line Status Register. The FE error condition is associated with the particular character in the FIFO to which it applies. This error is revealed to the CPU when its associated character is at the top of the FIFO. Bit 4: This bit is a Break Interrupt (BI) indicator. Bit 4 is set to logic 1 whenever the received data input is held in the Spacing (logic 0) state for longer than a full word transmission time (that is, the total time of Start bit + data bits + Parity + Stop bits). The BI indicator is reset whenever the CPU reads the contents of the Line Status Register. The BI error condition is associated with the particular character in the FIFO to which it applies. This error is revealed to the CPU when its associated character is at the top of the FIFO. Bit 5: This bit is a Transmitter Holding Register Empty indicator. Bit 5 indicates that UART is ready to accept a new character for transmission. In addition, this bit causes the UART to issue an interrupt to the CPU when the Transmit Holding Register Empty Interrupt Enable is set high. The THRE bit is reset to logic 0 when the host CPU loads a character into the Transmit Holding register. In the FIFO mode, this bit is set when the TxFIFO is empty, and is cleared when at least 1 byte is written to the TxFIFO. Bit 6: This bit is the Transmitter Empty indicator. Bit 6 is set to a logic 1 whenever the Transmitter Holding Register (THR) is empty, and is reset to a logic 0 whenever the THR contains a character. In FIFO mode, this bit is set to 1 whenever the transmit FIFO is empty. Bit 7: In character mode, this bit is 0. In FIFO mode, this bit is set when there is at least one parity error, framing error, or break indication in the FIFO. If there are no subsequent errors in the FIFO, LSR7 is cleared when the CPU reads the LSR. Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in Modem Status Register (MSR): Address 6 Reset State bit 0-3 : low , bit 4-7: Input Signal bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 DCD RI DSR CTS DDCD TERI DDSR DCTS This 8-bit register provides the current state of the control lines from the Modem to the CPU. In addition, four bits of the Modem Status Register provide change information. These bits are set to a logic 1 whenever a control input from the Modem changes state. They are reset to logic 0 whenever the CPU reads the Modem Status Register. Bit 0: This bit is the Delta Clear to Send (DCTS) indicator. Bit 0 indicates that the CTS (MSR Bit 4) has changed state since the last time it was read by the CPU. Bit 1: This bit is the Delta Data Set Ready (DDSR) indicator. Bit 1 indicates that the DSR (MSR Bit 5) has changed state since the last time it was read by the CPU. Bit 2: This bit is the Trailing Edge of Ring indicator. Bit 2 indicates that the RI (MSR Bit 6) has changed from a low to a high state. Bit 3: This bit is the Delta Data Carrier Detect (DDCD) indicator. Bit 3 indicates that the DCD (MSR Bti 7) has changed state. Note:Whenever bit 0, 1, 2 or 3 is set to a logic 1, a Modem Status Interrupt is generated. Bit 4: This bit reflects the value of MSR Bit 4 (CTS). Bit 5: This bit reflects the value of MSR Bit 5 (DSR). Bit 6: This bit reflects the value of MSR Bit 6 (RI). Bit 7: This bit reflects the value of MSR Bit 7 (DCD). Preliminary Version: DM562AP-DS-P02 March 05, 2004 Scratch Register (SCR): Address 7 Reset State 00h This 8-bit Read/Write Register does not control the UART in any way. It is intended as a Scratch Pad Register to be used by the programmer to hold data temporarily. Divisor Latch (DLL): Address 0 (DLAB = 1) Reset State 00h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 DAT7 DAT6 DAT5 DAT4 DAT3 DAT2 DAT1 DAT0 This register contains baud rate information from the host PC. The PC sets the Divisor Latch Register values. Divisor Latch (DLM): Address 1 (DLAB = 1) Reset State 00h bit7 bit6 bit5 bit4 bit3 bit2 bit1 bit0 DAT7 DAT6 DAT5 DAT4 DAT3 DAT2 DAT1 DAT0 This register contains baud rate information from the host PC. Note:Two 8-bit latches (DLL-DLM) store the divisor in 16-digit binary format. The desired baud rate can be obtained by dividing the 115200Hz clock by the divisor. Desired Baud Rate 50 75 110 150 300 600 1200 2400 4800 9600 19200 38400 57600 115200 Divisor Value 2304 1536 1047 768 384 192 96 48 24 12 6 3 2 1 21 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in 10. Micro-controller Control Register for PCI interface PCI Vender ID Low Byte Data Port: Address F800H (pci only) Write only This port configures PCI Vender ID low byte.( Offset 00 of PCI configuration register space) PCI Vender ID High Byte Data Port: Address F801H (pci only) Write only This port configures PCI Vender ID high byte. (Offset 01 of PCI configuration register space) PCI Device ID Low Byte Data Port: Address F802H Write only This port configures PCI Device ID low byte. (Offset 02 of PCI configuration register space) PCI Subsystem Device ID High Byte Data Port: Address F807H Write only This port configures PCI Subsystem Device ID low byte. (Offset 2F of PCI configuration register space) PCI Power Management New Capability: Address F808H, Bit 4 (pci only) Write only This bit configures if support PCI Power Management. (Offset 06 bit 4 of PCI configuration register space) PCI Power Management Power State: Address F809H, Bit[1..0] (pci only) Write / Read These bits configures PCI Power management Power State. (Offset 54 bit [1..0] of PCI configuration register space) PCI Device ID High Byte Data Port: Address F803H Write only This port configures PCI Device ID low byte.( Offset 00 of PCI configuration register space) PCI Subsystem Vender ID Low Byte Data Port: Address F804H (pci only) Write only This port configures PCI Subsystem Vender ID low byte. (Offset 2C of PCI configuration register space) PCI Subsystem Vender ID High Byte Data Port: Address F805H (pci only) Write only This port configures PCI Subsystem Vender ID high byte. (Offset 2D of PCI configuration register space) PCI Subsystem Device ID Low Byte Data Port: Address F806H PCI Power Management PME_STATUS: Address F80AH, Bit 1 Write only This bit configures PCI Power status. of PCI configuration register space) (Offset 55 bit 7 PCI Power Management PME_EN: Address F80AH, Bit 0 Write only This bit configures PCI if enable PME wake up (Offset 55 bit 0 of PCI configuration register space) PCI PME_D3_Support: Address F80BH, Bit 0 Write only This port configures PCI if support PME wake up at D3 state. (Offset 53 bit [8..7] of PCI configuration register space) Write only This port configures PCI Subsystem Device ID low byte. (Offset 2E of PCI configuration register space) 22 Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in 11. PCI Configuration Register Definition The definitions of PCI Configuration Registers are based on the PCI specification revision 2.1 and provides the initialization and configuration information to operate the PCI interface in the DM6588A. All registers can be accessed with byte, word, or double word mode. As defined in PCI specification 2.1, read accesses to reserve or unimplemented registers will return a value of “0.” These registers are to be described in the following sections. PCI Configuration Registers Mapping : Description Identifier Address Value of Reset Offset Identification PCIID 00H 6588A1282H Command & Status PCICS 04H 04100001H Revision PCIRV 08H 07000210H Miscellaneous PCILT 0CH 00000000H I/O Base Address PCIIO 10H XXXXXXXx001 Reserved -------- 14H - 28H Subsystem Identification PCISID 2CH undefined Capability Pointer CAP_PTR 34H 00000050H Reserved -------- 38H Interrupt & Latency PCIINT 3CH 281401XXH Power Management Register PMR 50H 00110001H Power Management Control & PMCSR 54H 00000000H Status Preliminary Version: DM562AP-DS-P02 March 05, 2004 23 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in Configuration Register Structure Vendor ID Device ID Command Status (with bit 4 set to 1) Revisio Class Code = 070002 BIST Latency Timer Cach Line Size Header Type Bass Address Register CBIO Reserved Reserved Subsystem ID Subsystem Vendor ID Reserved Cap_Ptr Reserved Max_Lat Reserved Min_Gnt Interrupt Pin = 1 Interrupt Line 00H 04H 08H 0CH 10H 14H 18H 1CH 20H 24H 28H 2CH 30H 34H 38H 3CH 40H Reserved 44H Reserved 48H 4CH Power Management Capability Reserved Next Item Pointer Capability ID Power Management Control and Status 50H 54H Key to Default In the register description that follows, the default column takes the form <Reset Value> Where: <Reset Value>: 1 Bit set to logic one 0 Bit set to logic zero X No default value 24 <Access Type>: RO = Read only RW = Read/Write R/C: means Read / Write & Write "1" for Clear. _WR = Controller Write _RD = Controller Read Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in Identification ID (xxxxxx00 - PCIID) 31 16 15 0 Dev_ID Vend_ID Device ID Vendor ID Bit 31:16 Default 6588Ah 15:0 1282h Type RO _WR RO _WR Description The field identifies the particular device. Unique and fixed number for the DM6588A is 6588Ah. It is the product number assigned by DAVICOM. This field identifies the manufacturer of the device. Unique and fixed number for Davicom is 1282h. It is a registered number from SIG. Command & Status (xxxxxx04 - PCICS) 31 16 15 0 Status Command Status Command Status Register Definition: 31 30 29 28 27 26 0 0 25 1 24 23 22 21 20 1 0 0 1 19 16 Detected Parity Error Signal For System Error Master Abort Detected Target Abort Detected Send Target Abort DEVSEL Timing Data Parity Error Detected Slave mode Fast back to Back User Definable 66MHz Capability New Capability Preliminary Version: DM562AP-DS-P02 March 05, 2004 25 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in 26 Bit 31 Default 0 Type R/C 30 0 R/C 29 0 R/C 28 0 R/C 27 0 RO 26:25 10 RO 24 0 R/C 23 0 RO 22 0 RO 21 20 0 1 RO RO _WR 19:16 0000 RO Description Detected Parity Error The DM6588A samples the AD[0:31], C/BE[0:3]#, and the PAR signal to check parity and to set parity errors. Signaled System Error This bit is set when the SERR# signal is driven by the DM6588A. This system error occurs when an address parity is detected under the condition that bit 8 and bit 6 in command register below are set. Master Abort Detected The DM6588A will never support the function Target Abort Detected The DM6588A will never support the function Send Target Abort (0 For No Implementation) The DM6588A will never support the function. DEVSEL Timing (10 Select Slow Timing) Slow timing of DEVSEL# means the DM6588A will assert DEVSEL# signal two clocks after FRAME# is sample “asserted.” Data Parity Error Detected The DM6588A will never support the function Slave mode Fast Back-To-Back Capable (1 For Good Capability) The DM6588A will never support the function User-Definable-Feature Supported (0 For No Support) 66 MHz Capable (0 For No Capability) New Capabilities This bit indicates whether this function implements a list of extended capabilities such as PCI power management. When set this bit indicates the presence of New Capabilities. A value of 0 means that this function does not implement New Capabilities. Reserved Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in Command Register Definition: 15 10 Reserved 9 8 7 6 5 4 3 2 1 0 0 R/W 0 R/W 0 0 0 R/W R/W R/W Mast Mode Fast Back-To-Back SERR# Driver Enable/Disable Address/Data Steeping Parity Error Response Enable/Disable VGA Palette snoop Memory Write and Invalid Special Cycle Master Device Capability Enable/Disable Memory Space Access Enable/Disable I/O Space Access Enable/Disable Bit 15:10 9 Default 000000 0 Type RO RO 8 0 RW 7 6 0 0 RO RW 5 4 3 2 0 0 0 0 RO RO RO RW 1 0 RW 0 1 RW Preliminary Version: DM562AP-DS-P02 March 05, 2004 Description Reserved Master Fast Back-to-back Mode (0 For No Support) The DM6588A does not support master mode fast back-to-back capability and will not generate fast back-to-back cycles. SERR# Driver Enable/Disable This bit controls the assertion of SERR# signal output. The SERR# output will be asserted on detection of an address parity error and if both this bit and bit 6 are set. Address/Data Stepping (0 For No Stepping) Parity Error Response Enable/Disable Setting this bit will enable the DM6588A to assert PERR# on the detection of a data parity error and to assert SERR# for reporting address parity error. VGA Palette Snooping (0 For No Support) Memory Write and Invalid (0 For No Support) Special Cycles (0 For No Implementation) Master Device Capability Enable/Disable The DM6588A will never support the function. Memory Space Access Enable/Disable The DM6588A will never support the function. I/O Space Access Enable/Disable This bit controls the ability of I/O space access. 27 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in Revision ID (xxxxxx08 - PCIRV) 31 8 7 Class Code 4 3 0 Revision ID Class Code Revision Major Number Revision Minor Number Bit 31:8 Default 070002h Type RO 7:4 0001 RO 3:0 0000 RO Description Class Code (070002h) This is the standard code for Simple Communications controller.16550 compatible serial controler. Revision Major Number This is the silicon-major revision number that will increase for the subsequent versions of the DM6588A Revision Minor Number This is the silicon-minor revision number that will increase for the subsequent versions of the DM6588A. Miscellaneous Function (Xxxxxx0c - PCILT) 31 24 BIST 23 16 15 Header Type 8 Latency Timer 7 0 Cache Line Size Built-In Self Test Header Type Latency Timer For The Bus Master Cache Line Size For Memory Read 28 Bit 31:24 23:16 15:8 Default 00h 00h 00h Type RO RO RO 7:0 00h RO Description Built-In Self Test (=00h Means No Implementation) Header Type (= 00h Means single function with Predefined Header Type ) Latency Timer For The Bus Master. The DM6588A will never support the function. Cacheline Size For Memory Read Mode Selection (00h Means No Implementation For Use) Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in I/O Base Address (Xxxxxx10 - PCIIO) 31 3 2 I/O Base Address 1 0 1 00 I/O Base Address PCI I/O Range Indication I/O or Memory Space Indicator Bit 31:3 Default Undefined Type RW 2:1 00 RO 0 1 RO Description PCI I/O Base Address This is the base address value for I/O access cycles. It will be compared to AD[31:3] in the address phase of bus command cycle for the I/O resource access. PCI I/O Range Indication It indicates that the minimum I/O resource size is 08h. I/O Space Or Memory Space Base Indicator Determines that the register maps into the I/O space.(=1 Indicates I/O Base) Subsystem Identification (Xxxxxx2c - PCISID) 31 0 Subsystem ID Subsystem Vendor ID Subsystem ID Subsystem Vendor ID Bit 31:16 Default XXXXh 15:0 XXXXh Preliminary Version: DM562AP-DS-P02 March 05, 2004 Type RO _WR RO _WR Description Subsystem ID Node number loaded from Contriller and different from each card. Subsystem Vendor ID Unique number given by PCI SIG and loaded from Controller. 29 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in Capabilities Pointer (Xxxxxx34 - Cap _Ptr) Cap_Ptr 0 1 0 1 0 0 0 0 Offset 34H 7 0 Bit 31:8 7:0 Default 000000h 01010000 Type RO RO Description Reserved Capability Pointer The Cap_Ptr provides an offset (default is 50h) into the function’s PCI Configuration Space for the location of the first term in the Capabilities Linked List. The Cap_Ptr offset is DOUBLE WORD aligned so the two least significant bits significant bits are always “0”s Interrupt & Latency Configuration (Xxxxxx3c - PCIINT) 31 24 23 MAX_LAT 16 MIN_GNT 15 8 INT_PIN 7 0 INT_LINE Maximum Latency Timer Minimum Grant Interrupt Pin Interrupt Line 30 Bit 31:24 Default 28h Type RO 23:16 14h RO 15:8 7:0 01h XXh RO RW Description Maximum Latency Timer that can be sustained (Read Only and Read As 28h) Minimum Grant Minimum Length of a Burst Period (Read Only and Read As 14h) Interrupt Pin read as 01h to indicate INTA# Interrupt Line that Is Routed to the Interrupt Controller Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in Power Management Register (Xxxxxx50h~PMR) 31 16 15 PMC 8 7 Next Item Pointer 0 Capability ID Power Management Capabilities Next Item Pointer Capability Identifier Bit 31:27 Default 00000 Type RO _WR 26:22 00000 RO 21 0 RO 20 1 RO 19 0 RO 18:16 001 RO 15:8 00h RO 7:0 01h RO Preliminary Version: DM562AP-DS-P02 March 05, 2004 Description PME_Support This five-bit field indicates the power states in which the function may assert PME#. A value of 0 for any bit indicates that the function is not capable of asserting the PME# signal while in that power state. bit27 Æ PME# support D0 bit28 Æ PME# support D1 bit29 Æ PME# support D2 bit30 Æ PME# support D3(hot) bit31 Æ PME# support D3(cold) DM6588A’s bit31~27=11000 indicates PME# can be asserted from D3(hot) & D(cold). Reserved (DM6588A not supports D1, D2) A “1” indicates that the function requires a device specific initialization sequence following transition to the D0 uninitialized state. Auxiliary Power Source This bit is only meaningful if bit31 is a “1”. This bit is “1” in DM6588A indicates that support for PME# in D3(cold) requires auxiliary power. PME# Clock “0” indicates that no PCI clock is required for the function to generate PME#. Version A value of 001 indicates that this function complies with the Revision 1.0 of the PCI Power Management Interface Specification. Next Item Pointer The offset into the function’s PCI Configuration Space pointing to the location of next item in the function’s capability list is “00h” Capability Identifier When “01h” indicates the linked list item as being the PCI Power Management Registers. 31 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in Power Management Control/Status(Xxxxxx54h~PMCSR) PMCSR R/W 0 15 14 0 0 0 Bit 31:16 Default 0000h Type RO 15 0 R/C _WR 14:9 000000 RO 8 0 RW _WR 7:2 000000 RO 1:0 00 RW _WR _RD 0 0 R/W 0 9 8 7 0 0 0 0 R/W 2 1 Offset=54H 0 Description Reserved PME_Status This bit is set when the function would normally assert the PME# signal independent of the state of the PME_En bit. Writing a “1” to this bit will clear it. This bit defaults to “0” if the function does not support PME# generation from D3(cold). If the function supports PME# from D3(cold) then this bit is sticky and must be explicitly cleared by the operating system each time the operating system is initially loaded. Reserved. It means that the DM6588A does not support reporting power consumption. PME_En Write “1” to enables the function to assert PME#, write “0” to disable PME# assertion. This bit defaults to “0” if the function does not support PME# generation from D3(cold). If the function supports PME# from D3(cold) then this bit is sticky and must be explicitly cleared by the operating system each time the operating system is initially loaded. Reserved Power State. This two bits field is both used to determine the current power state of a function and to set the function into a new power state. The definitionis given below. 00 : D0 11 : D3(hot) PCI function power management state The DM6588A supports PCI function power states D0, D3(hot), D3(cold). Additional PCI signal PME# to pin A19 of the standard PCI connector. PME Context PME (power Management Event) context is defined as the functional state information and logic required to generate power management events(PMEs), report PME status, and enable PMEs. For MODEM, PME context consists of PME_En bit, 32 0 PME_Status bit , Ring Detect ,and Ring to PME circuit. PCI MODEM Power Management Operation During a true power-on situation (no auxiliary and normal power), PME_En = 0 to avoid to assert PME#. When assert RST#, the pci configuration space is set to default value except PME context which must preserve. Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in DM6588A can not assert PME# from D0. But can Assert PME# from D3(hot) and D3(cold). Hence the Ring to PME# circuit must check the power state. If ring comes at D0 power state, it can not assert PME#. When host detect PME# asserted, it will power up PCI bus and assert RST# to initialize pci modem. At the same time, it write 1 into PME_En bit or PME_Status bit to stop PME#. Software will enable its use by setting the PME_En bit in the PMCSR. It must continue to assert PME# until software either clears the PME_En bit or clears the PME_Status bit. Before enter D3(cold) state, host must : 1. Write 1 into PME_Status bit to clear previous PME status 2. Write 1 into PME_En bit to enable PME function. 3. Write 3 into Power_state 4. Power off PCI bus. When Ring comes, Ring to PME# circuit check if PME_EN=1 and Power_staus <>0. If yes, assert PME# and set PME_Status=1. Before enter D3(hot) state, host must : 5. Write 1 into PME_Status bit to clear previous PME status 6. Write 1 into PME_En bit to enable PME function. 7. Write 3 into Power_state When Ring come, Ring to PME# circuit check if PME_EN=1 and Power_staus <>0. If yes, assert PME# and set PME_Status=1. When host detect PME# asserted, it will re-initialize pci modem and set Power_State=0 to return D0 state. At the same time, it write 1 into PME_En bit or PME_Status bit to stop PME#. PCI MODEM Board Power Management Vsb VDD VDD VDD : PCI +3.3V power Vsb : auxilily +3.3V power Power on/off VCC_AUX Power Switch VCC = VDD if poweron VCC = floating if power off Ring Detector 30.24MHz PCI Bus VCC_AUX PCI to ISA RI to PME# TX DSP DM6588A Micro Control Unit RX DSP SCLK DIT DOT TFS DIR DOR RFS TXSCLK*2 RXSCLK CLKIN TXDCLK RXDCLK Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM6580 RxIN TxA1 Analog Front End SPKR DAA Line TxA2 Speaker Driver Microphone Driver 33 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in Ring to PME# circuit PME# PME_EN PME_Status Vdda Ring hold ckt Ring in Vdda Power State = 11 =other Power on/off Configuration register RST# reserve PME context other set to default (power state = 00) PCI to ISA 8031 kernel RI\, AT command Power on inverse RST# RESET DM6588A PCI Power Configuration 34 Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in DM6588A External Electrical Characteristics DM6588A External Absolute Maximum Ratings* ( 25°C ) Symbol Parameter DVCC,AVCC Supply Voltage VIN DC Input Voltage (VIN) VOUT DC Output Voltage(VOUT) Tc Case Temperature Range Tstg Storage Temperature Rang (Tstg) LT Lead Temp. (TL, Soldering, 10 sec.) Min. -0.3 -0.5 -0.3 0 -65 --- Max. 3.6 5.5 3.6 85 150 220 Unit V V V °C °C °C Conditions *Comments Stresses above those listed under “Absolute Maximum Ratings”may cause permanent damage to the device. These are stress ratings only. Functional operation of this device at these or any other . conditions above those indicated in the operational section of this specification is not implied or intended. Exposure to absolute maximum rating conditions for extended periods may affect device reliability DM6588A External DC Electrical Characteristics (VDD = 3.3V, GND = 0V; Tc = 0 oC to 85 oC) Symbol VDD IDD VIH VIL IiL VOH VOL CIN VILRESET VIHRESET Parameter Operating Voltage Operating Current Input High Voltage Input Low Voltage Input Leakage Current Output High Voltage Output Low Voltage Input Capacitance Reset Schmitt VIL Reset Schmitt VIH Preliminary Version: DM562AP-DS-P02 March 05, 2004 Min. 3.15 Typ. 3.3 90 Max. 3.45 2.0 0.8 1.0 -1.0 2.4 0.4 10.0 0.8 2.8 Unit V mA V V μA V V pF V V Conditions VIN = 0, 3.45V IOH = -0.5mA IOL = 1.5mA 35 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in DM6588A ISA Electrical Characteristics DM6588A ISA Absolute Maximum Ratings* ( 25°C ) Symbol Parameter DVCC,AVCC Supply Voltage VIN DC Input Voltage (VIN) VOUT DC Output Voltage(VOUT) Tc Case Temperature Range Tstg Storage Temperature Rang (Tstg) LT Lead Temp. (TL, Soldering, 10 sec.) Min. -0.3 -0.5 -0.3 0 -65 --- Max. 3.6 5.5 3.6 85 150 220 Unit V V V °C °C °C Conditions *Comments Stresses above those listed under “Absolute Maximum Ratings”may cause permanent damage to the device. These are stress ratings only. Functional operation of this device at these or any other . conditions above those indicated in the operational section of this specification is not implied or intended. Exposure to absolute maximum rating conditions for extended periods may affect device reliability DM6588A ISA DC Electrical Characteristics (VDD = 3.3V, GND = 0V; Tc = 0 oC to 85 oC) Symbol VDD IDD VIH VIL IiL VOH VOL CIN VILRESET VIHRESET 36 Parameter Operating Voltage Operating Current Input High Voltage Input Low Voltage Input Leakage Current Output High Voltage Output Low Voltage Input Capacitance Reset Schmitt VIL Reset Schmitt VIH Min. 3.15 Typ. 3.3 90 Max. 3.45 2.0 0.8 1.0 -1.0 2.4 0.4 10.0 0.8 2.8 Unit V mA V V μA V V pF V V Conditions VIN = 0, 3.45V IOH = -0.5mA IOL = 1.5mA Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in DM6588A ISA AC Electrical Characteristics & Timing waveforms o DM6588A ISA AC Electrical Characteristics (VDD = 3.3V, GND = 0V; TA = 25 C) Symbol Parameter Min. Typ. Max. Unit tAW IOW Delay from Address 30 ns tWC Write Cycle 280 ns tDOW IOW Strobe Width 100 ns tDS Data Setup Time 30 ns tDH Data Hold Time 30 ns tAR IOR Delay from Address 30 ns tRC Read Cycle 280 ns tDIW IOR Strobe Width 125 ns tDDD Delay from IOR to Data Valid 125 ns tHZ IOR to Floating Data Delay 0 100 ns Conditions 100pF loading 100pF loading DM6588A ISA signals Timing Diagrams Write Cycle VALID A2 - A0 /IOW tAW tWC tDOW /IOR tDS DATA UD7-UD0 tDH VALID Read Cycle VALID A2 - A0 /IOR tAR tRC tDIW /IOW tDDD DATA UD7-UD0 Preliminary Version: DM562AP-DS-P02 March 05, 2004 tHZ VALID 37 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in DM6588A PCI Electrical Characteristics DM6588A PCI Absolute Maximum Ratings* ( 25°C ) Symbol Parameter DVCC,AVCC Supply Voltage VIN DC Input Voltage (VIN) VOUT DC Output Voltage(VOUT) Tc Case Temperature Range Tstg Storage Temperature Rang (Tstg) LT Lead Temp. (TL, Soldering, 10 sec.) Min. -0.3 -0.5 -0.3 0 -65 --- Max. 3.6 5.5 3.6 85 150 220 Unit V V V °C °C °C Conditions *Comments Stresses above those listed under “Absolute Maximum Ratings”may cause permanent damage to the device. These are stress ratings only. Functional operation of this device at these or any other conditions above those indicated in the operational section of this specification is not implied or intended. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. DM6588A PCI DC Electrical Characteristics (VDD = 3.3V, GND = 0V; Tc = 0 oC to 85 oC) Symbol VDD IDD VIH VIL IiL VOH VOL CIN VILRESET VIHRESET 38 Parameter Operating Voltage Operating Current Input High Voltage Input Low Voltage Input Leakage Current Output High Voltage Output Low Voltage Input Capacitance Reset Schmitt VIL Reset Schmitt VIH Min. 3.15 Typ. 3.3 120 Max. 3.45 2.0 0.8 1.0 -1.0 2.4 0.4 10.0 0.8 2.8 Unit V mA V V μA V V pF V V Conditions VIN = 0, 3.45V IOH = -0.5mA IOL = 1.5mA Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in DM6588A PCI AC Electrical Characteristics & Timing Waveforms (VDD = 3.3V, GND = 0V; Tc = 0℃ to 85℃) PCI Clock Specifications Timing tHIGH 2.0V tLOW 0.8V tR tF tCYCLE Symbol tR tF tCYCLE tHIGH tLOW Parameter PCI_CLK rising time PCI_CLK falling time Cycle time PCI_CLK High Time PCI_CLK Low Time Min. 4 4 30 12 12 Typ. - Max. - Unit ns ns ns ns ns Conditions - Other PCI Signals Timing Diagram 2.5V cLK tVAL(max) tVAL(min) Output tOFF Input tON tH tSU Symbol tVAL tON tOFF tSU tH Parameter Clk-To-Signal Valid Delay Float-To-Active Delay From Clk Active-To-Float Delay From Clk Input Signal Valid Setup Time Before Clk Input Signal Hold Time From Clk Preliminary Version: DM562AP-DS-P02 March 05, 2004 Min. 2 2 7 5 Typ. - Max. 12 28 - Unit ns ns ns ns ns Conditions Cload = 50 pF - 39 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in Chip 2 : DM6580 Analog Front End DM6580 Description The DM6580 is a single chip Analog Front End (AFE) designed to be implemented in voice grade modems for data rates up to 56000bps. The DM6580 is an essential part the complete modem device set. The AFE converts the analog signal into digital form and transfers the digital data to the DSP through the serial port. All the clock information needed in a modem device is also generated in the DM6580. Differential analog outputs are provided to achieve the maximum output signal level. An audio monitor with programmable volume levels is built in to monitor the on-line signal. Inside the device, a 16-bit ADC and a 16-bit DAC with over-sampling and noise-shaping techniques is implemented to maximize performance. The DM6580 offers wide-band transmit and receive filters so that the voice band signal is transmitted or received without amplitude distortion and with minimum group delay. In order to support multi-mode modem standards, such as V.90, V.34+, V.32bis, V.32, V.22bis, V.22, V.23, V.21, Bell 212A, Bell 103, V.17, V.29, V.27ter, programmable baud and data rate clock generators are provided. For asymmetric channel usage, the transmit and receive clock generators are independent. In order to enhance echo-cancellation, the receive clock is synchronized with the transmit clock and the best receive timing sample is reconstructed by a reconstruction filter. The Transmit Digital Phase Lock Loop (DPLL) is selftuning to provide a master, slave or free-running mode for the data terminal interface. A receive DPLL that is step programmable by the host DSP is implemented to get the best samples for the relevant signal processing. DM6580 Block Diagram RxSCLK Rx Clock System RxDCLK TxSCLK*2 Tx Clock System TxDCLK ExtCLK CLKIN SCLK Divider Control Registers RFS DOR DIR Digital Interface Tx Filter & DAC LPF & Attenuator TFS DOT Voltage Reference DIT Rx Filter & ADC 0/-6 dB Audio Amplifier Digital Reconstruction Filter 40 TxA1 TxA2 VREFP VCM VREFN RxIN SPKR Power-on Detector Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in DM6580 Features • • • • • • • • 16-bit Σ-△ A/D and D/A converters Dynamic range : 86dB Total harmonic distortion : -86dB Separate transmit and receive clocks Symbol rate : 75, 300, 600, 1200, 1600, 2400, 2743, 2800, 3000, 3200, 3429, 8000Hz Data rate V.34 : 75, 300, 600, 1200, 2400, 4800, 7200, 9600, 12000, 14400, 16800, 19200, 21600, 24000, 26400, 28800, 31200, 33600 bps Data rate V.90 : up to 56000 bps • • • • • • Dual synchronous serial interface to host Digital Signal Processor (DSP) Separate transmit digital phase lock loop and receive digital phase lock loop Full echo cancellation capability Differential analog output Single-ended analog input Single power supply voltage : +5V Low power consumption NC NC AGNDT VREFP VCM VREFN NC AGNDR TXA1 TXA2 NC NC 48 47 46 45 44 43 42 41 40 39 38 37 DM6580 Pin Configuration NC 1 36 NC RXIN 2 35 AVDDT AVDDR 3 34 NC SPKR 4 33 Vr NC 5 32 NC NC 6 31 NC RXDCLK 7 30 EXTCLK VDD 8 29 /RESET RXSCLK 9 28 CLKIN RFS 10 27 TXDCLK NC 11 26 TXSCLKx2 NC 12 25 NC 13 14 15 16 17 18 19 20 21 22 23 24 NC NC DOR DIR DGND SCLK DOT DIT NC TFS NC NC DM6580E Preliminary Version: DM562AP-DS-P02 March 05, 2004 41 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in DM6580 Pin Description Pin No. 48pin LQFP 2 3 4 7 8 9 10 15 16 17 18 19 20 22 26 27 28 29 30 33 35 39 40 41 43 44 45 46 1,5,6, 11,12,13, 14,21,23, 24,25,31, 32,34,36, 37,38,42, 47,48 42 Pin Name I/O RXIN AVDDR SPKR RXDCLK VDD RXSCLK RFS DOR DIR DGND SCLK DOT DIT TFS TXSCLK*2 TXDCLK CLKIN /RESET EXTCLK Vr AVDDT TXA2 TXA1 AGNDR VREFN VCM VREFP AGNDT NC I I O O P O I O I P O O I I O O I I I O I O O P O O O P N Description Receive Analog Input Analog VDD For The Receiver Analog Circuitry (+5VDC) Speaker Driver Receive Data Clock Digital Power Receive Sample Clock Receive Frame Synchronization Data Output For Receiver Data Input For Receiver Digital Ground Serial Clock Synchronized With All Serial Data Data Output For Transmitter Data Input For Transmitter Transmit Frame Synchronization Transmit Sample Clock * 2 Transmit Data Clock Master Clock Input (20.16MHz = 40.32MHz / 2 ) Codec Reset Input External Transmit Data Clock Internal Reference Voltage. Connect 0.1uF to DGND Analog VDD For The Transmitter Analog Circuitry (+5VDC) Transmit Negative Analog Output Transmit Positive Analog Output Analog Receiver Circuitry Signal Return Path Negative Reference Voltage, VCM - 1V Common Mode Voltage Output, 2.5V Positive Reference Voltage, VCM + 1V Analog Transmitter Circuitry Signal Return Path NC Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in DM6580 Functional Description In this chip, we could roughly divide it into two major parts: digital portion and analog portion. The functional blocks are described separately in this section. The analog circuits include a sigma-delta modulator/demodulator, decimation/interpolation filters, a speaker driver, low-pass filter and certain logic circuits. The digital circuits is composed of Tx/Rx clock generator/PLL, serial port, serial/parallel conversions and control registers. All the clock information the analog circuits need should be provided by the digital clock system since the best sampling instant of A/D and D/A depends on the received signal and transmit signals. The data format of A/D and D/A is 2's complement. The master clock (FQ) is obtained from an external signal connected to CLKIN. The different transmit and receive clocks are obtained by master clock frequency division in several programmable counters. The Tx and Rx clocks can be synchronized on external signals by performing the phase shifts in the frequency division process. Two independent digital phase locked loops are implemented using this principle, one for transmit clock system, the other, receive clock. The tracking of the transmit clock is automatically done by the transmit DPLL circuit. The receive DPLL circuit is controlled by the host processor and it is actually an adjustable phase shifter. DM6580 Register Description Register D11 D10 D9 D8 D7 D6 D5 D4 D3 D2 D1 D0 TxCR0 R1 X3 X2 X1 X0 N3 N2 N1 N0 R0 S T Q1 D M1 M0 Q0 F Y U2 U1 U0 Vol2 F1 F0 W ATT LTX LC SST EMX VF H2 H1 H0 N3 N2 N1 N0 R0 S T RST D M1 M0 Q0 P Y U2 U1 U0 -6dB LL PS4 PS3 PS2 PS1 PS0 AP2 AP1 AP0 TxCR1 TxCR2 TxTest RxCR0 RxCR1 Vol1 R1 Q1 RxCR2 RxTest Preliminary Version: DM562AP-DS-P02 March 05, 2004 Programme dFunctions Tx Data Rate Clock Tx Baud sample Clock Miscellaneou s control Reserved Rx Data Rate Clock Rx Baud SampleClock Rx Phase Shift Control Reserved 43 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in DM6580 Absolute Maximum Ratings* Absolute Maximum Ratings* ( 25°C ) Symbol Parameter DVCC,AVCC Supply Voltage VIN DC Input Voltage (VIN) VOUT DC Output Voltage(VOUT) Tc Case Temperature Range Tstg Storage Temperature Rang (Tstg) LT Lead Temp. (TL, Soldering, 10 sec.) Min. -0.5 -0.5 -0.5 0 -65 --- Max. 7.0 5.5 5.5 85 150 235 Unit V V V °C °C °C Conditions *Comments Stresses above those listed under “Absolute Maximum Ratings”may cause permanent damage to the device. These are stress ratings only. Functional operation of this device at these or any other conditions above those indicated in the operational section of this specification is not implied or intended. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. DM6580 DC Electrical Characteristics & Timing Waveforms (VDD = 5V, Tc = 0 oC to 85 oC) Symbol Parameter Min. Typ. Max. VDD VCM IDD Operating Voltage Output Common Mode Voltage Supply Current 4.75 5 2.5 25 5.25 VIL VIH VOL VOH IiL CIN VREF Input Low Voltage Input High Voltage Output Low Voltage Output High Voltage Input leakage Current Input Capacitance Differential Reference Voltage Output Output Common Mode Offset VCMD_OUT VDIF_OUT VOFF_OUT RIN ROUT RL CL 44 Differential Output Voltage Differential Output DC Offset Voltage Input Resistance RxIN Output Resistance TxA1, TxA2, SPKR Load Resistance TxA1, TxA2, SPKR Load Capacitance TxA1, TxA2, SPKR 0.8 2.2 0.4 2.4 -2.0 1.9 ±1.0 5.0 2.0 -200 2.0 2.1 200 3 *VREF -100 100 100 1 2 20 Un it V V m A V V V V µA pF V m V V m V kΩ kΩ Conditions VI=0V,5.25V =(TxA1+TxA2)/2-VCM TxA1-TxA2 ≤ 3*VREF VDC (TXA1)-VDC (TXA2) kΩ 50 pF Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in o o DM6580 AC Characteristics & Timing Waveforms (VDD = 5V, Tc= 0 C to 85 C) Serial Port Timing Symbol Parameter 1 SCLK Period 2 SCLK Low Width 3 SCLK High Width 4 SCLK Rise Time 5 SCLK Fall Time 6 FS To SCLK Setup 7 FS To SCLK Hold 8 DI To SCLK Setup 9 DI To SCLK Hold 10 SCLK High To DO Valid 11 SCLK To DO Hiz Min. 49 24 24 Typ. Max. 5 5 17 17 5 5 8 8 Unit ns ns ns ns ns ns ns ns ns ns ns Conditions 4 5 1 SCLK 2 3 6 7 FS DI DO 8 First Bus 10 First Bus 9 Last Bus 11 Last Bus Hiz DM6580 Performance o o (VDD= 5V, Tc= 0 C to 85 C, FQ= 20.16MHz, Measurement Band = 220Hz to 3.6KHz, RX DPLL Free Running) Symbol Parameter Min. Typ. Max. Unit Conditions Gabs Absolute Gain At 1KHz -0.5 0.5 dB RX signal: VIN= 2.5 VPP, f = 1KHz THD Total Harmonic Distortion -84 dB Tx signal: VOUT (diff)= 5 VPP, f = 1KHz DR Dynamic Range 86 dB f = 1KHz PSRR Power Supply Rejection 50 dB f = 1KHz, VAC = 200m VPP Ratio CTxRx Crosstalk 95 dB Transmit channel to receive channel Preliminary Version: DM562AP-DS-P02 March 05, 2004 45 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in Package Information QFP 128L Outline Dimensions Unit: Inches/mm D D1 102 65 B 103 64 With Plating E1 E C 39 128 Base Metal Detail A 1 38 B A A2 See Detail F D A1 y 0.10 y Seating Plane See Detail A Detail F e Symbol Dimension In Inch Dimension In mm A 0.134 Max. 3.40 Max. A1 0.010 Min. 0.25 Min. A2 0.112± 0.005 2.85± 0.12 B 0.009± 0.002 0.22±0.05 C 0.006± 0.002 0.145± 0.055 D 0.913± 0.007 23.20± 0.20 D1 0.787± 0.004 20.00 ± 0.10 E 0.677± 0.008 17.20± 0.20 E1 0.551± 0.004 14.00± 0.10 e 0.020 BSC 0.5 BSC L 0.035± 0.006 0.88± 0.15 L1 0.063 BSC 1.60 BSC y 0.004 Max. 0.10 Max. θ 0°~12° 0°~12° θ L L1 Note: 1. Dimension D1 and E1 do not include resin fins. 2. All dimensions are based on metric system. 3. General appearance spec. should base itself on final visual inspection spec. 46 Preliminary Version: DM562AP-DS-P02 March 05, 2004 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in LQFP 48L (F.P. 2mm) Outline Dimensions unit: inches/mm y Symbol Dimensions in inches Dimensions in mm Min. Nom. Max. Min. Nom. Max. A - - 0.063 - - 1.60 A1 0.002 - 0.006 0.05 - 0.15 A2 0.053 0.055 0.057 1.35 1.40 1.45 b 0.007 0.009 0.011 0.17 0.22 0.27 b1 0.007 0.008 0.009 0.17 0.20 0.23 C 0.004 - 0.008 0.09 - 0.20 C1 0.004 - 0.006 0.09 - 0.16 D 0.354BSC 9.00BSC D1 0.276BSC 7.00BSC E 0.354BSC 9.00BSC E1 0.276BSC 7.00BSC 0.020BSC 0.50BSC e L 0.018 0.024 0.030 0.45 0.60 L1 0.039REF 1.00REF y 0.003MAX 0.08MAX Preliminary Version: DM562AP-DS-P02 March 05, 2004 0.75 Θ 0-12° 0-12° Notes: 1. To be determined at seating plane. 2. Dimensions D1 and E 1do not include mold protrusion. D1 and E1 are maximum plastic body size dimensions including mold mismatch. 3. Dimensions b does not include dambar protrusion. Total in excess of the b dimension at maximum material condition. Dambar cannot be located on the lower radius of the foot. 4. Exact shape of each corner is optional. 5. These dimensions apply to the flat section of the lead between 0.10mm and 0.25mm from the lead tip. 6. A1 is defined as the distance from the seating plane to the lowest point of the package body. 7. Controlling dimension: millimeter. 8. Reference documents: JEDEC MS-026, BBC. 47 DM562AP V.90 Integrated Data/ Fax/Voice/Speakerphone Modem Device Single Chip with Memory Built in Ordering Information Part Number DM6580E DM6588AF Pin Count 48 128 Package LQFP QFP Disclaimer The information appearing in this publication is believed to be accurate. Integrated circuits sold by DAVICOM Semiconductor are covered by the warranty and patent indemnification provisions stipulated in the terms of sale only. DAVICOM makes no warranty, express, statutory, implied or by description regarding the information in this publication or regarding the information in this publication or regarding the freedom of the described chip(s) from patent infringement. FURTHER, DAVICOM MAKES NO WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PURPOSE. DAVICOM reserves the right to halt production or alter the specifications and prices at any time without notice. Accordingly, the reader is cautioned to verify that the data sheets and other information in this publication are current before placing orders. Products described herein are intended for use in normal commercial applications. Applications involving unusual environmental or reliability requirements, e.g. military equipment or medical life support equipment, are specifically not recommended without additional processing by DAVICOM for such applications. Please note that application circuits illustrated in this document are for reference purposes only. DAVICOM’s terms and conditions printed on the order acknowledgment govern all sales by DAVICOM. DAVICOM will not be bound by any terms inconsistent with these unless DAVICOM agrees otherwise in writing. Acceptance of the buyer’s orders shall be based on these terms. Company Overview DAVICOM Semiconductor, Inc. develops and manufactures integrated circuits for integration into data communication products. Our mission is to design and produce IC products that are the industry’s best value for Data, Audio, Video, and Internet/Intranet applications. To achieve this goal, we have built an organization that is able to develop chipsets in response to the evolving technology requirements of our customers while still delivering products that meet their cost requirements. Products We offer only products that satisfy high performance requirements and which are compatible with major hardware and software standards. Our currently available and soon to be released products are based on our proprietary designs and deliver high quality, high performance chipsets that comply with modem communication standards and Ethernet networking standards. Contacts For additional information about DAVICOM products, contact the sales department at: Headquarters Hsin-chu Office: No.6, Li-Hsin. Rd. VI, Science-based Park, Hsin-chu City, Taiwan, R.O.C. TEL: 886-3-5798797 FAX: 886-3-5798858 Davicom USA Sunnyvale, California 1135 Kern Ave., Sunnyvale, CA94085, U.S.A. TEL: 1-408-7368600 FAX: 1-408-7368688 Email: [email protected] WARNING Conditions beyond those listed for the absolute maximum may destroy or damage the products. In addition, conditions for sustained periods at near the limits of the operating ranges will stress and may temporarily (and permanently) affect and damage structure, performance and/or function. 48 Preliminary Version: DM562AP-DS-P02 March 05, 2004