GPC10024D GENERALPLUS | Alldatasheet

Document overview

  • Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
  • PDF pages: 15

Technical content

GENERALPLUS TECHNOLOGY INC. reserves the right to change this documentation without prior notice. Information provided by GENE RALPLUS 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 plac ing 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. GG S MAY 13, 2008 Version 1.2 PPCC1100002244DD Soouunndd CCoonnttrroolllleerr wwiitthh 2244KKBB RROOMM In addition, GENERALPLUS products are not authorized for use as critical components in life s upport 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.

© Generalplus Technology Inc. Proprietary & Confidential

2 MAY 13, 2008

Version: 1.2 Table of Contents PAGE

© Generalplus Technology Inc. Proprietary & Confidential

3 MAY 13, 2008

Version: 1.2 SOUND CONTROLLER WITH 24KB ROM 1. GENERAL DESCRIPTION The GPC10024D, a speech/wavetable synthesizer, equips an 8-bit CMOS microprocessor, and 24K-byte Working ROM, 64-byte working SRAM. Other primary features include two 8-bit Timer/Counters and can cascade to one 16-bit timer/counter, 24 Software Selectable I/Os, a pair of PWM output. It operates at a wide voltage range of 2.4V - 5.5V. Plus, a Clock Stop mode is built in for power savings. The unique power saving mode saves the RAM contents, but freezes the oscillator to stop executing other functions. The maximum CPU frequency can run up to 8MHz and the instruction cycle is two clock cycles (min.) ~ six clock cycles (max.). The GPC10024D loads, not only the latest technology, but also the full commitment and technical support of Generalplus. 2. BLOCK DIAGRAM 3. FEATURES „ 8-bit microprocessor „ 24K bytes ROM „ 64-byte working SRAM „ Software-based audio processing „ Wide operating voltage: 2.4V - 5.5V @ 6.0MHz 3.6V - 5.5V @ 8.0MHz „ Built-in R-oscillator, code option to 6MHz or 8 MHz. „ Max. CPU clock: 6.0MHz @ 3.0V, 8MHz @ 5.0V „ Standby mode (Clock Stop mode) for power savings M a x . 2 . 0μA @ 5.0V „ 333ns instruction cycle time @ 6.0MHz CPU clock „ 8 general I/Os (include 4 high brightness LED driving I/O) „ Low Voltage Reset (LVR) function „Two 8-bit timer/counters and can cascade to one 16-bit timer/counter „ Six INT sources „ Key wake -up function „ IR function „ External feedback input „ Watch dog function „ A pair of PWM output 4. APPLICATION FIELD „ Intelligent education toys Ex. Pattern to voice (animal, car, color, etc.) Spelling (English or Chinese) M a t h „ Advanced toy controller „ General speech synthesizer „ Industrial controller

© Generalplus Technology Inc. Proprietary & Confidential

4 MAY 13, 2008

Version: 1.2 5. SIGNAL DESCRIPTIONS Mnemonic PIN No Type Description VDD 5 I Digital Power Pad VSS 16 I Digital Ground PVDD 3 I PWM Power Pad PVSS 2 I PWM Ground RESET 11 I Reset pin, active low to reset whole system TEST 6 I Test pin, NC PWMP 1 O PWM output PWMN 4 O PWM output IOD0 IOD1 IOD2 IOD3 IOD4 IOD5 IOD6 IOD7 I/O I/O I/O I/O I/O I/O I/O I/O Bit-controlled programmable I/O pins In input mode, port D can be either pure or pull-low states In output mode, port D can be buffer Port D are the key wakeup I/O pins IOD[3:0] can drive high brightness LED IOD4: feedback input of clock generator IOD5: feedback output of clock generator IOD6 : external interrupt IOD7: IR transmitter

© Generalplus Technology Inc. Proprietary & Confidential

5 MAY 13, 2008

Version: 1.2 5.1. PAD Assignment The IC substrate should be connected to VSS Note1: To ensure that the IC functions properly, please bond all of 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

6 MAY 13, 2008

