English
Language : 

ISD2360SYI Datasheet, PDF (18/32 Pages) List of Unclassifed Manufacturers – Digital ChipCorder with Embedded Flash 3-Channel Audio Playback
PRELIMINARY DATASHEET
g. CFG(R1, 0x0c)
; Set Jump register R1 to 0x0c, GPIO1 to trigger VM#C
h. CFG(R0, 0x0e)
; Set Jump register R0 to 0x0e, GPIO0 to trigger VM#E
i. PLAY_VP(FastBeep)
; Play Voice Prompt FastBeep
j. CFG(REG_GPIO_AF1, 0xff) ; Set up GPIOs to trigger off falling edges
k. CFG(REG_GPIO_AF0, 0x00)
l. PD
; Power Down
This POI macro will initialize the GPIO configuration such that all GPIO triggers are enabled for falling
edges and performs initialization of the jump registers to point to appropriate Voice Macros. It also
configures the play path and plays a beep. At the end of the macro the chip powers down.
The GPIO_WAKEUP is executed whenever the device is triggered from a power down state.
a. CFG(REG2, 0x44)
; Configure signal path to playback
b. CFG(VOLC, 0x00)
; Set Volume to 0dB
c. CFG(R4, 0x07)
; Set Jump register R4 to 0x07, GPIO4 to trigger VM#7
d. CFG(R2, 0x0a)
; Set Jump register R2 to 0x0a, GPIO2 to trigger VM#A
e. Finish
; Exit Voice Macro, stay powered up.
This GPIO_WAKEUP macro sets up the play path as settings in these registers are reset during power
down. It also resets jump registers R4 and R2 to default conditions.
10.2.2 Example: Cycle through a sequence of messages.
In this example a high-to-low transition on GPIO5 will initially trigger VM#3 as defined in the POI
initialization macro. In VM#3 the Voice Prompt “One” is played and jump register R5 set to VM#4.
Thus the next high-to-low transition on GPIO5 will trigger VM#4 and play Voice Prompt “Two”.
Similarly next trigger will play “Three” then “Four” and back to “One”. Notice the difference in VM#4
where a WAIT_INTERRUPT command has been inserted before the setting of the jump register. If the
GPIO5/SW6 button is pushed rapidly, so that play is interrupted, “Two” will continue to be repeated.
Other Voice Macros, because the jump register is changed first, will always progress to the next step
in sequence.
 VM#3: R5_Count_One (GPIO5)
a. CFG(R5, 0x04) ; Configure GPIO5 to play VM#4 on next trigger
b. Play(One)
; Play voice prompt “One”
c. PD
; Power Down
 VM#4:Two
a. Play(Two)
; Play voice prompt “Two”
b. Wait Interrupt
; Wait until Play finishes
c. CFG(R5, 0x05) ; Configure GPIO5 to play VM#5 on next trigger
d. PD
; Power Down
 VM#5: Three
a. CFG(R5, 0x06) ; Configure GPIO5 to play VM#6 on next trigger
b. Play(Three)
; Play voice prompt “Three”
c. PD
; Power Down
 VM#6: Four
a. CFG(R5, 0x03) ; Configure GPIO5 to play VM# 3 on next trigger
b. Play(Four)
; Play voice prompt “Four “
c. PD
; Power Down
- 18 -
Publication Release Date: 4/21/2012
Revision 0.3