Integrated Circuits Inc. aP23KW16S - USB Writer User Guide aP23KW16S USB Writer USER GUIDE Aplus Integrated Circuits, Inc. www.aplusinc.com.tw [email protected] Page 1 of 14 5/20/2015 Integrated Circuits Inc. aP23KW16S - USB Writer User Guide Introduction The aP23KW16S USB Writer is designed to support Aplus aP23xxx series Voice chips. It is suitable for: - aP23682 aP23341 aP23170 aP23085 ( 682 sec, 4 I/O chip) – SOP16 ( 341 sec, 4 I/O chip) – SOP16 ( 170 sec, 4 I/O chip) – SOP16 ( 085 sec, 4 I/O chip) – SOP16 This development system serves two main functions: Compiler – to created a dp2 file from user’s Voice files Writer – to program the dp2 file into the aP23xx chip The Compiler is used to combine the edited voice files into the chip to form the desired Voice Group and to define the playback functions of each Voice Group by selecting different Options and Trigger Modes of each individual Voice Group. The Writer is used to program the voice data into the aP23xx devices that resulted from the Compiler Function. A Writer Board connected to the PC via USB port is required. Page 2 of 14 5/20/2015 Integrated Circuits Inc. aP23KW16S - USB Writer User Guide Installation Hardware Installation aP23KW16S is a USB based writer programmer. It is intended to be used in Windows XP,Win7,Win8 computer. Writer Board Connection 1) Connect USB cable from the writer board to the computer. The computer will display a new hardware is found message. The installation will begin automatically. 2) If there are too many USB devices are connected to your computer at the same time, the current supply from USB may not be sufficient to support the writer board. Fig. 1 The aP23KW16S USB Writer Programmer Board Page 3 of 14 5/20/2015 Integrated Circuits Inc. aP23KW16S - USB Writer User Guide Running The Software Double click the file 23KWComplier.exe to launch the software. The steps of compiler : 1. Select your required IC body. 2. Select your required trigger mode. 3. Select voice output mode. 4. Select your required voice folder. 5. Show all your required voice files. (Only wav files acceptable ) 6. Select the compression mode. 7. Loading the required .wav files. 8. Show the memory of your usage. 9. Select if adding the silence. 10. Select required debounce time. 11. Select power on play. 12. Volume control setting. 13. Select SBT loop. 14. Select if using the oscillator. 15. Select the output function for output1, output2, output3. 16. Setting your required voice sections and function mode. 17. Show your final voice list. 18. After setting the voices & function , push the button to create .txt & .dp2 files. Page 4 of 14 5/20/2015 Integrated Circuits Inc. aP23KW16S - USB Writer User Guide The steps of writer : 1. Select your required IC body. 2. Loading your programming file. ( xxx.dp2 ) 3. Check IC body is blank. 4. Execute programming. 5. Verify the data of your programming. 6. Select if you need security mechanism. *** (can’t be copied; If do this, it can not be verified and can not be Master IC) 7. Show the conditions of executing 1,2,3,4,5,6. 8. Show the progress of “blank check”, “program” or “verify”. Page 5 of 14 5/20/2015 Integrated Circuits Inc. aP23KW16S - USB Writer User Guide Example for Compiler : a. Select the IC body is aP89341K. b. Select Key mode to be our trigger mode. c. Select the voice output is PWM. d. Click Add-Wav to pick your required folder. e. After confirming the folder, click the button. f. All wav files in the folder will be listed here. Page 6 of 14 5/20/2015 Integrated Circuits Inc. aP23KW16S - USB Writer User Guide g. If wave file is too big, we can choose compressing files to decrease their sizes. ( UALW compress wave file to 8bits, PCM8 compress wave file to 8bits, ADPCM compress wave file to 4bits ) *** Please note if your original voice is 16bit wav file which need to be compressed to 8 bit, we suggest you choose ULAW would be better. h. Show all your required .wav files. Double click .wav files you required in f, they will be showed in h. i. It will show the memory size you has been used. ( Please note the data size you loaded can’t exceed the body’s memory ) ***Please note the data size you loaded can’t exceed the body’s memory. If so, there are some ways to solve this problem : 1).Change it to a bigger memory size body. ex: aP89341K to aP89682K 2).Compressed the wav files to decrease the memory size. ex: from PCM16 to PCM8. 3).Delete some required voice files. j. Select the signal timing. ( 16ms or 65us ) k. When power on, immediately play SW0 one time. l. Set volume control function.( if not select means do not need to use the volume level control function) m. Volume Warp : Volume level increase to the max then begin from the level 1. *Select disable : When volume is adjusted to the top, use M1 to decrease the volume. When volume is adjusted to the ground, use M0 to increase the volume *Select enable : When volume is adjusted to the top, it will restart from level 1. When volume is adjusted to the ground, it will restart from level 16. Page 7 of 14 5/20/2015 Integrated Circuits Inc. aP23KW16S - USB Writer User Guide n. Select 16 level volume control. (There are three options: 16 level/8 level/4 level) o. Setting volume level default at level 16. p. Completing volume function setting, click set button. q. Select set Oscillator from Crystal mode, External Rosc mode, Internal Rosc mode. ( if selecting Crystal mode, It should be setting at pin M0 & pin M1 ) r. When trigger in “Key mode”, if select SBT Loop, it will keep loop play in every group. If not, it will play one time in every group. s. Select I/O Port, ex : Out 1 – 3Hz pulse, Out 2 – busy signal, Out 3 – stop signal. *** Please refer to our spec for more signal output function. t. If you want to add mute voice, click Silence button to set the silence time. ex : if need silence 20ms. u. Key in 20 ( unit ms ) then click OK button. v. Double click Panel – A for your setting the function of each Group. w. Key in group number. Page 8 of 14 5/20/2015 Integrated Circuits Inc. aP23KW16S - USB Writer User Guide v. SW means group. ex : Select the second group and double click the wav files you required in ( x.) then Panel-B will show them. The mouse moves to Panel – B then enter right key for your adjusting the order of the wav files or insert or delete them. Page 9 of 14 5/20/2015 Integrated Circuits Inc. aP23KW16S - USB Writer User Guide y. If the mouse move to Panel-A and enter right key, it will show there are additional function for add, multi-add, delete, play and stop. Add : add single group. Multi-Add : Add multi-groups at one time ( y-1 ). Delete: delete the group. Play : play all voices of the group. Stop : stop the voice playback. z. Finish compiling ,click compiler button. Example for Writer : Page 10 of 14 5/20/2015 Integrated Circuits Inc. aP23KW16S - USB Writer User Guide a. Select your required IC body. b. Click Load button to load the compiled dp2 file. After loading, it will show b-1 message. c. Click Blank Check button to check if this IC is blank. After checking, it’ll show 100% & c-1 message. Page 11 of 14 5/20/2015 Integrated Circuits Inc. aP23KW16S - USB Writer User Guide d. Click Program button to execute programming. When detecting IC has been put on the writer, it will show d-1 message. After completing the programming, it’ll show 100% & d-2 message. e. Click Verify button to execute verification. After verifying, it’ll show 100% and e-1 message. f. Select Security before Program IC to add the security function. ( To avoid the data to be copied and it can’t be a master IC ) PS : After the IC selecting Security, this IC can’t execute Verify. After completing the programming, it’ll show 100% & f-1 message. Inserting Devices into the Programmer - SOP package devices Device should be inserted align to the bottom of the 16-pin textool socket. Page 12 of 14 5/20/2015 Integrated Circuits Inc. Page 13 of 14 aP23KW16S - USB Writer User Guide 5/20/2015 Integrated Circuits Inc. aP23KW16S - USB Writer User Guide HISTORY 2015/03/31 aP23KW16S User Guide. 2015/05/20 Dat file become dp2 file. Page 14 of 14 5/20/2015