Home
ISD-VPE15100 User`s Manual ISD15100 Series - Digi-Key
Contents
1. Sample Rate Compression S SO p 44 UU UU 00 lt Fo 00 o 00 00 2 00 ee MICIN el opie 004 PLAYBACK MEMORY gt AUDOUT_ D crap CFGE CFGF CFG10 CFG11 CFG12 CFG13 VOLB VOLA CFG16 CFG17 CFG18 E PLAVHACE MEMORY sALBOUT 00 3x00 3x00 3 00 x00 3 00 x00 3 00 Sko 2 0 3x00 3 02 3 00 00G PLAYBACK MEMORY gt PWM partial v EDO PLAYBACK MEMORY WM unuuoseseeeeeennon Figure 2 M Set a WW WW Path to PWM 2 6 Configuration The Configuration screen ain 1S to ease the task of configuring the 1SD15100 To set the configuration registers microcontroller could er sora several write contig register commands or EBEN issue a a several default SEENEN paths users cannot delete these configurations The Update Ge is ed to K Sa an existing path user settings When selecting a default path by SE ona Please note that the CFG17 bit 0 Immediately Update C and bit 1 Update D are displayed on the path N A as these two bits decide how the configuration registers are updated Immediately Update o This bit set to one turns off double buffering of configuration Thus configuration is updated after each register byte is written When this bit is set to zero the configuration register setting is not made active until a one is written to the Update bit 15 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY o When a one is written to this bit and Immediately Update is zero configuration
2. The Clean function deletes the contents in the BinFile and WavFile directories regenerated The WavFile directory contains wave files of re samp prompts The BinFile directory contains files of compressed voice pr y can essed voice When a project is created three sub directories are created e BinFiles where the compressed VPs are stored e WavFiles where the re sampled and de com e WavSrc where wave source of VPs are s A project file has the prj extension The binary i le for the project has mem extension A header file with txt extension is also included f i are programming Directory History Look in IS 1SD15000example D e DEI ES BinFiles WavFiles GjwavSre ISD 15000example mem ll ISD 15000example prj EI ISD 15000example_mem txt C Documents and Settings eliao INFORMATION My Documents e Files of type DESS Cancel Figure 2 14 Open a Project 18 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY NUVOTON 3 Evaluation System 3 1 EV Board Overview Figure 3 2 below is the ISD15100 EV board On the right hand side is the ISD15U110 A our ISD USB1 1 controller especially designed for ChipCorder ISD15100 family In the middle is the ISD15108 B 8 minute duration based on 8 kHz amp 4 bit ADPCM On the left hand side are analog circuitry and connectors for recording and playback Upper left corner is a 7 segment display C controlled by four GPIO pin
3. Digital Read A Memory contents can be updated by digital write from either a file on PC or from the screen To update the memory contents from a file 1 Want to erase the whole chip and then download a file from PC o Check Mass Erase Prog K o Specify to update from a file L the default Click on Select File to Open M to specify the path and filename o The start N and end addresses will be loaded automatically o Click on Digital Write B and VPE will chip erase the whole memory and then download the file to the 1SD15100 2 Just overwrite partial memory contents by a file from PC the default o Uncheck Mass Erase Prog K o Similar procedure as the above VPE accomplishes this task via the help of PC 1 If needed e Head back one 4kbyte sector and save on PC buffer e Overwrite the buffer by the corresponding portion of the file 2 Sector erasethe sector 3 Download the buffer to the sector 4 Repeatthe above steps To update the memory contents from the screen e Read out the 1SD15100 data and have it displayed on screen as described above e Edit the data contents on screen o The first sector sector 0 is about the ISD15100 configuration Do not mess it up e Specify to update the memory contents from screen L The start N and end addresses will be automatically matched e Click on Digital Write B VPE accomplishes this task via the help of PC 1 If needed e Read
4. F Get Msg List G is not an ISD15100 command It is indeed a bunch of digital read commands used to scan the memory for messages The first byte of each memory sector shows whether or not a beginning of message is inside the memory sector VM H amp VP lf sub screens show users the VM VP tags and indexes that they are working on It shows up only if the loaded project on VPE is consistent with the project inside the EV board When the 1SD15100 is powered up VPE automatically reads back checksum from the EV board and compares it with the loaded project If the two checksums match the indexes and tags show up The checksum incorporates the projects details date of creation VPE version and user ID To execute a VM or to play a VP simply click on the VM VP sub screens to get the index and then click on Execute VM J or Play VP K VM and VP are index based which means to execute a VM or to play a VP the microcontroller only sends a simple command followed by the index It is address free Please note that VM and VP share the indexes and it always starts from VM For example if a project has three VMs and four VPs then the indexes 0 2 belong to VMs and the indexes 3 6 belong to VPs 23 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY NUVOTON Indirect Voice Prompts L is to make voice macro flexible For example it could be used to announce time and temperature in users
5. system To announce a sentence like It is 7 15 am the outside temperature is 70 degree Fahrenhei do the following e Microcontroller gets the time 7 15 am and temperature 70 degree Fahrenheit from the system s timer and sensor i e Write the corresponding voice prompt indexes of 7 15 am and 70 into RO R1 R2 and R3 e Execute the voice macro of that sentence To emulate it on VPE click on VP sub screen I to get the index then right click on Rn n 0 7 to update Rn then click on Play VP Rn L The volume control bar M provides an easy way to adjust the volume while playing a VP ora message ISD15100 provides three volume controls e VOLA volume control for the digital audio data from 12S or analog inputs e VOLB volume control for the digital audio data from decompression block or SPI e VOLC master volume control for PWM AUDOUT AUXOUT and 125 outputs Resolution of the three volume controls is 0 25dB per step total 256 steps for each volume control The volume control bar here is the VOLC What VPE does is keep writing the CFG3 when the users drag the volume control bar MICIN ANAIN Enabled N indicates that the microphone path is enabled When the microphone path is enabled either configured as differential or single ended the indicator turns red ISD15100 provides four SPI Data Transfer commands For details please refer to design guide Take SPI Decode O as an example micr
6. GPIO INT AudioCmds Digital Cmds Recorded Messsages j MYoiceMaco e EE Read Msg Addr Read Msg Length AS E U E ece Status A CQ Execute VM cP 0002 IS Tum On USB Auto Check lt a ead Status ea A RecordMsa Start Addr 02E 000 Length f 0009 KE f Tum On USB Log 0 nee ispis108 nau b Aecord Mao BY tart Addr Lo 000 12E 000 Index h Voice Macros Device info 15D15108 16M bit STE I ps Total Mem Size L 200000 PD PK INT d Erase Msg Start Addr x02E 000 keeten ey aa GR IntMemID L z e E Play Msg LS DE 000 Offset 0002 IE aall 12K voice DM FUL CMD ERR Message List 12K app ause C OVF_ERR LG Nag E e rambers EENG CR M_BSY s CMD_FIN F Read CLK CFG e cy CBUF_FUL ADDR_ERR 9 Indirect Voice Prompts 12K numbers MD_BSY C FULL_ERR RMP L 000 VPH 00DE Tag five 12K Index h Voice Prompts Ro f 000e R4 kooo Ri f 0000 5 R2 kooo Re kooo R3 kooo A f 0000 One 12K two 12K three 12K i Registers for indirect voice prompt E Play Silence 32 ms a e l D zo a access Right click to copy current oli ten 12K Ni MICIN ANAIN Enabled sli twenty 12K Ro ei oj15 thirty 12K VDL mmm 0 00 ale app ause_12K VPH E 1 I i 40 00 20 00 0 00 Saved Configurations SPI Data Transfer Commands 002 RECORD ANAIN gt MEMORY GPI Decode spi wie Filename Cancel 1 CTS SPI 003 RECORD MICIN gt MEMORY O sri Decode IESSE TC
7. 12k AlarmOn 12k Voice Prompt Reserved Memory Memory Map Tag FOI Index h Voice Macros 1 PU emp toi Register 0x017 REG17 e C Enter Register al ES Use the REGISTER MAP tab to load ol12 two 8k 4 and B configuraitons Then these buttons oli three 8k can set the configuration change from 4 to B ol14 four 8k or B to 4 ol five Sk P ST K 9 18 eight 8k Voice Macro Script o 19 nine Sk Dt TTT TTT NR CH of1A ten Sk Set All checked group olCLK CFG 00x27 oP twenty Sk o CFG Ox1 Ox00 oflc thirty 8k o CFG COx00 0x64 o 10 applause Sk o CFG 00x01 Deet o 1E AlarmOn Sk ofc FG Ox02 0x44 C Play VP R4 Oo C Play VP R5 0 O Play VP RO 0 Cl Play pp 0 o CFG Ox03 0x00 Play o CFG Ox04 D o CFG eD E D o CFG 0x06 0xf0 Reserved Messages C Play VP R2 0 C Play VP RE 0 o CFG eD Z 0x00 Stop o CFG 0x08 Ox00 Message_l L Play VP R3 0 L Play VP R7 0 a CFG Ox09 0x00 U Message_2 Message_3 app ause_16K wav One EB i C Set CLK CFG 4 27 C FINISH olCFG 00x17 0x02 plC Foa 00x18 0x00 o PLAY FastBeep EIS Silence Units Silence ms L Silence 000 C WAIT INT H le al 14 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY NUVOTON Configuration Registers Register Map DGPIOANT o p AUDOUT BK L glz F RmpUp i Wen F RmpDn ac S 1 d aKo T b AUXOUT EI AB SDO E Wanna Update M Update
8. CFGO CFG17 become active In this way a path can be set up and applied at the same instant to prevent disturbance on the analog path Write Only T Immediately Update IZ Update F Disable Play Ramp Down T GetSample Rate from CFGO IV Insert Silence on SR change Sample Rate Compression 8000 ADPCM Abt e A B Write Needed CFGO E CFG2 VOLC CFG4 CFGS Cras CFG SC CFG9 CFGA CFGB Sub group selection Update 3x64 3 00 2 1 Sko x00 00 SFO 2 00 Soo 00 4 00 4 00 CFEC CRGD CFGE CFGF CFGIO CFGI1 CFG12 CFGI3 VOLB VOLA CEGIG CFG1T CFG18 skoo 2 0 skoo skoo skoo Sko 2 00 2 0 2 00 2 0 2 00 02 Soo d aa A 003 RECORD MICIN gt MEMORY 004 PLAYBACK MEMORY gt 4UDOUT_ 005 PLAYBACK MEMORY gt AUXOUT Pr ert rl L UU PLAYBACK MENE gt PwiM Figure 2 11 Configuration 2 7 Memory Map Memory Map is the last step to generate the programming file to be burned into the ISD15100 memory The programming file is a binary file with mem extension In this screen users will see how each VP VM and message is assigned an address and or an index To activate the process click on Create Programming File A On the left hand side the memory map B is shown On the right hand side the Memory Protection C decides how you want the memory contents protected ISD15100 provides three kinds of Dm mechanisms e Read Protection o Once enabled digital read Ba is not effective in those protected area e Write Protection o Once
9. PC running Windows XP NT or 2000 1 1 Standalone Operations The EV board can be operated standalone or controlled by VPE To operate standalone make sure the VPE project is properly downloaded into the board the playback path setting should be done in users PU macro VM1 Attach the keypad onto HJ1 and insert 3 AAA batteries into the battery holder underneath the board The USB controller will power on and reset the ISD15108 in 3 seconds Press the buttons to e ExeVM power up the on board 1SD15108 or send ExeVM command o USB firmware checks if the ISD15108 is powered up If not send power up command if yes send Exe VM command e STOP send STOP command and clear index e 0 9 indexes for executing VM e VOLUP VOLDN increase decrease volume For example to execute VM 25 do the following e Press ExeVM ISD15108 will be powered up e Press 2 Users shall see 2 displayed on the 7 segment display e Press 5 Users shall see 5 displayed on the 7 segment display e Press ExeVM to execute VM 25 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY 1 2 Install VPE Install VPE before connecting the EV board to PC NUVOTON After VPE is properly installed plug in the EV board to PC then users shall see a message popped up as Figure 1 1 select install from a list or specific location Advanced and then click on Next Found New Hardware Wizard Welcome to the Found New H
10. enabled digital write and memory erase commands are not effective in those protected area e Chip Erase Protection o Once enabled chip erase command is not effective If both Chip Erase Protect CEP and Write Protect WP are checked it will lock the content from beginning of the memory to PMP preventing ISD15100 from any further modification The check boxes under Project Information D allow users to add project information to the programming file If you check the users comment box whatever you type in the comment window it will be appended to the end of the project information lf the EV board is connected to PC the Burn Device button E will be effective Once the programming file is created users can click on Burn Device so that VPE will first chip erase the ISD15100 and then download the programming file into the ISD15100 Please note that Date F is part of the project so clicking on the Create Programming File A may change the project contents even though users dont change anything When users open an existing project the memory map will be loaded automatically 16 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY eS LOO Device Clocks Voice Macro Memory Map YP Voice Prompt 2 8 1 Archive and Under project menu Archive a 2 Clean emory Pointer x AER Ae E EE Neen EEN e MesssnssrssssccssssessssssssssWMessssesWessssMvsseccssssssssggsssnsssssMs
11. hassle of configuring the ISD15100 signal paths volume controls AGC DG etc 3 To provide complete evaluation of compression algorithms The ISD15100 offers several compression algorithms at various bit rates and sampling frequencies to fit various applications needs The algorithms include Enhanced ADPCM VBR variable bit rate ADPCM uLaw DuLaw differential uLaw and PCM The VPE15100 provides a powerful index based Voice Prompt and Voice Macro Editor for script programming which can be updated on the ISD15100 without the need of updating the code on the host microcontroller as no absolute addresses are used The path view in the Configuration screen makes it easy to configure signal paths for Record from various inputs or Playback to various outputs of the ISD15100 The Reserved Message User Data screen allows user to reserve memory area for future message recording or for digital data storage The VPE15100 also generates binary image file contains audio data and script programming which can be burned into 1SD15100 memory The VPE15100 is a GUI based program run in Microsoft Windows environments Getting Started Your evaluation kit should contain the following e One CD for 1SD15100 GUI Software set up program and documentations o User login ID and Password without it you cannot install the software e 1SD15100 evaluation board ISD ES15100 USB o With an 8 ohm speaker and a mini USB cable Equipment requirements gt
12. Enhanced 4DPC E D EnhancedADPCM5 Le five way s 4334 two 12k two way 12800 three 12k four 12k five 12k lav 12k Sie Wax d wil Figure 2 6 Voi three way Tout way 2 4 Reserved Memory Recording Memory Pointer RMP e Reserved Memory e Recording Memory byte memory sector which is the first sector tween address zero and the RMP pointer is considered Macros digital r for the first sect and the end of m Message R i nsidered the Recording Memory allocated for recording messages 10 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY NUVOTON Sector Address Address 0 0 Voice Prompts amp 1000h 1 Voice Macros Reserved 2000h 2 Memory 3000h 3 RME 4000h 4 5000h 5 Recording 6000h Yed GD 7000h 7 Figure 2 7 Example of ISD15100 Memory Map On the Reserved Memory screen users reserve memory sectors G message recordings e Empty messages A o An Empty Message is an empty 4kByte memory sector reserved for message recordings An SPI record command pointing to the Empty Message starts the message recording and will continue to record to the free memory sectors located in Recording Memory if the message recording is over 4kByte e Re recordable messages B o Users can have a default message when reserving the memory sectors for a message recording For a re recordable messa
13. OxD2 0x02 0x50 OxD2 0x02 0x000020 0x59 OxD2 0x02 OxSA OxD2 0x02 OxSD OxD2 0x02 OxSE OxD2 0x02 0x97 OxD2 0x02 0x98 0x000030 OxD2 0x02 OxB9 OxD2 0x02 OxBA OxD2 0x02 OxC3 OxD2 0x02 OxC4 OxD2 0x02 Oxc OxD2 O0x000040 0x02 D 0x01 0x00 0x57 Ox0E 0x00 0x58 DOE 0x00 0x58 Ox1B 0x00 0x5C Ox1B 0x00 Ox000050 0x81 Ox2A 0x00 0x82 Ox2A 0x00 Ox2A 0x37 0x00 0x28 0x37 0x00 0x18 0x48 0x00 0x19 Ox000060 0x48 0x00 OxCD 0x58 0x00 OxCE 0x58 0x00 OxCF 0x67 0x00 OxDO 0x67 0x00 0x62 0x76 0x000070 0x00 0x63 0x76 0x00 0x50 0x89 0x00 0x51 0x89 0x00 Ox2F 0x96 0x00 0x30 0x96 0x00 Ox000080 0x28 OxAd 0x00 0x29 OxAd 0x00 OxFC OxB2 0x00 OxFD OxB2 0x00 0x50 x01 0x5E Figure 4 3 Digital Cmds USB Logs show users how the USB co and the transactions between ISD15100 2 D D H L a H ww K installation folder which by default is c Pr Below is a log exa nae ae eee T TN S Execute VM ReadStatus 0 eadback 0x60 0x04 ReadCf ia CFG Readback 0x44 Readll tus Readback 0x60 0x04 en Zen VT EEN TEE SSC ES en em pm pe m E e e ee ee ee ee eee eee ee ee ee ee ee ee ee pm pm SCH K Exe M Since the enriched is off VPE does not check the ISD15100 status or signal path before issuing the command 27 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY NUVOTON 5 Revision History Version Date Description 151 003 May 21 2008 Initial release 28 Publication Release Date May 21 2008 Revisi
14. PRELIMINARY NUVOTON ISD VPE15100 User s Manual ISD15100 Series Multi Message Record Playback Devices with Digital Audio Interface Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY NUVOTON Table of Contents 1 CK A GE 3 1 1 Standalone COperaions eee eee ee ee 3 EZE E eee ee ee ee 4 1 3 Browse the Example Project eee eee eee 5 2 He the Example ele EEN MEEcne 6 2 1 Create a New Project EE 6 2 2 Device Clocks esse nA D 2 2 1 Advanced Clock Configuration ENEE ENER 8 2o e ee e ENT cases p 9 24 Reserved Memory EA E egen 10 2 5 Voce Macro EN Teen E 12 2 6 Configuration esse ee eee ee ee RRR 15 2 7 Memory Map sss tree ese eh eh Sens 16 2 8 Archive and Clean NNN D 17 3 Evaluation Gvstem EEN 19 3 1 EV Board Overvi W fen Mee 19 3 1 1 Hook up uC to the EV Board Say na T 21 3 2 Programming the ISD151Xx S Se 21 4 VOB Si de EE WE Wo W 23 4 1 Audio CIMS Re E M H EE 23 4 2 Digital CmdsS adas Miso WE EE 25 4 3 Enriched Commands SUGRlogs sse 27 5 Revision History p n A 28 2 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY NUVOTON 1 Quick Start The VPE15100 software tool provides easy evaluation of the ISD15100 family and helps users create the 1SD15100 binary image file It serves three main purposes 1 To create scenarios in a user defined memory structure 2 To ease the
15. ardware Wizard This wizard helps you install software for USB Device D If your hardware came with an installation CD lt 4 or floppy disk insert it now What do you want the wizard to do Install the software automatically Recommended Click Next to continue Figure 1 1 Install USB Dri USB driver is located in the VPE installation folder which by VPE15100 EmDriver as Figure 1 2 Click on OK Browse For Folder Select the Folder that contains drivers for your hardware CH ISD VPE1700 gt I5D PE15100 Guter CH Java X Lenovo Mentor Graphics D Messenger To view any subfolders click a plus sign above Install USB Driver 2 Users shall then Found New Hardware Wizard Please wait while the wizard installs the software K ISD151 Emulation System C libusbO sys To C AWINDOWS system32 drivers Kgl Next Figure 1 3 Install USB Driver 3 orogress as Figure 1 3 ogram Files ISD After the installation of USB driver reset the USB either unplug and plug the board or press the RESET USB button 4 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY NUVOTON 1 3 Browse the Example Project Once VPE is properly installed launch it Inside the CD there is an 1SD15100 example projects Do the following e Copy the project to PC e Open the project o Pr
16. are executed sequentially and all voice macros shall be ended by PD or FINISH to finish the voice macro The VPE15100 will show up a warning message if it detects a voice macro not ended by PD or FINISH The example project has some VMs for demo purpose e VMO POI macro o Bet clock source to 4MHz crystal o Set playback path to PWM o Play a beep sound o Power down e VM PU macro o Set clock source to 4MHz crystal o Set playback path to PWM o Play two beep sounds e A few more voice macros for quality demonstration Below are the steps of making the POI macro Click on Set CLK CFG D to set clock source to 4MHz crystal 0x27 Set CFG17 to 0x00 F so that registers won t be updated immediately Switch to Configuration screen we are going to set a playback path to PWM Click on 007 PLAYBACK MEMORY gt PWM I a green line for the path will light up Click on Sub group selection J leave Audio Config and UPDATE checked uncheck others Switch back to Voice Macro screen click on Set All checked group K Click on the voice prompt FastBeep A Click on PD E a NS J gt Other VMs are done in similar ways 13 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY NUVOTON Device Clocks Index h Voice Prompts three 12k four 12k five 12k six 12k seven 12k eight 12k nine 12k ten 12k twenty 12k thirty 12k applause
17. back one 4kbyte sector and save on PC buffer e Overwrite the buffer by the corresponding portion of the file 2 Sector erase the sector 3 Download the buffer to the sector 4 Repeat the above steps 26 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY NUVOTO Configuration Configuration Registers Register Map GPIO INT Audio Cmds Device info 15D15108 16M bit Total Mem Srel 200000 H a l Int Mem ID O1EF3015 1 5 Mass Erase Prog T Verify after Write B Distal wrte Start Addr CONT Erd Addr fe O47FFF Num of Bytes fe 048000 Fie L Select File to Ope Mi PD PK INT DBUFRDY C MPT_ERR File Name c Documents and Settings eliao My Documents Works Projects ISD1500041SD15100 VPE1 INT WR EIN z l C oun c CMD Kap A Digital Read Start Addr LGT End Addr L 000FFF Mun of Bytes fe 001000 Select File to Save Enriched Commands eem Off EZ T On IS Tun On Auto Check USB Status LD Ge Erase IT Tum Dn USB Log CY Erase Memon Start Addr K000 000 End Addr Lomp FFF Num of Sectors L 001 STATUSO x60 STATUSI x04 C C OVF_ERR File Name C VM_BSY Ge CMD EN E CBUF_FUL ADDR_ERR Em Progress Elapsed Time 1188 ms E C CMD_BSY C FULL ERR Digital Read Write Data 0 50 100 0x000000 OxCF 0x30 0x00 0x00 0x00 Ox 6 OxDO 0x02 0x96 OxDO 0x02 0x97 OxDO 0x02 Oxc OxDO a 0x000010 0x02 OxCS OxDO 0x02 Ox2D OxD2 0x02 Ox2E OxD2 0x02 Ox4F
18. can emulate the ISD15100 digital commands like downloading a project reading back for verification etc 4 1 Audio Cmds ISD15100 provides two message recording mechanisms e Record Msg A o Record a message without specifying address ISD15100 automatically searches for available memory sectors starting from the RMP Recording Memory Pointer for the message recordings When a Stop command is issued to finish the recording or the recording is stopped due to memory full VPE automatically reads back the recorded message address and length e Record Msg At B o Record a message at the user specified address which is reserved in advance By default the reserved messages are allocated before the RMP Since the addresses of Reserved Messages are allocated in advance there is no need to read back the recorded message address Reserved Message Is especially useful for a predefined scenario The Play Msg At command C plays a message at the user specified address Users can play a message from the middle by specifying an offset D One offset is one memory sector which is about one second based on 8kHz 4 bit ADPCM ISD15100 does not provide a PAUSE command however a PAUSE command can be easily done by toggling between Stop and Play Msg At with an offset To erase a message Simply specify the address and then click on Erase Msg At E Addresses of recorded messages are shown on the Message List
19. cesssecsssssesssssssenesasssesssssseusesesscessessnssessesscesenssesaesssssssassesscssaenseanesnessessessssssscnscesesessesssed VM Voice Macro Voice Prompt Memory Control RS Reserved Sector e J UD User Data es a projec Reserved Memory Memory Protection fox00010A 0x000E57 VP A One 12K fox000E 5s 0x001B at Z B tao 12K T Chip Erase Protect CEP OxO001B5C 0x002A81 VP C three 12K 0x002482 0x00372A VP D four 12K T Read Protect RP ee es VP E five 12K 0x004319 0x0058C0 VP F six 12K j Katz 0x006 S VP 10 geht 12K T Write Protect WP 0x0067D0 0x007662 VP 11 eight 12K x 0x007663 0x008950 vP 12 nine 12K Protected Henon Pointer PMP 0x008951 0x00962F J VP 13 ten 12K Ox0096 30 0x00A4 23 VP 14 twenty 12K x000 000 Ox00A4 29 0x00B2FC VP 15 thirty 12K 0x0062FD 0x018650 VP 16 ae ause_12K 0x01865E 0x01A489 1 VP 1 AlarmOn 12K es Ox01A4SA 0x01BAFB VP 18 Please wait 12K 5 OxO1LBAFC 0x01C34C VP 18 One amp Project Information henner earner VP 1A Gan Sk OxO01CB70 0x01D4E VP 1B three 8K e 0x0104E8 0x01DCD1 vP 1 four 8K F Winbond P Ieper Meet ia VP 10 five 0x01E768 0x01F108 VP LE six B 0x01F109 0x01FB3B VP LE seven 8K N ISD VPE Ver M Date Leit GEL VP 20 eight 8K 0x020458 0x02102B VP 21 nine 8K i 0x02102 0x021838 VP 22 ten 8k E Project Name L b VPs VMs 0x021839 0x0220F5 VP 23 twenty 8K 0x0220F6 0x022A39 VP 24 thirty 8K i User Comment O
20. cond This causes SPI bus confliction if users use their own microcontroller to command ISD15100 at the same time As long as VPE is not launched ISD15U110 won t do anything e Need at least 5 connections o Users need at least the four SPI signals plus a common ground If users intend to implement digital read or digital write commands they need to poll RDY BSYB pin for data flow control as well All controlling signals are available at J19 P e Start with Read_ Status o Users should start with Read_Status because this command is always needed for debugging 3 2 Programming the ISD151xx There are three programmers available for programming the ISD15100 e ISD ES15100 PROG o Single socket daughter card as shown in Figure 3 3 which can be attached to the ISD15100 EV board e Hi Lo Systems All 100 Gang Programmer o 4 socket gang programmer http www hilosystems com tw e Prospect IT2000 o 8 socket gang programmer under development hitp www prospect com tw 21 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY NUVOTON Figure 3 3 ISD ES15100 PROG 22 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY NUVOTON 4 USB Emulation When the ISD15100 EV board is connected to PC two extra screens show up e Audio Cmds o Where you can emulate the ISD15100 play and record commande like executing voice macros erasing recorded messages etc e Digital Cmds o Where you
21. er up conditions There are two special VM commande FINISH G and WAIT INT H e FINISH G o Finish the voice macro and exit Voice Macros must be ended in either FINISH or PD power down e WAIT INT H o Wait until current play command finishes before executing next macro instruction The ISD15100 has a built in command buffer so that consecutive commands can be executed one after another seamlessly However some commands won t go through command buffer therefore they won t wait Users may refer to the design guide section 13 SPI Commands Table 13 2 for details In table 13 2 users may see that some commands can be executed regardless the status bit 1 CBUF_FULL command buffer full WAIT_INT H is used whenever a command in a voice macro intends to wait to be executed until previous play command finishes A typical example will be 12 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY NUVOTON adjusting volume in a voice macro Commands for adjusting volume won t go through the command buffer therefore they will be executed immediately Below is an example where the volume is immediately decreased when VP_A starts to play e Play VP_A e Decrease Volume e Play VP_B e Finish If users want to decrease volume after VP_A finishes the voice macro should be modified as below e Play VD A e WAIT_INT e Decrease Volume e Play VP_B e Finish Please note that the commands in a Voice Macro
22. found in the CD This project does the following e When powered on power supplied or a high pulse on RESET pin a o Set clock source to 4MHz crystal o Set playback path to PWM o Play a beep sound o Power down e When powered up received power up command o Set clock source to 4MHz crystal o Set playback path to PWM o Play two beep sounds e A few more voice macros for quality demonstration 2 1 Create a New Project Launch the VPE15100 You shall see your username A on the b S bar your username is part of the project when you create the programming file In the menu bar click on Project B gt New you shall see a pop up window as Figure 2 2 Type in the desired project name C and assign a project location D Click on OK E and you shall see the project path shown on the subject bar F In the assigned location you shall see that a pee ron has been created This section introduces the procedure of making the example project WY ISD VPE15100 authorized to ISD Demo Project c Temp iSD015100example prj dei Project Help Configuration Configuration Registers Register Map GFIO INT senenn nenen nenen ennes seene ennenen neee et Device Clocks i Voice Prompt Voice Macro Reserved Memory Memory Mar SEE EES Device Memom Configuration Device Mock Configuration Advanced Configuration rT im On CLE_CFG 37 15015100 Memory Size gled SR 2 046MH2 Crustal 32kHz Mas
23. ge the first sector will be allocated in Reserved Sectors refer to K 2 7 the rest of the message will be allocated in Recording Memory Please note only ADPCM D uLaw and PCM compressions are supported for reserved messages not Enhanced ADPCM or VBR To record or playback amessage the microcontroller simply issues a record or playback message command with starting address pointing to the reserved initial address VPE operations of reserving re recordable messages are similar to those of voice prompts The reserved messages are also listed on the Voice Macro screen for voice macro script programming Memory sectors can also be assigned in Reserved Memory for digital read write access for other application tasks User Data To reserve empty memory sectors click the button Add Reserved Memory C and then adjust the Number of Sectors D To reserve import existing data click the button Add Data E the file size will be shown on number of sectors F 11 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY NUVOTON Configuration Registers Register Map Reserved Memory Configuration GPIO INT Device Clocks Voice Prompt Voice Macro Memory Map Reserved Message Reserved User Data Add Empty Message A Play Once I Loop gt Play Orig Default Sample Rate gt Play Resampled lse Saira lt 4 Size Bytes e Add Reserved Memory Add Re reco
24. i tares Een SPlEncode 1 spi Read Filename Bytes Logo E 005 PLAYBACK MEMORY gt 4UXOUT d Err rer er et pb ital commands digital read A digital write B erase memory C and 10le memory click on Chip Erase D while the erasing is in progress status bit goes high Time for erasing the whole chip depends on the memory density Below is Memory Density Typical Erasing Time O 5e ISD15102 4Mbit 5 sec 25 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY NUVOTON Table 4 2 Chip Erasing Time To erase partial memory specify the start F and end addresses or start address and number of sectors to erase and then click on Erase Memory C while the erasing is in progress status bit CMD_BSY E goes high The minimum erasable memory size is one sector 4k bytes Memory contents can be read back and either displayed on screen or saved as a file on PC To display the memory contents on screen e Specify the start G and end addresses or start address and number of bytes to read e Specify to display on screen H the default e Click on Digital Read A To save the memory contents on PC e Specify the start G and end addresses or start address and number of bytes to read o Users can click on Read ID I to get the memory size e Specify to save as a file H Click on Select File to Save J to specify the path and filename e Click on
25. input clock source is set to internal Oscillator with external Resistor the clock rate can vary with resistor values User can type in different resistor values to see the calculated clock rate User can change the N and M of the PLL to generate the desired master clock MCLK and thus the available sampling rates 2 3 Voice Prompt Voice 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 users and applications A voice prompt consists of two components 1 An index pointing to the pre recorded audio 2 Pre recorded audio Before adding voice prompts first set the default sampling rate A and compression algorithm B To add voice prompts follow the steps below 1 Set sampling rate C and compression algorithm D for the VPs you are going to add Users can change the individual VP s sampling rate E and or compression algorithm F later when evaluating the quality Add voice prompts G Repeat steps 1 amp 2 Change the VP tags H if needed by default the tags are the filenames Re order the VPs if needed select VP by clicking on the square I and click on the up down arrows J to re order the VPs EG If users change the clock configuration on Device Clocks screen they must re compress all VPs K because Clock setting is part of the VP compression Users can e
26. ntial output o BTL can directly drive PWM Users can e Separately configure SP eg FP H H H HR RRR RR LLL LA WE VR ER E EE EE EE Ebbe IWWER R ER EEEE EE NNER IT IW EES EE EE EE B WWW RE E EE EE EE 20 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY Below is a table for the ISD1510 evaluation board configuration e Take off J17 amp J21 when daughter card is used J17 amp J21 are installed to o R21 must be removed de select the daughter e Install J17 amp J21 when daughter card is NOT used card e Install jumper on 1 2 to select crystal as the clock Jumper is installed on 1 2 source to select crystal as the e Install jumper on 2 3 to select the external resistor as clock source the clock source e Install jumpers on 1 2 5 6 and 9 10 to configure as Configured as MICIN ANAIN single ended differential input e Install jumpers on 3 4 7 8 and 11 12 to configure as MICIN differential e 12S Connector SDI SCK WS SDO Table 3 1 EV Board Configuration 3 1 1 Hook up uC to the EV Board As users get familiar with the 1SD15100 they may want to use their own microcontroller instead of the ISD15U110 Users may hook up their microcontroller to the EV board by following the rules below e Power EV board by USB but Do NOT launch VPE o Users can power the EV board by USB however whenever VPE is launch by default the VPE will read back the 15D15100 status every se
27. ocontroller sends compressed audio data VPs or recorded messages to ISD15100 to decode Double click on PLAYBACK MEMORY gt PWM P to set a playback path for SPI Decode Check CTS SPI Q if users want a continuous SPI transaction which means VPE ignores all other tasks before the SPI Data Transfer command finishes Right click on the Filename blank R to assign a compressed audio file and then click on SPI Decode O K Figure 4 1 SPI Send Compressed Data to Decode Users can try different clock settings S Please note that clock setting must match the real configuration on board or the ISD15100 won t work Below is a table of some common settings Internal oscillator with internal resistor Internal oscillator with 80kohm external resistor 2 048 MHz crystal 4 049 MHz crystal 11 2896 MHz crystal Table 4 1 Some Common Clock Settings Read ID T reads back the four byte ISD15100 ID 24 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY Read Status and Read INT U both read back the two byte 1SD15100 status The only difference is that Read INT clears the pending interrupt signal as well 1SD15100 will not generate a new interrupt signal if there is a pending one Saved Configurations P is a copy from the Configuration screen Double click on a setting to write to the 1SD15100 A Configuration Configuration Registers Register Map
28. ohm resistor for clock setting 1 Users use jumper J12 to select the clock source e Internal oscillator with internal resistor o Itdoesnt matter how the jumper is setting 19 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY NUVOTON e Internal oscillator with external resistor o Put jumper J12 on 2 3 o Users can change the external resistor for different sampling rate e Crystal o Put jumper J12 on 1 2 o Users can change the crystal for different sampling rate On the left hand side are analog circuitry and connectors for recording and playback e AUDOUT J Can be configured as either current type or voltage type single o When configured as voltage type output it is exactly the same as e AUXOUT K Voltage type single ended output o Users need an external amplifier to drive the speaker e MICIN ANAIN L Can be configured as either differential or single o Install jumpers M 3 4 7 8 and 11 12 for differential input I o Install jumpers M 1 2 5 6 and 9 10 for single ended o Please note that we use a general I O pin to physic microphone Later when users hook up their own mi ISD15100 they can either Manually enable the microphone by installi mper on J8 this will increase standby current or Use an I O pin to physically does e AUXIN N Voltage type single ended PWM OQ is a direct speaker drive In 1SD151 e Voltage type differe
29. oject gt Open load the ISD15100example prj e Browse each screens on VPE and you may gather some basic information about this project o The clock source is configured as 4 096MHz Crystal This is to be consistent with the EV board Sen o There are several voice prompts Users are encouraged to try different algorithms and sampling rates to experience the sound quality o Several empty messages are reserved o Several voice macros are composed In this example project the voice macro 1 PU is composed as e Set clock source to 4 096MHz Crystal 0x27 e Seta playback path to PWM e Play beep sounds A e Goto the Memory Map screen click on Create Programming File to generate the programming file You will see a query as below Click on Yes to save project XY Query to save project E E Do you want to keep Programming File consistent with the project file Click yes to save project click no to create Programming File only O e Whenever the EV board is connected to PC the button Burn Device is effective Click on it so that VPE will first chip erases the ISDt5100 and then downloads the programming file e Go to Audio Cmds screen and try those voice prompts and voice macros lt 5 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY NUVOTON 2 Build the Example Project An example project named ISD15100example is pre programmed into the EV board the example project can be
30. on 151 003
31. or every clock setting there are seven available sub sampling rates for VP compression C Voice Prompt Voice Macro Reserved Memory Memory Map Device Memory Configuration Device Clock Configuration Advanced Configuration Off P Dn CLK_CFG x27 ISD15100 Memory Size ISD15102 4M bit e Clock Source A Clk Source Xtal Frequency Available Sample Rates Xtal Interface v 4096000 4 096MHz Y 4000 15333 External Clock Output PLL N Divisor PLL M Divisor 6400 8000 5000 116000 MCLK Master Sample Rate R000 Use Default 16384000 32000 Master Sample Frequency Formula N Fue Fasc TTO where M 1 2 3 and N 8 16 32 1 E Eug S MCLK 512 PLL Clock Generation IIS SCH SEL_CLK_INP lt 1 0 gt A KS gt Figure 2 5 Advanced Clock Configuration Xtal MHz MN Faits 1 024 1 32 32 2 048 2 32 32 4 096 2 16 32 8 192 2 8 32 12 288 3 8 32 1 4112 1 32 44 1 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY NUVOTON 2 8224 2 44 1 11 2896 2 8 44 1 3 072 2 32 48 12 288 2 8 48 Table 2 2 PLL M amp N Settings If users need really high quality they might want to try 44 1 kHz sampling rate According to Table 2 2 users can use an 11 2896 MHz crystal and set the PLL as M 2 N 8 In this case users also have to change the crystal on the EV board If the input Clock Source is set to internal Oscillator the clock rate is fixed at 2 048 MHz If the
32. rdable Message B 8 j gt Play Compressed Default Compression Total Size Bytes Add Data B m Stop JADPCM4 si 153248 Delete H Tag Auto Address Start Address Number of Sectors Sample Rate Compression JE applause _16K wav o 000 O00 13 D Default ka Default vj 53248 Bytes Message_l x To Be Assigned A x Message_2 x To Be Assigned 1 Message_3 x To Be Assigned 1 User_Reserved_Memory x To Be Assigned 10 we OO Figure 2 8 Reserved Memory 2 5 Voice Macro Voice Macro is a powerful scripting feature integrated into the Bop Voice Macro editor enables users to create scripted commands to play voice prompts A play reserved messages B insert silence C set clock configuration D power down the ISD15100 E and configure the 1SD15100 F such as setting play or record paths As mentioned earlier the voice prompts A are from the Voice Prompt screen and the reserved messages B are from the Reserved Memory screen respectively Each VM is assigned with a tag and an index where it can be executed with a single SPI command referring to the ndeg There are two special Voice Mace i e Index 0 VMO Power On Initialization POI o Executed automatically when power supplied or when a high pulse applied on RESET pin e Index 1 VM1 Power Up PU o Executed automatically when received power up command POI and PU Macros allow users to customize how the part emerges from power on or pow
33. s of ISD15108 B Upper right corner is a hole array D for users prototyping The EV board can be operated standalone or controlled by VPE To operate standalone make sure the VPE project is properly downloaded into the board the playback path setting should be done in users PU macro VM1 Attach the keypad onto HJ1 E and insert 3 AAA batteries into the battery holder underneath the board The USB controller will power on and reset the ISD15108 in 3 seconds Press the buttons to e ExeVM power up the on board ISD15108 or send ExeVM h w S o USB firmware checks if the 1SD15108 is powered up If not send power up command if yes send Exe VM command e STOP send STOP command and clear index e 0 9 indexes for executing VM e VOLUP VOLDN increase decrease volume For example to execute VM 25 do the following e Press ExeVM ISD15108 will be powered Up e Press 2 Users shall see 2 displayed on be 7 e Press 5 Users shall see D displayed on te e Press ExeVM to execute VM RK segment display C 7 segment display C Figure 3 1 Keypad for Standalone Around the ISD15108 B are four pin headers F used for adaptation of daughter cards To attach any daughter card onto the EV board Make sure the on board ISD15108 has been chip erased e Remove jumpers J17 SSB G and J21 RDY_BSYB H e Attach the daughter card via the four pin headers F On board there are a 4MHz crystal and an 80k
34. ter Fs e Figure 2 1 Username amp Project path on the Subject Bar Project N arme SD 00example C 4 i Location Erg a Figure 2 2 Create a New Project There are three subfolders in the project folder 6 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY NUVOTON e BinFiles where the compressed VPs are stored e WavFiles where the re sampled and de compressed VPs are stored e WavsSrc where wave sources of VPs are stored 2 2 Device Clocks Users choose the device A and clock source B on the Device Clocks screen The Memory Size selection A is for VPE to calculate and show the memory usage C If the EV board is present VPE automatically sets the device A to reflect the hardware VPE provides several most common clock settings For every clock setting seven sub sampling rates are available for VP compression as shown in Table 2 1 Clock configuration is part of the VP compression so whenever users change the clock configuration they have to Re compress All VPs button on Voice Prompt screen The one byte CLK CEG D is for clock setting in voice macro If the clock settings that VPE provides do not fit the users needs users may switch to the advanced view E Please note that the clock setting B here is ONLY for VP compression itis for making a project Users also need to set the clock for the ISD chip by either setting itin their POI PU macros or b
35. valuate the VPs through PC or EV board e Through PC L i Original voice prompts before re sampling amp compression li Re sampled but not yet compressed voice prompts iii Compressed voice prompts e Through EV board i Plug in the EV board and the Play to device button M shows up Switch to Configuration screen to set a playback path and come back to click on the Play to device button M 9 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY NUVOTON This is accomplished by the ISD15100 SPI command SPI BND DEC The added voice prompts will appear on the Voice Macro screen for voice macro script programming Configuration Registers Register Map GPIO INT Audio Cmds Digital Cmds Configuration Voice Macro Reserved Memory Memory Map Device Clocks VPE Project c Temp lSD15100example j Version 151 0003 Add New Voice Promp ki Preview Audio on PC e Set Defaults Add Voice Prompts Dei Re compress All D Play Orig gt Play Resampled Default Sample Rate Use Source SA ka U Sample Rate amp Compressignfor new prompts gt ro F ay Compresse i 12800 e Default D SC Default Compression 2 Total Size Bytes 113138 M Copy Source File To Project Directory m Enhanced ADPCM5 Selected Bytes 3406 Play Once EE Loop Size Bytes Y Index h Master Wave File Sample Rate Compression DE 7 D
36. x022A3A 0x02AE57 VP 25 pl ause_Sk Ox02AE5S 0x02C132 VP 26 Marah 3K 0x02C133 0x02CF 33 VP 27 Please wait 8K Ox02CF 39 0x02D06B VP 28 FastBeep 0x0 2D06C 0x0 20096 J VM 0 POL 0x0 20097 0x02D0C J VM zk PU i 0x0 200C 0x02022D VM 2 12K 1 to 10 Rated VM 3 12K numbers 0x020250 0x020259 VM 4 12K voice j H Doc 2025A 0x0 T VM 5 12K applause Project Information Content 0x02025E 0x020297 vM 6 8K 1 to 10 0x020298 0x02D2B9 M 7 8K numbers ISD VPE Ver 151 0003 05 06 2008 O0x02D2BA 0x0202C3 VM 8 8K voice Ox0202C4 0x02D2C7 VM 9 8K applause Ox02D2CS 0x02D2E7 Project Information 0x02E000 0x02EF FF RS Message_1 Ox02F000 0x02FFFF RS Message_2 Ox030000 0x030F FF RS Message_3 0x031000 0x03AF FF UD User_Reserved_Memory tose 3B000 0x03BFFF J RS ause_16K wav Recording Memory Pointer aam Toxo 3cO000 0x04 ZFFE RM app ause_16K wav dl v A Create Programming File RM Recording Memory re 2 1 D your project files and clean up unnecessary files They are D15100 project to other people t to an archive directory with exactly same project name and o another machine or to backup 17 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY WY Archive Source Project Directory C Program Files Winbond 115000 Voice Prompt Editor Select Dir C Program Files inbond 115000 Yoice Prompt Edito Select Dir Figure 2 13 Archive
37. y sending SPI commands after the chip powers up The default clock setting for ISD chip when POI PU e lf the POI PU macro is empty o Clock sets to 0x34 which is internal oscillator with internal resistor e lf the POI PU macro exists but users do not set clock in it o Clock sets to 0x00 which bypasses the PLL In the example project we choose 1SD15102 A and set the clock to 4 096 MHz Crystal B Configuration l Configuration Registers Register M ap l GFIOINT Device Clocks Voice Prompt Voice Macro Reserved Memory Memory Map Device Memory Configuration vats fast fave Ciel usta Advanced Configuration Op D nE CLE_CFG k 15015100 Memory Size hi r v RUSS A 4 O96MH2 Crustal 32kHz Master Fs F Figure 2 3 Device Clocks Setting Sub Sampled Master Sample Rate Fs kHz ratio 32 44 1 48 8 4 5 5125 6 x _ 9g D 3 6 5 333 7 35 8 R 50 7 Publication Release Date May 21 2008 Revision 151 003 PRELIMINARY 8 82 4 8 11 025 12 2 5 12 8 17 64 19 2 2 16 22 05 24 1 32 44 1 48 Table 2 1 Sub sampling Rates 2 2 1 Advanced Clock Configuration SI The Clock Source A includes four clock sources e Internal oscillator e Internal oscillator with external resistor e 4 e 12S clock and e Crystal The selected clock will feed to the phase lock loop PLL B for generating the internal master clock MCLK Refer to Table 2 2 for PLL M amp N settings for a required master sampling rate F
Download Pdf Manuals
Related Search
Related Contents
guide d`évaluation des capacités parentales au cjm-iu Bedienungsanleitung Digitaler Satelliten Receiver Manual de instrucciones Jwin JP-127 User's Manual USB書画カメラ取扱説明書 GUIA DO USUÁRIO Registro de Utilização de Samsung Galaxy S4 Priručnik za korisnike(LL) Whirlpool 4VET19DK Refrigerator User Manual Abocom BSH201 User's Manual FB3000 II Series Instrument The Next Generation Copyright © All rights reserved.
Failed to retrieve file