ISD4002 SERIES
Publication Release Date: September 2003
- 13 - Revision 1
Microcontroller Interface
A four-wire (SCLK, MOSI, MISO &
SS ) SPI interface is provided for controlling and addressing
functions. The ISD4002 is configured to operate as a peripheral slave device, with a microcontroller-
based SPI bus interface. Read and write operations are controlled through this SPI interface. An
interrupt signal (INT ) and internal read only Status Register are provided for handshake purposes.
Programming
The ISD4002 series is also ideal for playback-only applications, where single- or multiple-messages
playback is controlled through the SPI port. Once the desired message configuration is created,
duplicates can easily be generated via a programmer.
7.2. S
ERIAL PERIPHERAL INTERFACE (SPI) DESCRIPTION
The ISD4002 series operates via SPI serial interface with the following protocol.
First, the data transfer protocol assumes that the microcontroller’s SPI shift registers are clocked on
the falling edge of the SCLK. However, for the ISD4002, the protocols are as follows:
1. All serial data transfers begin with the falling edge of
SS pin.
2.
SS is held LOW during all serial communications and held HIGH between instructions.
3. Data is clocked in on the rising edge of the SCLK signal and clocked out on the falling edge of
the SCLK signal, with LSB first.
4. Playback and record operations are initiated when the device is enabled by asserting the
SS
pin LOW, shifting in an opcode and an address data to the ISD4002 device (refer to the
Opcode Summary in the following page).
5. The opcodes contain <11 address bits> and <5 control bits>.
6. Each operation that ends with an EOM or Overflow will generate an interrupt. The Interrupt
will be cleared the next time a SPI cycle is initiated.
7. As Interrupt data is shifted out of the MISO pin, control and address data are simultaneously
shifted into the MOSI pin. Care should be taken such that the data shifted in is compatible
with current system operation. Because it is possible to read an interrupt data and start a new
operation within the same SPI cycle.
8. An operation begins with the RUN bit set and ends with the RUN bit reset.
9. All operations begin after the rising edge of
SS .
ISD4002 SERIES
- 14 -
7.2.1. OPCODES
The available Opcodes are summarized as follows:
TABLE 2: OPCODE SUMMARY
OpCodes
Instructions
Address (11 bits)
<A0 – A9, 0>
Control bits (5 bits)
C0 C1 C2 C3 C4
Descriptions
POWERUP <XXXXXXXXXXX> 0 0 1 0 0 Power-Up: Device will be ready for an operation after
T
PUD
.
SETPLAY <A0 A9, 0> 0 0 1 1 1 Initiates playback from address <A0-A9>.
PLAY 0 1 1 1 1 Playback from the current address (until EOM or OVF).
SETREC <A0 – A9, 0> 0 0 1 0 1 Initiates a record operation from address <A0-A9>.
REC 0 1 1 0 1 Records from current address until OVF is reached or
Stop command is sent.
SETMC <A0 – A9, 0> 1 0 1 1 1 Initiates Message Cueing (MC) from address <A0-A9>.
MC
[2]
1 1 1 1 1 Performs a Message Cueing from current location.
Proceeds to the end of message (EOM) or enters OVF
condition if no more messages are present.
STOP <XXXXXXXXXXX> 0 1 1 X 0 Stops the current operation.
STOPPWRDN <XXXXXXXXXXX> X 1 0 X 0 Stops the current operation and enters into standby
(power-down) mode.
RINT
[3]
<XXXXXXXXXXX> 0 1 1 X 0 Read Interrupt status bits: Overflow and EOM.
Notes:
C0 = Message cueing
C1 = Ignore address bit
C2 = Master power control
C3 = Record or playback operation
C4 = Enable or disable an operation
[2]
Message Cueing can be selected only at the beginning of a playback operation.
[3]
As the Interrupt data is shifted out of the ISD4002, control and address data are being shifted in. Care should
be taken such that the data shifted in is compatible with current system operation. It is possible to read interrupt
data and start a new operation at the same time. See Figures 5 - 8 for references.
ISD4002 SERIES
Publication Release Date: September 2003
- 15 - Revision 1
7.2.2. SPI Diagrams
Row Counter
Output Shift Register
Input Shift Register
Select Logic
MOSI
MISO
A0-A9
P0-P9
(Loaded to Row Counter
only if IAB = 0)
OVF EOM
FIGURE 3: SPI INTERFACE SIMPLIFIED BLOCK DIAGRAM
The following diagram describes the SPI port and the control bits associated with it.
OVF EOM
P0 P1 P2 P3 P4 P5
P6 P7 P8 P9 X 0 0 0
A0 A1 A2 A3 A4 A5 A6 A7 A8 A9 0 C0 C1 C2 C3 C4
MISO
MOSI
Message Cueing (MC)
Ignore Address Bit (IAB)
Power Up (PU)
Play/Record (P/R)
RUN
LSB MSB
FIGURE 4: SPI PORT

ISD4002-120S

Mfr. #:
Manufacturer:
Description:
IC VOICE REC/PLAY 120S 28-SOIC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union