V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
General Description
The DM560P integrated modem is a four chipset
design that provides a complete solution for stateof-the-art, voice-band Plain Old Telephone Service
(POTS) communication. The modem provides for
Data (up to 56,000bps), Fax (up to 14,400bps),
Voice and Full Duplex Speaker-phone functions to
comply with various international standards.
The design of the DM560P is optimized for desktop
personal computer applications and it provides a low
cost, highly reliable, maximum integration, with the
minimum am ount of support required. The DM560P
modem can operate over a dial-up network (PSTN)
or 2 wire leased lines.
The modem integrates auto dial and answer
capabilities, synchronous and asynchronous data
transmi ssions, seri al and parallel interfaces, various
tone detection schemes and data test modes.
Block Diagram
The DM560P 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, show n in figure
below, illustrates the basic interconnection between
the MCU, DSP, AFE and other basic co m ponents of
a modem. The individual elements of the DM560P
are:
•DM6580 Analog Front End (AFE). 28-pin PLCC
package
•DM6581 ITU-T V.90 Transmit Digital Signal
Processor (TX DSP). 100-pin QFP package
•DM6582 ITU-T V.90 Receive Digital Signal
Processor (RX DSP). 100-pin QFP package
•DM6583 Modem Controller (MCU) built in Plug &
Play (PnP). 100-pin QFP package
29.4912
MHz
ISA Bus
LED
DM658
3
Micro
Controller
Unit
PnP
V.24
Interface
V.24
Interface
Address &
Data Bus
MSCLK
TxD
RxD
40.32MHz
DM658
1
TX DSP
DM658
2
RX DSP
Detector
SCLK
DIT
DOT
TFS
DIR
DOR
RFS
TxBCLK
TxSCLK*2
RxBCLK
RxSCLK
20.16MHz
TxDCLK
RxDCLK
Ring
DM658
0
Analog
Front End
SPKR
RxIN
TxA1
DAA
TxA2
Speaker
Driver
Microphone
Driver
Lin
e
Preliminary1
Version: DM560P -DS-P07
August 11, 2000
Page 2
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
Table of Conten ts
General Descri pti on1
Block Diagram1
Features3
Chipset
Chip 1: DM6583 Modem Controller Unit with PnP
- Even, odd, mark and none parity detection and
generation
- 1 and 2 stop bit support
- Auto DTE data speed detection through “AT”
■ Caller identification (Caller ID) support
■ Speakerphone
■ Selectable world wide call progress tone detection
■ 16 Bit over-sampling codec
■ Compromise and adaptive equalizer providing
channel impairment compensation
■ Plug and Play (PnP) support
■ Enhanced 8032 compatible mi cro-c o ntroll e r
■ Power Management (power down mode)
■ 8 selectable interrupts
■ Access up to 256K bytes external program
memory
■ Access up to 64K bytes external data memory
■ NVRAM to store two user configurable, selectable
profiles with three programmable telephone
numbers
■ Full duplex data mode test capabilities
- Analog loop test
- TIA/EIA 602, ITU V.25 ter AT command
Chipset
The DM560P integrated modem device set contains 4 VLSI devices as described below:
1. DM6583 Modem Controller Unit with PnP for ISA
2. DM6580 Analog Front End (AFE)
3. DM6581 ITU-T V.90 Transmit Digital Signal Processor (TX DSP)
4. DM6582 ITU-T V.90 Receive Digital Signal Processor (RX DSP)
Preliminary3
Version: DM560P -DS-P07
August 11, 2000
Page 4
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
Chip 1: Modem Controller Unit with Pn P for ISA
DM6583 Description
The DM6583 Modem Control Unit is designed for
use in high speed internal and external modem
applicati ons. The DM6583 interface is compatible
with the DM6581/DM6582 Transmit and Receive
Digital Signal Processors. The DM6583 incorporates
a 80C32 micro-controller, a virtual 16550A UART
with FIFO mode, and Plug & Play control logic.
DM6583 Block Diagram
PC Data Bus
PC Address Bus
IRQ & R/W Control
PnP Control
Logic
Virtual 16550
UART
DM560P
The DM6583 MCU performs general modem control
functions, and is also designed to provide Plug and
Play capability for ISA bus systems. The Plug and
Play logic supports software or automatic Plug and
Play selectable I/Os to allow users to configure the
internal modem card without jumpers.
Mode Selection
8032
Micro-Controller
External ROM,
RAM Interface
RS 232 Interface
DM6583 Features
• Control interface support
• Supports parallel and serial interfaces
• Includes a 80C32 micro-controller
• 256K bytes maximum external program memory
• 64K bytes maximum external data memory
• Provides automatic Plug and Play or software
configuration capabilities
•8 selectable Interrupts
I/O Control Logic
• Conflict free I/O base address selection
• 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
Modem Control
Interface
4Preliminary
Version: DM560P -DS-P07
August 11, 2000
Page 5
DM6583 Pin Configuration
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
Preliminary5
Version: DM560P -DS-P07
August 11, 2000
Page 6
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
DM6583 Pin Description
Pin No.Pin NameI/ODescription
1 - 8UD0 - UD7I/OData Bus Signal, for internal modem:
These signals are connected to the data bus of the PC I/O. They are
used to transfer data between the PC and the DM6583.
Modem Control Output, for external modem:
Memory address mapping of the contr oller is E800H.
9/IORII/O Rea d:
An act ive lo w input signal used to read data from the DM6583.
10, 41, 68,
85, 96
11/IOWII/O Writ e :
12/AENIAddress Enable:
13 - 24A11 - A0ISystem Address:
25, 36, 52,
100
26, 27, 28,
29, 33, 34,
35, 59
30RESETIReset:
31XTAL1ICryst al Oscillator Input
32XTAL2OCrystal Oscillator Output
37/PWROController P rogram Write Enable:
51/LCSILoop Current Detection. Modem Input Control:
39/RUCSORX DSP Register Select Output:
40,38CA16,CA17OBank Switch Control:
42T0IController Counter 0 Input
GNDPGround
An act ive lo w input signal used to write data to the DM6583.
This is an active low signal to enable the system address for
DM6583.
These signals are connected to the bus of PC I/O. They are used to
select DM6583 I/O ports.
A0~A7:Modem Control Input for external modem. Memory address
mapping of the controller is E800H.
VDDP+5V Power Supply
IRQ4, IRQ5,
IRQ7, IRQ10,
IRQ11, IRQ12,
IRQ15, IRQ3
OInterrupt Request:
These are the interrupt request pins. Only one pin, which is
decoded from Configuration Register can be active. The active pin
will go high when an interrupt request is generated from the
DM6583.
An active high signal used to reset the DM6583.
This pin is used to enable FLASH ROM programming. In
conf igurations with no FLASH memory, this pin is not connected.
This pin is mapped to bit0 of address D000H.
Memory address mapping of the contr oller is E400H.
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
DM560P
6Preliminary
Version: DM560P -DS-P07
August 11, 2000
Page 7
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
DM6583 Pin Description
Pin No.Pin NameI/ODescription
43T1IController Counter 1 Input
44/RIIRing Signal Input
45/DTRIDTR Input Pin (P1.1)
46/OHOHook Relay Control (P1.2)
47/VOICEOVoice Relay Control. Modem Control Output (memory map is bit
48-50EEPROM 1-3I/OEEPROM Control Pins (P1.4-P1.6)
53RXDIController Serial Port Data Input
54TXDOController Serial P ort Data Output
55ALE/POController Address Latch Enable:
56/PSENOController Program Store Ena ble:
57/WROController External Data Memory Write Contro l
58/RDOController External Dat a Memory Read Control
60 - 67CA15 - CA8OController Address Bus
69 - 76CA7 - CA0OController Address Bus
77 - 84D7 - D0I/OController Data Bus
86TXRCLKITransmitter Baud Rate Clock Input (Controller INT 0)
87RXRCLKIReceiver Baud Rate Clock Input (Controll er INT 1)
88/PORODSP Reset Output
89, 90VOICE Se1 1
VOICE Se1 2
91 - 94A12 - A15ISystem Address:
95/PNPENIPnP Mode Enable:
97/TUCSOTX DSP Register Select Output:
98PS1OModem Control Port Select Output:
99EXT/INTBISelect Pin: Used to select internal or external operation.
(continued)
3 of DAA)
Output pulse for latching the low byte of the address during
accesses to the extern al memory.
This output goes low during a fetch from external program memory.
OModem C o ntro l Out put (Memory map is bit 1-2 of DAA at memory
address D000H)
These signals are connected to the bus of the PC I/O. They are
used to select the DM6583 I/O ports.
This pin selects PnP mode. When connected to ground, the
DM6583 will enter PnP mode when it receives the PnP initiation key
sequence. When disconnected, an internal pull up will disable the
Plug and Play function.
Memory address mapping of the contr oller is F000H.
Memory address mapping of the contr oller is D800H.
0: internal modem
1: external modem
Preliminary7
Version: DM560P -DS-P07
August 11, 2000
Page 8
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
DM6583 Functional Description
1. Operating Mode Selection
The DM6583 MCU can be used in both internal and
external modem applications. When operating as an
internal modem, the EXT/INTB input (pin 99) must
be attached to ground. When the DM6583 is
operating as an external modem, the EXT/INTB
input (pin 99) must attached to VDD.
2. Micro-controller Program Memory
The DM6583 supports two bank switch control pins
to switch external program memory among four
banks. The DM6583 can access a total of 256K of
external pr ogram mem ory.
Address mappi ng:
bank0: 00000H - 0FFFFH
bank1: 10000H - 1FFFFH
bank2: 20000H - 2FFFFH
bank3: 30000H - 3FFFFH
For bank switching, three instruc tions 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
Micro-contro ller Power Down Mode
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 / R I (P1.0) of the
80C32
(3) Programming the PnP Wake Up Controller
Register.
Enhanced Internal direct Memory
There are two 128 byte banks of intern al direc t
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.
Reflash Program Memory
By setting 8F.2H the system can switch program and
data memory. If the system uses FLASH memory as
program memory this function is used to reflash
program code by downloading the program to data
memory then switching them.
Example:
SETB 8FH.2
LJMP 0000H
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 Programm er's Guid e to 8032.
8Preliminary
Micro-controller Register Description
UART Clock Register:
Address D4000H Reset State: 06H
Write Only
bit7bit6bit5bit4bit3bit2Bit1bit0
Xdat6 dat5 dat4 dat3 dat2dat10
Version: DM560P -DS-P07
August 11, 2000
Page 9
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
UART Clock
The internal clock of the virtual UART logic is fixed at
1.8432MHz. The clock is derived from the MSCLK
signal from the DM6582 DSP, or an external 30Mhz
crystal. The UART 1.8432MHz clock will be obtained
by division. When the operating frequency of the
DM6583 controller changes, the divider should be
changed accordingly. This divider is specif ie d by the
Configuration Register which can be written by the
DM6583 controller. The address mapping of the
register is D400H: ( DM 6583 controller memory
mapping)
Bit 0: Always 0.
Bit 6-1 : define the cloc k divider range from 2 to 64
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
Write only
bit7 bit6 bit5bit4 bit3bit2 bit1bit0
0000/CTS/DSR/DCD/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).
The default I/O base and IRQ data stored in 93C46 is
loaded to this register by the micro-controller. The
micro-controller can also get the current I/O base
and IRQ information settings by performing a read
from this register. The configuration determined by
this register will be disabled when the register
detects the Initiation Key described in the next
section.
Bit 6: This bit is set to inform micro-controller that the
current I/O base and IRQ data should be stored to
93C46 as the default setting for the next power-on
reset through programming the Auto-configuration
Register. This bit will be cleared by micro-controller.
Bit 7: When bit 7 is set, it enables the hardware
configuration to be set according to bit 0-bit 5
(Jumperless mode) and loads the proper value into
the PnP Registers including I/O and Interrupt
Configuration Registers. This bit will be reset, when it
receives PnP Initiation Key sequence.
Preliminary9
Version: DM560P -DS-P07
August 11, 2000
Page 10
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
Auto-configuration Register: Address F400H
(continued)
* When a reset condition occurs, the I/O and
Interrupt configuration registers must be reset to the
default value according to bit 0 - bit 5.
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 valu e of RxDataBits
Register.
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.
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.
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 TxDataBit s register. If the TxFiFo is
empty, a 7e pattern will be loaded to the TxFiFo. If
TxFiFo is not empt y and the data frame has the
pattern of five consecutive “1” , then the TXHDLC
circuit will insert “0” automatically.
TxFiFo Register: Address DC03H
Write only
The o riginal HDLC frame data will be loaded to the
TxFiFo, presented to the input of the TxHDLC circuit.
The TxFiFo is 21 bytes wide.
TxBuffer: Address DC03H
Read only
According to TxDataBits, the TxHDLC circuit will
transfer the same number data bits to the TxBuffer.
The TxBuffer i s 16 bytes wide.
DM560P
HDLC CNTL/STATUS Register: Address DC04H
Bit0: TxReady0
0: indicates the data in the TxFiFo has deceased
to zero and the HDLC circuit has transferred
st
7eH pattern.
the 1
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.
0: data No. in TxFiFo >= threshold
1: data No. in TxFiFo <= threshold
Bit4: Txda ta
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
In____ buffer register: Address DC08
writ e only
Controller write the original data to this temp buffer.
Out ____ buffer register: Address DC08H
read only
Controller read the result data from this buffer
Status/Rst register: Address DC09H
Bit0: data ready f lag (read only)
1: data has been load to out _ buffer. (clear
automatically by a read from out_ buffer)
0: data hasn’t been load to out _ buffer.
Bit1: frame end flag (read only)
1: Indicate end of HDLC frame (clear by a reset
action)
Bit2: fram ready flag (read only)
1: CRC check ok.
0: CRC check fail.
Bit3: In _ buffer empty flag
10Preliminary
Version: DM560P -DS-P07
August 11, 2000
Page 11
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
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
(4)CRCL register: Address DC0AH (read only)
(5)CRCH register: Address DC0BH (read only)
In order to provide minimum software overhead
during data transfers, the virtual UART prioritizes
interrupt s into four levels as follows: Receiver Line
Status (priority 1), Receiver Data Available (priority
2), Character Timeout Indi cation (priority 2, FIFO
mode only), Transmitter Holding Register Empty
(priorit y 3), and Modem Status (priority 4).
The IIR register gives pri ori tized information
regarding the status of i nterrupt conditions. W hen
accessed, the IIR indic ates the highest priority
interrupt that is pending.
000D3:
INTD2
D2:
INTD1
D1:
INTD0
D0:
int
Pending
Reset State 00h, Write Only
bit7 bit6 bit5Bit4bit3bit2bit1bit0
0000Enable
Modem
Status
Intr
Enable
Line
Status
Intr
Enable
TX
Holding
Registe
r
Intr
Enable
RX
Data
Intr
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.
Bit 0: This bit enables the Received Data Avail able
and timeout interrupts in the FIFO mode when
set to logic 1.
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: T his bit enables the MODEM Status Interrupt
when set to logic 1.
Bit 0: Thi s bit c an 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 int er r upt is pending, and
polling (if used) continues.
Bit 1-2: The se tw o bit s 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
interrupt is pending.
Bit 4-6: Not used
Bit 7: FIFO always enabled.
Bit 4-7: Not used
Preliminary11
Version: DM560P -DS-P07
August 11, 2000
Page 12
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
Overrun Error, Pari ty E rro r,
Framing Error or Break
Interrupt
Receiver Data Available or
Trigger Lev el Reached
No characters have been
read from or written to the
Rx FIFO during
programming time interval,
and the Rx FIFO is not
empty
Ready to accept new data
for transmi ssion
Ready, Ring Indi c ator or
Data Carrier Detected
Reads the Line Status
Register
Reads the Receiver Buff er
Register or the F IFO has
Dropped Below the
threshold value
Reads The Receiver Buff er
Register
Reads the IIR Register or (if
source of interrupt) W rites
To The Transmitter Holding
Register
Reads the Modem Status
Register
12Preliminary
Version: DM560P -DS-P07
August 11, 2000
Page 13
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
FIFO Control Register (FCR): Address 2
Reset State 00h , write only
bit7bit6 bit5 bit4 bit3bit2bit1bit0
RCVR
(MSB)
Trig
RCVR
Trig
(LSB)
00DMA
Mode
TxFIFO
Reset
RxFIFO
Reset
FIFO
Enable
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 l ogic t o 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 i nterrupt.
WLS1WLS0Word Length
005 bits
016 bits
107 bits
118 bits
Bit 0-1: WLS0-1 specifies the number of bits in each
transmitted and received serial character.
Bit 2: STB specifies the numbe r of sto p bits in each
transmitted character. If bit 2 is a logic 0, one
sto p 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.
FCR6FCR7RxFIFO Trigger Level
0001
0104
1008
Line Control Register (LCR): Address 3
Reset State 00h, Write Only
bit7bit6bit5 bit4 bit3 bit2bit1bit0
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.
Preliminary13
Version: DM560P -DS-P07
August 11, 2000
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 lo g ic 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 t he Interrupt Enable Register.
Page 14
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
Modem Control Register (MCR) : Address 4
Reset State 00h
bit7bit6bit5bit4bit3bit2bit1bit0
000000RTSDTR
Bit 0: T his 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- c ontroller
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.
This register prov ides status i nformation to the host
PC concerning character transf er . Bit 1- 4 indic ates
error conditi ons 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 over written
the unread FIFO data. This bit is reset upon reading
the Line Status Register.
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 i s at the top of the FIFO.
Bit 4: T his bit is a Break Interr upt (BI) indicator. Bit 4
is set to logi c 1 whenever t he received data input is
held in the Spacing (logic 0) state for longer than a full
word transmission time (tha t is, the total time of Start
bit + data bits + Parity + Stop bits). The BI indicator is
reset whenever the CPU reads the content s 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 t o accept
a new character for transmissio n. In addition, thi s 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: T his 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 cont ains a charact er . In FIFO
mode, this bit is set to 1 whenever the transmit FIFO is
empty.
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.
14Preliminary
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.
Version: DM560P -DS-P07
August 11, 2000
Page 15
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
Modem Status Regi st er (MS R) : Address 6
Reset State bit 0-3 : low , bit 4-7: Input Signal
bit7 bit6 bit5 bit4 bit3bit2 bit1bit0
DCD RIDSR CTS DDCD TERI DDSR DCTS
This 8-bit register prov ides 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 w henever 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. B i t 0 indicates that the CTS (MSR Bit 4) has
changed state since the last time it was read by the
CPU.
Bit 1: T his bit is the Delta Data Set Ready (DDSR)
indicator. B it 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. B it 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).
DM560P
Scratch Regist er (SCR): Address 7
Reset State 00h
This 8-bit Read/Wri te 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 (DLA B = 1)
Reset State 00h
bit7bit6bit5bit4bit3bit2bit1bit0
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
bit7bit6bit5bit4bit3bit2bit1bit0
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.
Preliminary15
Version: DM560P -DS-P07
August 11, 2000
Page 16
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
Plug and Play (PnP) Module
Auto-c onfigura t i on Ports
Three 8-bit I/O ports are defined for Plug and Play
read/write operations. They are called Autoconfiguration ports as listed below.
PortTypeLocation
ADDRESS W0279H
(Printer stat us port )
WRITE_
DATA
READ_
DATA
To access the Plug and Play Register, a host should
follow this procedur e: Write a target register address
(Register Index), choose a port (WRITE_DATA or
READ_DATA), then enter data.
Card Control Registers
W0A79H
(Print er status port + 0800H)
RRelocatable in range
0203H to 03FFH
DM560P
The Plug and Play Register could be directly accessed
without the need to write to the ADDRESS port before
each access. The ADDESS port is als o t he write
destination of the initiation key, which will be described
later.
Plug and Play Registers
The Plug and Play Registers may be divided into Card
Registers and Logical Device Registers. Ac cording to
the Plug & Play specification, if a PnP card contains
more than one logical device, there are one more
copies of Logical Dev ic e Registers in the PnP card.
However, the DM6583A contains only one logical
device, the Card Register and Logical Device
Registers are unique for each card. Those PnP
registers or bit s not defined below are all read with
value = 0.
IndexNameTypeDefinition
00HS et RD_DATA portWThe loc ation of the READ_DATA port is determined by writing to this
register. Bi ts [7:0] become ISA I/O read port address bits [9:2]. Address
bits [1:0] of the READ_DATA port ar e always 1.
01HSerial IsolationRA read to this register causes a PnP card in the Isolation state to compare
one bit of the card serial ID. This process is described in more detail in the
next section.
02HConfig ControlW
03HWake [CSN]WA write to this register will cause all cards that have a CSN that matches the
04HResource DataRA read from this register reads the next byte of resource data. The Status
05HStatusRBit [0], when set, indicates it is ready to read the next data byte from the
06HCard Select Number
(CSN)
Bit [0] - Reset Command Setting
This bit will reset all logic al devices and restore configuration register s to
their power-up values. The CSN is preserved.
Bit [1] - Wait for Key Command Setting
This bit makes the Pn P card return to the Wait for K ey state. The CSN is
preserved.
Bit [2] - PnP Reset CS N Command Sett in g
This bit will reset the card CSN to 0. Note that the hardware will
automatically clear the bits without any need for software to clear them.
write data [7:0] to go from the Sleep state to either the 1) Isolation state if the
write data for this command is zero, or 2) Configuration state if the write
data is not zero.
Register must be pol led un ti l bit[0] is set before this register may be read.
Resource Data Register.
R/W A write to this register sets a card CSN. After a serial identification process,
the CSN value (CSN) is uniquely assigned to each ISA PnP card so that
each card may be individually selected during a Wake[CSN] command.
16Preliminary
Version: DM560P -DS-P07
August 11, 2000
Page 17
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
Card Control Registers (continued)
IndexNameTypeDefinition
07HLogical DeviceR00H (Only one logical device in DM6583A)
Logical Device Control Registers
IndexNameTypeDefinition
30HActivateR/W For each logical device, there is one Activate register that controls whether
or not the device is active on the ISA bus. Bit[0], if set, activates the logical
device. Before a logical device is activated, I/O range check must be
disabled.
31HI/O Range CheckR/W This register is used to perform a conflict check on the I/O port range
programmed for use by a logic al d evice.
Bit[1] - This bit, when set, enables I/O range check. I/O port range c he ck is
only valid when the logical device is inactive.
Bit[0] - If set, this bit forces logical device to respond to I/O reads within
logical device assigned I/O range with a 55H when I/O range check is in
operation. If clear, the logical device drives AAH.
Logical Device Configuration Registers
I/O Conf i guration Regist e r s
IndexNameTypeDefinition
60HI/O base address bits[15:8] R/W Read/write value indicating the selected I/O Lower Limit Address Bits
[15:8] for I/O descriptor 0. If a logical device indicates it uses only 10
bits for decoding, then bits [15:10] need not to be supported.
61HI/O base address bits[7:3] R/W Read/write value indicating the selected I/O Lower Input Address Bits
70HIRQ levelR/W Read/write value indicating a selected Interrupt Level Bits[3:0] Select which
ISA interrupt level is used. A value of 1 selects IRQ1, 15 selects IRQ15, etc.
IRQ0 is not a valid interrupt selection.
71HIRQ type bits [7:0]RRead/write value indicating which type of interrupt is used for the IRQ
selected above Bit[1] - Level, 1 = high, 0 = low Bit[0] - Type, 1= level, 0 =
edge for DM6583A, this register is read only with value = 02H.
Preliminary17
Version: DM560P -DS-P07
August 11, 2000
Page 18
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
Vender D efine Regis t er
IndexNameTypeDefinition
F0HAuto ConfigurationR/WThe I/O base address and IRQ can be configured by CPU through
this register. (It can also be configured by micro-controller. See
previous section) .
F1HIRQ Status EnableWBefore reading IRQ lines status, bit 0 must be set in order to load IRQ
lines status to IRQ Status register, bit 1 enable Pull Low resistor.
F2HIRQ StatusRThis register responds to IRQ lines status to determine which
interrupt has been used by the system. bit 0: IRQ 3 bit 1: IRQ 4 bit 2:
IRQ 5 bit 3: IRQ 7 bit 4: IRQ 10 bit 5: IRQ11 bit 6: IRQ12 bit 7: IRQ15.
F3HWake up controllerWWhen 80C32 enter power down mode, set bit0 of this register to wake
up 80C32. This bit will be cleared automatically.
DM6583 Configuration Modes
The DM6583A will power-on in jumperless mode.
The default configuration is set by loading the default
value stored in 93C46 to the Auto-configuration
register. These values can be modified by software
via the logical device configuration registers in DM
Jumperless mode. This updated value of the new
configuration is only valid temporarily and will be lost
after an active PC Hardware Reset. Permanent
changes of the default configuration will be done by
informing micro-controller to modify the contents of
the 93C46 via the Auto-configuration Register.
The Plug and Play logic can operate through two
configuration modes: One is DM Jumperless mode,
the oth e r P nP mode. There are two operating
methods between the two modes: First, setting hard
configuration through Initiation Key sequences,
second, setting hard configuration according to the
register that is used, I/O Configuration Register or
Auto-configuration Register.
The Initiation Ke y for Plug a nd Play
The Plug and Play logic is available upon powering
up however, must be enabled by software.
This is achieved by a predefined series of writes (32
I/O writes) to the Address port, which is called the
Initiation Key. When the proper series of the I/O
writes is detected, the Plug and Play read/write data
ports are enabled. The Write sequence will be reset
and must be issued from the beginning if any data
mismatch occurs. The exact sequence for the
Initiation Key is listed below in hexadecimal notion.
A simple algorithm is used to isolate each Plug and
Play card. This algorithm uses the signals on the ISA
bus and requires lock-step operat ion between the
Plug and Play hardware and the isolation software.
18Preliminary
Version: DM560P -DS-P07
August 11, 2000
Page 19
DRIVE "55H" ON SD[7:0]
WAIT FOR NEXT READ FROM SERIAL ISOLATION REGISTER
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
STATE
ISOLATION
GET ONE BIT FROM SERIAL IDENTIFIERREAD FROM SERIAL ISOLATION REGISTER
YES
ID BIT = "1H"
LEAVE SD[7:0]
IN HIGH-IMPEDANCE
NO
NO
SD[1:0] = "01"
YES
LEAVE SD[7:0]
IN HIGH IMPEDANCE
AFTER I/O READ COMPLETES
FETCH NEXT ID BIT FROM
SERIAL IDENTIFIER
YES
NO
DRIVE
"AAH" ON
SD[7:0]
READ ALL 72 BITS
FROM SERIAL
IDENTIFIER
ONE CARD
ISOLATED
Serial Identifier
The key element of the Plug and Play isolation
protocol is that each card contains a unique number
called a serial identifier. The serial identifier is a 72-bit
unique, non-zero numb e r composed of two 32 bit
fields and an 8-bit checksum.
ChecksumSerial NumberVendor ID
BYTEBYTE BYTE BYTEBYTE BYTEBYTEBYTEBYTE
7:07:07:07:07:07:07:07:07:0
Table 2. Shifting of Serial Identifier
NO
SD[1:0] = "10"
ID = 0
YES
OTHER CARD ID = 1
STATE
SLEEP
The first 32-bit field is a vendor identifier. The other
32-bits can be any value, such as a s erial number, part
of a LAN address, or a static number, as long as no
two cards in a single system will ever have the same
64-bit number. The serial identifier is accessed bitserially by isolation logic, and is used to differentiate
the cards.
The shift order for all Plug and Play serial isolation and resource data is defined as bit [0], bit [1], and so on through
bit [7].
Preliminary19
Version: DM560P -DS-P07
August 11, 2000
Page 20
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
Hardware Protocol
The isolation protocol can be invoked by the Plug
and Play software at any time. The Initiation Key will
put all cards into configuration mode. The hardware
on each card expects 72 pairs of I/O read accesses
to the READ_DATA port. The card response to
these reads depends on the value of each bit of the
serial identifier, which is examined one bit at a time,
as shown in Table 2.
If the current bit of the serial identifier is a "1," then
the card will drive the data bus to 55H to complete
the first I/O read cycle. If the bit is a “0,” then the card
puts its data bus driver into high i mpedance. All
cards in high impedance will check the data bus
during the I/O read cycle to sense if another card is
driving SD[1:0] to "01." During the second I/O read,
the card(s) that drove the 55H will now drive a AAH.
All high impedance cards will check the data bus to
sense if another card is driving SD [1:0] to "10."
If a high impedance card senses another card driving
the data bus with the appropriate data during both
cycles, it ceases to participate in the current iteration
of card isolati on. Such cards, which lose out, will
participate in future iterations of the isolation
protocol.
Note: During each read cycle, the Plug and Play
hardware drives the entire 8-bit data bus, but checks
only the lower 2 b its. If a card is driving the bus or is
in high impedance state and does not sense another
card driving the bus, then it should prepare for the
next pair of I/O reads. The card shifts the serial
identifier by one bit, using the shifted bit to decide it s
response. The above sequence is repeated for the
entir e 72-bit serial identifier.
At the end of this process, one card remains. This
card is assigned a handle referred to as the Card
Select Number (CSN) that will be u sed later t o select
the card. Cards that have been assigned a CSN will
not participate in subsequent iterations of t he
isolation protocol. Cards must be assigned a CSN
before they will respond to the other PnP commands.
Software Protoco l
The Plug and Play software sends the Initiation Key
to all Plug and Play cards to place them into
configuration mode. The software is then ready to
perform the isolation protocol.
The Plug and Play software generates 72 pairs of I/O
read cycles from the READ_DATA port. The
software checks the data returned from each pa ir of
I/O reads for the 55H or AAH driven by the hardware.
If both 55H or AAH are read back, then the software
assumes that the hardware has a "1" bit in that
position. All other bits are assumed to be a "0."
After 64 bits have been read, the software generates
a checksum using the received data. The checksum
is compared with the checksum read back in the last
8 bits of the sequence.
There are two other special considerations for
software protocol. During an iteration, it is possible
that the 55H and AAH combination is never
detected. It is also possible that the checksum does
not match. If either of these cases occurs on the first
iteration, it must be assumed that the READ_DATA
port is in conflict. If a conflict is detected, then the
READ_DATA por t wi ll be r elocated. The above
process is repeated until a non-conflicting location
for the READ_DATA port is found. The entire range
between 203H and 3FFH is available; however, in
practice, it is expected that only a few locations will
be tried before software determines that no Plug and
Play cards are present.
During subsequent it er ations, the occurrence of
either of these two special cases should be
interpreted as the absence of any further Plug and
Play cards (i.e. the last card was found in the
previous it er ation). This terminates the isolation
protocol.
Note: The soft ware must delay 1 msec prior to
starting the first pair of isolation reads, and wait 250
msec between each sub-sequence pair of isolation
reads. This delay gives the ISA card time to access
information from slow storage devices.
20Preliminary
Version: DM560P -DS-P07
August 11, 2000
Page 21
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
Plug and Pla y Isola tion Se quence
The Plug and Play isolation sequence is divided into
four states: Wait for Key, Sleep, Isolation, and
POWER UP
RETDRV OR
RESET COMMAND
STATEACTIVE COMMANDS
WAIT FOR KEY
STATEACTIVE COMMANDS
SLEEP
WAKE=0 & CSN=0
LOSE SERIAL ISOLATION OR
STATEACTIVE COMMANDS
ISOLATION
WAKE<>CSN
RESET
RESET CSN
WAIT FOR KEY
SET RD_DATA PORT
SERIAL ISOLATION
WAKE(CSN)
SET CSN
Configuration. The state transitions for the Plug and
Play ISA card are shown below:
NO ACTIVE
COMMANDS
RESET
RESET CSN
WAIT FOR KEY
WAKE(CSN)
SET CSN
WAKE<>CSN
STATEACTIVE COMMANDS
CONFIG
WAKE<>0 & WAKE=CSN
RESET
RESET CSN
WAIT FOR KEY
WAKE(CSN)
RESOURCE DATA
STATUS
LOGICAL DIVICE
I/O RANGE CHECK
ACTIVATE
CONFIGURATION REGISTERS
Plug and Play ISA Card Stat e Transitions
Notes:
1. CSN = Card Select Number.
2. RSTDRV causes a state transition from the current state to Wait for Key and sets all CSNs to zero.
3. The Wait for Key command causes a state transition from the current state to Wait for Key.
4. The Reset CSN commands include PnP Reset CSN and DM Reset CSN commands.
PnP Reset CSN initializes all ISA PnP card CSNs to zero. The DM Reset CSN command initializes all DM6583
PnP card CSNs to zero .
Preliminary21
Version: DM560P -DS-P07
August 11, 2000
Page 22
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
Isolation and Resource Data
The DM6583 has a built in 64-byte SRAM that can
be accessed by the micro-controller and PnP
Isolation and Resource Data Registers. Through
port F800H, the micro-controller can load serial dat a
and part of the resource data to SRAM byte by byte.
It is im port ant to note that the length of t he data
frame to be programmed should be loaded first,
Resource Data Block ={ 30,47,01,f8, 02,f8, 02,08, 08,22, 08,00
* The data pointer will return to 1 when a Ha rdware Reset or Software Wake[CSN] occurs.
next, isolation data, and then resource data port.
When a read from the PnP resource data register
occurs, the data stored in S R AM will be sent to the
ISA data bus, and the data pointer will be advanced
by 1. When the data pointer is equivalent to the data
length, the next data read will change the pointer
value to the beginning of resource data block and
repeat the process fo r the other fixed resource data.
DM560P
On powering up, the modem card detects RSTDRV,
sets CS N t o 0, loads the isolation data and resource
data into the built-in 64-byte SRAM, programs the
Auto-configuration Register, configur es the hardware
from the Auto-configuration Register, and then enters
the Wait for Key state. There is a required 2 msec
delay from either a RSTRDV or a PnP Reset
command to any Plug and Play access to allow a card
to load this information via internal micro-controller.
Cards in the Wait For Key state will not acknowledge
any access to their auto-configuration ports until the
Initiation Key is detected and they ignore all ISA
access to their Plug and Play inte rface. When the
cards have received the initiation key, they enter the
Sleep state. In this state, the cards listen for a Wake
[CSN] command with the write data set to 00H. This
Wake[CSN] command will set all cards to the Isolation
state and reset the serial identifier/resource data
pointer to the beginning.
The first time the cards enter the Isolation state, it is
necessary to set the READ_DATA port address using
the Set RD_DATA port command. The sof tware
should then use isolation protocol to check the
selected READ_DATA port address and to see if it is
in conflict with any other device.
Next, 72 pairs of reads are performed to the Serial
Isolation Register to isolate a card, as previously
described. When the checksum read from the card is
valid, i t m eans the card i s al r eady isolated. The
isolated card remains in the Isolation state, while all
other cards fail the isolation protocol and are returned
to the Sleep state. The CSN on the isolated card is set
to a unique number, causing this card to change to the
Configuration st ate. Sending a Wake[0] command
causes this card to change back to Sleep state, and all
cards with a CSN value of z e ro to change to the
Isolation state. This entire process will repeat until no
Plug and Play cards are detected.
22Preliminary
Version: DM560P -DS-P07
August 11, 2000
Page 23
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
Reading Resource Data
Each PnP card supports a resource data structure
stored in a non-volatile device (e.g. 93C46) that
describes the resources requested by the card. The
Plug and Play resource management software will
arbitrate resources and setup the logical device
configuration registers according to the resource data.
Card resource data may only be read from cards in the
Configuration st ate. A card may get to the
Configuration state by one of two different methods: 1)
A card enters the Configuration state in response to
the card "winning" the serial isolation protocol and
having a CSN assigned, or 2) the card receives a
Wake[CSN] command that matches the card CSN.
As described above, all Plug and Play cards function
as if both of their serial identifiers and resource data
come from the same serial device. Similarly, the
pointer to the serial device is reset in response to any
Wake[CSN] command. This implies that if a card
enters the Configuration state directly from Sleep state
in response to a Wake[CSN] command, the 9-byte
serial identifier must be read first before the card
resource data is accessed. Then the Vendor ID and
Unique Serial Number is valid. However, the
checksum byte, when read in this way, is not valid. For
a card that enters Configuration state / Isolation state,
the first read of the Resource Data Register will report
reso urce data.
DM560P
Card resource data is read by first polling the Status
register and waiting for bit[0] to be set. When this bit is
set, one byte of resource data is ready to be read from
the Resource Data Register. After the Resource Data
Register is read, th e Status Register must be polled
before reading the next byte of resource data. This
process will repeat until all resource data is r ead.
The above operation implies that the hardware is
responsible for accumulating 8 bits of data in the
Resource Data Register. When this operation is
complete, the status bit [0] is set. When a read is
performed on the Resource Data Register, status bit
[0] is cleared, eight more bits are shifted into the
Resource Data Register, and the status bit[0] is set
again.
Preliminary23
Version: DM560P -DS-P07
August 11, 2000
Page 24
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
DM6583 Absolute Maximum Ratings*
Power Supply Voltage -0.5V to +7.0V
Case Temperature0oC to 85oC
Storage Temperature -65oC to 150oC
Applied Voltage On Any Pin
- 0.5V ≤ VIN ≤ VDD+0.5V
*Comments
Stresses above those listed under "Absolute
Maximum Ratings" may cause permanent damage to
this devic e. T hese are stress rat ings only . Functional
operation of this device at these or any other
conditions above those indicated in the operational
sect ion s of this spe c ific a tion i s not im pl i e d or intended.
Exposure to absolute maximum rating conditions for
extended periods may affect device reliability.
DM6583 DC Electrical Characteristics
(VDD = 5V, GND = 0 V; Tc = 0 oC to 85 oC)
SymbolParameterMin.Typ.Max.UnitConditions
DD
V
DD
I
IH
V
V
iL
I
OH
V
OL
V
IN
C
ILRESET
V
IHRESET
V
OH
I
OL
I
IL
Operating Voltage4.755.05.25V
Operating Current90mA
Input High Voltage2.0V
Input Low Voltage0.8V
V
Input Leakage Current-1010
IN
A
= 0, 5.25V
Output High Voltage2.4VIOH = -0.5mA
Output Low Voltage0.4VIOL = 1.5mA
Input Capacitance10.0pF
Reset Schmitt V
Reset Schmitt V
IL
IH
2.8V
0.8V
UD Data Bus Output High Current-15.0mAVOH = 2.4V
UD Data Bus Output Low Current24.0mAVOL = 0.4V
DM6583 AC Electrical Characteristics
(VDD = 5V, GND = 0 V; Tc = 0 oC to 85 oC )
SymbolParameterMin.T yp.Max.UnitConditions
AW
T
WC
T
DOW
T
DS
T
DH
T
AR
T
RC
T
DIW
T
DDD
T
HZ
T
24Preliminary
IOW Delay from Address30Ns
Write Cycle280Ns
IOW Strobe Width100Ns
Data Setup Time30Ns
Data Hold Time30Ns
IOR Delay from Address30Ns
Read Cycle280ns
IOR Strobe Width125ns
Delay from IOR to Data Valid125ns100pF loading
IOR to Floating Data Delay0100ns100pF loading
Version: DM560P -DS-P07
August 11, 2000
Page 25
DM6583 Timing Diagrams
Write Cycle
A15 - A0
/IOW
/IOR
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
VALID
AW
t
DOW
t
t
DStDH
WC
t
DATA UD7-UD0
Read Cycle
A15 - A0
DATA UD7-UD0
/IOR
/IOW
t
AR
VALID
t
DDD
t
DIW
VALID
VALID
RC
t
HZ
t
Preliminary25
Version: DM560P -DS-P07
August 11, 2000
Page 26
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
Chip 2: DM6581/DM6582 ITU-T V.90 TX
and RX Digital Signal Processor
Description
DM6581/82 Description
The DM6581/DM6582 are application specific Digital
Signal Processors (DSP) dedicated to V.90 modem
operation. They are used in pairs. The primary
component of these devices is a 22.43Mips DSP
core processor. The basic clock frequency of this
device is 40.32MHz. An internal built PLL circuit is
DM6581/82 Block Diagram
DM560P
used to boost the clock from 40.32MHz to 80.64MHz
or 89.74MHz. T his 80.64M Hz /89.74MHz clock is
used as the clock source of DSP core processor. A
16-byte dual port SRAM is utilized to provide the
communication between DSP and the DM6583.
There are two dedicated serial ports that provide the
link between the DSP and the DM6580. The
DM6581/DM6582 are bonded-out in a 100-p i n QF P
package for mass production, and provide the most
economical package.
OSCI
OSCO
MSCLK
CODEC_CLK
Timing
Logical & PLL
Serial Port
Dual Port
RAM
DM6581/82 Features
•DM6581 for TX data-pump, DM6582 for the RX
data-pump
• Built in program ROM
• 2 serial ports to interfac e with c odec
• 16 byte dual port RAM
ROM
DSP Core
Data
RAM
• Clock Generator for codec chip
• Built in PLL
• Built in Co-Processor
• Power Down Mode
• Eye Pattern Register
Program
RAM
PMA[0:15]
PMD[0:23]
DMA[0:13]
DMD[0:15]
26Preliminary
Version: DM560P -DS-P07
August 11, 2000
Page 27
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
Preliminary27
Version: DM560P -DS-P07
August 11, 2000
Page 28
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
DM6581/82 Pin Description
Pin No.Pin NameI/ODescription
1RD_SP2I
2FR_SP2I/O
3AVDDP
4OSCOO
5OSCII
8AGNDP
7TXDCLKI
6, 29, 60, 68, 71,
84, 94, 95
9RXDCLKI
10CODEC_CLKO
11RXDO
12, 42, 57, 90VDDP
13TXDI
14/URDI
15/UWRI
16 - 19UAR3 - UAR0I
20/UCSI
21 - 28UD0 - UD7I/O
30MSCLKO
31P0.FO
32Eye_SDO
33Eye_FRO
34P0.CO
35 - 41, 43 - 56,
58, 59, 61 - 67,
70, 72, 77 - 83,
85 - 89
DGNDP
NC-
Data Input Pin Of Serial Port 2:
The serial data is sampled at the falling edge of the SCLK. The
MSB is coming immedi ately after falling of FR_SP2 signal.
Frame Signal For Serial Port 2:
This pin is used to indicate a data transfer. It remains in a low
sta t e until the risin g edge of SCLK is detected. A high to low
trans ition initia te s a data tra nsfer.
Analog Power For PLL Circuit
Oscillator Output Pin
Oscilla t or Input Pin:
A 40.32MHz crystal and feedback resister should be connected
between OCSI and OSCO.
Analog Gr o und For PL L C ir c uit
Transmit Data Rate Clock:
This pin is used as reference clock of TXD pin.
Digital Ground
Receive Data Rate Clock:
This pin is used as reference clock of RXD pin.
20.16MHz Clock Output For DM6580 Chip
Modem Received Data
Shifted out to the EIA port through this pin according to the rising
edge of RXDCLK.
Digital Power
Modem Transmit Data
Shifted into DM6581/DM6582 from EIA port through this pin at the
rising edge of TXDCLK.
Read Indication Of Dual Port RAM, low active.
Write Indication Of Dual Port RAM, low active.
Dual Port RAM Address Bus Input
This address bus can access 16 bytes dual port RA M.
Dual Port RAM Chip Select Pin, low active.
Data Bus Of The Dual Port RAM
Clock Output Pin
The frequency of this clock 40.32MHz.
Output Port Bit F
Output Pin for Eye Pattern
Output Pin for Frame Signal of Eye Pattern
Output Port Bit C
No Connection
DM560P
28Preliminary
Version: DM560P -DS-P07
August 11, 2000
Page 29
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
IThese three pins define the testing mode operation of DM6581/
DM6582 as followed:
When Test=0
Test1 0,PLL output clock is 8 0 . 64 MHZ.
1,PLL output clock is 89.74 MHZ.
When Test=1:
Reserved for mass production testing mode.
All these 3 pins are pulled low internally.
Frame Signal Of Serial Port 1
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.
Data Input Pin Of The Serial Port 1
The serial data is sampled at the falling edge of the SCLK. Th e MSB is
coming immediately after the falling of FR_SP1 signal.
Reference Clock For Serial Port 1 And Serial Port 2
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.
DM560P
DM6581/82 Functional Description
System Clock
Reference Oscillator Clock
The reference frequency is provided by an external
40.32 MHz crystal oscillator. This i s the clock source
of the Data Pump.
DSP Clock
This DSP cl ock is the output of an int er nal P LL
frequency synthesizer and its frequency can be
selected by Test1 pin. (see pin description )
CODEC Clock
This clock is output via the CODEC_CLK Pin as the
reference clock of the codec chip. This clock is derived
from dividing reference oscillator clock by two.
Preliminary29
Version: DM560P -DS-P07
August 11, 2000
Serial Port
There are two serial ports to provide the interface with
CODEC chip. The serial por t 1 (SP1) transfers 32 bits
in each frame while the serial port 2 can transfer 64
bits in each frame. The frame signal of each serial port
can be configured as either input s i gnal or output
signal by the Serial Port Control Register (SPC).
Page 30
Dual Port RAM
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
Power Down Mode
The 16 X 8 dual port RAM allows easy system
expansion by adding another DSP or micro-processor.
Address 2000h ~ 200Fh are reserved for this dual port
RAM. The 8 bit dual port RAM data corresponds to the
MSBs of the data bus (bit 15 ~ bit 8) of the DSP core.
Upon reading the dual port RAM, the 8 LSB contents
(bit 7 to bit 0) are all 0. For the convenience of
description, the micro-controller port is referred to as B
port and the DSP port is referred to as A port.
Interrupt
The DSP core provides 4 nested interrupt inputs:
IRQ3, IRQ2, IRQ1, IRQ0. IRQ3 is the highest p riority
input and IRQ0, the lowest. In the V.90 and V.32
application, the IR Q3, IRQ2 and IRQ1 are defined as
external interrupts triggered from the pin IRQ3B,
IRQ2B, IRQ1B re spectively.
CoProcessor
The coprocessor is implemented to provide the
functions of echo cancellation for the DM6581
(TXDSP) and adaptive equalization for the DM6582
(RXDSP).
Power Down mode is selected by bit 7 in register E.
This bit is write-only and can only be accessed by the
controller. Power Down mode is entered by setting the
PWD bit. A reset must occur to return to normal
operation.
PWD = 0: Normal Operation
PWD = 1: Power Down Mode.
Bit7bit6bit5bit4bit3bit2bit1bit0
PWD Bit6Bit5Bit4 Mode Bit2Bit1F-
Empty
Eye Pattern Registers
The Eye Pattern Registers are memory mapped as
shown below.
AddressSymbolR/W
3000Eye_X_RegW
3001Eye_Y_RegW
When data is loaded into the Eye_Y_Reg the Eye_FR
pin will be driven low for 16 SCLK periods. The
contents on the Eye_X/Y_Reg will be shifted out on
the Eye_SD pin on the rising edge of S CLK when
Eye_FR is Low.
DM6581/82 Functional Description
(continued)
Eye Pattern Timings
SCLK
Eye_FR
Eye_SD
1
2
SymbolParameterMin.Typ.Max.UnitConditions
1Eye_F R active after SCLK High020ns
2Eye_F R active after SCLK High020ns
30Preliminary
Version: DM560P -DS-P07
August 11, 2000
Page 31
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
DM6581/82 Absolute Maximum Ratings*
Power supply voltage -0.5V to +7.0V
*Comments
Stresses above those listed under "Absolute
Maximum Ratings" may cause permanent damage
Case temperature 0 oC to 85 oC
Storage temperature -65 oC to 150 oC
Applied voltage on any pin
-0.5V ≤ VIN ≤ VDD+0.5V
to this device. These are stress ratings only.
Functional operation of this device at these or any
other conditi ons above those indicated in the
operational sections of this specific ation is not
implied or intended. Exposure to absolute maximum
rating conditions for extended periods may affect
de vic e reliability.
Output High Voltage2.4VIOH = 2.5mA
Output Low Voltage0.4VIOL = 2.5mA
DM6581/82 AC Electrical Characteristics
(VDD = 5V, GND = 0V; Tc = 0 oC to 85 oC, PLL out frequency = 90MHz, CL = 50pF)
Serial Port Ti min g
SymbolParameterMin.Typ.Max.UnitConditions
1SCLK Period49ns
2SCLK Low Width20ns
3SCLK High Width20ns
4SCLK Rise Time5ns
5SCLK Fall Time5ns
6Frame Delay Time20ns
7Frame To SCLK Hold17ns
8RD Valid Before SCLK Low5ns
9RD Hold Time15ns
10TD Delay Time20ns
Preliminary31
Version: DM560P -DS-P07
August 11, 2000
Page 32
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
4
1
SCLK
FR_SP1
FR_SP2
RD_SP1
RD_SP2
TD_SP1
TD_SP2
6
7
89
First Bus
First Bus
Dual Port RAM Timing
SymbolParameterMin.Typ.Max.UnitConditions
1/URD Read Period100ns
2Address Valid Before /URD Low50ns
3/URD to /UCS Delay Time7ns
4Data Hold Time After /URD High4ns
5Data Bus High Z After /URD High20ns
6/URD Low To Data Valid25ns
7/UWR Period100ns
8Data Setup Time /UWR High50ns
9Address Valid Before /UWR Low50ns
10/U WR To /UCS Delay7ns
11Data Hold Time After /UWR Hig h0ns
5
23
Last Bus
Last Bus
1110
Hiz
UAR[3..0]
/UCS
3
4
1
/URD
UD[0..7]
32Preliminary
2
65
Version: DM560P -DS-P07
August 11, 2000
Page 33
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
Chip 3 : DM6580 Analog Front End
Description
DM6580
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 bui lt i n
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.
DM6580 Block Diagram
DM560P
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
self-tuning 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.
RxSCLK
RxDCLK
SCLK
RFS
DOR
DIR
TFS
DOT
DIT
Rx Clock
System
Digital
Interface
Digital
Reconstruction
Filter
Tx Clock
System
Control
Registers
Tx Filter &
DAC
Rx Filter &
ADC
Divider
LPF &
Attenuator
Voltage Reference
0/-6 dB
Audio Amplifier
Power-on
Detector
TxSCLK*2
TxDCLK
ExtCLK
CLKIN
TxA1
TxA2
REFP
V
CM
V
V
REFN
RxIN
SPKR
Preliminary33
Version: DM560P -DS-P07
August 11, 2000
Page 34
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
•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
DOR
DIR
DGND
SCLK
DOT
DIT
TFS
5
6
7
8
9
10
11
RXSCLK
RFS
4
3
DM6580
13
12
TXDCLK
TXSCLK*2
DD
V
2
14
CLKIN
SPKR
RXDCLK
1
28
16
15
/RESET
EXTCLK
RXIN
AVDDR
26
27
18
17
Vr
AVDDT
25
24
23
22
21
20
19
AGNDT
V
REFP
V
CM
V
REFN
AGNDR
TXA1
TXA2
34Preliminary
Version: DM560P -DS-P07
August 11, 2000
Page 35
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
DM6580 Pin Description
Pin No.Pin NameI/ODescription
1RXDCLKOReceive Data Clock
2VDDPDigital Power
3RXSCLKOReceive Sample Clock
4RFSIReceive Frame Synchronization
5DOROData Output For Receiver
6DIRIData Input For Receiver
7DGNDPDigital Ground
8SCLKOSeri al Cloc k Synchroni zed With All Serial Data
9DOTOData Output For Transmitter
10DITIData Input For Transmitter
11TFSITransmit Fr am e Sync hr onization
12TXSCLK*2OTransmit Sample Clock * 2
13TXDCLKOTransmi t Data Clock
14CLKINIMaster Clock Input (20.16MHz = 40.32MHz / 2 )
15/RESETICodec Reset Input
16EXTCLKIExternal Transmit Data Clock
17VrOInternal Reference Voltage. Connect 0.1uF to DGND
18AVDDTIAnalog VDD For The Transmitter Analog Circuitry (+5VDC)
19TXA2OTransmit Negative Analog Output
20TXA1OTransmit Positive Analog Output
21AGNDRPAnalog Receiver Circuitry Signal Ret ur n Path
22V
23V
24V
25AGNDTPAnalog Transmitter Circuitry Signal Return Path
26RXINIReceive Analog Input
27AVDDRIAnalog VDD For The Receiver Analog Circuitry (+5VDC)
28SPKROSpeaker Driver
REFN
CM
REFP
ONegative Reference Voltage, VCM - 1V
OCommon Mode Voltage Output, 2.5V
OPositive Reference Volt age, VCM + 1V
DM560P
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 anal og circ uits include a sigma-delta
modulator/demodulator, decimation/interpolation
filters, a speaker driver, low-pass filter and certain
logic c irc uits . T h e digital c irc uits is compo sed 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.
Preliminary35
Version: DM560P -DS-P07
August 11, 2000
The master clock (FQ) is obtained from an external
signal connected to CLKIN. The different transmit and
receive clocks a re obtained by master cloc k frequency
division in sever al 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 cl oc k i s 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.
Page 36
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
DM6580 Register Description
RegisterD11D10D9D8D7D6D5D4D3D2D1D0Programmed
Functions
TxCR0R1X3X2X1X0N3N2N1N0R0STTx Data Rate
Clock
TxCR1Q1 D M1M0Q0 F Y U2 U1 U0Tx Baud
sample Clock
TxCR2Vol1Vol2F1F0WATTLTXLCSSTEMXVFMiscellaneous
control
TxTestReserved
RxCR0R1H2H1H0N3N2N1N0R0STRx Data Rate
Clock
RxCR1Q1RSTDM1M0Q0PYU2U1U0Rx Baud
SampleClock
RxCR2-6dBLLPS4PS3PS2PS1PS0AP2AP1AP0Rx Phase Shift
Control
RxTestRe served
DM6580 Absolute Maximum Ratings*
Power supply voltage -0.5V to +7.0V
*Comments
Stresses above those listed under “Absolute
Maximum Ratings” may cause permanent damage
Case temperature 0 oC to 85 oC
Storage temperature -65 oC to 150 oC
Applied voltage on any pin
-0.5V ≤ VIN ≤ VDD+0.5V
to the device. These are stress ratings only.
Functional operation of this device at these or any
other conditi ons above those indicated in the
operational secti on of this specification is not implied
or intended. Exposure to absolute maximum ra ti n g
conditions f or extended periods may affect device
reliability.
DM6580 DC Electrical Characteristics
(VDD = 5V, Tc = 0 oC to 85 oC)
SymbolParameterMin.Typ.Max.Un
DD
V
V
V
I
V
V
V
V
C
CM
DD
IL
IH
OL
OH
iL
I
IN
REF
Operating Voltage4.7555.25V
Output Common Mode Voltage2.5V
Supply Current25m
Input Low Voltage0.8V
Input High Voltage2.2V
Output Low Voltage0.4V
Output High Voltage2.4V
Input leakage Curr ent-10
±1
10
Input Capacitance5pF
Differenti al Ref er ence Voltage
1.922.1V
Output
CMD_OUT
V
Output Common Mode Offset-200200mV=(TxA1+TxA2)/2-V
it
A
VI=0V,5.25V
µA
Conditions
CM
DIF_OUT
V
OFF_OUT
V
Differential Output Voltage3 *V
Differential Output DC Offset
-100100mVVDC (TXA1)-VDC (TXA2)
REF
V
TxA1-TxA2 ≤ 3*V
REF
Voltage
36Preliminary
Version: DM560P -DS-P07
August 11, 2000
Page 37
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
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.
DM560P
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 buyers’ orders shall be
based on these terms.
Company Overview
DAVICOM Semiconductor, Inc. develops and
manufactures integrated circuits for integration into
data com mu nica tion products. Our mission is to
design and produce IC products that are the i ndustr y’s
best value for Data, Audio, Video, and
Internet/Intranet applications. T o achieve this goal, w e
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 perfor mance
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.
Contact Windows
For additional information about DAVICOM products, contact t he sal es department at:
Headquarters
Hsin-chu Office:
3F, No. 7-2, Industry E. Rd., IX,
Science-based Park,
Hsin-chu City, Taiwan, R.O.C.
TEL: 886-3-5798797
FAX: 886-3-5798858
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,
perfor m ance and/or func t ion.
40Preliminary
Taipei Sales & Marketing Office:
8F, No. 3, Lane 235, Bao-chiao
Rd., Hs in-t ien C ity , Taipe i, Ta iw an ,
R.O.C.
TEL: 886-2-29153030
FAX: 886-2-29157575
Email: sales@davicom.com.tw