Integrated Circuits Inc. aSPI28W aSPI28W User Guide USB writer for aMTPxxM series APLUS INTEGRATED CIRCUITS INC. Address: 3 F-10, No. 32, Sec. 1, Chenggung Rd., Taipei, Taiwan 115, R.O.C. TEL: 886-2-2782-9266 FAX: 886-2-2782-9255 WEBSITE : http://www.aplusinc.com.tw Technology E-mail: [email protected] Sales E-mail: [email protected] Ver 1.2 1/50 1/6/2012 Integrated Circuits Inc. aSPI28W Index Page No. Install Software In Windows XP Install Software In Windows 7 3 6 Install Driver In Windows XP Install Driver In Windows 7 8 11 Build A Program Data 17 Program Data To aMTPxxM (DBMFL-STD2) Program Data To aMTPxxM (DBMFL-ENG2) Program Data To aMTPxxM (Single Chip Program) Program Data To aMTPxxM (In-Circuit Program) 33 38 43 46 History 51 Ver 1.2 2/50 1/6/2012 Integrated Circuits Inc. aSPI28W Install Software In Windows XP 1. Right-click on the aSPI28W zip file, and click [ Extract All… ] . 2. Click [ Next ] . Ver 1.2 3/50 1/6/2012 Integrated Circuits Inc. aSPI28W 3. Click [ Next ] . 4. Windows will start to extract files. Ver 1.2 4/50 1/6/2012 Integrated Circuits Inc. aSPI28W 5. Select [ Show extracted files ] , then click [ Finish ] . 6. Windows will extract all files in the same directory with the zip file. Ver 1.2 5/50 1/6/2012 Integrated Circuits Inc. aSPI28W Install Software In Windows 7 1. Right-click on the aSPI28W zip file, and click [ Extract All… ] . 2. Select [ Show extracted files when complete ] , then Click [ Extract ] . Ver 1.2 6/50 1/6/2012 Integrated Circuits Inc. aSPI28W 3. Windows will start to extract files. 4. Windows will extract all files in the same directory with the zip file. Ver 1.2 7/50 1/6/2012 Integrated Circuits Inc. aSPI28W Install Driver In Windows XP 1. Connect aSPI28W to your computer by USB cable. 2. When first time connect aSPI28W to the computer, windows will show “Found New Hardware Wizard” windows, select [ No, not this time ] , then click [ Next ] . Ver 1.2 8/50 1/6/2012 Integrated Circuits Inc. aSPI28W 3. Select [ Install from a list or specific location (Advanced) ] , then click [ Next ] . 4. Select or click and follow below graph to assign the driver. Ver 1.2 9/50 1/6/2012 Integrated Circuits Inc. aSPI28W 5. Windows will copy the driver to your PC and start to install. 6. Click [ Finish ] to end of install driver. Ver 1.2 10/50 1/6/2012 Integrated Circuits Inc. aSPI28W Install Driver In Windows 7 1. Connect aSPI28W to your computer by USB cable. 2. Click and follow below graph to open [ Control Panel ] . Ver 1.2 11/50 1/6/2012 Integrated Circuits Inc. aSPI28W 3. Click and follow below graph to open [ Hardware and Sound ] . 4. Click and follow below graph to open [ Device Manager ] . Ver 1.2 12/50 1/6/2012 Integrated Circuits Inc. aSPI28W 5. You can find aMTP32M in the list. 6. Right-click aMTP32M icon, and click [ Update Device Software… ]. Ver 1.2 13/50 1/6/2012 Integrated Circuits Inc. aSPI28W 7. Click and follow below graph to install driver manually. 8. Select or click and follow below graph to assign the driver. Ver 1.2 14/50 1/6/2012 Integrated Circuits Inc. aSPI28W 9. Windows will start to install driver to your PC. 10. When the driver install, if windows show the below message, please click [ Install this driver software anyway ] . Ver 1.2 15/50 1/6/2012 Integrated Circuits Inc. aSPI28W 11. Click [ Close ] to end of install driver. Ver 1.2 16/50 1/6/2012 Integrated Circuits Inc. aSPI28W Build A Program Data 1. Double click aSPI28W icon to open software. 2. Click [ Tools ] → [ Editor ] to open “aMTP Series Sound editor”. Ver 1.2 17/50 1/6/2012 Integrated Circuits Inc. aSPI28W 3. Click [ Device ] to select the device you want. Ver 1.2 18/50 1/6/2012 Integrated Circuits Inc. aSPI28W 4. Click [ Mode ] to select the mode you want. More detailed description of “Mode”, please refer to aMTP32M data sheet. Ver 1.2 19/50 1/6/2012 Integrated Circuits Inc. aSPI28W 5. Click [ Vout ] to select the voice mode you want. PWM can directly drive speaker to save cost, but volume is smaller than DAC DAC need external amplifier to driver speaker. The volume depends on the amplifier and louder than PWM. More detailed description of DAC or PWM, please refer to aMTP32M data sheet. Ver 1.2 20/50 1/6/2012 Integrated Circuits Inc. aSPI28W 6. Use Block-1 to select a directory, and Block-2 will list all of wave file in this directory. Ver 1.2 21/50 1/6/2012 Integrated Circuits Inc. aSPI28W 7. Double click file name in Block-2 to assign file into Block-3. Only Block-3 files will occupy memory space. The wave file must be 8-bit, mono format, and less then 20KHz sampling rate. Ver 1.2 22/50 1/6/2012 Integrated Circuits Inc. aSPI28W 8. You can right-click a file name in Blick-3 and click [ Remove ] to remove it. Ver 1.2 23/50 1/6/2012 Integrated Circuits Inc. aSPI28W 9. Selected a section in Block-4 and assign waves by double click file name in Block-3, Block-5 will show Bock-3 assigned files played in Block-4 sections. In this example, when you trigger Section 1, the chip will play : 10K.wav + 12K.wav + 14K.wav + tp3.wav Ver 1.2 24/50 1/6/2012 Integrated Circuits Inc. aSPI28W 10. You can right-click or double click a file name in Block-5 and click button to remove, change sequence or choose the Busy pin output when played. Ver 1.2 25/50 1/6/2012 Integrated Circuits Inc. aSPI28W 11. You can right-click or double click a section in Block-4 and click button to choose edge, holdable and re-trigger function . More detailed description of “Edge”, “Holdable” and “Re-Trigger”, please refer to aMTP32M data sheet. Ver 1.2 26/50 1/6/2012 Integrated Circuits Inc. aSPI28W 12. You can also click top entry [ Edge ] , [ Holdable ] or [ Retrigger ] in Blick-4 to choose a trigger function for all sections. Ver 1.2 27/50 1/6/2012 Integrated Circuits Inc. aSPI28W 13. You can use [ File ] → [ Save ] / [ Load ] to save current editing or load previous editing.. Ver 1.2 28/50 1/6/2012 Integrated Circuits Inc. aSPI28W 14. When you finish edit, use [ Build ] to build a program file. Ver 1.2 29/50 1/6/2012 Integrated Circuits Inc. aSPI28W 15. Select a directory, and give it a name to save it. Ver 1.2 30/50 1/6/2012 Integrated Circuits Inc. aSPI28W 16. Wait few seconds, software will show build result. Ver 1.2 31/50 1/6/2012 Integrated Circuits Inc. aSPI28W 17. You will get a program data (*.data), and function table (*.log) as below : Ver 1.2 32/50 1/6/2012 Integrated Circuits Inc. aSPI28W Program Data To aMTPxxM ( DBMFL-STD2 ) 1. Connect aSPI28W USB writer to the demo board DBMFL-STD2. 2. Double click aSPI28W icon to open software. 3. Check writer already connected. Ver 1.2 33/50 1/6/2012 Integrated Circuits Inc. aSPI28W 4. Click [ … ] to load a aMTPxxM program file (*.data). Ver 1.2 34/50 1/6/2012 Integrated Circuits Inc. aSPI28W 5. Software will get programmed file check sum , then show on the file path left. 6. Click [ Write ] to program the file to aMTPxxM chip. Ver 1.2 35/50 1/6/2012 Integrated Circuits Inc. aSPI28W 7. Check power or battery already removed, then click [ Yes ] . 8. Software will start to erase, program and verify automatically. Ver 1.2 36/50 1/6/2012 Integrated Circuits Inc. aSPI28W 9. When write successfully , software will show “Verify completed”. 10. You can do erase or verify only by [ Erase ] or [ Verify ] . 11. Now, you can remove aSPI28W USB writer , connecting power and speaker to play . About how to use DBMFL-STD2, please refer [ DBMFL-STD2 user guide] . Ver 1.2 37/50 1/6/2012 Integrated Circuits Inc. aSPI28W Program Data To aMTPxxM ( DBMFL-ENG2 ) 1. Connect aSPI28W USB writer to the demo board DBMFL-ENG2. 2. Double click aSPI28W icon to open software. 3. Check writer already connected. Ver 1.2 38/50 1/6/2012 Integrated Circuits Inc. aSPI28W 4. Click [ … ] to load a aMTPxxM program file (*.data). Ver 1.2 39/50 1/6/2012 Integrated Circuits Inc. aSPI28W 5. Software will get programmed file check sum, then show on the file path left. 6. Click [ Write ] to program the file to aMTPxxM chip. Ver 1.2 40/50 1/6/2012 Integrated Circuits Inc. aSPI28W 7. Check power or battery already removed, then click [ Yes ] . 8. Software will start to erase, program and verify automatically. Ver 1.2 41/50 1/6/2012 Integrated Circuits Inc. aSPI28W 9. When write successfully , software will show “Verify completed”. 10. You can do erase or verify only by [ Erase ] or [ Verify ] . 11. Now, you can remove aSPI28W USB writer, connecting power and speaker to play. About how to use DBMFL-ENG2, please refer [ DBMFL-ENG2 user guide] . Ver 1.2 42/50 1/6/2012 Integrated Circuits Inc. aSPI28W Program Data To aMTPxxM ( Single Chip Program ) aSPI28W PIN CONFIGURATIONS Pin Number 1 2 3 4 5 6 7 8 9 10 Ver 1.2 Pin Name WP RSTB SCK CE PWR NC SO SI GND HOLD Description Write Protect Reset Pin Serial Data Clock Chip Enable Power VDD -Serial Data Output Serial Data Input Power Ground Data Hold 43/50 1/6/2012 Integrated Circuits Inc. aSPI28W Single Chip Program Connected aSPI28W USB writer to below circuit through program pin, then you can start to program aMTPxxM. Warning: aSPI28W PWR pin will offer power to circuit. So before connecting to aSPI28W, you must remove any other power source and device which may input signal to circuit. Ver 1.2 44/50 1/6/2012 Integrated Circuits Inc. aSPI28W Program Data To aMTPxxM ( In-Circuit Program ) aSPI28W PIN CONFIGURATIONS Pin Number 1 2 3 4 5 6 7 8 9 10 Ver 1.2 Pin Name WP RSTB SCK CE PWR NC SO SI GND HOLD Description Write Protect Reset Pin Serial Data Clock Chip Enable Power VDD -Serial Data Output Serial Data Input Power Ground Data Hold 45/50 1/6/2012 Integrated Circuits Inc. aSPI28W In-Circuit Program (Writer Provide Supply) Connected aSPI28W USB writer to your application circuit through program pin, then you can start to program aMTPxxM with your application circuit. Warning: aSPI28W PWR pin will offer power to circuit. So before connecting to aSPI28W, you must remove any other power source and device which may input signal to circuit. Ver 1.2 46/50 1/6/2012 Integrated Circuits Inc. aSPI28W In-Circuit Program With (User Provide Supply) Connected aSPI28W USB writer to your application circuit through program pin and provide VDD, then you can start to program aMTPxxM with your application circuit. User provide supply VDD, VDD need between 3.3V and 3.6V. Ver 1.2 47/50 1/6/2012 Integrated Circuits Inc. aSPI28W In-Circuit Program With LDO (User Provide Supply) Connected aSPI28W USB writer to your application circuit through program pin and provide VDD, then you can start to program aMTPxxM with your application circuit. User provide supply VDD, VDD need between 3.3V and 3.6V. Ver 1.2 48/50 1/6/2012 Integrated Circuits Inc. aSPI28W In-Circuit Program With LDO (Writer Provide Supply) Open J001, then connected aSPI28W USB writer to your application circuit through program pin. Now you can start to program aMTPxxM with your application circuit. Warning: aSPI28W PWR pin will offer power to circuit. So before connecting to aSPI28W, you must open J001 to prevent power into LDO VOUT pin. When program finished, remove aSPI28W first, then close J001 to start voice play. Ver 1.2 49/50 1/6/2012 Integrated Circuits Inc. aSPI28W HISTORY Ver 1.2 2012/01/06 [ Remove ] Section : Single Chip Program (User Provide Supply) [ Modify] Section: In-Circuit Program With LDO (User Provide Supply). ------------------------------------------------------------------------------------------------------------------Ver 1.1 2012/01/04 [ Modify ] aSPI28W pin configurations. [ Modify] Section: Program and In-circuit program. ------------------------------------------------------------------------------------------------------------------Ver 1.0 2011/12/05 St The 1 version user guide for aSPI28W USB writer. Ver 1.2 50/50 1/6/2012