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
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
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
DM6583 Pin Configuration
DM560P
V.90 Integrated Data/Fax/Voice/Speakerphone Modem Device Set
Preliminary5
Version: DM560P -DS-P07
August 11, 2000
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
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
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
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
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
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
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
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.
Loading...
+ 30 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.