Control and Timing Circuitry for 4Mbits
of external DRAM
Low Power Operation
Member of DBS800 Family (C-BUS
Compatible)
SERIAL
CLOCK
COMMAND
DATA
C-BUS INTERFA CE AND CONTR OL LOGIC
REPLY
DATA
Answering Machines where an incoming
speech message is stored for later recall
Busy Buffering, in which an outgoing
speech message is stored temporarily
Automatic transmission of pre-recorded
alarm or status messages.
Time Domain Scrambling of Speech
messages
VOX control of transmitter functions
Temporary Data Storage, such as
buffering of over-air data transmissions
XTAL/
CLOCK
CLOCK
GENERATOR
XTAL
IRQCS
AUDIO
IN
AUDIO
OUT
STATUS
REGISTER
ENCODE
OUT)
CLOCK
DRAM Data Out/
A1/DEI
(DECODER
POWER
ASSESS
DECODER
CLOCK
DIRECT ACCESS CLOCKS AND DATA
DRAM Data In/
A0/ENO
(ENCODER
A2/DCKA3/ECKA4A5A6A7A8A9
DECODE
CLOCK
PA TTERN
V
IN)
DD
DEMODMOD
IDLE
V
V
SS
BIAS
DATA
READ
COUNTER
WE
CAS
WRITE
COUNTER
RAS1 RAS2
PLAY
COMMAND
BUFFER
DATA
SPEECH
PLAY
COUNTERS
DRAM CONTROL AND TIMING
RAS4
RAS3
STORE
COMMAND
BUFFER
SPEECH
STORE
COUNTERS
CONTROL
REGISTER
ENCODER
CLOCK
DRAM ADDRESS LINES
The MX802 Data/Voice Storage and Retrieval (DVSR) Codec contains a Continuously Variable Slope Delta
Modulation (CVSD) encoder and decoder as well as control and timing circuitry for up to 4Mbits of external
DRAM. As a member of the DBS800 series, it also contains interface and control logic for the “C-BUS” serial
interface.
When used with external DRAM, theMX802 had four primary functions: Speech Storage, Speech layback,
Data Storage, and Data Retrieval. The Speech Storage and Playback may be performed concurrently with
data storage or retrieval.
On-chip the Delta Codec is supported by input and output analog switched-capacitor filters and audio output
switching circuitry. The DRAM control and timing circuitry provides all the necessary address, control, and
refresh signals to interface to external DRAM.
The MX802 may also be used without DRAM (as a “stand alone” CVSD Codec), in which case direct access
is provided to the CVSD Codec digital data and clock signals. All signals are controlled by “C-BUS”
commands from the system microcontroller.
The MX802 may be used with a 5.0V power supply and is available in the following packages:
24-pin PLCC (MX802LH), 28-pin PLCC (MX802LH8), and 28-pin PDIP (MX802P).
4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USAAll trademarks and service marks are held by their respective companies.
DVSR CODEC4MX802
2 Signal List
J/LH8LHSignalDescription
1
RAS2
Address Strobe input of the second 1Mbit DRAM chip (if used).
21
RAS1
Address Strobe input of the first DRAM chip.
32
4
Xtal
Enable Write
(EW ) The DRAM of Read/Write control pin.
This is the output of the 4.0MHz on –chip clock oscillator. External
components are required at the output when a Xtal is used. A Xtal
cannot be used with the 24-pin version.
53Xtal/ClockThis is the input to the on-chip clock oscillator inverter. A 4.0MHz Xtal
or externally derived clock should be connected here. See Figure 2.
This clock provides timing for on-chip elements, filters, etc. A Xtal
cannot be used with the 24-pin version. Various Xtal frequencies can
be used with this device. See Table 5 for Sampling Rate Variations.
64
IRQ
Request Interrupt The output of this pin indicates an interrupt condition
to the microcontroller by going to logic’0’. This ‘wire-or able’ output,
enabling the connection of up to 8 peripherals to 1 interrupt port on the
microcontroller. This pin is an open drain output. It therefore has a low
impedance pulldown to logic ‘0’ when active and a high impedance
when inactive. Conditions indicated by this function are Power Reading
Ready, Play Command Complete, and Store Command Complete.
75Serial ClockThis is the C-BUS serial clock input. This clock, produced by the
microcontroller, is used to transfer timing commands and data to and
from the DVSR Codec. See timing diagrams. Clock requirements vary
for different MX802 functions.
86Command Data
This is the C-BUS serial data input from the microcontroller. Data is
loaded to this device in 8-bit bytes, MSB (bit 7) first, and LSB (bit 0) last,
synchronized to the Serial clock. See Timing diagrams.
97
CS
Select Chip: The C-BUS data transfer control function, this input is
provided by the microcontroller. Command Data transfer sequences are
initiated, completed, or aborted by the
Diagrams.
108Reply Data
This is the C-BUS serial data output to the microcontroller. The
transmission of Reply Data bytes is synchronized to the Serial Data
Clock under the control of the Chip Select input. This 3-state output s
held at high impedance when not sending data to the microcontroller.
See Timing diagrams.
119V
BIAS
This is the output of the on-chip analog circuitry bias system, held
internally at V
DD
C1. See Figure 2.
1210Audio OutThis is the Analog signal out.
1311Audio In
This is the audio (speech) input. The signal to this pin must be AC
coupled by capacitor C4 and decoupled to V
optimum noise performance this input should be driven from a source
impedance of less than 100.
1412V
SS
1513Encoder Out
(ENO)
Negative Supply (GND)
DRAM Data In/A0/Direct Access -- This is connected to the DRAM data
input and address line A0. With no DRAM used, this output is available
in a Direct Access mode as the Delta Encoder digital data Output.
Direct Access control is achieved by Control Register byte 1, bit 7.
This pin should be connected to the Row
2 Strobe sRow Addres
1 Strobe sRow Addres This pin should be connected to the Row
CSsignal. See Timing
/2. This pin should be decoupled to VSS by capacitor
4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USAAll trademarks and service marks are held by their respective companies.
DVSR CODEC5MX802
J/LH8LHSignalDescription
1614Decoder In (DEI)
DRAM Data Out/A1/Direct Access --: This is connected to the DRAM
data output and address line A1. With no DRAM used, this pin is
available in a Direct Access mode as the Delta Decoder Clock input.
Direct Access control is achieved by Control Register byte 1, bit 6.
1715Decoder Clock
(DCK):
DRAM A2/Direct Access -- This is the DRAM address line A2. With no
DRAM employed, this pin is available in a Direct Access mode as the
Delta Decoder Clock Input. Direct Access control is achieved by Control
Register byte 1, bit 6.
1816
Encoder Clock
(ECK)
DRAM A3/Direct Access: This is the DRAM address line A3. With no
DRAM employed, this pin is available in a Direct Access mode as the
Delta Encoder Clock Output. Direct Access control is achieved by
Control Register byte1, bit 6.
1917DRAM A4DRAM address line 4.
2018DRAM A5DRAM address line 5.
2119DRAM A6DRAM address line 6.
2220DRAM A7DRAM address line 7.
2321DRAM A8DRAM address line 8.
24RAS4
4 Strobe sRow Addres: This pin should be connected to the Row
Address Strobe input of the fourth 1Mbit DRAM chip (if used).
25
3RAS3 Strobe sRow Addres: This pin should be connected to the Row
Address Strobe input of the third 1Mbit DRAM chip (if used).
2622DRAM A9
This is DRAM address line A9. This pin is not connected when a
256kbit DRAM is used. Note: To simplify PCB layout, the DRAM
address inputs A0-A8 may be connected in any physical order to the
DVSR Codec output pins A0-A8.
2723
2824V
CASStrobe AddressColumn: This is the DRAM Column Address Strobe
DD
pin. It should be connected to the
Positive supply. A single, stable +5 volt supply is required. Levels and
CASpins of all DRAM chips.
voltages within the DVSR Codec are dependent upon this supply.
4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USAAll trademarks and service marks are held by their respective companies.
DVSR CODEC7MX802
Recommended External Component Notes:
1. Xtal circuitry shown in inset is in accordance with the MX-COM Standard and DBS 800 Crystal
Application Note.
2. External Xtal circuitry is not applicable to the 24-pin/lead version of this device. Only an externally
derived clock input can be used.
3. Functions whose pins are marked with and asterisk (*) in Figure 2 are not available on the 24-pin/lead
versions of this device. Pin numbers illustrated are for 28-pin versions.
4. Table 5 details the actual encoder/decoder sample rates available using the Xtal frequencies
recommended above.
5. Resistor R1 is used as the DBS800 system common pull-up for the C-BUS Interrupt Request
The optimum value will depend on the circuitry connected to the
IRQ . Up to 8 peripherals may be
IRQ
line.
connected to this line.
6. Recommended DRAM parameters:
256kbit x 1 or 1Mbit x 1 Dynamic Random Access Memory with
"RAS before CAS"refresh mode.
Maximum Row address time = .200us.
Example DRAM types:
256kbit (262,144 bits)
Texas Instruments (TMS4256-20)
Hitachi (HM51256-15)
1Mbit (1,048,576 bits)
Texas Instruments (TMS4C1024-15)
Hitachi (HM511000-15)
7. Figure 2 shows connections to 4x1 Mbit sections of DRAM. If desired, to simplify PCB layout, the DRAM
inputs A0-A8 may be connected in any order to the MX802 DVSR Codec output pins A0-A8.
Connections to 256kbit DRAM are similar, but A9 I left unconnected.
8. When using the MX802 “stand alone” 9Direct Access), no DRAM sections should be connected.
4 General Description
The MX802 Data/Voice Storage and Retrieval (DVSR) Codec contains a Continuously Variable Slope Delta
Modulation (CVSD) encoder and decoder as well as control and timing circuitry for up to 4Mbits of external
DRAM. As a member of the DBS800 series, it also contains interface and control logic for the “C-BUS” serial
interface.
When used with external DRAM, theMX802 had four primary functions: Speech Storage, Speech layback,
Data Storage, and Data Retrieval. The Speech Storage and Playback may be performed concurrently with
data storage or retrieval.
Speech Storage:
Speech signals present at the Audio Input may be digitized by the CVSD encoder. The
resulting bit stream is stored in DRAM. This process also provides readings of the
speech signal power level. These readings are used by the system microcontroller for
pause reduction.
Speech Playback:
Digitized speech may be read from DRAM and converted back into analog from by the
CVSD decoder.
Data Storage:
Digital data derived via the C-BUS from the Modem or system data may be stored in
DRAM.
Data Playback:
Digital data may be read from DRAM and sent over the C-BUS to the system
microcontroller.
On-chip the Delta Codec is supported by input and output analog switched-capacitor filters and audio output
switching circuitry. The DRAM control and timing circuitry provides all the necessary address, control, and
refresh signals to interface to external DRAM.
The MX802 may also be used without DRAM (as a “stand alone” CVSD Codec), in which case direct access
is provided to the CVSD Codec digital data and clock signals. All signals are controlled by “C-BUS”
commands from the system microcontroller.
4800 Bethania Station Road, Winston-Salem, NC 27105-1201 USAAll trademarks and service marks are held by their respective companies.
DVSR CODEC8MX802
4.1 Controlling Protocol
Control of the functions of the MX802 DVSR Codec is by a group of Address/Commands (A/Cs) and
appended instructions of data to and from the system microcontroller (See Figure 4). The use and content of
these instructions is detailed in the following pages.
General Reset0100000001
Write to Control Register6001100000+2 byte instruction to Control
Register
Read Status Register6101100001+1 byte reply from Status Register
Store ‘N’ pages. Start page ‘X’6201100010+2 bytes command – Immediate
Store ‘N’ pages. Start page ‘X’6301100011+2 bytes Command – Buffered
Play ‘N’ pages. Start page ‘X’6401100100+2 bytes Command – Immediate
Play ‘N’ pages. Start page ‘X’6501100101+2 bytes Command – Buffered
Write Data. Start page ‘P’6601100110+2 bytes ‘P’ + Write Data
Read Data. Start page ‘P’6701100111+2 bytes ‘P’ + Read Data
Write Data – continue6801101000+Write Data
Read Data -- Continue6901101001+Read Data
Table 3: C-BUS Address/Commands
4.1.1 Address/Commands
Instruction and data transactions to and from this device consist of an Address/Command (A/C) byte followed
by further instruction/data reply.
Control and configuration is by writing instructions form the microcontroller to the Control Register (60
Reporting of MX802 configurations is by reading the Status Register (61
).
H
).
H
4.1.2 Operation with DRAM
The MX802 can operate with up to 4Mbits of Dynamic Ram (DRAM). When used with DRAM, the MX802
performs four main functions under the control of the commands received over the C-BUS interface from the
microcontroller:
Stores Speech
The MX802 stores speech by digitally encoding the analog input signal and writing the
resulting digital data into the associated DRAM.
Plays Speech
The MX802 plays back stored speech by reading the digital data stored in the DRAM and
decoding it to provide and analog output signal.
Writes Data
Reads Data
The MX802 writes data sent ver the C-BUS from the microcontroller to DRAM.
The MX802 reads data from DRAM, sending it to the microcontroller over the C-BUS.
Data is directed to and from DRAM by the on-chip DRAM Controller.