
MSAN-144
Application Note
A-236
Figure 5 - Micro-Controller and Serial-to-Parallel Converter
DATA
DCLK
DR
PWDN
R1
R2
VDD
A
CK
QA
QB
QC
QD
QE
QF
QG
QH
MT8841
U1
CD
RELAY
RD
Micro-Controller
P2.0
P2.1
P2.2
D7
D6
D5
D4
D3
D2
D1
D0
D7
D6
D5
D4
D3
D2
D1
D0
P1.0
P1.1
P1.2
P1.3
P1.4
P1.5
P1.6
P1.7
INT1
INT0
Components List:
U1
R1,2
74HC164 Serial-to-Parallel
Shift Register
10k, 1/2W 1%, Resistor Metal
Notes:
1.
2.
3.
Decoupling not shown.
U1 powered from +5V.
The micro-controller is
symbolic and circuitry
may vary depending
upon micro selected.
code for the caller identification for all of the chips,
and no UARTs would be required. The micro-
controller would then pass on the data to the
receiving station set according to the PBX protocol.
In this CNIC card application, all DR signals are tied
into a single interrupt on the micro-controller. Each
CNIC DATA and DR output is connected into a serial
to parallel shift register with a tri-state output enable.
The tri-state outputs are all bussed together and
connected to an input port of the micro-controller. All
shift register tri-state output enables are driven by an
output port. All DR signals are also input to another
input port. Upon receiving an interrupt, the micro-
controller polls the DR lines to determine which
CNIC has delivered data to its shift register. The
micro-controller then enables the tri-state output
corresponding to the activated DR and reads the 8
bit data at its input port (see Fig. 6)
A Final Word
Caller ID and related technologies will open up many
new applications for both telephone companies and
their customers. The technology promises to help us
gain control over the telephone instead of it
controlling us. Best of all, the technology is relatively
simple
and
easily
implemented,
inexpensive devices now available on the market.
using
the