APLUS AV1416K

A
PLUS MAKE YOUR PRODUCTION A-PLUS
AVxx16K Series
DATA SHEET
APLUS
INTEGRATED CIRCUITS INC.
Address:
3 F-10, No. 32, Sec. 1, Chenggung Rd., Taipei,
Taiwan 115, R.O.C.
(115)台北市南港區成功路㆒段 32 號 3 樓之 10.
Sales E-mail:
[email protected]
TEL: 886-2-2782-9266
Technology E-mail:
[email protected]
FAX: 886-2-2782-9255
WEBSITE : http: //www.aplusinc.com.tw
AVxx16K Series
1. GENERAL DESCRIPTION:
The AVH316K , AV0716K , AV1416K , AV2116K , AV2816K and
AV4216K
are single-chip
voice synthesizing CMOS IC. They are low cost with proper functions and can synthesize voice up to 3.5, 7,
14, 21, 28 and 42 seconds, using Aplus 5-bit LOGPCM algorithm. om
Cus
t
er speech data can be
programmed into ROM by changing one mask during the device fabrication. Besides, not only the very
flexible and functional PowerIO pins (IO1/IO2) are available for user to apply in various applications, but also
an interactive development tool “EzSpeech” is ready for user-friendly programming.
2. FEATURES:
(1). Single power supply can operate from 2.4V to 6.4V (in this range, user can set Rosc as a fixed value).
(2). The total voice duration is about 3.5, 7, 14, 21, 28 and 42 seconds those can be partitioned up to 32
voice_sections. Each voice_section length is flexible. Besides, there are additional 32 mute_sections.
(3). Voice length can be individually up to 3.5, 7, 14, 21, 21 and 21 seconds and voice+mute length can be
individually up to 21 seconds at 6kHz sample rate for each voice_section.
(4). Total 96 voice_steps are available for 16 sub_tables. The number of voice_step for each sub_table is
flexible, but maximum is 96. For each voice_step, it can specify one voice_section, playback speed and
IO1/IO2 output enable options if IO1/IO2 are set as output.
(5). Built-in variable oscillator, 16 kinds of playback speed option : ( 3.9k ~ 14.0kHz)
A
14.0kHz
I
6.0kHz
B
12.0kHz
J
5.5kHz
C
10.5kHz
K
5.2kHz
D
9.3kHz
L
4.9kHz
E
8.3kHz
M
4.6kHz
F
7.5kHz
N
4.4kHz
G
7.0kHz
O
4.1kHz
H
6.4kHz
P
3.9kHz
(6). IO1 or IO2 can be either input or output pin (Mask option).
(7). Optional “Three Triggers Input” (all OKY, IO1 and IO1 are input), “Two Triggers Input” (OKY and IO1 are
input, IO2 is output), or “One Trigger Input” (OKY is input, IO1 and IO2 are output).
(A). Each input pin has mask options for Edge/Level, Hold/Unhold and Retrigger/Irritrigger trigger modes.
(B). OKY input can choose One-Key Sequential or Random for maximum 16 sub_tables. At One-Key
Sequential, the Reset function of sub_table sequence can be chosen when other keys are triggered.
(C). OKY and IO1 input can choose Toggle On/Off function or not.
(D). OKY input can choose CDS+1M、CDS、1M pull-low、10M pull low or floating input type.
IO1 and IO2 input can choose CDS+1M、CDS、1M pull-low or floating input type.
(E). Each input can choose debounce time: Long debounce for push buttons. Short debounce for fast
switches.
(F). Input pin priority:OKY > IO1 > IO2.
1
Rev 1.1
2003/9/18
AVxx16K Series
(8). IO1/IO2 have 7 kinds of output option :
(A). Stop_High pulse : high active stop pulse output whenever device stop playing.
(B). Busy_High active : high active signal output during playing.
(C). Busy_Low active : low active signal output during playing.
(D). LED 3Hz flash : 3Hz sink signal output for driving LED during playing at 6kHz sample rate.
(E). LED 6Hz flash : 6Hz sink signal output for driving LED during playing at 6kHz sample rate.
(F). LED dynamic 2/4 : dynamic sink signal output for driving LED during playing.
(G). Synchronous output : arbitrary output with voice, user can edit the Sync signal by PowerIO editor.
※ Where (D) and (E) is the LED flash rate at 6kHz sample rate. For different sample rate, the LED flash
rate is different from original 3Hz or 6Hz.
(9). PWM1 and PWM2 can directly drive buzzer or 8, 16, 32 or 64 ohms speaker.
(10). The voice length in voice_section must be the multiple of 200Hex, and the mute length in voice_section
must be the multiple of 80Hex. But when the voice length in voice_section of “voice + mute” don’t fully
use the last 200Hex, the unused voice length is set as mute and combined with the followed mute time.
(11). In pure mute voice_section of M00~M31, the mute length must be the multiple of 80Hex. The maximum
mute length is up to 21 seconds at 6kHz sample rate for each mute voice_section.
(12). Oscillator selection:
(A). External oscillator: Connect OSC pin to Vdd with a resistor, Rosc.
(B). Internal oscillator: Connect OSC pin to GND. (Not suggested because of frequency shift and system
stability)
※Input Type Description:
Option
CDS + 1M
CDS
1M pull-low
Description
Normal selection for button trigger.
Only 1M pull-low resistance when key-pressed, and 1M+300K(parallel) pull-low resistance
when key-released.
Internal 300K ohms pull-low resistance, usually for photo-resistor trigger.
Internal 1M ohms pull-low resistance, reserve for some special applications.
10M pull-low Internal 10M ohms weak pull-low, usually for touching trigger.
Floating
No internal resistor connection, usually connected to other output pin or connected to GND
by an external resistor.
* 10M pull-low option is not available for IO1/IO2 input.
The input type figure is as page 2.
2
Rev 1.1
2003/9/18
AVxx16K Series
1. ㆒般規格:
㆒般規格
AVH316K、 AV0716K、 AV1416K、 AV2116K、 AV2816K、 AV4216K, 皆 為 單 晶 片 C M O S 語 音
合成 IC,他們都是非常低成本,同時具有相當實用功能的語音 IC 產品。他們以 5-bit LOGPCM 編碼方式,
合成長達 3.5、7、14 、21、28、42秒之語音。藉由製造過程㆗更換光罩,將客戶需要之語音資料編寫入
ROM㆗。另外使用者可以有2個很彈性的 PowerIO pin 選擇 (IO1/IO2),來配合不同之應用,並可用佑華所
提供的 EzSpeech 工具軟體來進行開發。
2. 特性:
特性
(1). 單㆒工作電壓範圍為 2.4 ~ 6.4 伏特(在此範圍內,可採用單㆒ Rosc 電阻值)。
(2). 語音總長度可達 3.5、7、14、21、28、42 秒,且最多可被分割成32個語音段(voice_section),每段長度
可不同。另外還有32個靜音段(mute_section)可供使用。
(3). 每㆒段語音的長度分別最多可達 3.5、7、14、21、21、21 秒。(在6kHz取樣頻率㆘)
每㆒段 “語音+靜音 時間” 的長度,每個母體最多可達 21 秒。(在6kHz取樣頻率㆘)
(4). 共有96個語音格(voice_step),可規劃成16個語音組(sub_table),每個語音組可放的語音格並沒有限制(但
最多只有96個語音格)。每㆒語音格可指定㆒語音段和播放速度,並搭配 IO1/IO2 輸出致能或非致能
(IO1/IO2當作輸出時)。
(5). 內建變頻振盪器,共有16種不同播放速度的選擇(playback speed: 3.9k ~ 14.0kHz):
A
14.0kHz
I
6.0kHz
B
12.0kHz
J
5.5kHz
C
10.5kHz
K
5.2kHz
D
9.3kHz
L
4.9kHz
E
8.3kHz
M
4.6kHz
F
7.5kHz
N
4.4kHz
G
7.0kHz
O
4.1kHz
H
6.4kHz
P
3.9kHz
(6). IO1或IO2可選擇作輸入腳或是輸出腳 (光罩選擇)。
(7). 可選擇 “㆔鍵觸發輸入模式”(OKY, IO1和IO2都當作輸入),“兩鍵觸發輸入模式”(OKY, IO1當作輸入,IO2當
作輸出) 或 “單鍵(OKY)觸發輸入模式”(只有OKY當作輸入,IO1和IO2都當作輸出)。
(A). 每㆒種輸入可選擇不同觸發方式 (光罩選擇):
邊緣觸發 / 位準觸發(Edge/Level) ; 保持 / 非保持(Hold/Unhold) ;
後段蓋前段 / 非後段蓋前段(Retrigger/Irretrigger)。
(B). OKY輸入最多有16個sub_table的 One-Key sequential 或 random 的選擇,在 One-Key sequential 時
並可選擇sub-table的順序是否要Reset(當其他按鍵被觸發後)。
(C). OKY和IO1輸入可選擇是否有 Toggle On/Off 的功能。
(D). OKY 輸入可選擇 CDS+1M、CDS、1M pull-low、10M weak-pull low 或 floating 的輸入方式。
IO1/IO2 輸入可選擇 CDS+1M、CDS、1M pull-low 或 floating 的輸入方式。
(E). 每㆒種輸入可選擇不同防止誤動作(Debounce)時間:Long - 提供㆒般手動操作;Short - 提供跳動開關
使用。
(F). 按鍵優先順序:OKY>IO1>IO2。
3
Rev 1.1
2003/9/18
AVxx16K Series
(8). IO1/IO2可做以㆘ 7 種輸出選擇:
(A). Stop_High pulse : 停止播放時送出高位準脈衝。
(B). Busy_High active : 播放時送出高位準訊號。
(C). Busy_Low active : 播放時送出低位準訊號。
(D). LED 3Hz flash : 播放時 LED 3Hz 閃爍。(當播放速度為 6kHz 時)
(E). LED 6Hz flash : 播放時 LED 6Hz 閃爍。(當播放速度為 6kHz 時)
(F). LED dynamic 2/4 : 播放時 LED動態 2/4位準訊號。
(G). Synchronous 輸出 : 可隨聲音作任意的輸出變化(需開啟PowerIO編輯器來做Sync信號編輯)。
(※ LED 3Hz / 6Hz flash 是指以 6kHz 的播放速度 時,LED閃爍的頻率;不同的播放速度,LED閃爍的
頻率也會不同。)
(9). PWM1,PWM2 可直接驅動 buzzer 或 8、16、32、64Ω speaker。
(10). 每㆒語音段㆗的語音長度為 200HEX 的整數倍,而每㆒語音段㆗的靜音長度為 80HEX 的整數倍。但是
當”語音+靜音” 的語音段㆗的語音長度不滿 200HEX,則剩餘的語音長度會當作靜音與後面的靜音合併。
(11). 純靜音段 M00~M31,每㆒段的靜音長度為80HEX的整數倍,最大靜音長度為21秒。
(12). 選擇頻率振盪器:
(A). 選擇外部電阻可調式頻率振盪器 : 將 OSC 外接電阻到正電源。
(B). 選擇內建頻率振盪器 : 將 OSC 接㆞。(因為頻飄及系統穩定問題,不建議使用)
※ 輸入方式選項:
輸入方式選項
選項
CDS + 1M
CDS
功
能
描
述
㆒般選項,大多用在按鍵觸發。當按鍵按㆘時,IC內部為 1M 的㆘拉電阻;而當按鍵放
開時,IC內部為 1M+300K (並聯) 的㆘拉電阻。
IC內部為 300K 的㆘拉電阻,通常與光敏電阻㆒起使用。
1M pull-low
IC內部為 1M 的㆘拉電阻,保留給㆒些特殊應用使用。
10M pull-low
IC內部為 10M 的㆘拉電阻,通常使用在觸控的應用。
Floating
IC內部無㆘拉電阻,通常連接到其他輸出腳來做控制使用;如果沒連接其他輸出腳,㆒
定要將此腳位外拉電阻到㆞。
*IO1/IO2 當輸入時,沒有 10M pull-low 的選項。
Buffer
Trigger
PAD
300K
Latch
10M
Pull-Low
1M
Pull-Low
4
Rev 1.1
2003/9/18
AVxx16K Series
3. BLOCK DIAGRAM:
C
O
N
T
R
O
L
OKY
IO1
IO2
OSC
5-bit LOG_PCM
DECODER
OUTPUT
BUFFER
L
O
G
I
C
VOICE
ROM
CLOCK
TIMING
GENETATOR
GENERATOR
P
W
M
1
P
W
M
2
4. PAD DESCRIPTION:
Pad Name
Pad No.
ATTR.
Function
OKY
IO1
1
2
I/O
I/O
One-Key Input for trigger.
Status output or input for trigger.
IO2
GND1, 2
3
4, 8
I
Power
Status output or input for trigger.
Negative power supply.
PWM1
Vdd
5
6
O
Power
Audio output.
Positive power supply.
PWM2
OSC
7
9
O
I
Audio output.
Oscillator input. For using internal oscillator, connect OSC to GND.
5. CODE DEVELOPMENT & DEMO SYSTEM:
User can use “EzSpeech“ software tool to develop the desired functions. For details, please see EzSpeech
user manual. After finishing the code programming, user will get 2 files of “.bin” and “.htm”, the binary file
and function check list. User can download the “.bin” file into 4EA_DB demo board to demonstrate the
AVxx16K function. The related mapping of 4EA_DB is as below,
I/O Pin
AVxx16K
OKY
IO1/IO2 as Input
IO1/IO2 as Output
PWM1, PWM2
OSC
4EA_DB
PRA0
PRA1/PRA2
PRB0/PRB1
PWM1, PWM2
OSC1
4EA_DB
Description
PRA0 performs OKY input.
PRA1/PRA2 perform IO1/IO2 input mode.
PRB0/PRB1 perform IO1/IO2 output mode.
PWM output to directly drive speaker.
OSC1 connect 150K ohms resistor to Vdd.
For some input type option, user may need to connect an external resistor. Please refer to the table below,
Input
Type
AVxx16K
CDS + 1M
CDS
1M pull-low
10M pull-low
Floating
4EA_DB
CDS + 1M
CDS + 1M
Floating
Floating
Floating
4EA_DB
Description
The same.
Almost the same.
Need to connect 1M external resistor to GND.
Need to connect 10M external resistor to GND.
The same.
Once the function has been approved, user only need to send the “.bin” file to Aplus for co de tape-out.
5
Rev 1.1
2003/9/18
AVxx16K Series
6. ABSOLUTE MAXIMUM RATING:
Symbol
Rating
Unit
Vdd~Vss
-0.5 ~ +7.0
V
Vin
Vss-0.3 < Vin < Vdd+0.3
V
Vout
GND < Vout < Vdd
V
Top (operating)
0 ~ +70
ºC
Tst (storage)
-25 ~ +85
ºC
7. DC CHARBDTERISTICS:
Symbol
Parameter
Min.
Typ.
Max.
Unit
Vdd
Operating voltage
2.4
3.0
6.4
V
Standby
1
Iop
Operating
200
Iih
Input current: OKY, IO1, IO2
( 1M pull low )
Isb
Iil
Supply current
Iih
Iil
Ioh
0
0.3
Input current: OKY
( 10M pull low )
Iil
Iih
3
0
10
Input current: OKY, IO1, IO2
(CDS)
0
-30
PWM1, PWM2 output current
uA
Vdd=3V, I/O open
(with Rosc or OSC grounded)
uA
Vdd=3V
uA
Vdd=3V
uA
Vdd=3V
Vdd=3V, Vop=2.4V
mA
30
Iol
Ioh
Condition
Vdd=3V, Vop=0.6V
-4.5
IO1/IO2 output current
Vdd=3V, Vop=2.55V
mA
7.5
Iol
Vdd=3V, Vop=0.75V
dF/F
Frequency stability
-5
5
%
Fosc(3v)-Fosc(2.4v)
Fosc(3v)
dF/F
Fosc lot variation
-10
10
%
Vdd=3V, Rosc=160KΩ
Freq. (K Hz)
8. Frequency vs. External Rosc : (measured at internal option of 6kHz playback speed)
10
9
8
7
6
5
4
100
120
140
160
180
200
Rosc K(ohm)
6
Rev 1.1
2003/9/18
AVxx16K Series
9. TIMING DIAGRAM:
1.> Edge/Level
Edge M ode:
Tw
Edge Trigger
OKY/IO1/IO2
Sub_table N
AUDIO
Tw
Level Trigger
TG1/SC
AUDIO
Sub_table N
Level M ode:
Tw
Edge Trigger
OKY/IO1/IO2
AUDIO
Sub_table N
Tw
Level Trigger
OKY/IO1/IO2
AUDIO
Sub_table N
Sub_table N
Sub_table N
* Note: Tw is the minimum pulse width > debounce time (5.3ms or 20.8us at 6kHz).
2.> Hold/Unhold
Hold:
OKY/IO1/IO2
AUDIO
Sub_table N
Unhold:
OKY/IO1/IO2
AUDIO
Sub_table N
* Note: Both Edge and Level have Hold and Unhold option.
3.> Retrigger/Irretrigger
Retrigger:
OKY/IO1/IO2
AUDIO
Sub_table N
Irretrigger:
Sub_table N
Sub_table N
Play from beginning immediately.
OKY/IO1/IO2
AUDIO
Sub_table N
Sub_table N
Ignore trigger input signal during playing.
4.> Status Output (IO1/IO2)
AUDIO
Voice
Mute
172ms at 6kHz
Stop_High pulse
Busy_High active
Busy_Low active
LED 3Hz/6Hz flash
3Hz or 6Hz for playing speed at 6kHz
LED dynamic 2/4 : When the voice amplitude is higher than 2/4 full-scale amplitude, LED ON.
LED ON means status output low.
7
Rev 1.1
2003/9/18
AVxx16K Series
10. APPLICATION:
1 trigger, 3 LED, using internal oscillator
3 triggers, 1 LED, using internal oscillator
LED1
LED1
Vdd
Vdd
OSC
OSC
PWM1
PWM1
OKY
PWM2
OKY
PWM2
IO1
IO1
IO2
IO2
GND
GND
LED1 is flashing when PWM output enable.
2 triggers, 1 LED, 1 motor, using external oscillator
Vdd
Rosc
PWM1
OSC
PWM2
0.1uF
OKY
IO2
IO1
8550
GND
Rosc=160KΩ (at 6kHz sample rate, option: I)
IO2 is set to output mode, select “Busy_Low active“ or “Sync output” for driving motor.
While driving motor, one capacitor is suggested to put between Vdd and GND.
* Notices: The above application circuits are for reference only, user can contact Aplus for more information.
8
Rev 1.1
2003/9/18
AVxx16K Series
11. BONDING DIAGRAM:
Y
1
9
2
8
3
4
5
7
6
( 0, 0 )
X
Chip size:
AVH316K : X=1074 um, Y=758 um
AV0716K : X=1074 um, Y=884 um
AV1416K : X=1080 um, Y=1180 um
AV2116K : X=1074 um, Y=1462 um
AV2816K : X=1080 um, Y=1760 um
AV4216K : X=1074 um, Y=2328 um
Pad size: 80 um x 80 um
※ The IC substrate must be connected to GND.
12. PAD LOCATION:
Pad No.
Pad Name
X
Y
1
OKY
90
294
2
IO1
90
184
3
IO2
90
74
4
GND1
231
52
5
PWM1
396
52
6
Vdd
623
52
7
PWM2
849
52
8
GND2
940
161
9
OSC
906
281
9
Rev 1.1
2003/9/18