English
Language : 

ISD2360SYI Datasheet, PDF (17/32 Pages) List of Unclassifed Manufacturers – Digital ChipCorder with Embedded Flash 3-Channel Audio Playback
PRELIMINARY DATASHEET
Figure 9-1 ISD2360 Signal Path
10 GPIO VOICE MACRO TRIGGERS
The ISD2360 Voice Macro capability and GPIO flexibility allows the user to configure the device to
operate independently of the SPI interface or host micro-controller.
GPIO triggering utilizes the Jump registers R0 through R6. When a GPIO trigger event occurs the
ISD2360 executes the Voice Macro whose index is stored in the corresponding Jump register: that is
GPIO0 will execute the VM whose index is stored in R0, GPIO1 in R1 etc. The initial values of the R0-
R6 registers can be set up in the POI Voice macro which is executed when a power-on reset condition
is detected. When the ISD2360 responds to a trigger event, if a Voice Macro is currently being
executed, that Voice Macro is first stopped before execution of new Voice Macro.
10.1
ASSIGN PLAYBACK CHANNEL FOR THE GPIO TRIGGER
For each GPIO pins, Register 0x14 and 0x15 can assign the playback channel for that GPIO. So once
triggered, the playback audio streaming will be routed to that channel.
10.2
VOICE MACRO EXAMPLES
Below are some useful examples demonstrating the features Voice trigger macros. The example
project can be found in the ISD2360VPE distribution as the ISD2360example project.
10.2.1 POI/PU/WAKEUP Voice Macros
These special purpose Voice Macros allow the user to configure the ISD2360 for subsequent trigger
events. The POI macro is executed when the chip receives an internal power-on reset condition or the
SPI SW_RESET command is sent.
The POI Voice macro is used to configure the ISD2360 for subsequent trigger events, for example:
a. CFG(REG2, 0x44)
; Configure signal path to playback
b. CFG(VOLC, 0x00)
; Set Volume to 0dB
c. CFG(R5, 0x03)
; Set Jump register R5 to 0x03, GPIO5 to trigger VM#3
d. CFG(R4, 0x07)
; Set Jump register R4 to 0x07, GPIO4 to trigger VM#7
e. CFG(R3, 0x09)
; Set Jump register R3 to 0x09, GPIO3 to trigger VM#9
f. CFG(R2, 0x0a)
; Set Jump register R2 to 0x0a, GPIO2 to trigger VM#A
- 17 -
Publication Release Date: 4/21/2012
Revision 0.3