GPES282A [GENERALPLUS]
Easy-to-use SOUNDPLUS (256KB OTP);型号: | GPES282A |
厂家: | Generalplus Technology Inc. |
描述: | Easy-to-use SOUNDPLUS (256KB OTP) |
文件: | 总15页 (文件大小:408K) |
中文: | 中文翻译 | 下载: | 下载PDF数据表文档文件 |
Easy-to-use SOUNDPLUS
(256KB OTP)
MAR. 07, 2008
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.
GPES282A
Table of Contents
PAGE
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. EPROM OPTION ................................................................................................................................................................................... 5
5.4. PROGRAM STRUCTURE OVERVIEW ......................................................................................................................................................... 5
5.4.1. Definition area........................................................................................................................................................................... 5
5.4.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 FCPU........................................................................................................................... 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 FCPU AND THE IOP .............................................................................................................................. 9
7.7. THE RELATIONSHIPS BETWEEN THE FCPU AND THE VDD........................................................................................................................... 9
8. APPLICATION CIRCUITS......................................................................................................................................................................... 10
8.1. 4 INPUTS, 2 LEDS AND 6 OUTPUTS ...................................................................................................................................................... 10
8.2. 28 INPUTS KEY MATRIX .........................................................................................................................................................................11
8.3. 36 INPUTS KEY MATRIX .........................................................................................................................................................................11
8.5. TG PIN PULL-HIGH RESISTANCE ............................................................................................................................................................ 12
9. PACKAGE/PAD LOCATIONS ................................................................................................................................................................... 13
9.1. ORDERING INFORMATION ..................................................................................................................................................................... 13
10.DISCLAIMER............................................................................................................................................................................................. 14
11. REVISION HISTORY ................................................................................................................................................................................. 15
© Generalplus Technology Inc.
Proprietary & Confidential
2
MAR. 07, 2008
Version: 1.1
GPES282A
Easy-to-use SOUNDPLUS (256KB OTP)
1. GENERAL DESCRIPTION
3. FEATURES
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.
256KB OTP array
Can evaluate large (4I,8O) bodies
Programmable speech synthesizer
Operating voltage:
─ 2.4V - 5.5V for 4.0MHz operating clock
─ 3.6V - 5.5V for 6.0MHz operating clock
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 GPES282A is the OTP (One-Time-Programming) version of
the GPES II family. Only the large series (4I,8O) can run at this
OTP chip by setting the option bit. User can use it to evaluate the
GPES II body which with a under 256KB ROM.
─ Speech equation
To assure the system reliability, a watchdog and a Low Voltage
Reset (LVR) are also built in for monitoring possible critical
conditions. With this OTP chip’s aid, customer can quickly pilot
run his product to the market.
─ END instruction
─ Local repeat setting
─ Output frequency and LED flash type setting
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
VSS
VDD_REG
VPP
256K OTP
EPM
trigger.
Regulator
VDD33_REG
─ Eight programmable playing modes:
.One shot
RESET
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, Alternatively, 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
MAR. 07, 2008
Version: 1.1
GPES282A
4. SIGNAL DESCRIPTIONS
Mnemonic
TG4 - 1
TEST
PIN No.
23 - 26
7
Type
Description
I
I
trigger input pins with pull high
TEST pin, NC
STOP7 - 6
STOP5 - 0
AUDP, AUDN
ROSC
15 - 14
13 - 8
4, 3
21
O
O
O
I
Open drain output pins / LED drive pins
Output signals pins, At programming mode,STOP0 for SCK, STOP1 for SDA
A pair of PWM outputs for speak
Oscillator frequency control pin
VDD
6,20
19
I
Digital circuit power supply pin
VDD_REG
AVDD
I
Regulator circuit power supply pin
PWM power supply pin
5
I
VSS
1
I
Digital circuit power supply pin
AVSS
2
I
PWM power supply pin
RESET
VPP
22
I
RESET input pin
16
I
High voltage at programming time, NC at normal run
Program control pin, NC at normal run
Regulator output pin
EPM
17
I
VDD33_REG
18
O
4.1. PAD Assignment
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
MAR. 07, 2008
Version: 1.1
GPES282A
5. FUNCTIONAL DESCRIPTIONS
5.1. Instruction Sets
5.4.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.
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
respectively. “END” ends program and enters into sleep mode
for power saving purpose.
5.4.1.1. IC body
When a body name is selected, implicit large setting is also made.
The first element defined in a program is a GPES II body.
Example:
Large
5.2. I/O Description
SPES240B
EXT_CLK_4M
Freq4
;select SPES240B
The GPES282A has the following I/O pins: TG1, TG2, TG3, TG4,
STOP [0:7]. the TG[4:1] are input pins. Each TG pin with a
smaller pull high resistor if no key in, and with a higher pull high
resistor while a key is pressing. The STOP[7:0] are output pins;
moreover, STOP [6:7] can be shared with LED drive pins.
;Set default speech
;samplefrequencyto7.8K
LVR_DISABLE
...
POI:
PIN
Configuration
...
...
TG1
input
TG2
input
TG3
Input
5.4.1.2. Debounce
TG4
Input
A key debounce time can be defined in Definition Area. The
range of debounce time is 5ms ~ 35ms.
STOP.0
STOP.1
STOP.2
STOP.3
STOP.4
STOP.5
STOP.6
STOP.7
Output
Output
Output
Output
5.4.1.3. Variable
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.
Output
Output
Output (shared with LED2 pin)
Output (shared with LED1 pin)
Variable Syntax:
#define VariableName <Register | NUM>
5.3. EPROM Option
5F0[0] : disable/enable security
1: Security disable (default)
0: Security enable
Example1:
#define var R0
;define var as R0
;define const as 8
Example2:
5F0[4]: enable/disable LVR (LVR=2.1v)
1: LVR enable (default)
#define const
8
5.4.1.4. External clock
0: LVR disable
Users can define one external clock out of the following selections
in a program. This option must be defined in definition area.
EXT_CLK_3M; (3.0MHz)
5F1 ~ 5FF: for Identifying use (EPROM area)
All the above option bits can be read even security bit is enabled.
EXT_CLK_4M; (4.0MHz)
5.4. Program Structure Overview
EXT_CLK_6M; (6.0MHz)
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.
© Generalplus Technology Inc.
Proprietary & Confidential
5
MAR. 07, 2008
Version: 1.1
GPES282A
5.4.1.5. Low voltage reset(LVR)
The GPES282A provides Low Voltage Reset (LVR) function that
will reset all functions into the initial state if the VDD power drops
below 2.1V for longer than two T7 clock cycles(T7=CPU CLK*128).
As a result, it prevents the GPES282A entering into a malfunction
state. The LVR function is the same as Power ON Reset. For
The Low Voltage Reset can be enabled or disabled in a program.
This option must be defined in definition area.
Entry Point
Abbreviator
Entry Point
Status
32
POI
TG1F
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
1
TG2F
2
TG3F
3
TG4F
4
TG1R
LVR_ENABLE; enable
LVR_DISABLE; disable
5
TG2R
6
7
TG3R
TG4R
5.4.1.6. Infrared Red (IR) function
8 ~ 253
(except 32)
254
User-Defined entry
point or label
Speech event
Timer event
User-Defined
Some IR parameters must be defined in Definition Area before
using IR function. We will only introduce the commands here.
For more details on how to use these commands in your program,
please refer to GPES II Programming Guide.
User-Defined
User-Defined
255
Example:
5.4.2. Entry point (Label)
An example is introduced here. Also, all words after semi-colon
(;) are for comments only.
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.
SPES240B
;body defined
EXT_CLK_4M
LVR_Disable
POI:
LD EN, 0x00
(4000)_3
Example
LD EN, 0x 03
;enable TG1 falling and
;TG2 falling
SpeechLoop:
Sound1+Sound2
JP SpeechLoop
END
TG1F:
Sound1
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
;when TG1 changes from
;1Æ0 (HighÆLow),
;sound1 is played
;Sleep
END
Point ID or Entry Point Abbreviator to express an entry point.
summary of entry point for each trigger pin is as follows:
A
TG2F:
Sound2
;when TG2 changes from
;1Æ0, sound2 is played
;Sleep
END
© Generalplus Technology Inc.
Proprietary & Confidential
6
MAR. 07, 2008
Version: 1.1
GPES282A
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
MAR. 07, 2008
Version: 1.1
GPES282A
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℃
-50℃ to +150℃
TSTO
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
2.4
5.5
V
-
STOP7-6 Output Current
-
-
-
-
22
15
-7.8
-
-
-
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
-
2.4
-
mA
IOL
IOH
ROSC
IIN
-
-
-
-
190
-110
91
-
-
-
-
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
1.2
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
-
STOP7-6 Output Current
-
-
-
-
32
-
-
mA
VDD = 4.5V, VOUT = 1.0V
VDD = 4.5V, VOL = 1.0V
VDD = 4.5V, VOH = 3.5V
VDD = 4.5V
IOL
23
STOP5 - 0 Output Current
Standby Current
mA
μA
IOH
-12
-
-
ISTBY
3.0
VDD = 4.5V, FCPU = 2.0MHz
No load
Operating Current
IOP
-
2.6
-
mA
IOL
IOH
ROSC
IIN
-
-
-
-
260
-160
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
3.3
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
MAR. 07, 2008
Version: 1.1
GPES282A
7.5. The Relationships between the ROSC and the FCPU
7.6. The Relationships between the FCPU and the IOP
7.5.1. VDD = 3.0V, TA = 25℃
IOP VS FOSC
7
3.0
51K, 6.64M
56K, 6.14M
6
62K, 5.48M
68K, 5.10M
5
75K, 4.65M
82K, 4.25M
3.0V
2.5
4.5V
4
91K, 3.84M
100K, 3.52M
110K, 3.22M
120K, 2.94M
130K, 2.71M
3
2
1
160K, 2.19M
180K, 1.97M
2.0
2
3
4
5
6
7
FOSC (MHz)
50
70
90
110
130
150
170
R
OSC (KΩ)
7.7. The Relationships between the FCPU and the VDD
7.5.2. VDD = 4.5V, TA = 25℃
Fosc VS VDD
7
6
5
4
3
2
51K, 6.95M
56K, 6.43M
5.0
62K, 5.72M
68K, 5.33M
75K, 4.85M
82K, 4.44M
91K, 4.00M
100K, 3.66M
110K, 3.35M
120K, 3.06M
130K, 2.82M
4.0
91K
3.0
180K
2.0
1.0
160K, 2.28M
180K, 2.04M
2.0
3.0
4.0
5.0
6.0
VDD (V)
50
70
90
110
OSC (KΩ)
130
150
170
R
© Generalplus Technology Inc.
Proprietary & Confidential
9
MAR. 07, 2008
Version: 1.1
GPES282A
8. APPLICATION CIRCUITS
8.1. 4 Inputs, 2 LEDS and 6 Outputs
© Generalplus Technology Inc.
Proprietary & Confidential
10
MAR. 07, 2008
Version: 1.1
GPES282A
8.2. 28 Inputs Key Matrix
8.3. 36 Inputs Key Matrix
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
MAR. 07, 2008
Version: 1.1
GPES282A
8.5. TG pin Pull-High Resistance
3V ,equivalent resistance = 2MΩ
DATA IN
PIN PAD
R
5V ,equivalent resistance = 1 MΩ
3V ,equivalent resistance = 2 MΩ
VDD
© Generalplus Technology Inc.
Proprietary & Confidential
12
MAR. 07, 2008
Version: 1.1
GPES282A
9. PACKAGE/PAD LOCATIONS
9.1. Ordering Information
Product Number
Package Type
GPES282A-NnnV-C
Chip form
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
13
MAR. 07, 2008
Version: 1.1
GPES282A
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
14
MAR. 07, 2008
Version: 1.1
GPES282A
11. REVISION HISTORY
Date
Revision #
Description
Page
1
MAR. 07, 2008
1.1
1. Modify 2. Block diagram.
2. Modify 4. Signal Descriptions.
3. Modify 4.1 PAD Assignment.
2
2
3. Modify 8.1, 8.2 and 8.3 Application circuits.
Original
8-9
13
OCT. 24, 2007
1.0
© Generalplus Technology Inc.
Proprietary & Confidential
15
MAR. 07, 2008
Version: 1.1
相关型号:
©2020 ICPDF网 联系我们和版权申明