![](http://datasheet.mmic.net.cn/300000/KS16121_datasheet_16200455/KS16121_27.png)
Preliminary
DSP for Digital Answering phone with FLASH interface
KS16121
TONE DETECTION
This mode monitors the incoming signal for the presence of DTMF, call progress tones, and CPE alerting
signal. While in this mode, the KS16121 checks a new host instruction every 20 msec and returns a
status word for response to a new command. The result of the detection is passed to the host, in the
status fields, DTMF , CPT and CE parameter.
READ MEMORY STATUS
When a read memory status instruction is issued by the host, the KS16121 sends the information of the
number of messages stored, through the status word and returns to the IDLE mode.
READ DATA
The KS16121 provides a storage of 128 16-bit words that may contain any information including telephone
numbers. When the read data command is issued, the status word contains the data specified in the DATA
ID field of the instruction and the KS16121 returns to the IDLE mode.
WRITE DATA
The D0 instruction specifies the index of data to be stored.
The KS16121 then writes the 16-bit data in D1, stores it and returns to the IDLE mode.
READ ATTRIBUTE
When the read attribute instruction is issued by the host, the KS16121 sends out the 16-bit attribute of the
message specified by the MESSAGE ID and MA field of the instruction, and returns to the IDLE mode.
Note that each message has two attributes, identified by the MA filed.
An invalid message index in the instruction causes the KS16121 to return to the IDLE mode with the status
of 0x7000.
SET / CHANGE ATTRIBUTE
An S0 instruction is entered by the host to set a message attribute with MA = 0 or 1. The host then writes
the 16-bit attribute in the following S1 instruction. The KS16121 attaches this attribute to the next message to
be stored. The host may change an attribute of an existing message with the change attribute instructions.
The U0 instruction specifies the index of message and the type of attribute to be changed, followed by the
16-bit attribute data ( U1).