12
Controlling Protocol ......
NOTONE Timer Period
Expired
Enabled: By Control Register Bit 5.
Set: When the preset Notone Flag is
set.
Identified: By Status Register Bit 1.
Cleared: By reading the Status
Register.
G/Purpose Timer
Period Expired
Enabled: By Control Register Bit 6.
Set: When the General Purpose Timer
has timed out.
Identified: By Status Register Bit 2.
Cleared: By reading the Status
Register.
Rx Tone Measurement
Complete
Enabled: By Control Register Bit 5.
Set: When an Rx Frequency
Measurement has been successfully
completed.
Identified: By Status Register Bit 0.
Cleared: By reading the Status
Register.
On recognition of the “Read Status” Command byte, the interrupt output is cleared, the Status Bits are transferred to the
µController via the “C-BUS” Reply Data line and the internal Status Bits are cleared.
Operational Recommendations
It is recommended that, following initial System power-up a General Reset command is sent to the FX803.
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 N
OTONE Timer by sending the required
period byte.
4. Enable Decoder 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 sent to the µC.
6. The µC examines the Status Register, if tone
measurement is complete, 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 N
OTONE is detected,
in which case a NOTONE Interrupt is sent.
Transmit Control Sequence
1. Set Tone Frequency Generators to V
BIAS
(setting
both tone generators (Bit 13 = “1”)) during the
transmitter initialization period.
2. Send Control Command for Tx:
Select Sum/Switched Sum o/p and Audio Switch
states.
3. Send General Purpose (GP) Timer information for the
V
BIAS
(NOTONE) transmitter initialization period (Step 1).
This will initiate the timer.
4. Enable the General Purpose Timer interrupt.
5. µC waits for “GP Timer Expired;” Reads the Status
Register to check interrupt due to timer; 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-sequencing.
6. The µC monitors the interrupts and repeats 5 & 6 as
required.
7. After last loaded tone the µC turns off the Tone
Generator(s) by setting tone outputs to V
BIAS
(NOTONE)
(Tables 4 and 5).
General Reset
Upon Power-Up the “bits” in the FX803 registers will be
random (either “0” or “1”). A General Reset Command
(01H) will be required to “reset” all microcircuits on the
“C-BUS,” and has the following effect upon the FX803.
Control Reg. Set as 00
H
Status Reg. Bits 0, 1, 2.) Set as 00
H
NOTONE Timer Reg. Set as 00
H
Tone Gen. 1 Reg. (2 bytes) Set as 0000
H
Tone Gen. 2 Reg. (2 bytes) Set as 0000
H
Gen/Purpose Reg. Set as 00
H
Sets the FX803 to:
Encoder High Band (625Hz to 3000Hz) – with interrupts
disabled, both timers set to 00H.
It is recommended that both timers are set-up before
interrupts are enabled, to prevent initial, undesired interrupts.
Glossary of Abbreviations
Below is a list of abbreviations used within this Data
Sheet.
f
XTAL
Xtal/clock frequency
S
INPUT
Audio input signal
f
TONE
Tone frequency
Interrupt Requests
An Interrupt (IRQ), when enabled, is provided by the FX803 to indicate the following conditions to the µController.