NY3P (B) v1.2
NY3P (B) v1.2
NY3P (B) v1.2
Version 1.2
Jul. 1, 2015
NYQUEST TECHNOLOGY CO. reserves the right to change this document without prior notice. Information provided by NYQUEST is believed to be accurate and reliable.
However, NYQUEST makes no warranty for any errors which may appear in this document. Contact NYQUEST to obtain the latest version of device specifications before
placing your orders. No responsibility is assumed by NYQUEST for any infringement of patent or other rights of third parties which may result from its use. In addition,
NYQUEST products are not authorized for use as critical components in life support devices/systems or aviation devices/systems, where a malfunction or failure of the
product may reasonably be expected to result in significant injury to the user, without the express written approval of NYQUEST.
NY3PxxxB Series
Revision History
2. 功能
(1). 寬廣的工作電壓: 1.6V ~ 6.4V。
(2). 共有7個母體,對應不同NY3系列的容量(Hex-16進制)和秒數(@6kHz)如下:
NY3P005B NY3P010B NY3P016B NY3P035B NY3P065B NY3P087B NY3P115B
5F00H 11F00H - - - - -
NY3A
4.05s 12.25s - - - - -
5F00H 11F00H 1DF00H - - - -
NY3B
4.05s 12.25s 20.44s - - - -
5F00H 11F00H 1DF00H 3DF00H 7DF00H A1F00H DDF00H
NY3C
4.05s 12.25s 20.44s 42.28s 85.97s 110.55s 151.51s
4C00H E599H 17F33H 318CCH 64C00H 818CCH B18CCH
NY3D
3.24s 9.80s 16.35s 33.83s 68.78s 88.44s 121.21s
NY3C003B NY3C005B NY3C007B NY3C010B NY3C016B NY3C021C NY3C027B NY3C035C NY3C043B NY3C054C NY3C065B
5C00H 7C00H BB00H FC00H 17C00H 1FC00H 27C00H 37C00H 3FC00H 4FC00H 5FC00H
3.93s 5.29s 7.98s 10.75s 16.21s 21.67s 27.14s 38.06 43.52 54.44 65.37
NY3D005B NY3D010B NY3D016B NY3D021B NY3D032C NY3D043B NY3D054B NY3D065B NY3D076B NY3D087B NY3D100B NY3D115B
6C80H EC80H 16C80H 1EC80H 2EC80H 3EC80H 4EC80H 5EC80H 6EC80H 7EC80H 96C80H A6C80H
4.63s 10.09s 15.55s 21.01s 31.94s 42.89s 53.78s 64.70s 75.63s 86.55s 102.93s 113.86s
(8). 輸入腳的輸入選項:
(a). 任一輸入腳可分別選擇 Edge/Level, Hold/Unhold, Retrigger/Irretrigger 不同的觸發方式組合。
(b). 任一輸入腳可分別選擇 CDS+1.5M、CDS、300K 的下拉電阻 或 Floating。(CDS+1.5M選項: 當按鍵按下
時,IC內部為 1.5M 的下拉電阻;而當按鍵放開時,IC內部為 300K+1.5M 並聯 的下拉電阻 約250K。
CDS: 當按鍵按下時,IC內部為 Floating;而當按鍵放開時,IC內部為 300K 的下拉電阻。)
(c). 任一輸入腳可分別選擇Debounce時間:Long - 提供一般按鍵使用;Short - 提供彈跳開關使用。
(d). OKY1/O5和OKY2/O4輸入腳最多各有64和60個Sentence的One-Key sequential 或 random 的選擇,在
One-Key sequential 時並可選擇Sentence的播放順序在其他按鍵被觸發後是否要Reset。
st nd
(e). 只有一個輸入腳可選擇是否有 Toggle On/Off 的功能 (1 觸發 播放,2 觸發 停止,……)。
※ 注意: 按鍵輸入的優先順序為 OKY1/O5 > OKY2/O4 > IO1 > IO2 > IO3。
※ 注意: LED 1.5Hz / 3Hz / 6Hz flash 是指以 6kHz 的播放速度 時LED閃爍的頻率;不同的播放速度,LED
閃爍的頻率也會不同。
(22). 一組 9-bit 或 10-bit 的PWM輸出可支援 NY3A/NY3B/NY3C 的 9-bit 或 NY3D 的 10-bit PWM 輸出,有兩種
PWM音量可供選擇 (正常音量&大音量),可直接驅動8Ω、16Ω、32Ω、64Ω的喇叭或蜂鳴片。
(23). 支援低壓復位(LVR=1.5V)功能。
(24). 提供特殊的快速燒錄模式,以加快OTP燒錄時間。
(27). 提供多種出貨型態,以滿足客戶不同的應用需求。
2. FEATURES
(1). Wide operating voltage: 1.6V ~ 6.4V.
(2). There are 7 bodies. Corresponding to different NY3 series, the supported ROM size in Hex and speech
duration at 6kHz are as following.
NY3P005B NY3P010B NY3P016B NY3P035B NY3P065B NY3P087B NY3P115B
5F00H 11F00H - - - - -
NY3A
4.05s 12.25s - - - - -
5F00H 11F00H 1DF00H - - - -
NY3B
4.05s 12.25s 20.44s - - - -
5F00H 11F00H 1DF00H 3DF00H 7DF00H A1F00H DDF00H
NY3C
4.05s 12.25s 20.44s 42.28s 85.97s 110.55s 151.51s
4C00H E599H 17F33H 318CCH 64C00H 818CCH B18CCH
NY3D
3.24s 9.80s 16.35s 33.83s 68.78s 88.44s 121.21s
For NY3A, NY3B, NY3C and NY3D MaskROM product series, the actual ROM size in Hex and speech
duration at 6kHz are as following.
NY3A003E NY3A006E NY3A009E NY3A012E
4800H 9000H D800H 12000H
3.07s 6.14s 9.22s 12.29s
NY3C003B NY3C005B NY3C007B NY3C010B NY3C016B NY3C021C NY3C027B NY3C035C NY3C043B NY3C054C NY3C065B
5C00H 7C00H BB00H FC00H 17C00H 1FC00H 27C00H 37C00H 3FC00H 4FC00H 5FC00H
3.93s 5.29s 7.98s 10.75s 16.21s 21.67s 27.14s 38.06 43.52 54.44 65.37
NY3D005B NY3D010B NY3D016B NY3D021B NY3D032C NY3D043B NY3D054B NY3D065B NY3D076B NY3D087B NY3D100B NY3D115B
6C80H EC80H 16C80H 1EC80H 2EC80H 3EC80H 4EC80H 5EC80H 6EC80H 7EC80H 96C80H A6C80H
4.63s 10.09s 15.55s 21.01s 31.94s 42.89s 53.78s 64.70s 75.63s 86.55s 102.93s 113.86s
(3). Five I/O pins: OKY1/O5, OKY2/O4, IO1, IO2 and IO3 can be either input or output pin.
※ Note: There are only three I/O pins for NY3P010B (OKY/O3, IO1, IO2).
(4). The total voice duration can be partitioned up to maximum 768 Voice Sections. Each Voice Section length
is flexible and each maximum or minimum Voice Section length is unlimited.
(5). Total maximum 1536 Voice Steps are available for 128 Voice Sentences. OKY1/O5, OKY2/O4, IO1, IO2,
IO3 and POP can assign 64, 60, 1, 1, 1 and 1 Sentences independently. Each Step can specify one Voice
Section and enable/disable IO1, IO2, IO3, OKY2/O4, OKY1/O5 output option if IOx is set as output.
(6). Only build in an accurate internal oscillator of +/- 1% tolerance, no external R oscillator. It can support
different play speed option of NY3A, NY3B, NY3C and NY3D individually.
※ Note: Input priority is OKY1/O5 > OKY2/O4 > IO1 > IO2 > IO3.
(9). There are 4 kinds of output current option for all output pins.
(a). Normal Sink Current output: Output is connected a LED with VDD. (Iol=22mA/33mA @VDD=3V/4.5V)
(b). Large Sink Current output: Output is connected a LED with VDD. (Iol=58mA/83mA @VDD=3V/4.5V)
(c). Constant Sink Current output: Output is connected a LED with VDD. Whenever VDD is 3V or 4.5V, the
output current is constant and LED brightness is uniform. (Iol=20mA/21mA @VDD=3V/4.5V)
(d). Drive Current output: Output is connected a LED with GND. (Ioh=7mA/11mA @VDD=3V/4.5V)
(10). There are 9 kinds of output option for all output pins:
(a). Stop_Low pulse: Low active stop-pulse output whenever device stops playing.
(b). Stop_High pulse: high active stop-pulse output whenever device stops playing.
(※ Note: This option is not available for OKY1/O5.)
(c). Busy_High active: high active signal output during playing. (Drive output)
(※ Note: This option is not available for OKY1/O5.)
(d). Busy_Low active: low active signal output during playing. (Sink output)
(e). LED 3Hz flash: 3Hz sink signal output to drive LED during playing.
(f). LED 6Hz flash: 6Hz sink signal output to drive LED during playing.
(g). LED 12Hz flash: 12Hz sink signal output to drive LED during playing.
(h). LED dynamic 1/2: according to 1/2 sound level, dynamic sink signal output to drive LED during playing.
(i). QIO signal: arbitrary output with voice. For IO1, IO2 and IO3, there are two sets of QIO signal. Each
Voice Step can select one set of QIO signal. But for OKY2/O4, there is only one set of QIO signal to
select. And for OKY1/O5, there is no QIO signal to select. User can edit the QIO signal by “Quick-IO”
editor.
※ Note: Where (e) ~ (g) is the LED flash rate at 6kHz sample rate. For different play speed, the LED flash
rate is different from original 1.4Hz, 3Hz or 6Hz.
(11). “Mode-Switch” special function: There is two kinds of functional modes that can be switched by IO1 or IO3
input (Mode-Switch). For Mode-1 (IO1 GND) and Mode-2 (IO1VDD), the output type of I/O setting is
the same, but I/O function and voice/melody can be different.
(12). “Power-On-Play” special function (POP): When power is on, play the POP Sentence one time. The trigger
mode is fixed as Edge / Unhold / Retrigger. To cooperate with Power-On-Loop function, the POP
Sentence will be played in loop until other key-trigger happened. When other key is triggered, it stops
playing the POP Sentence and immediately plays the assigned sentence of triggered key.
(13). “Special SC” special function: When sound-control input stands with push-button input together, sound-
(14). “Motor-Recover” special function: User can select this function when using the recovering motor. In this
application, IO2 is set as output to control the recovering motor. And the motor recovering sensor must be
connected to OKY2/O4 or IO3 to detect the recovering signal.
(15). “2-Key Priority” special function: Users can decide the priority of 2 different keys when both keys are
pressed at the same time. There are two kinds of priority option: First Key and Last Key. For First Key, the
prior pressed key is first priority to play voice, and it’s normal operation. As for Last Key, the later pressed
key is first priority to play voice, and it only supports OKY1/O5 and OKY2/O4 input pins. Users can use
Last Key option according to application requirement.
(16). “TG-Invert” special function: When one Voice Step is optioned with Invert function, the trigger mode of
Retrigger/Irretrigger will be inverted during playing that Voice Section. Users can insert Invert function in
specific steps according to application requirement to change the trigger mode.
(17). “Table Random” special function: When users need to play several sentences randomly and averagely,
this function can be applied. At first trigger of OKY1, one random sentence will be played from OKY1
Sentences Table. After that, the played sentences for following OKY1 triggers will be sequential.
(18). “Pause-Resume” special function: At playing OKY1 sentence, when key is triggered, the sentence playing
will be paused, all LEDs are turned off and IC will enter sleep mode. At this moment, the standby current
is very small about 0.05uA. To trigger OKY1 again, the sentence will resume and play sentence from the
pause point.
※ Note: Pause -Resume function cannot co-exist with Toggle On/Off function.
(19). “Internal-Feedback” special function: There are 2 sets of this function. When the playing sentence of
OKY1(OKY2) is stopped or over, continue to play the assigned sentence of OKY2(OKY1) through internal
Stop_High-Pulse signal (Internal-Feedback Path).
※ Note: W hen enable this function, OKY1/O5 or OKY2/O4 is fixed as input pin.
(20). “Anti-Noise Debounce” special function: For a right trigger detection, the trigger signal needs a low-level
Debounce time in advance of normal Debounce detection for high-level signal. It is used to prevent noise
interference such like motor noise. With this function, the trigger signal won’t result in double-trigger which
usually occur when noise pull the high signal to low.
※ Note: W hen enable this function, all inputs are optioned as Anti-Noise Debounce function.
(21). Serial-Trigger function: In Edge/Unhold/Retrigger mode, by using the One-Key Sequential and Reset
functions of OKY1 or OKY2 and setting the Debounce time to be short, IC can access external serial clock
signal to playback the specific Sentence of OKYx. Usually it cooperates with an external MCU.
(24). A unique fast writing mode is provided to speed up OTP writing time.
(25). A special ICP (In Circuit Programming) writing function is supported for user to fabricate PCBA in advance.
(26). Programmable code protection is provided. (When the Security-Bit is burnt down, data can’t be read.)
(For details of the above functions, please refer to NY3A, NY3B, NY3C and NY3D datasheet.)
OKY1/O5
C ADPCM
O DECODER
N
OKY2/O4
T
R
IO1 O OUTPUT
L
BUFFER
IO2 L
O VOICE
G ROM
IO3 I
C
P P
INT. CLOCK TIMING W W
GENETATOR GENERATOR M M
1 2
4. PAD DESCRIPTION
Pad Name Pad No. ATTR. Description
OKY1/O5 /VPP 1 I Input pin, active high, or positive high power for programming.
OKY2/O4 2 I/O Output or input pin. To be input, active high. (N/A for 3*I/O bodies)
IO1 /SDA 3 I/O Output or input pin. To be input, active high.
IO2 /SCL 4 I/O Output or input pin. To be input, active high.
IO3 5 I/O Output or input pin. To be input, active high. (N/A for 3*I/O bodies)
VREG 6 Power Regulator input. Connect a 0.1uF cap to GND or keep floating.
GND 7 Power Negative power.
VDD 8 Power Positive power.
PWM1 9 O PWM output 1.
PWM2 /Mode 10 O PWM output 2, or select programming mode.
0%
-2% 1.0 1.5 2.0 2.5 3.0 3.5 4.0 4.5 5.0 5.5 6.0 6.5 7.0 7.5
-4%
-6%
-8%
-10%
Voltage (V)
Input
Voice Play
Debounce
※ Debounce time is configured by 7.2 kHz S.R and the value is fixed. That is, Long debounce=17ms, Short debounce = 42us
Input
Debounce
※ Debounce Time is configured by the S.R. of Step_x. At S.R. = 6kHz, Long debounce = 20ms, Short debounce = 50us
For example, if Step_x S.R. = 8kHz, Long debounce = 20ms*(6k/8k) = 15ms, Short debounce = 50us*(6k/8k) = 37.5us
OKY1
IO1
※ Priority: OKY1/O5 > OKY2 > IO1 > IO2 > IO3
Busy_High active
Busy_Low active
LED dynamic 1/2: When the voice amplitude is higher than 1/2 level, LED will be ON, i.e. output signal is low.
Input
Voice Play
Input
Voice Play
Input
Voice Play
Input
Voice Play
Input
Voice Play
Input
Voice Play
OKY1
IO1
OKY1
IO1
Voice Play
S1 S5 S2
OKY1
IO1
Not active *1
Voice Play S1 S2
*1: If you press IO1 during OKY1 voice playing, at the moment of S1 end, the trigger mode follows OKY1
OKY1
IO1
Not active
Voice Play S1 S2
Voice Play S1
*2: Because IO1 signal is still high in the same time IC can’t accept the OKY1 Edge signal.
OKY1
IO1
Not active
Voice Play S1 S2
OKY1
Voice Play S1 S1 S5 S2
※ In the time of Sentence end: When S1 end, the trigger mode follows OKY1 (L/U/x). When S5 end, it follows IO1 (E/x/x).
※ Once S5 is played (just leave S1 ending), the trigger mode follows IO1 (E/x/x) immediately.
OKY1
No debounce happen (not S2) *3
IO1 Load OKY1
IO1 active
Voice Play S1 S1 S1 S5 S1
*3: In OKY1 mode, Sequential number is counted only if there is debounce happened.
OKY1
IO1
No debounce happen *4 Sequential start (not S2) *4
Voice Play S5 S1 S1 S2
*4: In OKY mode, 1st trigger without debounce and Sequential number is still “1”. 2nd trigger with debounce, after trigger the
Sequential number become “2”.
Random (or Sequential) number is counted during “debounce time” or “key released time”. But the first-time
Debounce time Key released time Key released time Key released time
OKY1
IO1
Voice Play Sx Sx S5 Sy
OKY1
IO1
Voice Play Sx Sx S5 S5 Sy Sy
(c-1) OKY1 (E/U/R) =S1 S2 S3 S4, IO1 (E/U/R) =S5 (OKY1 is Sequential mode without Reset)
OKY1
IO1
Voice Play S1 S5 S2 S3
(c-2) OKY1 (E/U/R) =S1 S2 S3 S4, IO1 (E/U/R) =S16 (OKY1 is Sequential mode with Reset)
OKY1
Restart the Sequential sequence.
IO1
Voice Play S1 S5 S1 S2
※ When OKY1 Sequential counter is going, to trigger other inputs will reset OKY1 Sequential sequence.
(d). External Feedback Function ( IO1 is output and connected to OKY1 input )
(d-1) OKY1 (L/U/I) =S1 S2 S3 S4, IO1=Stop_high pulse (When voice ends, IO1 shows a high pulse.)
External OKY
IO1 output
Stop_high pulse (duration = debounce time)
Combined OKY1 Input
Voice Play S1 S1 S2 S3 S4
※ Originally the duration of Stop_high pulse is 172ms at 6kHz, but the high signal will trigger voice and turn low after debounce.
(d-2) OKY1 (E/U/I) = S1 S2 S3 S4, IO1= Busy_low (When not playing voice, IO1 is high.)
VDD
OKY1
= Debounce time
IO1 output
Voice Play S1
VDD
OKY1
IO1 output
Voice Play S1 S2 S3 S4 S1
※ When power on, IO1 will generate a high pulse at Busy_low status and the duration is equal to debounce time.
Each sentence can assign an Internal-Feedback Path to play a fixed sentence after IO’s sentence stop.
(e-1) OKY1 (L/U/I) = S1 S2 S3 S4, OKY2 = S5, Internal-Feedback Path = OKY1/O5 OKY2
Voice Play S1 S1 S5
(e-2) OKY1 (L/H/I) = S1 S2 S3 S4, OKY2 (x/x/R) = S5, IO2 (E/U/I) = S6, Internal-Feedback Path = OKY1/O5 OKY2
IO2
Voice Play S1 S5 S5 S5 S6
When power in on, a random number is counted automatically. The first-time trigger will play the sentence of random
OKY1
Voice Play Sx S5 S3 S2 S4 S1
OKY1
LED Play S1 S2 S2 S2 S2 S2 S2
(h-1) OKY1 (E/U/R) = S1 S2 S3 S4, IO2= Busy_low (OKY1 is Toggle On/Off and OKY2 is connected to sensor.)
VDD
Trigger is not active while motor moving.
OKY1
Toggle Off
Toggle On
OKY2 signal
(or IO3)
Not touch recovering sensor *5
IO2 output
*5: If motor doesn’t stop at initial position when voice stop playing, IO2 will output one kind of signal (DC, 15Hz or 30Hz option)
(h-2) OKY1 (E/U/R) = S1 S2 S3 S4, IO2= Busy_low (OKY1 is Toggle On/Off and OKY2 is connected to sensor.)
VDD
OKY1
OKY2 signal
(or IO3)
Not touch recovering sensor
IO2 output
Motor-Recover check *6
Voice Play S1 S1
*6: If motor doesn’t stay at initial position when power-on, IO2 will output one kind of signal (DC, 15Hz or 30Hz option)
OKY1 (E/U/R) =S1 S2 S3 S4, IO1 (E/U/R) =S5 (OKY1 Reset is enabled, and S5 is a short mute Sentence)
Voice Play S3 S1 S4
※ The pulse width must be longer than 50us (i.e. short debounce time), and users can set the typical pulse width as 100us.
※ The above is the simplest 2-wire control by external MCU. If necessary, user can use 3-wrie control with Busy_High outptut
signal to do feedback.
(1) 1 trigger with 4 LEDs (Sink) (2) 3 triggers with 2 LEDs (Sink)
VDD
VDD
IO1 OKY1/O5
IO2
IO2
OKY2/O4
IO3
OKY1/O5 IO3
OKY2/O4 IO1
PWM1
PWM1 VREG PWM2
VREG
PWM2 GND
GND 0.1uF
0.1uF
(3) 2 triggers with 2 LEDs (Sink) and (4) 2 triggers with 2 LEDs (Sink) and
1 motor (Drive) 1 motor (Sink)
0.1uF
VDD VDD
IO1 IO2
PWM1 PWM1
VREG VREG PWM2
PWM2
GND GND
0.1uF 0.1uF
0.1uF
Note: At high voltage of 4.5V or higher voltage, VREG may be connected to GND with a 0.1uF cap for
less power noise. At 3V, VREG doesn’t need to connect any capacitor and can be kept this pad
floating to save a capacitor.
IO3 6 9 N/C
IO1/SDA 7 8 N/C
8 5
1
4
14 8
1
7