FEDL22660-01
ML22660
Command error detection
Set the command error detection with the WCMEN bit of the SAFE command. It is possible to detect two kinds of errors.
①
Specify phrases exceeding the number of phrases set by the dedicated tools (Speech LSI Utility) with PLAY2 or FADR2
command.
Set the number of phrases (1024, 2048, 3072 or 4096) to use when creating sound data in the Speech LSI Utility. If you
specify a phrase that exceeds the number of phrases specified by the Speech LSI Utility with the PLAY2 or FADR2
command, an error in the command is detected and the error bit (WCMERR) is set to "1".
②
The first and second command mismatch in the two-times input mode.
This LSI has a function to input various commands and data two-times to prevent malfunction due to noise at the serial
interface pin. The setting of the two-times input mode is made at power-up. Refer to the "PUP command" for the setting
method.
In the two-times input mode, the command data is input two-times in succession, and it is valid only when the input data
matches. If a mismatch occurs during the second data input after the first data input, an error in the command is detected and
the error bit (WCMERR) is set to "1".
Error bit (WCMERR) can be read with RDERR command. Also, error bit (WCMERR) can be cleared by ERRCL command.
*1 Misoperation detection and failure detection outputs are selected by OUTSTAT command.
Command
STATUSn pin
*1
(n
:
1 or 2)
WCMERR
Command
1st
Command
2nd
ERRCL Command
1st
ERRCLCommand
2nd
27/116
Summary of Contents for LAPIS Semiconductor ML22660
Page 107: ...FEDL22660 01 ML22660 107 116 ...