版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、ISD2100 DESIGN GUIDEISD2100Digital ChipCorderWithEmbedded Flash for Stand-alone Playback of Audio.- 1 -Revision 1.8, July 13, 2015ISD2100 DESIGN GUIDETABLE OF CONTENTS12345GENERAL DESCRIPTION4FEATURES4BLOCK DIAGRAM6PIN DESCRIPTION7DEVICE OPERATION5.4AUDIO STORAGE8DEVICE CONFIGURATION8GPIO
2、CONFIGURATION8OSCILLATOR AND SAMPLE RATES96MEMORY FORMAT.26.1.3Voice Prompts11Voice Macros11User DataMEMORY HEADER12DIGITAL ACCESS OF MEMORY13MEMORY CONTENTS. 14789SPI INTERFACE14SIGNAL PATH16GPIO VOICE MACRO TRIGGERS179.1VOICE MACRO EXAMPLES.2POI/PU/WAKEUP Voice Macro
3、s17Example: Cycle through a sequence of messages...6Example: Looshort sounds. Interrupt to stop playback18Example: Uninterruptable Trigger, smooth audio19Example: Continuous Play until re-trigger.20Example: Level Hold Trigger.20101INITIALIZATION FLOWCHART21DEVICE CONF
4、IGURATION AND STATUS22CLOCK CONFIGURATION22DEVICE STATUS REGISTER23DEVICE CONFIGURATION REGISTERS24.2CFG_REG0 Sample Rate Override24CFG_REG1 Decompression Control25CFG_REG2 Compression Source26VOLC Volume Control26CFG_REG4 Checksum Reset2711.3.311.3.411.3.511.3.611.3.711.3.811.3.911.3.1011
5、.3.1111.3.12CFG_REG9 Control27Checksum Registers28GPIO_DO GPIO Data Out28GPIO_OE GPIO Output Enable28GPIO_PE GPIO Pull Enable29GPIO_DIN GPIO Data In29GPIO_PS GPIO Pull Select29- 2 -Revision 1.8, July 13, 2015ISD2100 DESIGN GUIDE11.3.1311.3.14GPIO_AF GPIO Alternate Function Control29R0-R7 Indirect Ju
6、mp Registers3011.412DEVICE IDENTIFICATION REGISTERS30SPIAUDIO PLAYDS30DS33.312.1.412.1.512.1.612.1.712.1.812.1.9PLAY_VP Play Voice Prompt33PLAY_VPRn Play Voice Prompt Rn, n = 0 733PLAY_VP_LP Play Voice Prompt, Loop34PLAY_VP_LPRn Play Voice Prompt Rn, Loop34STOP_LP Stop Loop-Playd
7、34EXE_VM Execute Voice Macro35EXE_VMRn Execute Voice Macro Rn, n = 0 735PLAY_SIL Play Silence35STOP Stop SPI_PCM_d36PCM Data from SPI3612.1.1012.1.11SPI Send Compressed Data to Decode3712.2DEVICE STATUSDS38.212.2.3Status38Interrupt39_ID -ISD2100 Device ID39DS3912.3DIGITAL MEMORY.
8、212.3.312.3.412.3.5Digital. 40Digital Write40ERASE_MEM Sector Erase Memory41CHIP_ERASE41CHECKSUM4212.4DEVICE CONFIGURATIONDS4.212.4.312.4.412.4.512.4.612.4.7PWR_UP Power up43PWR_DN Power Down43Reset43SET_CLK_CFG Set Clock Configuration Register44RD_CLK_CFG Clock Configuration Register44WR
9、_CFG_REG Write Configuration Register44RD_CFG_REG Configuration Register451313.113.2ELECTRICAL CHARACTERISTICS46OPERATING CONDITIONS46AC PARAMETERS4613.2.1Internal Oscillator46Speaker Outputs4613.4141515.11617DC PARAMETERS47SPI. 48APPLICATION DIAGRAM50PACKAGE SPECIFICATION5220 LEAD QFN52OR
10、DERING INFORMATION53REVISION HISTORY54- 3 -Revision 1.8, July 13, 2015ISD2100 DESIGN GUIDE1GENERAL DESCRIPTIONThe ISD2100 is a digital ChipCorder® providing single-chip storage and playback of high quality audio.The device features digital de-compression, compensive memory management, flash sto
11、rage, andintegrated audio signal path and Class D speaker driver capable of delivering power of 400mW. This family utilizes flash memory to provide non-volatile audio playback with duration up to 30 seconds (based on 8kHz/4bit ADPCM compression) for a single-chip audio playback solution.The ISD2100
12、can be controlled and programmed through an SPI serial interface or operated stand- alone by triggers applied to the devices six GPIO pins.The ISD2100 requires no external clock sources or components except a speaker t audio prompts or sound effects to enhance user interfaces.iver qualityIn addition
13、 the part can provide non-volatile flash storage in 1Kbyte sectors eliminating the need for additional serial EEPROM/Flash devices.Compared to previous ChipCorder series, this device provides higher sampling frequencies, improvedSNR, lower power, fast programtime and integrated program verification.
14、2·FEATURESDurationo ISD2130 30 seconds based on 8kHz/4bit ADPCM in 1Mbit of flash storageo ISD2115A 15 seconds based on 8kHz/4bit ADPCM in 512Kbit of flash storage Audio Management·o o oStore pre-recorded audio (Voice Prompts) using high quality digital compressionUse simple index basedd f
15、or playback no address needed.Execute pre-programmed macro scripts (Voice Macros) designed to control the configuration of the device and playback Voice Prompts sequences.·Controlo Serial SPI interface for microprocessor control and program.o Stand-alone control where customized Voice Macro scr
16、ipts are assigned to GPIO trigger pins.·Sample Rateo o7 sampling frequencies 4, 5.3, 6.4, 8, 12.8, 16 and 32 kHz are available. Each Voice Prompt can have optimal sample rate.·Compression Algorithmso o o o oµ-Law: 6, 7 or 8 bits per sampleDifferential µ-Law: 6, 7 or 8 bits per sa
17、mplePCM: 8, 10 or 12 bits per sampleEnhanced ADPCM: 2, 3, 4 or 5 bits per sampleVariable-bit-rate optimized compression. This allows best possible compression given a metric of SNR and background noise levels.·OscillatorInternal oscillator with internal reference: factory trimmed to ±1% de
18、viation at room temperature.o·Outputo: Class D speaker driver to direct drive an 8 speaker or buzzer. ivers 400mW at 3V supply.·I/OsSPI interface: MISO, MOSI, SCLK, SSB fords and digital audio datao o6 general purpose I/O pins multiplexed with SPI interface.- 4 -Revision 1.8, July 13, 2015
19、ISD2100 DESIGN GUIDE·Flash Storage1Mbit (ISD2130) or 512Kbit (ISD2115A) of storage for combined audio/data.o o o o oFast programtime (20µs/byte)Erase sector size 1Kbyte, sector erase time 2ms.Integrated memory checksum calculation for fast verification. Endurance >100K cycles. Retention
20、 > 10 years···Operating Voltage: 2.7-3.6V Package: green, 20L-QFN Temperature Options:o Industrial: -40°C to 85°C- 5 -Revision 1.8, July 13, 2015ISD2100 DESIGN GUIDE3BLOCK DIAGRAMFigure 3-1 ISD2100 Block DiagramFigure 3-2 ISD2100 20-Lead QFN Pin Configuration.- 6 -Revisio
21、n 1.8, July 13, 2015VCCD_NCSPK+NCVSSD_NCNCSPK-VCCD_NC2019181716MISO / GPIO2115GPIO5ISISDD22113X0XSCLK / GPI1214VCCDSSB313NCQFN-20MOSI / GPIO0412RDY/BSYB / GPIO4VSSD511INTB / GPIO3678910ISD2100 DESIGN GUIDE4PIN DESCRIPTION- 7 -Revision 1.8, July 13, 2015Pin NumberPin NameI/OFunction1MISO / GPIO2OMast
22、er-In-Slave-Out. Serial output from the ISD2100 to the host. This pin is in tri-state when SSB=1.Can be configured as a general purpose I/O pin.2SCLK / GPI1ISerial Clock input to the ISD2100 from the host. Can be configured as a general purpose input pin.3SSBISlave Select input to the ISD2100 from t
23、he host. When SSB is low device is selected and responds tods on the SPI interface. When asserted, GPIO0/1/2 automatically configure to MOSI/SCLK and MISO respectively. SSB has an internal pull-up to Vccd.4MOSI / GPIO0IMaster-Out-Slave-In. Serial input to the ISD2100 from the host. Can be configured
24、 as a general purpose I/O pin.5VSSDIDigital Ground.6VCCD_IDigital Power for theDriver.7SPK+Odriver positive output. This SPK+ output, together with SPK- pin, provide a differential output to drive 8 speaker or buzzer. During power down this pin is in tri-state.8VSSD_IDigital Ground for theDriver.9SP
25、K-Odriver negative output. This SPK- output, together with SPK+ pin, provides a differential output to drive 8 speaker or buzzer.During power down this pin is tri-state.10VCCD_IDigital Power for theDriver.11INTB / GPIO3OActive low interrupt request pin. This pin is an open-drain output. Can be confi
26、gured as a general purpose I/O pin.12RDY/BSYB / GPIO4OAn output pin to report the status of data transfer on the SPI interface. “High” indicates that ISD2100 isy to accept new SPIds or data. Can be configured as a general purpose I/O pin.13NCThis pin should be left unconnected.14VCCDIDigital Power.1
27、5GPIO5I/OGeneral purpose I/O pin16NCThis pin should be left unconnected.17NCThis pin should be left unconnected.18NCThis pin should be left unconnected.19NCThis pin should be left unconnected.20NCThis pin should be left unconnected.ISD2100 DESIGN GUIDE5DEVICE OPERATIONPlayback of audio stored on the
28、 ISD2100 can be accomplished by either sending SPIds viathe serial interface or triggered by signal edges applied to GPIO pins. The device is programmed via the SPI interface either in-system or utilizing commercially available gang programmers.5.1 AUDIO STORAGEThe audio compression and customizatio
29、n of the ISD2100 is rapidly achieved with thedISD2100VPE or Voice Prompt Editor. This software tool allows the developer to take audio clips in standard wave file format and re-sample and compress them for download to the ISD2100.Audio is stored in the ISD2100 as series of Voice Prompts: these units
30、 of audio can be of any length the compression and sample rate of each Voice Prompt can be individually selected. A powerful feature of the ISD2100 is presence of a scripting ability Voice Macros. A Voice Macro can contain ds to play individual Voice Prompts and configure the ISD2100. A Voice Macro
31、can be associated with a GPIO pin such that it is triggered by a transition on that pin. In this way stand-alone systems can be developed without the need for micro-controller interaction. Voice Macros can also beexecuted via the SPId interface. Both Voice Prompts and Voice Macros adressed via asimp
32、le sequential index address, no absolute memory address is required, thus audio source materialor voice macro function can be updated (or changed for multi-language implementation) without the need to update microcontroller code.5.2 DEVICE CONFIGURATIONThe ISD2100 is configured by writing to a set o
33、f configuration registers. This can be accomplished either by sending configuration via the serial SPI interface or executing Voice Macros containingconfigurationds. Most configuration registers are reset to their default values when the deviceis powered down to ensure lowest possible standby curren
34、t. Exceptions to this are registers thatcontrol the configuration of GPIO pins and Jump registers that contain the Voice Macro index to execute for GPIO triggers. Configuration registers may be initialized automatically in customizable Voice Macros that are executed on a power-on reset or power-up c
35、ondition. Section 11 contains a complete list of all configuration registers in the device.5.3 GPIO CONFIGURATIONThe six GPIO pins of the ISD2100 can be configured for a variety of purposes. Each pin can be configured to trigger a Voice Macro function. Each pin also has an alternate function allowin
36、g the pins to be configured as SPI, interrupt or oscillator reference pins.PSPELogicDOUTOEDINFigure 5-1 GPIO Structure- 8 -Revision 1.8, July 13, 2015PINISD2100 DESIGN GUIDEThe structure of the GPIO pads is shown in Figure 5-1. Configuration registers allow the user to control pull-up and pull down
37、resistors, enable the pin as an output or set the output value. SeeSection 11.3 fors on the configuration options. The AF0 and AF1 bits associated with each pindetermine its functionality as shown in Table 5-1. When the GPIO is selected for its alternate function,the DOUT and OE connections to the p
38、in are driven by sources other than the DOUT and OE registers. The alternate functions of each pin are summarized in Table 5-2. In addition, the Slave Select Bar pin (SSB) when driven active low will force GPIO0-2 into alternate function mode to allowan SPI tranion. Note that the pull select (PS) an
39、d pull enable (PE) bits continue to function inalternate function mode it is possible to connect or disconnect pull devices to the pin even in alternate function mode.AF1:0 settings 0b10 and 0b11 associate the GPIO with Voice Macro triggers. Setting 0b10 triggers a Voice Macro when a falling edge oc
40、curs on the GPIO. Setting 0b11 triggers a voice macro on both the falling and rising edges of the GPIO. These triggers are de-bounced internally and are thus suitable for use with push-buttons. See Section 9 for a complete description of GPIO triggers.Table 5-1 Alternate Function Bit DecodingTable 5
41、-2 GPIO Alternate Configurations and effect on DOUT and OE.5.4 OSCILLATOR AND SAMPLE RATESThe ISD2100 has an internal oscillator trimmed at manufacturing that requires no external componentsto operate. This oscillator provides an internal clock source that operates the ISD2100 at aumumaudio sample r
42、ateof 32kHz. The sample rates available for audio storage at thissample rate are shown in Table 5-3. The sample rate is selected during compression using the ISD2100 Voice Prompt Editor software.1 GPIO1 OE is permanently low to guarantee SPI operation. GPIO1 cannot be used as an output.2 SS=!SSB. MI
43、SO is tri-state for SSB=1 and driven for SSB=0.3 GPIO3 is INTB pin. INTB is normally tri-state and driven low for interrupt.- 9 -Revision 1.8, July 13, 2015GPIOAlternate FunctionDOUTOEGPIO0 GPIO1 GPIO2 GPIO3 GPIO4GPIO5MOSI SCLK MISO INTB RDY/BSYREXTX XMISO L RDYLL L1 SS2INT3 HLAF1,AF0Configuration00
44、011011GPIOAlternate FunctionGPIO, falling edge triggerGPIO, falling and rising edge triggerISD2100 DESIGN GUIDETable 5-3 Available Sample Rates.6MEMORY FORMATThe memory of the ISD2100 consists of byte addressable flash memory that is erasable in 1Kbyte sectors. Erased memory has a value of 0xFF. Wri
45、ting to the memory allows host to change bits from erased 1 state to programmed 0 state.The memory of the ISD2100 is organized into four distinct regions as shown in Figure 6-1. The four regions are:1.Configuration and Index Table: The first region of memory contains configuration data for the devic
46、e and the index table that points to the Voice Prompt and Voice Macro data. The ISD2100VPE creates this section for download to the device.Voice Macros: This section contains the script code of all the projects Voice Macros.Voice Prompts: This section contains the compressed audio data for all Voice
47、 Prompts.User Data: An optional section containing memory sectors allocated by the developer for generic use by the host controller.2.3.4.- 10 -Revision 1.8, July 13, 2015SR2:0Ratio toSample Rate(kHz)084165.44256.434842.512.852166132ISD2100 DESIGN GUIDEByte AddressSector Address00400h1800h2C00h31800
48、h6PMP1FC00h7F20000h80Figure 6-1 ISD2100 Memory Organization6.1.1 Voice PromptsVoice prompts are pre-recorded audio of any length, from short words, phrases or sound effects to long passages of music. These Voice Prompts can be played back in any order as determined by the application. A Voice Prompt
49、 consists of two components:1. An index entry in the Index Table pointing to the pre-recorded audio.2. Compressed pre-recorded audio data.A Voice Prompt is addressed using its index number to locate and play the pre-recordedaudio. This addressapproach allows users to easily manage the pre-recorded a
50、udiowithout the need to update the code on the host controller. In addition, the users can store amultitude of pre-recorded audio without the overhead of maintaining a complicated lookup table. To assist customers in creating the Voice Prompts, ISD2100 Voice Prompt Editor and writer are available fo
51、r development purposes.6.1.2Voice MacrosVoice Macros are a script that allows users to customize their own play patterns such as play Voice Prompts, insert silence, power-down the device and configure the signal path, includingvolume control. Voice Macros are executed using a single SPId and are acc
52、essedusing the same index structure as Voice Prompts. This means that a Voice Macro (or VoicePrompt) can be updated on the ISD2100 without the need to update code on the host micro- controller since absolute addresses are not needed.The following locations have been Index 0: Power-On Initialization
53、(POI)for special Voice Macros:- 11 -Revision 1.8, July 13, 2015Configuration and Index TableVoice PromptsVoice MacrosUser DataISD2100 DESIGN GUIDEIndex 1: Power-Up (PU)Index 2: GPIO-Wakeup (WAKEUP)These Voice Macros allow the users to customize the ISD2100 power-on, power-up and GPIO wake-up procedures and are executed automatically when utilized. If these Voice Macros are not used device will perform default operations on these events.An example to illustrate the usage of the PU Voice Macro is:WR_CFG(VOLC, 0x0C) WR_CFG(REG2, 0x44)WR_CFG (REG_GPIO_AF1 ,0xFF) WR_CFG (REG_GPIO_AF0 ,0x10
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026北京海淀区恩济里体大幼儿园招聘2人考试参考试题及答案解析
- 2026年南昌大学共青学院行政人员招聘1人考试备考试题及答案解析
- 2026江西南昌市劳动保障事务代理中心招聘非全日制白案厨师1名考试参考题库及答案解析
- 2026年石河子工程职业技术学院单招综合素质笔试参考题库附答案详解
- 2026青海油田招聘考试参考试题及答案解析
- 2026安徽新桥交通发展有限责任公司就业见习招聘2人考试备考试题及答案解析
- 2026杭州文化广播电视集团所属有关事业单位招聘6人考试参考试题及答案解析
- 2026年成都高新中学天府一街分校面向社会公开招聘临时聘用教师(3人)考试参考试题及答案解析
- 2026江西省某国企招聘劳务派遣工程师4人考试参考题库及答案解析
- 2026江西南昌大学第一附属医院(江西省呼吸医学中心)高层次人才招聘144人考试参考试题及答案解析
- GB/T 32065.8-2020海洋仪器环境试验方法第8部分:温度变化试验
- GB/T 31765-2015高密度纤维板
- GB/T 28701-2012胀紧联结套
- GA/T 268-2019道路交通事故尸体检验
- CB/T 3762-1996船用润滑油嘴
- 清水混凝土构件预制技术与质量控制技术要点课件
- AWG线规-电流对照表
- 临床药学科研思路与选题课件
- 烧结余热锅炉施工方案(最终版)
- 压力容器质保体系内审检查表模板样本
- DB37-T 3134-2018.建筑施工企业安全生产风险分级管控体系实施指南
评论
0/150
提交评论