
Preliminary
DSP for Digital Answering phone with FLASH interface
KS16121
SPEAKERPHONE
In this mode, the KS16121 performs a speakerphone algorithm with LEC, AEC and programmable parameters.
This mode uses both codec 1 and codec 2 inputs and outputs. Codec 1 is used for the line interface. Codec
2 is used for the microphone input and speaker output.
The host can make the KS16121 to perform the speakerphone algorithm by issuing the SP0 instruction. The
SP0 instruction sets all programmable parameters including Mic input sensitivity, Line input sensitivity, Speaker
output volume, and Line output volume. The SP1 instruction can modify Speaker output volume and Line
output volume. The KS16121 monitors the incoming signal to detect the CPE alerting signal in this mode.
By issuing the SP2 instruction, the host can acquire the detection result of the CPE alerting signal in the
status field , CE , and may force the KS16121 to receive the Caller - ID information.
The Host can issue a command every 0.5 ms in this mode. The SPEAKERPHONE mode terminates with an
idle command.
To get better knowledge for the applications of this mode, please refer to Appendix B.
READ CALLER-ID
The KS16121 provides a storage of 40 48-byte Caller-ID information . To read pre-stored Caller-ID information , the
host should issue CR0 command with the CND ID ranged from 0 to 0 x 27, and the KS16121 duplicates the CR0
command for its status word. After receiving the status words , the host issues CR1 command to read each byte of
CND INFORMATION . If the host tries to read more than 48 bytes, the KS16121 returns status word with CS bit set
to 1 and 0 CND INFORMATION. The READ CALLER-ID mode terminates with an idle command.
WRITE CALLER-ID
To write caller -ID information , the host should issue CW0 command with the CND ID ranged from 0 to 0 x 27, and
the KS16121 duplicates the WR0 command for its status word. After receiving the status, the host issues CW1
command with CND INFORMATION field. If the host tries to write more than 48 bytes, the KS16121 returns status
word with CS bit set to 1.
The WRITE CALLER-ID mode terminates with an idle command.
DETECT CALLER-ID
The host can make the KS16121 to receive the Caller-ID information regardless of on-hook or off-hook transmission by
issuing the DETECT CALLER-ID instruction. Then, after issuing the instruction, the host can acquire the current status of
the receiver or the received ASCII bytes by reading the status word. The received byte is meaningful only when the
status bit RM is set. The Checksum Word is also passed to the host. So the host should recompute the checksum and
compare to the received Checksum Word to verify whether the message frame has been correctly received.
The DETECT CALLER-ID instruction can be given when the HREQB is active low.
The DETECT CALLER-ID mode terminates with an idle command.