Si3232
34
Preliminary Rev. 0.96
Not
Recommended
fo
r N
ew
D
esi
gn
s
4.5.2. Ground Key Detection
Ground key detection detects an alerting signal from the
terminal equipment during the tip open or ring open
linefeed states. The functional blocks required to
implement a ground key detector are shown in
Figure 15, and the register set for detecting a ground
primary input to the system is the longitudinal current
sense value provided by the voltage/current/power
monitoring circuitry and reported in the ILONG RAM
address. The ILONG value is produced in the ISP
provided the LFS bits in the linefeed register indicate
the device is in the tip open or ring open state.
The longitudinal current (ILONG) is computed as shown
for the transistor references used in the equation (Q1,
Q2,
Q5
and
Q6
–
note
that
the
Si3200
has
corresponding MOS transistors). The same ILONG
equation applies to the discrete bipolar linefeed as well
as the Si3200 linefeed device.
The output of the ISP (ILONG) is the input to a
programmable, digital low-pass filter, which removes
unwanted ac signal components before threshold
detection.
The low-pass filter coefficient is calculated using the
following equation and is entered into the LONGLPF
RAM location:
Where f = the desired cutoff frequency of the filter.
The programmable range of the filter is from 0h (blocks
all signals) to 4000h (unfiltered). A typical value of 10
(0A10h) is sufficient to filter out any unwanted ac
artifacts while allowing the dc information to pass
through the filter.
The output of the low-pass filter is compared to the
programmable threshold, LONGHITH. Hysteresis is
enabled
by
programming
a
second
threshold,
LONGLOTH, to detect when the ground key is released.
The threshold comparator output feeds a programmable
debounce filter.
The output of the debounce filter remains in its present
state unless the input remains in the opposite state for
the entire period of time programmed by the loop
closure debounce interval, LONGDBI. If the debounce
interval is satisfied, the LONGHI bit is set to indicate
that a valid ground key event has occurred.
When the Si3220/25 detects a ground key event, the
linefeed automatically transitions from the TIP-OPEN
(or RING-OPEN) state to the FORWARD-ACTIVE (or
REVERSE-ACTIVE) state. However, this automatic
state transition is triggered by the LCR bit becoming
active (i.e., =1), and not by the LONGHI bit.
While ILONG is used to generate the LONGHI status bit,
a transition from TIP-OPEN to the FORWARD-ACTIVE
state (or from the RING-OPEN to the REVERSE-
ACTIVE state) occurs when the RING terminal (or TIP
terminal) is grounded and is based on the LCR bit and
implicitly on exceeding the LCROFFHK threshold.
As an example of ground key detection, suppose that
the Si3220/25 has been programmed with the current
With the settings of Table 20, the behavior of ILOOP, ILONG, LCR, LONGHI, and CMHIGH is as shown in
Table 21. The entries under “Loop State” indicate the
condition of the loop, as determined by the equipment
terminating the loop. The entries under “LINEFEED
Setting” indicate the state initially selected by the host
CPU (e.g., TIP-OPEN) and the automatic transition to
the FORWARD-ACTIVE state due to a ground key
event (when RING is connected to GND). The transition
from state #2 to state #3 in
Table 21 is the automatic
transition from TIP-OPEN to FWD-ACTIVE in response
to LCR = 1.
I
LONG
I
Q1
I
Q6
–
I
Q5
–
I
Q2
+
2
----------------------------------------------------
=
LONGLPF
2
f 4096
800
---------------------------------
2
3
=
Table 20. Settings for Ground Key Example
ILIM
21 mA
LCROFFHK
14 mA
LCRONHK
10 mA
LONGHITH
7 mA
LONGLOTH
5 mA