Ap23xx V2.3 8pin Data Sheets
Ap23xx V2.3 8pin Data Sheets
Ap23xx V2.3 8pin Data Sheets
aP23682/341/170/085 8PIN
VOICE OTP IC
aP23682 – 682sec
aP23341 – 341sec
aP23170 – 170sec
aP23085 – 85sec
8 PIN
APLUS INTEGRATED CIRCUITS INC.
Address:
Sales E-mail:
3 F-10, No. 32, Sec. 1, Chenggung Rd., Taipei,
Taiwan 115, R.O.C.
[email protected]
(115)台北市南港區成功路一段 32 號 3 樓之 10.
TEL: 886-2-2782-9266
FAX: 886-2-2782-9255
Support E-mail:
WEBSITE : http: //www.aplusinc.com.tw [email protected]
FEATURES :
• Standard CMOS process.
• Embedded 16M/8M/4M/2M EPROM.
• 682/341/170/85 sec Voice Length at 6KHz sampling and 4-bits ADPCM compression.
• Maximum 1024 voice groups.
• Maximum 48KHz sample rate.
• Combination of voice blocks to extend playback duration.
• User selectable PCM16 or ULAW8 or PCM8 or ADPCM4 data compression.
• 5 triggering modes are available :
- Key Mode :
S2 ~ S3 to trigger up to 3 voice groups; Power on play function.
- SBT Mode :
SBT to trigger up to 1024 voice groups sequentially; Power on play function.
- SPI Mode : CSB , SCK , DI.
3 wire address control up to 1024 voice groups.
- I2C Mode : SCK , DI.
2 wire address control up to 1024 voice groups.
- MP3 Mode :
S2: Forward , S3:Stop.
SBT: Play/Pause Trigger up to 1024 voice groups.
• Voice Group Trigger Options: Edge / Level; Hold / Unholdable; Retrigger / Non-retrigger.
• Optional 16ms or 65us selectable debounce time.
• RST pin set HIGH to stop the playback at once.
• LVR ( Low voltage reset ).
• Programmable outputs pin out1:
(*Note: When Key Mode or I2C Mode the SBT pin as output1 use.)
for busy-H , busy-L , stop-H , stop-L , prog busy-H , prog busy-L , Loadbit,
LED flash ( LED high active ) , ~LED flash ( LED low active ).
• One kind oscillator: Internal-Rosc.
• 2V – 5V single power supply and < 5uA low stand-by current.
• 16/8/4 level volume control setting available.
• 16 bits audio out.
• PWM Vout1 and Vout2 drive speaker directly.
• D/A COUT pin drives speaker through an external BJT or audio AMP.
• Development System support for voice compilation.
DESCRIPTION :
aP23682/341/170/085 series high performance Voice OTP is fabricated with Standard CMOS
process with embedded 16M/8M/4M/2M bits EPROM. It can store up to 682/341/170/85 sec voice
message with 4-bits ADPCM compression at 6KHz sampling rate. 16-bits PCM、8-bits PCM and
8-bits ULAW at (4K to 48K sample rate) is also available for user selecting.
User selectable triggering and output signal options provide maximum flexibility to various
applications. Built-in resistor controlled oscillator, 16-bits current mode DAC output and 14-bits PWM
direct speaker driving output minimize the number of external components. PC controlled programmer
and developing software are available.
PIN NAMES :
OTP
PIN Playback
Program Description
(8-pin) Mode
Mode
1 VOUT1 PWM output to drive speaker directly.
PWM output to drive speaker directly. /
2 VOUT2/COUT
DAC current output.
3 VDD VDD Supply voltage.
4 VSS VSS Supply ground.
5 SBT Trigger pin (I/O pin with internal pull-down).
6 S2 S2 Trigger pin (I/O pin with internal pull-down).
7 S3 S3 Trigger pin (I/O pin with internal pull-down).
8 VPP VPP Supply ground.
PIN DESCRIPTIONS :
S2 ~ S3
Input Trigger Pins:
- In Key Mode :S2 and S3 is used to trigger 3 Voice groups.
- In SPI Mode :
S2 is the Serial Clock (SCK) pin which clocks the input command and data bits into the chip.
S3 is the Data In (DI) pin in which command and data bits are shifted input into the chip.
- In I2C Mode :
S2 is the Serial Clock (SCK) pin which clocks the input command and data bits into the chip.
S3 is the Data In (DI) pin in which command and data bits are shifted input into the chip.
- In MP3 Mode :
S2 :Forward. S3:Stop.
SBT
Input Trigger Pin:
- In SBT Mode : This pin is trigger pin to play Voice Groups one time or looping sequentially up to
1024 Voice Groups.
- In SPI Mode : SBT is Chip Select (CSB) pin to initiate the command input.
- In I2C Mode : SBT as output1 use.
- In MP3 Mode: SBT pin is Play / Pause.
VDD
Power Supply Pins : This pins must be connected to the positive power supply.
VPP
During voice playback, this pin and VSS must be connected together to the power ground.
In Circuit Program : This pin is connected to a separate 8.5V power supply voltage for OTP
programming. Connect resistor between power ground and VPP.
Note : Resistor is 10K Ω.
VSS
Power Ground Pins : VSS and VPP pins must be connected together to the power ground during
voice playback.
In Circuit Program : VSS and VPP pins must be separated to the power ground. Connect resistor
between power ground and VPP.
COUT
16-bits current mode DAC output for voice playback.
Voice files created by the PC base developing system are stored in the built-in EPROM of the
aP23682/341/170/085 chip as a number of fixed length Voice Blocks. Voice Blocks are
then selected and grouped into Voice Groups for playback. Up to 1024 Voice Groups are allowed.
A Voice Blocks Table is used to store the information of combinations of Voice Blocks and then
group them together to form Voice Group.
Voice Blocks are grouped together using Voice Table to form Voice Group for playback:
Voice File data is stored in the on-chip EPROM as either 4-bits ADPCM or 8-bits PCM/ ULAW format
or 16-bits PCM format. Voice data are stored as 16-bits PCM forma is without compression. The voice
playback quality is best. Voice data stored as 4-bits ADPCM or 8-bits PCM/ ULAW provide 4:2 data
compression to save memory space. But voice playback quality with be lower than 16-bits PCM format.
Group Options :
User selectable options that affect each individual group are called Group Options. They are:
Fig. 1 to Fig. 6 show the voice playback with different combination of triggering mode and the
relationship between outputs and voice playback.
TRIGGER MODES :
There are five trigger modes available for aP23682/341/170/085 series.
• Key Mode.
• SBT Mode.
• SPI Mode.
• I2C Mode.
• MP3 Mode.
• Key Mode :
With this trigger mode, the beginning 3 Voice Groups are triggered by setting S2 to S3 to HIGH or
LOW in different combinations. Each Voice Group can have its only independent trigger options (See
Fig. 1,2,4 and 5 for trigger options definition).
The SBT pin compile must be set up [ SBT swap ] and [ SBT as OUT1 ]
SBT as OUT1 can select : busy-H/L,stop-H/L,LED flash(LED high active),
~LED flash(LED low active),prog busyH/L, LoadBit.
• SBT Mode :
A maximum of 1024 Voice Groups are available. And can be triggered one by one sequentially
with the SBT key (See Fig. 3 and 6).
LOAD 1. This command pre-load the next Voice Group Address into the address buffer.
2. The "Full/Load" signal will become HIHG once the Group Address is loaded.
3. The Voice Group will be played once the playing of the current Voice Group is
finished.
4. The "Full/Load" signal will become LOW once the Voice Group is played
and the address buffer is released and ready for next PREFECT action.
5. Using this command make sure there is no gap between each Voice Group.
PLAY 1. This command load the Voice Group Address into the address buffer.
2. The current Voice Group will be stopped and play the new one.
PU1 Power up the chip without ramp-up (suitable for PWM direct drive).
PU2 Power up the chip with ramp-up (suitable for COUT transistor drive).
PD1 Power down the chip without ramp-down (suitable for PWM direct drive).
PD2 Power down the chip with ramp-down (suitable for COUT transistor drive).
VOL Set Volume index of volume Table.
VOL-- Decrease the volume index of volume Table.
VOL++ Increase the volume index of volume Table.
PAUSE Pause the current Voice Group.
RESUME Resume the current Voice Group.
REWIND Play the current Voice Group from it's beginning.
State Description :
• SPI Mode :
This trigger mode is specially designed for simple CPU interface. The aP23682/341/170/085 is
controlled by command sent to it from the host CPU. S2 、 S3 and SBT used to input command word
into the chip .
SBT acts as CSB (Chip Select) to initiate the command word input.
S2 acts as SCK (Serial Clock) to clock-in the command word at rising edge.
S3 acts as DI (Data-In) to input the command bits.
SPI Command Table [MSB First] : Command input into the chip 16-bits data.
(9). Rewind :
a. Command timing reference Fig.10 SPI Command timing.
b. Play the current Voice Group from it is beginning.
• I2C Mode :
This trigger mode is specially designed for simple CPU interface. The aP23682/341/170/085 is
controlled by command sent to it from the host CPU. S2 and S3 are used to input command word into
the chip while SBT as OUT1 as output from the chip to the host CPU for feedback response.
S2 acts as SCK (Serial Clock) to clock-in the command word at rising edge.
S3 acts as DI (Data-In) to input the command bits.
SBT acts as BUSY to indicate the chip is in busy state(include play and ramp).
I2C Command Table [MSB First] : Command input into the chip 16-bits data.
* The data bit only can be changed in SCK low level , but it has to be latched before rising edge
of SCK.
Add stop condition after power on and internal chip configuration time finish.
In Power up command : After start condition signal, add delay time more than 300us to wake up device.
(9). Rewind :
a. Command timing reference Fig.14 I2C Command timing.
b. Play the current Voice Group from it is beginning.
• MP3 Mode :
User can start to Play or Pause the voice by SBT pin, and Forward play by S2 pin, up to 1024 Voice
Sections.
BLOCK DIAGRAM :
Note1:
Note2:
TIMING WAVEFORMS :
Fig. 18
• SPI Mode :
Fig. 19
• I2C Mode :
Fig. 20
Notes :
The long or short debounce time is selectable as whole chip option during Voice Files Compiling.
Fig. 21
TYPICAL APPLICATIONS :
Key Mode
Fig.22
SPI Mode
Fig. 23
I2C Mode
Fig. 24
MP3 Mode
Fig. 25
Notes:
1. Between VPP and GND should add 10KΩ.
2. VDDA and VDDP should be connected to the Positive Power Supply.
3. VSSA and VSSP should be connected to the Power GND.
4. Substrate should be connected to the Power GND.
Notes:
1.Between VPP and GND should add 10KΩ.
2.VDDA and VDDP should be connected to the Positive Power Supply.
3.VSSA and VSSP should be connected to the Power GND.
4.Substrate should be connected to the Power GND.
HISTORY
2015/07/20
aP23682_341__170_085 SPEC : Modify cpu control timing waveforms
Modify Page. 15 DC CHARACTERISTICS
Reduce output function from 14 to 9.
2015/09/08
aP23682_341__170_085 SPEC : Modify ULAW5 to ULAW8
Add SBT mode independent description.
Optimize the CPU mode control.
Add In Circuit Program application on page. 22.