“Read Status Register” – Address/Command, 61H, followed by 1 byte of Reply Data.
Function
Reading
Interrupts
An Interrupt Request (IRQ), (if enabled by the Control
Register) is produced by the FX802 to report the following
actions:
MSB
Bit 7
1
Power Reading
Ready
Power Reading Ready
Store Command Complete
Play Command Complete.
Store Command
Complete
6
1
When an Interrupt Request is produced the Status Register
must be read to ascertain the source of the interrupt. This
action will clear the IRQ output.
Play Command
5
Complete
1
Store Command Complete bit
(and an interrupt) is set on completion of a Store command.
This bit is cleared by loading the next Store command, or by
a General Reset command (01H).
Power Register
Pwr
Compand Bits/page
4
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
3
2
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
1
0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
2
3
4
5
6
7
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
Play Command Complete bit
(and an interrupt) is set on completion of a Play command.
This bit is cleared by loading the next Play command, or by a
General Reset command (01H).
Power Reading Ready bit
(and an interrupt) is set for every 1024 (1 page) voice-data
bits from the Encoder. This bit is cleared after reading the
Status Register, or by a General Reset command (01H).
-39.0 dB
-36.0
-33.5
-30.0
-28.0
-25.0
-22.0
-19.0
-16.0
-10.0
-6.0
8
10
12
14
16
18
20
22
24
32
40
48
56
64
72
80
88
128
192
256
320
384
448
512
Power Register
The power assessment element shown in Figure 1 assesses
the input signal power for each encoded ‘page’ (every 1024
encoder output bits) by counting the number of 'compand
bits' (000 or 111 sequences in the output bit-stream)
produced during that ‘page,’ shown in Table 6, with typical
encoder input power levels (dB).
Power Reading measurements (Bits 0 – 4) are produced
under the same conditions as in Figure 4.
At the end of each ‘page’ the “Power Reading Ready” bit of
the Status Register is set, an Interrupt Request is generated
(if enabled) and the resulting count converted to a 5-bit
quasi-logarithmic form.
The Power Register reading is interpreted as below.
00000 represents
00001 represents
11111 represents
0 compand bits
1 compand bit
512 compand bits
– the maximum.
0dB
This “Power” reading is placed in the Status Register
where it can be read by the µC.
Figure 4 shows this output in graphical form, indicating the
typical Input Power Level.
Table 6 Status Register
5-Bit Power Reading
(Status Register – bits 0 to 4)
30
20
Input Frequency
Sample Clock Rate = 32kb/s
0dBRef: =308mVrms
= 1.0kHz
10
0
308mVrms
0dB
-50
-40
-30
-20
-10
5.0
Average Input ‘Power Level’ (dB )
Fig.4 Typical “Power” Readings vs Input Level
10