GPES250B2-NnnV-C [GENERALPLUS]
Easy-to-use SOUNDPLUS;型号: | GPES250B2-NnnV-C |
厂家: | Generalplus Technology Inc. |
描述: | Easy-to-use SOUNDPLUS |
文件: | 总14页 (文件大小:339K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
GPES250B2
Easy-to-use SOUNDPLUS
JAN. 06, 2009
Version 1.1
GENERALPLUS TECHNOLOGY INC. reserves the right to change this documentation without prior notice. Information provided by GENERALPLUS
TECHNOLOGY INC. is believed to be accurate and reliable. However, GENERALPLUS TECHNOLOGY INC. makes no warranty for any errors which may
appear in this document. Contact GENERALPLUS TECHNOLOGY INC. to obtain the latest version of device specifications before placing your order. No
responsibility is assumed by GENERALPLUS TECHNOLOGY INC. for any infringement of patent or other rights of third parties which may result from its use.
In addition, GENERALPLUS 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 Generalplus.
GPES250B2
Table of Contents
PAGE
TABLE OF CONTENTS .......................................................................................................................................................................................... 2
EASY-TO-USE SOUNDPLUS .............................................................................................................................................................................. 3
1. GENERAL DESCRIPTION.......................................................................................................................................................................... 3
2. BLOCK DIAGRAM ...................................................................................................................................................................................... 3
3. FEATURES.................................................................................................................................................................................................. 3
4. SIGNAL DESCRIPTIONS............................................................................................................................................................................ 4
4.1. PAD ASSIGNMENT ................................................................................................................................................................................. 4
5. FUNCTIONAL DESCRIPTIONS.................................................................................................................................................................. 5
5.1. INSTRUCTION SETS................................................................................................................................................................................ 5
5.2. I/O DESCRIPTION................................................................................................................................................................................... 5
5.3. PROGRAM STRUCTURE OVERVIEW ......................................................................................................................................................... 5
5.3.1. Definition area........................................................................................................................................................................... 5
5.3.2. Entry point (Label)..................................................................................................................................................................... 6
6. GPES II PROGRAMMING TOOL ................................................................................................................................................................ 7
7. ELECTRICAL SPECIFICATIONS ............................................................................................................................................................... 8
7.1. ABSOLUTE MAXIMUM RATINGS ............................................................................................................................................................... 8
7.2. DC CHARACTERISTICS (VDD = 3.0V, TA = 25℃) .................................................................................................................................... 8
7.3. DC CHARACTERISTICS (VDD = 4.5V, TA = 25℃) .................................................................................................................................... 8
7.4. (3VOLT) R RELATIVE FOSC TABLE (THE TABLE IS ONLY FOR REFERENCE).................................................................................................... 8
7.5. THE RELATIONSHIPS BETWEEN THE ROSC AND THE FOSC........................................................................................................................... 9
7.5.1. VDD = 3.0V, TA = 25℃.............................................................................................................................................................. 9
7.5.2. VDD = 4.5V, TA = 25℃.............................................................................................................................................................. 9
7.6. THE RELATIONSHIPS BETWEEN THE OPERATING CURRENT AND THE VDD (@ R=91K).............................................................................. 9
7.7. THE RELATIONSHIPS BETWEEN THE FOSC AND THE VDD .......................................................................................................................... 9
7.8. THE RELATIONSHIPS BETWEEN THE RPH (TG PIN) AND THE VDD.............................................................................................................. 9
8. APPLICATION CIRCUITS......................................................................................................................................................................... 10
8.1. 4 INPUTS, 2 LEDS AND 6 OUTPUTS....................................................................................................................................................... 10
8.2. 28 INPUTS KEY MATRIX ........................................................................................................................................................................ 10
8.3. 36 INPUTS KEY MATRIX .........................................................................................................................................................................11
9. PACKAGE/PAD LOCATIONS ................................................................................................................................................................... 12
9.1. ORDERING INFORMATION ..................................................................................................................................................................... 12
10.DISCLAIMER............................................................................................................................................................................................. 13
11. REVISION HISTORY ................................................................................................................................................................................. 14
© Generalplus Technology Inc.
Proprietary & Confidential
2
JAN. 06, 2009
Version: 1.1
GPES250B2
Easy-to-use SOUNDPLUS
1. GENERAL DESCRIPTION
3.FEATURES
160KB ROM SIZE
The easy-to-use SOUNDPLUS II (GPESII) is an enhanced version
of easy-to-use SOUNDPLUS (GPES). Many features have been
added in GPES II to increase its capability and performance.
One of the most significant features in GPES II is that no complex
program structure is necessary. With only nine instructions and
six registers, GPES II is capable of driving sophisticated tasks and
playing realistic sound with simple program structure.
Programmer can easily implement application rapidly and increase
productivity efficiently.
Programmable speech synthesizer
Operating voltage:
─ 1.9V - 5.5V for 4.0MHz operating clock
─ 3.6V - 5.5V for 6.0MHz operating clock
4 direct trigger inputs that can be extended to 36 matrix key.
Up to 8 programmable outputs.
Programmable power on initialization.
256 voice group entries available.
Mask options: Trigger input debounce time from 5ms to 35ms.
Flexible functions through the following:
─ LD (load), JP (jump) commands.
─ 6 registers: R0, R1, R2, R3, EN, STOP.
─ Conditional instructions.
The GPES250B2, one of the GPES II families, stores up to 50
seconds of sound data (@ 6.0KHz sample rate). It also contains
four trigger pins, eight output pins, PWM audio output, and five
LED flash alternations. To assure the system reliability, a
watchdog and a Low Voltage Reset (LVR) are also built in for
─ Speech equation.
─ END instruction.
monitoring possible critical conditions.
With the high
─ Local repeat setting.
cost/performance ratio, GPES250B2 is one of the most suitable
engines in the industry for vocal products.
─ Output frequency and LED flash type setting.
Approx. 50 sec. speech (6.0KHz sample rate).
Low voltage reset function.
Watchdog function.
2. BLOCK DIAGRAM
A pair of PWM outputs.
Flexible functions as the follows:
─ Interrupt or non-interrupt for rising or falling edge of each
VDD
ROM
VSS
trigger.
─ Eight programmable playing modes:
.One shot
TEST
TG1
STOP0
STOP1
STOP2
STOP3
STOP4
STOP5
STOP6
STOP7
.Level hold
TG2
.Single-cycle level hold
.Complete-cycle level hold
.Sequence
Controller
PWM
TG3
TG4
ROSC
CKT
ROSC
.Level-Auto
Low
Voltage
Reset
.Random
AUDP
AUDN
.Non-retrigger
─ Stop signal output setting.
Each voice section provides
─ Programmable sampling frequency:
.2K to 10K for 4.0MHz operating clock.
.2K to 15K for 6.0MHz operating clock.
─ Five LED flash type : On, Off, Alternately, Synchronous,
Volume-controlled.
─ LED: programmable
Infrared Red (IR) communication Function.
Play Speech with tags, Seven different tags are available.
© Generalplus Technology Inc.
Proprietary & Confidential
3
JAN. 06, 2009
Version: 1.1
GPES250B2
4.SIGNAL DESCRIPTIONS
Mnemonic
PIN No.
Type
Description
TG4 - 1
TEST
3 - 6
I
Trigger input pins
TEST pin
12
I
STOP7 - 6
STOP5 - 0
AUDP
AUDN
ROSC
VDD
20 - 19
O
O
O
Open drain output pins / LED drive pins
Output signals pins
18 - 13
10
9
A pair of PWM outputs for speak
2
I
I
I
I
I
Oscillator frequency control pin
Digital circuit power supply pin
PWM power supply pin
1
AVDD
11
7
VSS
Digital ground reference pin
PWM ground reference pin
AVSS
8
4.1. PAD Assignment
(0,0)
1
2
3
4
VDD
STOP7
STOP6
20
19
ROSC
TG4
TG3
TG2
TG1
VSS
18
17
16
STOP5
STOP4
STOP3
5
6
7
STOP2
15
14
STOP1
STOP0
13
8
9
10
11
12
TEST
This IC substrate should be connected to VSS
Note1: To ensure that the IC functions properly, bond all VDD and VSS pins.
Note2: The 0.1μF capacitor between VDD and VSS should be placed to IC as close as possible.
© Generalplus Technology Inc.
Proprietary & Confidential
4
JAN. 06, 2009
Version: 1.1
GPES250B2
5. FUNCTIONAL DESCRIPTIONS
5.1. Instruction Sets
5.3.1.1. IC body
The first element defined in a program is a GPES II body.
Nine instructions involve LD, JP, LSR, ADD, SUB, AND, ORR,
EOR, and END. “LD” represents LOAD and “JP” indicates JUMP.
“LSR” shifts a register’s value one bit to the right. “ADD” and
“SUB” are addition and subtraction. “AND”, “ORR” and “EOR”
are logical operations which indicate AND, OR and, Exclusive OR
Example:
SPES250B
EXT_CLK_4M
Freq4
;select SPES250B
respectively.
“END” ends program and enters into sleep mode
;Set default speech
for power saving purpose.
;sample frequency to 7.8K
LVR_DISABLE
...
5.2. I/O Description
POI:
GPES II has the following I/O pins: TG1, TG2, TG3, TG4, STOP
[0:7]. The TG1, TG2, TG3 and TG4 are input pins and STOP [0:7]
are output pins; moreover, STOP [6:7] can be shared with LED
drive pins.
...
...
5.3.1.2. Debounce
A key debounce time can be defined in Definition Area. The
range of debounce time is 5ms ~ 35ms.
PIN
Configuration
TG1
Input
TG2
Input
5.3.1.3. Variable
TG3
Input
A variable can be defined by adding a “#define” in front of a
variable. A variable can be the combination of numbers and
characters, but not underscore.
TG4
Input
STOP.0
STOP.1
STOP.2
STOP.3
STOP.4
STOP.5
STOP.6
STOP.7
Output
Output
Output
Output
Variable Syntax:
#define VariableName <Register | NUM>
Output
Output
Example1:
Output (shared with LED2 pin)
Output (shared with LED1 pin)
#define var R0
#define const 8
;define var as R0
;define const as 8
Example2:
5.3. Program Structure Overview
The following description is an overview of GPES II program
structure. For more information about GPES II programming
method, please refer to GPES II Programming Guide.
5.3.1.4. External clock
Users can define one external clock out of the following selections
in a program. This option must be defined in definition area.
5.3.1. Definition area
The beginning of a program is the Definition Area that defines
some declarations before Initialization such as IC body, variable,
frequency, debounce time and low voltage reset option.
EXT_CLK_3M; (3.0MHz)
EXT_CLK_4M; (4.0MHz)
EXT_CLK_6M; (6.0MHz)
© Generalplus Technology Inc.
Proprietary & Confidential
5
JAN. 06, 2009
Version: 1.1
GPES250B2
5.3.1.5. Low voltage reset
The Low Voltage Reset (LVR), prevents system running into
malfunction state, will intend to reset all functions back to the initial
states if power VDD drops too low. The LVR works the same as
Power-on Reset; it can be enabled or disabled via programming
and must be defined in the definition area.
Entry Point
Abbreviator
Entry Point
Status
32
POI
Power on initialization
TG1 1Æ0 (falling)
TG2 1Æ0 (falling)
TG3 1Æ0 (falling)
TG4 1Æ0 (falling)
TG1 0Æ1 (rising)
TG2 0Æ1 (rising)
TG3 0Æ1 (rising)
TG4 0Æ1 (rising)
0
TG1F
TG2F
TG3F
TG4F
TG1R
TG2R
TG3R
TG4R
1
2
LVR_ENABLE; enable
LVR_DISABLE; disable
3
4
5
5.3.2. Entry point (Label)
6
7
The essence applied in GPES II is the ENTRY POINT. Each
trigger pin is assigned an entry point. Instructions must be
located in a new line under its entry point. Any instruction located
with the same line as entry point will cause error when compiling.
Users can also define a label (ID) for an entry point. A label can
be the combinations of number and character, but not underscore.
In addition, a label can not start with a number.
8 ~ 253
(except 32)
254
User-Defined entry
point or label
User-Defined
Speech event
Timer event
User-Defined
User-Defined
255
Example:
An example is introduced here. Also, all words after semi-colon
(;) are for comments only.
Example:
SpeechLoop:
SPES250B
;body defined
Sound1+Sound2
JP SpeechLoop
EXT_CLK_4M
LVR_Disable
POI:
When a pin is triggered, the program jumps to its corresponding
entry point and starts executing. The entry points are fixed
values. For instance, ‘0’ is the entry point of TG1 when 1Æ0. ‘1’
is the entry point of TG2 when 1Æ0. Users can either use Entry
LD EN, 0x00
(4000)_3
LD EN, 0x 03
;enableTG1fallingand
;TG2 falling
Point ID or Entry Point Abbreviator to express an entry point.
summary of entry point for each trigger pin is as follows:
A
END
TG1F:
Sound1
;whenTG1changesfrom
;1Æ0 (HighÆLow),
;sound1 is played
;Sleep
END
TG2F:
Sound2
;whenTG2changesfrom
;1Æ0,sound2isplayed
;Sleep
END
© Generalplus Technology Inc.
Proprietary & Confidential
6
JAN. 06, 2009
Version: 1.1
GPES250B2
6. GPES II PROGRAMMING TOOL
GENERALPLUS provides a user-friendly interface that allows
users to write, edit, compile and debug GPES II programs.
GPES II Programming Tool should be executed under Windows
95, Windows 98, Windows Me and Windows 2000. For more
information on how to use GPES II Programming Tool, please
refer to GPES II Programming Guide.
© Generalplus Technology Inc.
Proprietary & Confidential
7
JAN. 06, 2009
Version: 1.1
GPES250B2
7.ELECTRICAL SPECIFICATIONS
7.1. Absolute Maximum Ratings
Characteristics
Symbol
Ratings
DC Supply Voltage
V+
VIN
TA
< 7.0V
Input Voltage Range
Operating Temperature
Storage Temperature
-0.5V to V+ + 0.5V
0℃to + 60℃
TSTO
-50℃to + 150℃
Note: Stresses beyond those given in the Absolute Maximum Rating table may cause operational errors or damage to the device. For normal operational
conditions see AC/DC Electrical Characteristics.
7.2. DC Characteristics (VDD = 3.0V, TA = 25℃)
Limit
Characteristics
Symbol
Unit
Condition
Min
Typ
-
Max
Operating Voltage
VDD
IOL
1.9
5.5
V
-
LED2 - 1 Output Current
-
-
-
-
25
10
-3.5
-
-
-
mA
VDD = 3.0V, VOUT = 1.0V
VDD = 3.0V, VOL = 1.0V
VDD = 3.0V, VOH = 2.0V
VDD = 3.0V
IOL
STOP5 - 0 Output Current
Standby Current
mA
μA
IOH
-
ISTBY
2.0
VDD = 3.0V, FCPU = 2.0MHz
No load
Operating Current
IOP
-
1.7
-
mA
IOL
IOH
ROSC
IIN
-
-
-
-
100
-100
82
-
-
-
-
VDD = 3.0V, VOL = 1.0V
VDD = 3.0V, VOH = 2.0V
VDD = 3.0V, FOSC = 4.0MHz
VDD = 3.0V, VIN = VSS
PWM Output Current
mA
ROSC Resistor
KΩ
μA
Input Current for TG4 - 1
30
7.3. DC Characteristics (VDD = 4.5V, TA = 25℃)
Limit
Typ.
-
Characteristics
Symbol
Unit
Condition
Min.
Max.
Operating Voltage
VDD
IOL
3.6
5.5
V
-
LED2 - 1 Output Current
-
-
-
-
30
-
-
mA
VDD = 4.5V, VOUT = 1.0V
VDD = 4.5V, VOL = 1.0V
VDD = 4.5V, VOH = 3.5V
VDD = 4.5V
IOL
15
STOP5 - 0 Output Current
Standby Current
mA
μA
IOH
-7.0
-
-
ISTBY
2.0
VDD = 4.5V, FCPU = 2.0MHz
No load
Operating Current
IOP
-
3.6
-
mA
IOL
IOH
ROSC
IIN
-
-
-
-
130
-130
56
-
-
-
-
VDD = 4.5V, VOL = 1.0V
VDD = 4.5V, VOH = 3.5V
VDD = 4.5V, FOSC = 6.0MHz
VDD = 4.5V, VIN = VSS
PWM Output Current
mA
ROSC Resistor
KΩ
μA
Input Current for TG4 - 1
80
7.4. (3volt) R relative FOSC Table (the table is only for reference)
R(Kohm)
56KΩ
91KΩ
120KΩ
FOSC* (MHz)
6
4
3
Note*: FCPU = FOSC / 2
© Generalplus Technology Inc.
Proprietary & Confidential
8
JAN. 06, 2009
Version: 1.1
GPES250B2
7.5. The Relationships between the ROSC and the FOSC
7.7. The Relationships between the FOSC and the VDD
7.5.1. VDD = 3.0V, TA = 25℃
8.00
47Kohm
8.00
6.00
4.00
2.00
0.00
6.00
68Kohm
4.00
91Kohm
2.00
0.00
0
2
4
6
VDD(Volt)
30
60
90 120 150 180 210 240 270
Rosc(Kohm)
7.8. The Relationships between the RPH (TG pin) and
the VDD
7.5.2. VDD = 4.5V, TA = 25℃
200
150
100
50
8.00
6.00
4.00
2.00
0.00
0
2
3
4
5
6
VDD(Volts)
30
60
90
120 150 180 210 240 270
Rosc(Kohm)
7.6. The Relationships between the Operating Current
and the VDD (@ R=91K)
5
4
3
2
1
0
2
3
4
5
6
VDD(Volts)
© Generalplus Technology Inc.
Proprietary & Confidential
9
JAN. 06, 2009
Version: 1.1
GPES250B2
8. APPLICATION CIRCUITS
8.1. 4 Inputs, 2 LEDs and 6 Outputs
VDD
VDD
VSS
TG1
TG2
TG3
R1
ROSC
C1
50pF
GPES250B2
100Ω
TG4
STOP6
STOP7
STOP0
100Ω
TEST
AUDP
8 Ω
|
AUDN
AVDD
AVSS
32Ω
STOP5
VDD
0.1μ
8.2. 28 Inputs Key Matrix
© Generalplus Technology Inc.
Proprietary & Confidential
10
JAN. 06, 2009
Version: 1.1
GPES250B2
8.3. 36 Inputs Key Matrix
VDD
TG1
TG2
VDD
R1
ROSC
TG3
TG4
C1
50pF
VSS
GPES250B2
STOP0
TEST
AUDP
8 Ω
|
32Ω
STOP5
STOP6
STOP7
AUDN
AVDD
AVSS
VDD
0.1μ
Note: To avoid the noise interference on PCB around R-oscillator, R1 and C1 should be placed as close as possible to ROSC pin.
© Generalplus Technology Inc.
Proprietary & Confidential
11
JAN. 06, 2009
Version: 1.1
GPES250B2
9. PACKAGE/PAD LOCATIONS
9.1. Ordering Information
Product Number
Package Type
Chip form
GPES250B2-NnnV-C
Note1: Code number is assigned for customer.
Note2: Code number (N = A - Z or 0 - 9, nn = 00 - 99); version (V = A - Z).
© Generalplus Technology Inc.
Proprietary & Confidential
12
JAN. 06, 2009
Version: 1.1
GPES250B2
10. DISCLAIMER
The information appearing in this publication is believed to be accurate.
Integrated circuits sold by Generalplus Technology are covered by the warranty and patent indemnification provisions stipulated in the
terms of sale only. GENERALPLUS makes no warranty, express, statutory implied or by description regarding the information in this
publication or regarding the freedom of the described chip(s) from patent infringement. FURTHERMORE, GENERALPLUS MAKES NO
WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PURPOSE. GENERALPLUS reserves the right to halt production or alter
the specifications and prices at any time without notice. Accordingly, the reader is cautioned to verify that the data sheets and other
information in this publication are current before placing orders. Products described herein are intended for use in normal commercial
applications. Applications involving unusual environmental or reliability requirements, e.g. military equipment or medical life support
equipment, are specifically not recommended without additional processing by GENERALPLUS for such applications. Please note that
application circuits illustrated in this document are for reference purposes only.
© Generalplus Technology Inc.
Proprietary & Confidential
13
JAN. 06, 2009
Version: 1.1
GPES250B2
11. REVISION HISTORY
Date
Revision #
Description
Page
JAN. 06, 2009
1.1
1. Modify 3 FEATURES.
3
6
2. Modify 6.3.1.5 Low voltage reset.
3. Modify 8.2 DC Characteristics.
8
APR. 27, 2006
1.0
Original
14
© Generalplus Technology Inc.
Proprietary & Confidential
14
JAN. 06, 2009
Version: 1.1
相关型号:
©2020 ICPDF网 联系我们和版权申明