English
Language : 

ISD2360SYI Datasheet, PDF (21/32 Pages) List of Unclassifed Manufacturers – Digital ChipCorder with Embedded Flash 3-Channel Audio Playback
PRELIMINARY DATASHEET
10.2.6 Example: Level Hold Trigger.
In this example holding GPIO1 will play several messages. Releasing GPIO1 will stop the playback.
No other triggers will affect operation.
 VM#C: R1_Level_Hold (GPIO1)
a. CFG(REG_GPIO_AF0, 0x02) ; Enable rising edge trigger for GPIO2
b. CFG(REG_GPIO_AF1, 0x02) ; Disable all triggers except GPIO2
c. CFG(R1, 0x0d)
; Set Trigger to VM#D (PD_R1)
d. CFG(REG1, 0x20)
e. LOOP_VP(Re,200)
f. Silence (32 ms)
g. LOOP_VP(Mi,4)
h. Silence (32 ms)
i. LOOP_VP(Fa,20)
j. Silence (32 ms)
k. CFG(REG1, 0x00)
l. PLAY_VP(applause)
m. PD
 VM#D: PD_R1
a. CFG(REG_GPIO_AF0, 0x00) ; Disable rising edge trigger
b. CFG(REG_GPIO_AF1, 0x3f) ; Re-enable all triggers.
c. CFG(REG1, 0x00)
; Ensure REG1 reset
d. CFG(R1, 0x0c)
; Set trigger to VM#C
e. PD
; Power Down.
11 CHANNEL SELECTION AND EXECUTION CONTROL
11.1
SELECT CHANNEL FOR THE PLYABCK AND MIXING
For any play command such as PLAY_VM or PLAY_VP, etc, the playback occurs in either one
channel or all three channels. In other words, user can either specify one single active channel for next
playback operation, or make the next play operation happen in all three channels. Channel selection
can be achieved by configuring register 0x0C.
To mix two different sound effects from two channels, e.g. channel #0 and channel #1, user can first
configure channel #0 as the active channel by writing 0bxxxxxx00 into register 0x0C, then send a play
command to play the first sound effect; then configure channel #1 as the active channel by writing
0bxxxxxx01 into register 0x0C, then send another play command to play the second sound effect. This
way sound effect mixing can be achieved.
By Default, play operations will always happen in channel #0.
11.2
EXECUTION CONTROL
- 21 -
Publication Release Date: 4/21/2012
Revision 0.3