Version: 1.2 6. FUNCTIONAL DESCRIPTIONS 6.1. CPU The microprocessor in GPC10024D is a high performance 8-bit processor equipped Accumulator, Program Counter, X and Y Register, Stack pointer and Processor Status Register (the same as the 6502 instruction structure). The maximum CPU speed of 8.0MHz is capable of bringing you the cleaner speech, pleasant music as well as achieving the best performance. 6.2. RAM Area The total RAM size is 64-bytes (including Stack) starting from address $00C0 through $00FF or mapping to $01C0 through $01FF. 6.3. ROM Area The GPC10024D provides a 24K-byte ROM that can be defined as the program area, audio data area, or both. 6.4. Map of Memory and I/Os 0x0000 IO 0x00C0 0x00FF 0x7FFF Reserved SRAM User's Program & Data Area 0x0200 0x0017 Reserved 0x0600 Test Program 0x01C0 SRAM (Mapping)0x01FF 0x4FFF 0x7000 User's Program & Data Area Dummy Area 6.5. I/O Port There are 8 IOs in the GPC10024D. IOD7-0 are bit-controlled IOs. They can be programmed as input (pure input or pull-low) or output buffer. As pull-low input IOD7-0 keep a less impedance to get good noise immunity. While pressing the key (IOD7-0 to VDD), a large impedance remained to save the DC power. IOD4, IOD5 can be programmed as a RC clock generator by adding external resistor and capacitor. IOD6 can be programmed as a external interrupt source. IOD7 can be programmed as a IR transmitter. IOD3:0] can sink high current to drive high brightness LED. IO port configuration: Register Control logic pull low Pin pad Buffer(R) Data(R) Port_Data(W) Port_Buffer(W) Port_DIR(R/W) ohm Input/Output IOD port : IOD7 - IOD0 6.6. Power Saving Mode The GPC10024D includes a power saving mode (Standby mode) for those applications that require very low standby current. To enter standby mode, the Wake-Up Register must be enabled and then stop the CPU clock by writing the STOP CLOCK Register to enter standby mode. In such mode, RAM and I/Os will remain in their previous states until being awaken. Port IOD7-0 is the wake-up source in the GPC10024D. After the GPC10024D is awaken, the internal CPU will go to the RESET State (Tw 64 x ≧ T1) and continue to execute program. Wakeup Reset will not affect RAM nor I/Os.

© Generalplus Technology Inc. Proprietary & Confidential

7 MAY 13, 2008

Version: 1.2 FIG. 1 T1 = 1 / ( FCPU ), Tw ≧64 x T1 6.7. Low Voltage Reset The GPC10024D has a Low Voltage Reset (LVR) function. In general, the CPU becomes unst able and malfunctions when the power voltage drops below certain operating voltage. With the unique design of Low Voltage Reset in GPC10024D, it is able to reset all functions to the initial operational (stable) state if the VDD power-supply voltage drops around 1.8V. (The LVR function is the same as Power ON Reset or External Reset.) 6.8. Timer/Counter The GPC10024D has two 8-bit timer/counters, TMA and TMB respectively. TMA can be specifi ed as a timer, but TMB can be used as a timer or a counter. In the timer mode, TMA and TMB are re-loaded up-counters. When timer rollovers from $FF to $00, the carry (overflow) signal will make the user’s preset value to be loaded into timer automatically and up-count again. At the same time, the carry signal will generate an INT signal if the corresponding bit is enabled in the INT ENABLE Register. Suppose TMB is specified as a c ounter, users can reset it by loading #0 into the counter. Afte r the counter has been activated, the value in the counter can also be read at the same time. The read instruction will not affect the value of the counter nor reset it. Clock source of Timer/Counter can be selected as follows: Timer/Counter Clock Source TMA 8-BIT TIMER CPU CLOCK (T) or T/8, T/64, TMB overflow TMB 8-BIT TIMER T, T/65536, EXTCLK, 0, 1 6.9. Speech and Melody In speech synthesis, the GPC10024D can use NMI for accurate sampling frequency. The user can store the speech data in ROM and play it back with realistic sound quality. Several algorithms are recommended for high fidelity and compression of sound: PCM, LOG PCM, ADPCM and SACMA3400.

© Generalplus Technology Inc. Proprietary & Confidential

8 MAY 13, 2008

