programmable TX Period Timer.
Low Power CMOS Device
•
On-Chip programmable amplifier.
•
C-BUS Compatible
•
SIGNAL INPUT BIAS
(RX)
AUDIO IN
V
DD
V
BIAS
V
SS
XTAL/
CLOCK
XTAL
AUDIO SWITCH IN
CLOCK
GENERATOR
DIGITAL
NOISE
FILTER 1
PROGRAMMABLE
(TX PERIOD)
TIMER
AUDIO
SWITCH
RX FILTER
SWITCH
DIGITAL
NOISE
FILTER 2
TONE 1
GENERATOR
5-/2-TONE
DTMF 1
V
BIAS
TONE 2
GENERATOR
CUES/DTMF 2
_
+
SUMMING
AMPLIFIER
Signaling Systems supported
•
SelCall (CCIR, EEA, ZVEI I / II /III)
2-Tone SelCall
DTMF Encode
Inband Tone Signaling capability for
•
LMR and other Radio Systems.
QUALITY
METER
GATE TIME
GENERATOR
FREQUENCY
COUNTER
PROGRAMMABLE
NOTONE
TIMER
CUES
CAL
SUMMING
SWITCH
CAL/CUES
SWITCH
PRELIMINARY INFORMATION
COMMAND DAT A
REPLY DATA
C-BUS
AND
LOGIC
LOW
LOW
CHIP SELECT
INTERRUPT
SERIAL CLOCK
LOGIC INPUT
TONE 1 OUT
SUM IN
SWITCHED SUM OUT
SUM OUT
CAL/CUES OUT
TONE 2 OUT
SWITCH OUT
INTERF ACE
CONTROL
PASS
FILTER
PASS
FILTER
The MX803A is an audio signaling processor that provides inband tone signaling capabilities for LMR and other Radio
systems. A low-power CMOS device, the MX803A is a member of the DBS800 (Digitally integrated Baseband Subsystem) IC family (See section 4.2). Supported Signaling systems include SelCall (CCIR, EEA, ZVEI I, II, and III) 2-Tone
SelCall and DTMF encode. The use of a non-predictive decoder and a versatile encoder, allows the MX803A to operate
in any standard or non-standard tone system.
The MX803A is a full-duplex device for use with Single Tone or Selective Call systems. The MX803A consists of a tone
decoder with a programmable NOTONE timer, two individual tone encoders and a programmable TX period timer, and an
on-chip summing amplifier. Under the control of a µC, the MX803A will simultaneously encode and transmit 1 or 2 audio
tones in the 208-3000Hz range, as well as detect, decode, and indicate the frequency of any non-predicted input tone in
the frequency range of 313 to 6000Hz.
The MX803A is available in 24-pin CDIP (MX803AJ), 24-pin PLCC (MX803ALH), and 24-pin SOIC (MX803ADW)
packages.
2. Signal List......................................................................................................................................... 4
4.3 C-BUS Control .......................................................................................................................................... 8
5.6 General Reset.......................................................................................................................................... 20
Audio Signaling Processor4MX803A PRELIMINARY INFORMATION
2. Signal List
Pin No.NameTypeDescription
1
XTAL
2Xtal/ClockInputInput to the on-chip clock oscillator inverter. A Xtal or externally derived clock
3Reply DataOutput
4
CS
5Command DataInput
6Logic InputInputThis “real-time” input is available as a general purpose logic input port which
7
IRQ
10Audio Switch InInputInput to the stand-alone on-chip Audio Switch. This function is
11Audio Switch OutOutput Output of the stand-alone on-chip Audio Switch..
12V
SS
13Rx Audio InInputReceived audio tone signaling input. This input must be ac coupled and
14Signal Input BiasInputExternal components are required between this input and the RX Audio In pin.
15V
BIAS
16Tone 1 OutOutput Tone 1 Generator (2-/5-tone Selcall or DTMF 1) output. External gain and
17Tone 2 OutOutput Tone 2 Generator (2-/5-tone Selcall, CUES or DTMF 2) output. External gain
Output Output of the on-chip clock oscillator. External components are required at this
output when a Xtal is used. See Figure 2.
should be connected here. See Figure 2.
C-BUS serial data output to the µC. The transmission of Reply Data bytes is
synchronized to the Serial Clock under the control of the Chip Select input.
This 3-state output is held at high impedance when not sending data to the µC.
See Figure 8 and Figure 9.
Input
C-BUS data loading control function. This input is provided by the µC. Data
transfer sequences are initiated, completed or aborted by the chip select signal.
See Figure 8 and Figure 9.
C-BUS serial data input from the µC. Data is loaded to this device in 8-bit
bytes, MSB (B7) first and LSB (B0) last, synchronized to the Serial Clock. See
Figure 8 and Figure 9.
can be read from the Status Register. See Table 3.
G/Purpose Timer Period Expired
NOTONE Timer Period Expired
RX Tone Measurement Complete
These interrupts are inactive during relevant powersave conditions and can be
disabled by bits 5 and 6 in the Control Register.
Output
Output of this pin indicates an interrupt condition to the µC by going to a logic
“0.” This is a “wire-or-able” output, allowing the connection of up to 8
peripherals to 1 interrupt port on the µC. This pin has a low impedance
pulldown to logic “0” when active and a high impedance when inactive. The
system IRQ line requires one pullup resistor to V
. The conditions that cause
DD
interrupts are indicated in the Status Register and are shown below:
enabled/disabled by Bit 7 of the Control Register
PowerNegative supply (GND).
connected, using external components, to the Signal Input Bias pin. See Figure
2.
See Figure 2.
Output Internal circuitry bias signal, held at VDD/2. This pin should be decoupled to V
SS
by capacitor C2. See Figure 2..
coupling components are required at this output when operating in a complete
DBS 800 audio installation. The frequency of this output is determined by
writing to the TX Tone Generator 1 Register (Table 5). See Figure 2.
and coupling components are required at this output when operating in a
complete DBS 800 audio installation. The frequency of this output is
determined by writing to the TX Tone Generator 2 Register (Table 5).
See Figure 2.
Audio Signaling Processor5MX803A PRELIMINARY INFORMATION
Pin No.NameTypeDescription
18CAL/CUES OutOutput An auxiliary, selectable tone frequency output, providing a square wave
CALibration signal from the Tone 2 Generator or a sine wave CUES (beep)
signal from the Summing Amplifier. The output mode (CAL or CUES) is
selected by Bit 14 in the TX Tone Generator 2 Register (Table 5). When Tone
Generator 2 is set to Notone, the CAL input is pulled to V
powersave of Tone Generator 2 it is held at V
SS
.
; during a
BIAS
19Sum inInputInput to the on-chip Summing Amplifier. This amplifier is available for
combining Tone 1 and Tone 2 outputs (DTMF). Gain and coupling components
should be used at this input to provide the required system gains. See Figure 2
and Figure 3
20Sum OutOutput Output of the on-chip summing amplifier. Combined tones (1 and 2) are
available at this output. See Figure 2 and Figure 3.
21Switched Sum
Out
Output This is the combined tone output available for transmitter modulation. The
switch allows control of the MX803A output. Control of this switch is by Bit 4 of
the Control Register. See Figure 2 and Figure 3.
23Serial ClockInput
C-BUS serial clock input. This clock, produced by the µC, is used for transfer
timing of commands and data to and from the MX803A. See Figure 8 and
Figure 9.
24V
DD
PowerPositive supply. A single +5 volt power supply is required. Levels and voltages
within this Audio Signaling Processor are dependent upon this supply..
8, 9, 22N/CNo Internal Connection. These pins may be connected to VSS to improve
screening and reduce noise levels around the MX803A.
1. Xtal/clock components described are recommended in accordance with MX-COM's Application Note on Standard and
DBS 800 Crystal Oscillator Circuits (April 1990). For best results, a crystal oscillator design should drive the clock
inverter input with signal levels of at least 40% of V
, peak to peak. Tuning fork crystals generally cannot meet this
DD
requirement. To obtain crystal oscillator design assistance, consult your crystal manufacturer.
2. System Components whose values are calculated to allow the MX803A to operate with other DBS 800 microcircuits.
Figure 3 shows these components used in the system signal paths.
3. R3, R4, R5 and C5 are tone mixing components calculated to provide a 3dB tone differential (twist) for use in a DTMF
configuration. Single tone output levels are set independently.
4. When X1 > 5.00MHz, C3 = C4 = 18pF
5. R7 provides modulation level and matching outputs for the MX803A.
Audio Signaling Processor7MX803A PRELIMINARY INFORMATION
FROM MX806A
CUES
MAIN PROCESS OUT
AUDIO SWITCH OUT
11
18
CAL/CUES OUT
21
SWITCHED SUM OUT
SUM OUT
20
AUDIO SWITCH IN
MX803A
TONE 2 OUT
17
16
TONE 1 OUT
Figure 3: Example of Signal Switching in a DBS800 microcircuit
SUM IN
BIAS
19
10
+
_
CAL
SUMMING
AMPLIFIER
TO MX806A
CALIBRATION IN
TO MX806A
SUM IN
DBS 800 TRANSMIT A UDIO BUS
4. General Description
4.1 DESCRIPTION
The MX803A is an audio signaling processor that provides inband tone signaling capabilities for LMR and other Radio
systems. A low-power CMOS device, the MX803A is a member of the DBS800 (Digitally integrated Baseband Subsystem) IC family (See section 4.2). Supported Signaling systems include SelCall (CCIR, EEA, ZVEI I, II, and III) 2-Tone
SelCall and DTMF encode. The use of a non-predictive decoder and a versatile encoder, allows the MX803A to operate
in any standard or non-standard tone system.
The MX803A is a full-duplex device for use with Single Tone or Selective Call systems. The MX803A consists of a tone
decoder with a programmable NOTONE timer, two individual tone encoders and a programmable TX period timer, and an
on-chip summing amplifier. Under the control of a µC, the MX803A will simultaneously encode and transmit 1 or 2 audio
tones in the 208-3000Hz range, as well as detect, decode, and indicate the frequency of any non-predicted input tone in
the frequency range of 313 to 6000Hz.
A general purpose logic input, interfacing directly with the Status Register, is provided. This may be used as an auxiliary
method of routing digital information to the µC via C-BUS. Output frequencies are produced from data loaded to the
MX803A. A programmable, general purpose, on-chip timer sets the tone transmit periods. A Dual-Tone Multi-Frequency
(DTMF) output is obtained by combining the 2 independent output frequencies in the integral summing amplifier. This
process can also be used for level correction.
Tones produced by the MX803A can be used in the system as modulation calibration inputs and as “CUE” audio
indications to the operator. Received tones are measured and their frequency indicated to the µC in the form of a
received data word. A poor quality or incoherent tone will indicate Notone.
4.2 DBS800 Systems
The Digitally-Integrated Baseband Subsystem (DBS800) is a family of low power ICs which provide a comprehensive
range of audio processing and signaling functions for use within LMR and other Radio Systems. Each DBS800 IC may
be used as part of a complete audio system, or each IC may operate as a stand alone. The system and ICs are
partitioned in such a way that radio designers can easily select the device or devices appropriate to their needs.
The DBS800 family consists of the following ICs:
4.2.1 MX802 DVSR Codec
This is a full-duplex CVSD speech encoder/decoder with the ability to store and retrieve data within attached DRAM
(Dynamic Random Access Memory) using an on-chip DRAM controller. The MX802 also provides on-chip input and
output audio filtering.
4.2.2 MX803A Audio Signaling Processor
This provides an inband tone signaling ability to LMR and other Radio Systems.
Audio Signaling Processor8MX803A PRELIMINARY INFORMATION
4.2.3 MX805A Sub-Audio Signaling Processor
This provides a sub-audio and digital signaling (NRZ) ability to LMR and other Radio Systems.
4.2.4 MX806A Audio Processor
This is a half duplex audio processor providing all DBS800 system audio signal conditioning and filtering capabilities for
the system transmit and receive paths.
4.2.5 MX809 MSK Modem
This is an intelligent, half-duplex 1200bps MSK/FFSK Modem with software programmable byte-synchronization system
and checksum generation and checking.
4.2.6 MX812 VSR Codec
This is a half-duplex CVSD speech encoder/decoder with the ability to store and retrieve data within attached DRAM
(Dynamic Random Access Memory) using an on-chip DRAM controller
4.3 C-BUS Control
C-BUS is the controlling hardware and software interface for all members of the DBS800 family. It enables the serial, bidirectional transfer of commands and data throughout the system, allowing total flexibility of operational control and data
handling. System upgrades can be achieved by a simple software or firmware change.
The C-BUS physically consist of 5 lines. These lines are Serial Clock, Command Data, Reply Data, Chip Select (
and Interrupt Request (
). A description of each may be found in section 2.
IRQ
CS),
5. Application
Control of the MX803A Audio Signaling Processor's operation is by communication between the µC and the MX803A
internal registers on the C-BUS using Address/Commands (A/Cs) and appended instructions or data. See Figure 8. The
use and content of these instructions is detailed in the following sections.
For additional application information contact MX•COM, Inc.
5.1 MX803A Internal Registers
Write only, control and configuration of the MX803A.
Control Register
Status Register
RX Tone Frequency Register
RX Notone Timer
TX Tone Generator 1 Register
TX Tone Generator 2 Register
General Purpose Timer Register
30
H
Read only, reporting of device functions.
31
H
Read only, indicates frequency of the last received input.
32
H
Write only, setting of the RX Notone period.
33
H
Write only, setting the required output frequency from TX Tone Generator 1.
34
H
Write only, setting the required output frequency from TX Tone Generator 2.
35
H
Write only, setting of a general purpose sequential time period.
Audio Signaling Processor9MX803A PRELIMINARY INFORMATION
5.2 Address/Commands
The first byte of a loaded data sequence is always recognized by the C-BUS as an Address/Command (A/C) byte.
Instruction and data transactions to and from this device consist of an A/C byte followed by further instruction/data or a
status/data reply.
Instructions and data are loaded and transferred via C-BUS in accordance with the timing information given in Figure 8
and Figure 9. Table 1 shows the list of A/C bytes relevant to the MX803A.
Command AssignmentAddress/Command (A/C) Byte Data Bytes
HexBinary
msb lsb
General Reset0100000001
Write to Control Register3000110000+ 1 byte instruction to Control Register
Read Status Register3100110001+ 1 byte reply from Status Register
Read RX Tone Frequency3200110010+ 2 bytes reply from RX Tone Register
Write to Notone Timer3300110011+ 1 byte instruction to Notone Register
Write to TX Tone Gen. 13400110100+ 2 bytes instruction to TX Tone Gen. 1
Write to TX Tone Gen. 23500110101+ 2 bytes instruction to TX Tone Gen. 2
Write to G/Purpose Timer3600110110+ 1 byte instruction to G/Purpose Timer
Audio Signaling Processor10MX803A PRELIMINARY INFORMATION
5.2.1 Write to Control Register
A/C 30
, followed by 1 byte of Command Data
H
Audio Switch:
General Purpose Timer:
Interrupt Enable Instructions:
Band Selection:
Summing Switch:
Interrupt Designation:
Enables or Disables the stand-alone on-chip Audio Switch.
This should be set up before interrupts are enabled since a General Reset command
will set the timer period to 00
- 0ms (permanent interrupt).
H
Status bits 0, 1 and 2 are produced regardless of the state of these settings.
Bits 2 and 3 set the required frequency range. See Figure 4.
Used to Enable or Disable the switch that controls the MX803A output.
Decoder Interrupts
Notone Timer and RX Tone Measurement
Transmitter Interrupt
G/Purpose Timer Interrupt
SettingControl Bits
MSBTransmitted First
Bit 7Audio switch
1Enable
0Disable
Bit 6G/Purpose Timer Interrupt
1Enable
0Disable
Bit 5Decoder Interrupts
1Enable
0Disable
Bit 4Summing Switch
1Enable
0Disable
Bit 3Bit 2Band Selection
00High Band
01Mid Band
10Extended Band
11Do not use this setting
Audio Signaling Processor11MX803A PRELIMINARY INFORMATION
5.2.2 Read Status Register
A/C 31
Interrupt Requests (IRQ):
, followed by 1 byte of Reply Data
H
Interrupts on this device are available to draw the attention of the µC to a change in the
condition of the bit in the status register. However, bits are set in the status register irrespective of the setting of interrupt
enable bits (Table 2) and these changes may be recognized by polling the register.
General Purpose Timer Period:
Set to a logic “1” when the timer period has expired. Cleared to a logic “0” by:
1. Reading the Status Register
2. New G/Purpose Timer information
3. General Reset command
Notone Timer Period:
Set to a logic “1” when the timer period has expired. Cleared to a logic “0” by:
1. Reading the Status Register
2. New Notone Timer information
3. General Reset command
RX Tone Measurement:
Set to a logic “1” when the RX Tone Measurement is complete. Cleared to a logic “0” by:
Audio Signaling Processor12MX803A PRELIMINARY INFORMATION
5.2.3 TX Tone Generator Registers 1 and 2
Each TX Tone Generator is controlled individually by writing a two-byte command to the relevant TX Tone Generator
Register. The format of this command word, which is different for each tone generator, is shown below with the
calculations required for tone frequency (f
) generation described in the following text.
TONE
5.2.3.1 Write to TX Tone Generator 1 Register
A/C 34
, followed by 2 bytes of Command Data
H
MSB
(loaded first)
Bit NumbersLSB
(loaded last)
1514131211109876543210
00Notone/EnableThese 13 bits (0 to 12) are used to produce a binary number,
designated ‘A’. ‘A’ is used in the formulas below to set the TX
Tone 1 frequency (f
TONE
1).
Table 4: Tx Tone Generator 1
5.2.3.1.1 SETTING TX TONE GENERATOR 1
The binary number produced by Bits 0 to 12 (MSB) is designated “A.” If “A” = all logic “0” TX Tone Generator 1 is
Powersaved.
Bit 13 at logic1=Tone 1 Output at V
(NOTONE)
BIAS
0=Tone 1 Output Enabled
Bits14 and15(MSB) must be logic 0
5.2.3.2 Write to TX Tone Generator 2 Register
A/C 35
MSB
(loaded first)
, followed by 2 bytes of Command Data
H
Bit NumbersLSB
(loaded last
1514131211109876543210
0CAL/CUESNotone/EnableThese 13 bits (0 to 12) are used to produce a binary number, designated
‘B’. ‘B’ is used in the formulas below to set the TX Tone 2 frequency
(f
2).
TONE
Table 5: Tx Tone Generator 2
Write to TX Tone Generator 2 Register Notes:
Programming Tone Generator 2 to Notone will place the CAL/CUES output at V
Programming Tone Generator 2 to Powersave will place the CAL/CUES output at V
via a 40kΩ internal resistor.
BIAS
.
SS
If both Tone Generators are Powersaved, the Input Amplifier is also Powersaved
5.2.3.2.1 SETTING TX TONE GENERATOR 2
The binary number produced by bits 0 to 12 (MSB) is designated “B.” If “B” = all logic “0” then TX Tone Generator 2 is
Audio Signaling Processor13MX803A PRELIMINARY INFORMATION
g
5.2.3.3 Calculations
As seen in Table 4 and Table 5, a binary number (“A” or “B” - bits 0 to 12) is loaded to the respective TX Tone Generator.
The formulas described below are used to produce the required output frequency.
Required TX Tone output frequency=f
Xtal/clock frequency=f
TONE
XTAL
1 or 2
Input Data Word (bits 0 to 12)=“A” or “B”
f =
TONE
f
XTALXTAL
××
4 'A' or 'B'
Hz or Input 'A' or 'B' =
f
4 f
Hz
TONE
5.2.3.4 Tx Tone Frequencies
With reference to Table 4 and Table 5, while Input Data Words “A” or “B” can be programmed for frequencies outside the
stated limits of 208Hz and 3000Hz, any output frequencies obtained may not be within specified parameters. See
section 7.
5.2.4 Read RX Tone Frequency Register
A/C 32
5.2.4.1 Measurement of RX Signal Frequency S
, followed by 2 bytes of Reply Data
H
IN
The input audio signal, SIN, is measured in the Frequency Counter over a specified measurement period (9.125ms or
18.250ms).
The measuring function counts the number of complete input cycles occurring within the count period and then the
number of measuring clock cycles necessary to make up the period.
When the count period of a successful decode is complete, the RX Tone Measurement bit in the Status Register and the
Interrupt bit are set.
The RX Tone Frequency Register will now indicate the signal frequency S
in the form of 2 bytes (1 and 0) as illustrated
IN
in Figure 6.
Note:
The following measurements are based on a clock frequency of 4.032 MHz. See section 5.2.4.4 for a scaling
formula for other crystal values).
Measurement Period
Complete
Input
Cycle
FILTERED AUDIO INPUT SIGNAL 2 x S
Complete
Input
Cycle
Figure 5: Measurement of an Rx Frequency
Complete
Input
Cycle
N
Complete
Input
Cycle
INPUT
Complete
Input
Cycle
Measuring
Clock
Cycles
R
5.2.4.2 The Integer (N) - Byte 1
This is a binary number representing twice the number of complete input audio cycle periods. It is counted during the
specified measurement period (t), when (t) is:
Hi
h Band Decode=9.125ms
Mid Band Decode=18.250ms
Extended Band Decode=9.125ms
Note
: See section 5.2.4.4 for calculation of measurement period (t) using a Xtal other than 4.032MHz.
Audio Signaling Processor15MX803A PRELIMINARY INFORMATION
5.2.5.2 Mid Band Measurement
- MID BandN and R - High Band
S
IN
In the measurement period of 18.250ms, there are N cycles
and R clock cycles at 28.000kHz.
at 2S
IN
The measurement period = 18.250ms.
Clock Frequency = 28.000kHz
The measured frequency = 2S
Hz
IN
In the measurement period there are:
N
2
S
IN
+
R
28000
= 18.250ms
from which S =
IN
14000 x N
511 - R
()
2SIN x 18.250 x 10 cycles
N
is the lower integer value of the decimal number:
MID
N = INT (18.250 x 10 x 2S )
R
is the lower integer value of the decimal number:
MID
R = INT (18.250 x 10 -
-3
-3
IN
-3
N
) x 28000
2S
IN
5.2.5.3 Extended Band Measurement
- Extended BandN and R - High Band
S
IN
In the measurement period of 9.125ms, there are N cycles
and R clock cycles at 56.000kHz.
at 2S
IN
The measurement period = 9.125ms.
Clock Frequency = 56.000kHz
The measured frequency = 2S
Hz
IN
In the measurement period there are:
N
2
S
IN
+
R
56000
= 9.125ms
from which S =
IN
28000 x N
511 - R
()
2SIN x 9.125 x 10 cycles
N
EXTENDED
is the lower integer value of the decimal number:
N = INT (9.125 x 10 x 2S )
R
EXTENDED
is the lower integer value of the decimal number:
R = INT (9.125 x 10- 3 -
-3
-3
IN
N
) x 56000
2S
IN
5.2.6 Write to RX Notone Timer Register
A/C 33
, followed by 1 byte of Command Data
H
5.2.6.1 Operation of the RX Notone Timer
A NOTONE period is that period when no signal or a consistently bad quality signal is received. The NOTONE Timer is
employed to indicate to the µC that a NOTONE situation has existed for a predetermined period.
The NOTONE Timer period is “primed” by writing to the NOTONE Timer Register (33
) using the instructions and
H
information (1 data byte) given in Table 6. This timer register can be written-to and set in any mode of the MX803A
except “Notone Timer Powersave.” Priming the timer sets the timing period; this period will not be allowed to start until at
least one frequency (tone) measurement has been successfully completed.
The NOTONE Timer is a one-shot timer that is reset only by successful tone measurements.
If the quality of the received signal drops to an unusable level the NOTONE Timer will start its run-down. On completion
of this timer period, the NOTONE Timer Period Expired bit in the Status Register and an Interrupt are set.
Upon detection of the Interrupt, the Status Register should be read by the µC to ascertain the source of the Interrupt.
5.2.6.2 NOTONE TIMER CIRCUITRY
The following situations may be encountered by the Notone Timer Circuitry
5.2.6.2.1 No Signal
The Notone timer can only start its run down on completion of a valid frequency measurement.
5.2.6.2.2 No signal after a valid Tone measurement
The timer will start to run down when the last RX Tone Measurement complete bit is set. At the end of the “primed” period
the NOTONE Timer Period Expired bit in the Status Register and the Interrupt will be set.
5.2.6.2.3 Signal fades after a valid Tone measurement
The timer will start to run down when the signal becomes unreadable to the device. At the end of the “primed” period the
NOTONE Timer Period Expired bit in the Status Register and the Interrupt will be set.
5.2.6.2.4 Signal appears after the Timer has started
If the frequency measurement is more than 75% complete when the timer period expires, neither the NOTONE bit nor the
Interrupt will be set unless that frequency measurement is subsequently aborted.
Audio Signaling Processor17MX803A PRELIMINARY INFORMATION
SIGNAL INPUT
S
INPUT
"RX Measure
Complete" Set
NOT ONE TIMER
Timing Period "Primed"
S
INPUT
"RX Measure
Complete" Set
NOT ONE TIMER
Timing Period "Primed"
"RX Notone Timer Expired" and Set
S
INPUT
"RX Measure
Complete" Set
Timing Period "Not Reset"
Signal Lost and Recovered
Va lid To ne
"RX Measure
Complete" Set
Signal Fades
"RX Measure
Complete" Set
"RX Measure
Complete" Set
"RX Measure
Complete" Set
NOT ONE TIMER
Timing Period "Primed"
"RX Notone Timer Expired" and Not Set
Timing Period "Reset"
Figure 7: Notone Timing
5.2.7 Write to General Purpose Timer Register
A/C 36
, followed by 1 byte of Command Data
H
5.2.7.1 Operation of the General Purpose Timer
This timer, which is not dedicated to any specific function within the MX803A, can be used within the DBS 800 system to
indicate time-elapsed periods of between 10-150ms in the High Band or 20-300ms in the Mid Band to the µC. Setting of
the timer is by loading a single byte data word via the C-BUS (See Table 7) to the MX803A through the Command Data
line.
The timer will be reset and the run-down started on completion of Timer Data Word loading.
When the programmed time period has expired, the General Purpose Timer Expired bit (bit 2) in the Status Register and
the Interrupt are set.
The General Purpose Timer Expired bit is cleared:
Various sections of the MX803A can be placed independently into a power-economical condition. Table 8 gives a
summary of these states available to the MX803A.
Powersaved SectionInstruction SourceTable
Tone Encoder 1TX Tone Gen. 1 Reg. (34H)All bits = “0”Table 4
Tone Encoder 2TX Tone Gen. 2 Reg. (35H)All bits = “0”Table 5
Input AmplifierThis action is automatic when both Tone Encoders
are in the Powersave condition
Table 8: MX803A Powersave Functions
5.3.1 Powersave Conditions
Xtal/Clock and C-BUS
: This circuitry is always active, on all DBS 800 ICs, under any depowered/powersaved conditions
Audio Signaling Processor19MX803A PRELIMINARY INFORMATION
5.4 Interrupt Request IRQ
An Interrupt (IRQ), when enabled, is provided by the MX803A to indicate the following conditions to the µC.
Notone Timer Period
Expired
EnabledBy control Resister bit 5By control Resister bit 6By control Resister bit 5
SetWhen the preset Notone Flag
is set
IdentifiedBy Status Register bit 1By Status Register bit 2By Status Register bit 0
ClearedBy reading the Status RegisterBy reading the Status RegisterBy reading the Status Register
On recognition of the “Read Status” Command byte, the interrupt output is cleared, the Status bits are transferred to the
µ
C via the C-BUS Reply Data line and the internal Status bits are cleared.
G/Purpose Timer Period
Expired
When the General Purpose Timer
has timed out.
Table 9: Interrupt Request
Rx Tone Measurement
Complete
When an RX Frequency
Measurement has been
successfully completed
5.5 Operational Recommendations
Following initial system power-up, a General Reset command should be sent.
5.5.1 Receive Sequence
1. Send Control Command for RX: Select Midband/Highband and Digital Filter length.
2. Disable transmitters if desired by writing to Tone Frequency registers.
3. Prime the Notone timer by sending the required period byte.
4. Enable/disable interrupts as desired.
5. When a valid tone has been detected by a successfully completed measurement the Status Register is set to “Tone
Measurement Complete” and an interrupt is set to the µC.
6. The µC examines the Status Register. If tone measurement is complete, it reads in the RX Tone Frequency in the
form N + R (Figure 6).
7. RX Tone Measurement Complete interrupts are periodically sent to the µC unless Notone is detected, in which case a
Notone Interrupt is sent.
5.5.2 Transmit Sequence
1. Set Tone Frequency Generators to Notone during the transmitter initialization period.
2. Send Control Command for TX: Select Sum/Switched Sum Out and Audio Switch states.
3. Send General Purpose (GP) Timer information for the Notone transmitter initialization period. This will initiate the
timer.
4. Enable/disable interrupts as desired.
5. µC waits for “GP Timer Expired,” reads the Status Register to check interrupts due to timer, and resets the Status Bit.
If required, the µC sends the next timer period followed by the next tone(s) frequency information. A new timer period
sent will reset the timer, otherwise the timer is self-resetting.
6. The µC monitors the interrupts and repeats steps 5 and 6 as required.
7. After last loaded tone, µC turns off Tone Generator(s).
Audio Signaling Processor20MX803A PRELIMINARY INFORMATION
5.6 General Reset
Upon power-up the bits in the MX803A registers will be random (either “0” or “1”). A General Reset Command (01H) will
be required to reset all microcircuits on the C-BUS. It has the following effect on the MX803A:
Control RegisterSet as 00
Status Register (bits 0, 1, 2)Set as 00
Notone TimerSet as 00
Tone Gen. 1 Reg. (2 bytes)Set as 0000
Tone Gen. 2 Reg. (2 bytes)Set as 0000
Gen. Purpose Reg.Set as 00
H
H
H
H
H
H
Table 10: General Reset effect on MX803A
This sets the MX803A to Encoder High Band (625Hz to 3000Hz) with interrupts disabled and both timers set to 00
Both timers should be set up before interrupts are enabled to prevent initial, undesired interrupts.
6. Timing Information
Figure 8 shows timing parameters for two-way communication between the µC and the MX803A on the C-BUS.
Audio Signaling Processor21MX803A PRELIMINARY INFORMATION
ParameterMinTypMaxUnit
t
CSE
t
CSH
t
CSOFF
t
NXT
t
CK
t
CH
t
CL
t
CDS
t
CDH
t
RDS
t
RDH
t
HIZ
Chip Select Low to First Serial Clock Rising Edge2.0
Last Serial Clock Rising Edge to Chip Select High4.0
Chip Select High2.0
Command Data Inter-Byte Time4.0
Serial Clock Period2.0
µ
µ
µ
µ
µ
Decoder or Encoder Clock High500ns
Decoder or Encoder Clock Low500ns
Command Data Set-Up Time250ns
Command Data Hold Time0ns
Reply Data Set-Up Time250ns
Reply Data Hold Time50.0ns
Chip Select High to Reply Data High - Z2.0
µ
s
s
s
s
s
s
Table 11: Timing Information
Timing Information Notes
1. Command Data is transmitted to the peripheral MSB (bit 7) first, LSB (bit 0) last. Reply Data is read from the MX803A
MSB (bit 7) first, LSB (bit 0) last.
2. Data is clocked into the MX803A and into the µC on the rising Serial Clock edge.
3. Loaded data instructions are acted upon at the end of each individual, loaded byte.
4. To allow for differing µC serial interface formats, the MX803A will work with either polarity Serial Clock pulses.
SERIAL CLOCK
70% VDD
30% VDD
(from C)
REPLY DATA
(to C)
t
t
RDS
RDH
t
CDS
t
CK
t
CL
t
CH
t
CDH
COMMAND DATA
(from C)
Figure 9: Timing Relationship for C-BUS Information Transfer