ISD2361
Feb 1, 2023 Page 3 of 79 Rev 1.7
6.10.2 Channel Counter Command ......................................................................... 32
7 MEMORY MANAGEMENT .................................................................................... 33
7.1 MEMORY HEADER ....................................................................................................... 34
7.1.1 Memory Format .................................................................................................. 34
7.1.2 Memory Protection ............................................................................................. 35
7.1.2.1 Memory Protection Range ..................................................................................................................... 35
7.1.2.2 Memory Protection Range ..................................................................................................................... 35
7.1.2.3 Errata sequence for protection scheme 0xC9 ..................................................................................... 36
7.2 VOICE PROMPT ........................................................................................................... 36
7.3 VOICE MACRO ............................................................................................................. 37
7.3.1 Voice Macro Commands .................................................................................. 37
7.3.2 System-Reserved Voice Macros ..................................................................... 40
7.3.3 Sample Project Voice Macros .......................................................................... 40
7.3.3.1 Sample_1: A Simple playback Project ................................................................................................. 40
7.3.3.2 Sample_2: One pin trigger to loop sound effect one to Six ............................................................... 41
7.3.3.3 Sample_3: Trigger for Channel mixing and volume control .............................................................. 42
7.3 USER DATA ................................................................................................................. 45
8. SERIAL PERIPHERAL INTERFACE .................................................................... 46
8.1 SPI FEATURES ............................................................................................................ 46
8.2 SPI COMMANDS .......................................................................................................... 48
8.3 SPI COMMAND VS. STATUS ........................................................................................ 49
8.4 SPI COMMAND DESCRIPTIONS ................................................................................... 50
8.4.1 Audio Play Commands ..................................................................................... 50
8.4.1.1 PLAY_VP – Play Voice Prompt ............................................................................................................. 50
8.4.1.2 PLAY_VP@Rn – Play Voice Prompt @ Rn ........................................................................................ 50
8.4.1.3 PLAY_VP_LP – Play Voice Prompt Loop ............................................................................................ 51
8.4.1.4 PLAY_VP@Rn_LP – Loop Play Voice Prompt Referenced by RnCnt Times ................................ 51
8.4.1.5 EXE_VM –Execute Voice Macro .......................................................................................................... 51
8.4.1.6 EXE_VM@Rn – Execute Voice Macro Referenced by Rn ............................................................... 52
8.4.1.7 PLAY_SIL – Play Silence ....................................................................................................................... 52
8.4.1.8 STOP – Stop the Play Operations ........................................................................................................ 53
8.4.1.9 STOP_LP – Stop Loop Play Operations .............................................................................................. 53
8.4.1.10 SPI_PCM_READ – SPI Read De-Compressed PCM Data from Memory ................................. 53
8.4.1.11 SPI_SND_DEC – SPI Send Compressed Data for Decoding ...................................................... 54
8.4.2 Device Status Commands ................................................................................ 55
8.4.2.1 READ_STATUS – Read Status ............................................................................................................ 55
8.4.2.2 READ_INT – Read Interrupt .................................................................................................................. 55
8.4.2.3 READ_ID - Read Device ID ................................................................................................................... 55
8.4.3 Digital Commands ............................................................................................. 56
8.4.3.1 DIG_READ – Digital Read ..................................................................................................................... 56
8.4.3.2 DIG_WRITE – Digital Write.................................................................................................................... 56
8.4.3.3 ERASE_MEM – Sector Erase Memory ................................................................................................ 57
8.4.3.4 CHIP_ERASE – Erase Entire Memory ................................................................................................. 58
8.4.3.5 OP_EXT – Pass Down to external Flash ............................................................................................. 58
8.4.3.6 CHECKSUM – Calculate Hardware Checksum .................................................................................. 59
8.4.4 Device Configuration Commands ................................................................... 59
8.4.4.1 PWR_UP – Power Up Device ............................................................................................................... 59
8.4.4.2 PWR_DN – Power Down Device .......................................................................................................... 59
8.4.4.3 WR_CFG_REG – Write Configuration Register ................................................................................. 60
8.4.4.4 RD_CFG_REG – Read Configuration Register .................................................................................. 60