Aplus aP23KWC16D Manual de usuario

Integrated Circuits Inc. aP23KWC16D - USB Writer User Guide
Page 1 of 20 9/18/2015
aP23KWC16D
USB Writer
USER GUIDE
Aplus Integrated Circuits, Inc.
www.aplusinc.com.tw

Integrated Circuits Inc. aP23KWC16D - USB Writer User Guide
Page 2 of 20 9/18/2015
Introduction
The aP23KWC16D USB Writer is designed to support Aplus aP23xxx series Voice chips. It is suitable
for:
-aP23682 ( 682 sec, 4 I/O chip) – DIP16
-aP23341 ( 341 sec, 4 I/O chip) – DIP16
-aP23170 ( 170 sec, 4 I/O chip) – DIP16
-aP23085 ( 085 sec, 4 I/O chip) – DIP16
This development system serves three main functions:
Compiler – to create a dp2 file from user’s Voice files
Writer – to program the dp2 file into the aP23xx chip
Copier – connect DC 5V adaptor for 1 to 1 programming
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.
The Copier is using the compiled *.dp2 which loads to writer then disconnect the USB and connect the
DC 5V for 1 pcs copying.

Integrated Circuits Inc. aP23KWC16D - USB Writer User Guide
Page 3 of 20 9/18/2015
Installation
Hardware Installation
aP23KWC16D 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 aP23KWC16D USB Writer Programmer Board

Integrated Circuits Inc. aP23KWC16D - USB Writer User Guide
Page 4 of 20 9/18/2015
Running The Software
Double click the file 23KWComplier.exe to launch the software.
COMPILER :
COMPILER DESCRIPTION:
1. Select your required IC body.
--- aP23682-8pin , aP23341-8pin , aP23170-8pin , aP23085-8pin.
--- aP23682-16pin , aP23341-16pin , aP23170-16pin , aP23085-16pin.
--- aP89682K , aP23341K , aP89170K , aP89085K.

Integrated Circuits Inc. aP23KWC16D - USB Writer User Guide
Page 5 of 20 9/18/2015
2. Select your required trigger mode.
--- Key mode / CPU parallel mode / MP3 mode / SPI mode / I2C mode / aP89 mode / SBT mode.
3. Select voice output mode.
--- DAC or PWM.
4. Select your required voice file [xxx.wav] folder.
5. Show all your required voice files. (Only wav files acceptable).
--- The [xxx.wav]: 8 bits or 16 bits mono xxx.wav.
6. Select the compression mode.
--- ADPCM4 / ULAW8 / PCM8 / PCM16.
7. Loading the required *.wav files.
8. Show the memory of your usage.
9. Select if adding the silence.
--- 1ms ~ 10000ms.
10. Select required debounce time.
--- 65us or 16ms.
11. Select power on play.
--- Power on play [sw0] group once.
12. Volume control setting.
--- Volume level x16 / x8 / x4.
13. Select SBT loop. (At Key mode or SBT mode).
--- Enable: The SBT pin sequential trigger & loop play.
--- Disable: The SBT pin sequential trigger & play once.
14. Select SBT pin swap. (for 8pin device only).
--- Select (SBT as OUT1) or (SBT as KEY3).
[PS: Enable the SBT Swap, the SBT loop auto disable].
--- SBT as OUT1: busy-H/L, stop-H/L, LED flash (LED high active),
~LED flash (LED low active), prog-busyH/L, LoadBit.
S3 ( pin7 ) S2 ( pin6 ) Group
SBT = OUT1
0 1 SW2 Busy-H/L
Stop-H/L
LED ……
1 0 SW3
1 1 SW10
--- SBT as Key3:
SBT ( pin5 ) S3 ( pin7 ) S2 ( pin6 ) Group
0 0 1 SW1
0 1 0 SW2
0 1 1 SW3
1 0 0 SW4
1 0 1 SW5
1 1 0 SW6
1 1 1 SW7
15. Select if using pin S4 as data output pin.
--- The SPI mode or I2C mode of data output for 24 pin IC body and 16 pin IC body.
16. Select if using the oscillator.
--- XT (X’tal=16MHz ) / Rosc ext ( 68K ohm ) / Rosc Int.

