ISD3900
Publication Release Date: Dec 10, 2013
- 60 -
Revision 1.5
13 SPI COMMANDS
The ISD3900 provides SPI commands including: (1) 13 audio play and record commands, (2) 5 device
status commands, (3) 4 digital commands, and (4) 6 device configuration commands.
The following section contains a list of all SPI commands and their function.
Table 13-1 SPI Commands
Instructions
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4 … Byte n
Description
0xA6 Index[15:8] Index[7:0]
Play Voice Prompt Index
0xAE
n = 0 …7
Play Voice Prompt; Index @ Rn
0xB0 Index[15:8] Index[7:0]
Execute voice macro Index
0x38
Record message
0x3A
A[23:16]
A[15:8]
A[7:0]
Record message starting at
address A.
0x3C
A[23:16]
A[15:8]
A[7:0]
Off[15:8], Off[7:0]
Play message starting at address
A offset by OFF sectors.
0xA8
LEN[7:0]
Play silence for LEN*32ms
0x2A
STOP current playback or record
operation.
0x3E
A[23:16]
A[15:8]
A[7:0]
Erase message starting at
address A.
0xAA
D0[7:0]
D0[15:8]
D1[7:0]
D1[15:8] …Dn[7:0] Dn[15:8]
Send 16 bit PCM audio data [low-
byte, high-byte] to I3900 via SPI
interface.
0xAC
D0[7:0]
D0[15:8]
D1[7:0]
D1[15:8] …Dn[7:0] Dn[15:8]
Receive 16 bit PCM audio data
[low-byte, high-byte] from I3900
via SPI interface.
0xC0
D0[7:0]
D1[7:0]
D2[7:0]
D3[7:0] …Dn[7:0]
Send compressed audio data to
I3900 via SPI interface for
decoding.
0xC2
D0[7:0]
D1[7:0]
D2[7:0]
D3[7:0] …Dn[7:0]
Receive compressed (encoded)
audio data from I3900 via SPI
interface.
0x40
XX
XX
XX
…
Query status of I3900.
0x46
XX
XX
XX
…
Query status and clear interrupt
flags of I3900.
0x42
XX
XX
XX
XX, XX
Query message address details
of audio record. Returns start
address A and current sector
length LEN.