Version: 1.2 7. ELECTRICAL SPECIFICATIONS 7.1. Absolute Maximum Ratings Characteristics Symbol Ratings DC Supply Voltage V+ < 7.0V Input Voltage Range VIN -0.5V to V+ + 0.5V Operating Temperature TA 0℃ to +60℃ Storage Temperature TSTO -50℃ to +150℃ Note: Stresses beyond those given in the Absolute Maximum Rating tabl e may cause operational errors or damage to the device. For normal operational conditions see AC/DC Electrical Characteristics. 7.2. DC Characteristics (VDD = 5.0V, TA = 25℃) Limit Characteristics Symbol Min. Typ. Max. Unit Test Condition Operating Voltage VDD 3.6 - 5.5 V - Operating Current IOP - 5.0 - mA FCPU = 6.0MHz @ 5.0V Standby Current ISTBY - - 2.0 μA VDD = 5.0V Input High Level VIH 3.0 - - V VDD = 5.0V Input Low Level VIL - - 0.8 V VDD = 5.0V Output Source Current (IOD[7:0]) IOH - -10 - mA VDD = 5.0V, VOH = 4V Output Sink Current (IOD[7:4]) IOL - 21 - mA VDD = 5.0V, VOL = 1V Output Sink Current (IOD[3:0]) IOL - 44 - mA VDD = 5.0V, VOL =1V IOH - -208 - mA VDD = 5.0V, VOH = 4.0V PWM Output Current IOL - 263 - mA VDD = 5.0V, VOL = 1.0V Input Resistor (IOD) RIN - 85 - KΩ VDD = 5.0V, VIN = 0V Input Resistor (IOD) RIN - 745 - KΩ VDD = 5.0V, VIN = VDD Built in R-oscillator Frequency FROSC* - 6 or 8** - MHz VDD = 3.6V - 5.5V Note*: ROSC frequency deviation: ± 7% @ 6.0MHz, VDD= 2.4V - 5.5V, room temperature. Note**: Code option. 7.3. DC Characteristics (VDD = 3.0V, TA = 25℃) Limit Characteristics Symbol Min Typ Max Unit Test condition Operating Voltage VDD 2.4 - 3.6 V - Operating Current IOP - 1.7 - mA FCPU =6.0MHz @ 3.0V Standby Current ISTBY - - 2.0 μA VDD = 3.0V Input High Level VIH 2.0 - - V VDD = 3.0V Input Low Level VIL - - 0.8 V VDD = 3.0V Output Source Current (IOD[7:0]) IOH - -4.6 - mA VDD = 3.0V, VOH = 2.4V Output Sink Current (IOD[7:4]) IOL - 10 - mA VDD = 3.0V, VOL = 0.6V Output Sink Current (IOD[3:0]) IOL - 23 - mA VDD = 3.0V, VOL = 0.6V PWM Output Current IOH - -110 - mA VDD = 3.0V, VOH = 2.4V

© Generalplus Technology Inc. Proprietary & Confidential

9 MAY 13, 2008

Version: 1.2 Limit Characteristics Symbol Min Typ Max Unit Test condition IOL - 146 - mA VDD = 3.0V, VOL = 0.6V Input Resistor (IOD) RIN - 170 - KΩ VDD = 3.0V, VIN = 0V Input Resistor (IOD) RIN - 1610 - KΩ VDD = 3.0V, VIN = VDD Built in R-oscillator Frequency FROSC* - 6 - MHz VDD = 2.4V - 5.5V Note*: ROSC frequency deviation: ± 7% @ 6.0MHz, VDD= 2.4V - 5.5V, room temperature.

© Generalplus Technology Inc. Proprietary & Confidential

10 MAY 13, 2008

Version: 1.2 8. APPLICATION CIRCUITS 8.1. 8 I/O

© Generalplus Technology Inc. Proprietary & Confidential

11 MAY 13, 2008

Version: 1.2 8.2. 4 I/O, 4LED

© Generalplus Technology Inc. Proprietary & Confidential

12 MAY 13, 2008

Version: 1.2 8.3. PCB Layout Guide To avoid the unexpected noises to end up with abnormal CPU operat ions, the following cares must be exercised while doing the PC B layout: 1. Bond all VDD and VSS pins out. 2. The 0.1μF capacitor (C1-C2) placed between VDD and VSS must be as closed as possible to IC itself. The PCB layout examples are given as follows:

© Generalplus Technology Inc. Proprietary & Confidential

13 MAY 13, 2008

Version: 1.2 9. PACKAGE/PAD LOCATIONS 9.1. Ordering Information Product Number Package Type GPC10024D - 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

14 MAY 13, 2008

Version: 1.2 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 indem nification provisions stipulated in the terms of sale only. GENERALPLUS makes no warranty, express, statutory implied or by description regarding the information in t his publication or regarding the freedom of the described chip(s) from patent infringem ent. FURTHERMORE, GENERALPLUS MAKES NO WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PURPOSE. GE NERALPLUS reserves the right to halt production or alter the specifications and prices at any time without notice. Acco rdingly, 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 co mmercial applications. Applications involving unusual environmental or reliability requirements, e.g. military equipment or medical lif e support equipment, are specifically not recommended without additional proc essing by GENERALPLUS for such applications. Please note th at application circuits illustrated in this document are for reference purposes only.

© Generalplus Technology Inc. Proprietary & Confidential

15 MAY 13, 2008

Version: 1.2 11. REVISION HISTORY Date Revision # Description Page MAY 13, 2008 1.2 Add section 8.3 PCB Layout Guide. 12 SEP. 10, 2007 1.1 1. Modify “FEATURES” in section 3. 2. Add “Built in R-oscillator Frequency” to section 7.2 and 7.3. MAR. 19, 2007 1.0 Modify the “APPLICATION CIRCUITS” in section 8. 8 JAN. 08, 2007 0.1 Original 12