Integrated Circuits Inc. aP23KWC16D - USB Writer User Guide
Page 6 of 20 9/18/2015
17. Select if using low voltage reset.
--- Select ON if the IC voltage less than 2V will be reset.
18. Select the output function for output1, output2, output3.
--- busy-H, busy-L.
--- LED flash ( LED high active ) , ~LED flash ( LED low active ).
--- stop-H , stop-L
--- LoadBit: For the play command [094h+D9~D0]; [D9~D0] total 10 bits indicate the voice address.
Same the aP89341 prefetch-071h [no gap loop play].
--- prog busy-H , prog busy-L can setup the each section of group.
19. Setting your required voice sections and function mode.
20. Show your final voice list.
21. Compiler: After setting the voices & function, push the button to create xxx.txt & xxx.dp2 files.
22. Re-download & Re-editing [xxx.dp2] to setting and function.
23. Show Check Sum.
WRITER :
WRITER DESCRIPTION:
1. Loading your programming file. (xxx.dp2)
2. Show setting and function after loading *.dp2 file.
3. Show your required IC body.

Integrated Circuits Inc. aP23KWC16D - USB Writer User Guide
Page 7 of 20 9/18/2015
4. Show voice sections and function mode.
5. Show the content of your selected section of voice list.
6. Select to blank check IC is blank?
7. Select to execute programming.
8. Select to verify the data of your programming.
9. Select if you need security mechanism.
*** (If do this, it can’t be copied; it can’t be verified and can’t be Master IC.)
10. Execute your selected (6.) (7.) (8.) (9.).
11. Show the progress of “blank check”, “program”, “verify” and “load to flash”.
12. Load to Flash: download the program file (xxx.dp2) to [1 to 1 copier] writer.
About :
ABOUT DESCRIPTION:
1. Show software version.
2. Show website of Aplus Integrated Circuits Inc.
3. Detect writer firmware version.
4. Update writer firmware version.

Integrated Circuits Inc. aP23KWC16D - USB Writer User Guide
Page 8 of 20 9/18/2015
Example for Compiler :
1. Select the IC body is [aP23085 - 8Pin].
2. Select [Key Mode] to be our trigger mode.
3. Select the voice output is [PWM].
4. Click Add-Wav to pick your required folder.
5. After confirming the folder, click the button.
6. All wav files in the folder will be listed here.

Integrated Circuits Inc. aP23KWC16D - USB Writer User Guide
Page 9 of 20 9/18/2015
7. Show all your required *.wav files. Double click .wav files you required in f, they will be showed in g.
7a. 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: aP23085-8Pin to aP23341-8Pin.
2). Compressed the wav files to decrease the memory size. ex: from PCM16 to PCM8.
3). Delete some required voice files.
8. If wav file is too big, we can choose compressing files to decrease their sizes.
(UALW8 compress wav file to 8bits, PCM8 compress wav file to 8bits,
ADPCM compress wav file to 4bits).
*** Please note if your original voice is 16bits wav file which need to be compressed to 8 bits,
We suggest you choose ULAW would be better.
9. If you want to add mute voice, click Silence button to set the silence time.
10. If need silence 20ms. Key in 20 (unit ms) then click OK button.

Integrated Circuits Inc. aP23KWC16D - USB Writer User Guide
Page 10 of 20 9/18/2015
11. Select the signal timing. (16ms or 65us).
12. Enable the power on play function, immediately play [SW0] once.
13. [Set volume] control function.
Select the volume control Level x16 / x8 / x4.
The volume control key by the [M1] and [M0] key.
Volume Warp: Volume level increase to the max then begin from the level 1.
Select disable:
Pin M0: volume Level [+ 1].
ex: Level x8, 1234567888….
Pin M1: volume Level [- 1].
ex: Level x8, 8765432111….
Tabla de contenidos

















