DATASHEET SEARCH SITE | WWW.ALLDATASHEET.COM
Document overview
- Manufacturer or author: Provided By ALLDATASHEET.COM(FREE DATASHEET DOWNLOAD SITE)
- PDF pages: 19
Technical content
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 warra nty 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 Gener alplus. DATA SHEET Jul. 05, 2018 Version 1.0 GPC74XXXA 4-bit Speech with SPU
© Generalplus Technology Inc. Proprietary & Confidential 2 Jul. 05, 2018 Version: 1.0 Table of Contents PAGE
© Generalplus Technology Inc. Proprietary & Confidential 3 Jul. 05, 2018 Version: 1.0 4-BIT SPEECH WITH SPU
1 GPC74XXXA SERIES
Product No. GPC74340A GPC74170A GPC74080A GPC74064A GPC74048A GPC74032A GPC74016A OTP density (KWord) 680 340 160 128 96 64 32 Dedicated IOs 16 16 16 16 16 8 8
2 GENERAL DESCRIPTION
GPC74XXXA, a 4-bit sound controller , is architected with a four-channel SPU for MIDI playback, a 4-bit RISC CPU, a 14-bit PWM, 16 or 8 IOs, 256-nibble RAM, and 680K/ 340K/ 160K/ 128K/ 96K/ 64K/ 32K x 12-bit factory programmed OTP memory. The operating voltage ranges from 2. 0V through 5.5V and operating speed is 1M/2MHz, configurable through inner oscillator. Other feat ures includ e Low Voltage Reset, IR carry output, Watchdog, 5 interrupt sources with two Time-bases, etc.
3 BLOCK DIAGRAM
4 FEATURES
4-bit RISC CPU CPU Clock: 1M/2M Hz, System clock: 8MHz Operating Voltage: 2.0V - 5.5V Regulator built-in with input voltage: 2. 0~5.5V, output voltage: 2.0~3.0V IO IOA~IOD Operating Voltage: 2.0V - 5.5V 256 nibbles SRAM 14-bit PWM driver for driving speaker directly 680K/340K/160K/128K/96K/64K/32Kx12-bit factory programmed OTP memory Standby mode for power savings Five interrupt sources with two Time-bases 4-channel Sound Processing Unit (SPU) supports MIDI playback 16 or 8 general I/Os (bit programmable) Key wakeup function (IOA~IOD for 16 IO, IOA~IOB for 8 IO) Low voltage reset Watchdog
5 APPLICATION FIELD
Talking instrument controller General Music Synthesizer Toy controller Intelligent toy controller And more
© Generalplus Technology Inc. Proprietary & Confidential 4 Jul. 05, 2018 Version: 1.0
6 SIGNAL DESCRIPTIONS
IOA[3:0] I/O IOA[3:0] is a bi-directional I/O port with wakeup capability (via body option). 1Mohm || 200K feedback Pull Low resistor IOA3 shares pad with OTP writer’s signal SDA. IOA2 shares pad with External Interrupt Input (via body option), or with OTP writer ’s signal SCK. IOA1 shares pad with IR Output (via body option) IOA0 shares pad with Key Reset Input (via body option) IOB[3:0] I/O IOB[3:0] is a bi-directional I/O port with wakeup capability (via body option). 1Mohm || 200K feedback Pull Low resistor IOB2 shares pad with External Interrupt Input (via body option) IOB1 shares pad with IR Output (via body option) IOB0 shares pad with Key Reset Input (via body option) IOC[3:0] I/O GPC74032A/GPC74016A do not have these ports. IOC[3:0] is a bi-directional I/O port with wakeup capability (via body option). 1Mohm || 200K feedback Pull Low resistor IOC2 shares pad with External Interrupt Input(via body option) IOC1 shares pad with IR Output (via body option) IOC0 shares pad with Key Reset Input (via body option) IOD[3:0] I/O GPC74032A/GPC74016A do not have these ports. IOD[3:0] is a bi-directional I/O port with wakeup capability (via body option). 1Mohm || 200K feedback Pull Low resistor IOD2 shares pad with External Interrupt Input(via body option) IOD1 shares pad with IR Output (via body option) IOD0 shares pad with Key Reset Input (via body option) TEST I GPC74032A/GPC74016A do not have this port. Non-used pin for user; it’s default in pull low and can be optioned as floating state. AUDP AUDN O PWM audio output VDDIO P Power supply voltage input VSS1,VSS2 G Ground reference(only 1 VSS pad in GPC74032A/GPC74016A) REGOUT P 3.3V regulator output for core power VDDTRM P Power for e-fuse, user should keep this pin floating. VSS_FUSE G Ground for e-fuse for testing only, user should keep this pin in floating state. (Pad only in GPC74032A/GPC74016A) PVDD P PWM driver power PVSS G PWM driver ground reference
© Generalplus Technology Inc. Proprietary & Confidential 5 Jul. 05, 2018 Version: 1.0
6.1 Package Pad Assignment
6.1.1 Package for GPC74340A/GPC74170A/GPC74080A/GPC74064A/GPC74048A
24 PIN SOP(300 mil) 16 PIN SOP(150 mil)
8 PIN SOP(150 mil)
© Generalplus Technology Inc. Proprietary & Confidential 6 Jul. 05, 2018 Version: 1.0
6.1.2 Package for GPC74032A/GPC74016A
16 PIN SOP(150 mil)
PIN SOP(150 mil)
© Generalplus Technology Inc. Proprietary & Confidential 7 Jul. 05, 2018 Version: 1.0
7 FUNCTION DESCRIPTIONS
7.1 CPU
GPC74XXXA features a 4-bit RISC CPU , executing the 12-bit instruction set with total of 72 instructions available, 7 stacks managed by 3-bit stack pointer, three DPRs(Data Pointer to read ROM) sharing stack 4 ~ 6, and 8 VPRs(Voice Data Point er) for SPU.
7.2 Memory
7.2.1 SRAM
There are 256 nibbles of SRAM, grouped into 4 banks . Each bank has 64 nibbles and supports index mode to read/write its content addressed by TXR.
7.2.2 OTP
GPC74XXXA is equipped with 680K/ 340K/ 160K/ 128K/ 96K/ 64K/ 32K x 12-bit factory programmed OTP memory.
7.3 Clock Source
Clock source is an inner resistance oscillator with CPU clo ck options of 1MHz or 2MHz
7.4 Low Voltage Reset
With the LVR function, a reset signal is generated to reset system when the operating voltage drops below LVR level.
7.5 Interrupt
An interrupt is a special event request to microcontroller. When it occurs, the corresponding interrupt will activate and direct the program code to execute the respective functions. The GPC74XXXA has 5 interrupt sources . Please refer to programming guide for more details.
7.5.1 Timebase
There are two Time-base, TB1/TB2, generated by system clock. The interval of TB1 is allowed up to 1ms and TB2 is up to 2ms.
7.6 SPU
Four-channel SPU supports MIDI play back with A3400Pro -like decode or PCM format and each channel has an 8-bit envelop control.
7.7 PWM
The PWM module is a 14-bit PWM driver to drive speaker directly.
7.8 Sleep Mode, Wakeup and Watchdog
7.8.1 Sleep mode and wakeup
Sleep mode or known as power down mode is an operating state that requires an extremely low power consumption to maintain the system in active. The sleep mode is particularly useful for the application areas where the system is required to constantly maintain its basic functionality and where the power capacity is limited. GPC74XXXA will enter sleep mode when SLEEP instruction is executed and can be waked up by interrupt or key change. CPU will continue to execute the program from where it entered sleep mode.
7.8.2 Watchdog Reset
A watchdog reset is a reset signal that is generated to reset the entire system when watchdog counter is overflow. In case when the program code has been running into an unknown state and without the watchdog signal being cleared for a certain period of time, watchdog function automatically gen erates a reset signal pulling the system back from unknown state.
7.9 I/O
The GPC74XXXA features 16-bit or 8-bit programmable I/Os with wakeup capability . These IOs normally support input with floating or pull-low and output options. In addition to the ordinary I/O function, some IO ports have special functions. The following table summarizes the special functions for these IOs. Special Function in Port Port Special Function Function Description Note IOA0/IOB0~IOD0 Key Reset Key reset pin selected by code option high active,IOC0/IOD0 isn’t supported in GPC74032A/GPC74016A IOA1/IOB1~IOD1 IROUT IR carry output selected by code option IOC1/IOD1 isn’t supported in GPC74032A/GPC74016A IOA2/IOB2~IOD2 EXT INT External interrupt input selected by code option IOC2/IOD2 isn’t supported in GPC74032A/GPC74016A
© Generalplus Technology Inc. Proprietary & Confidential 8 Jul. 05, 2018 Version: 1.0
8 ELECTRICAL SPECIFICATIONS
Characteristics Symbol Ratings DC Supply Voltage V+ < 7.0V Input Voltage Range VIN (VSS-0.3V) to (V+ + 0.3V) Operating Temperature TA 0℃ to +70℃ Storage Temperature TSTO -65℃ to +150℃ Note: Stresses beyond those given in the Absolute Maximum Rating table may cause permanent damage to the device. For normal operational conditions , see 8.1 DC Characteristics (VDD = 3/4.5V (IOA ~ IOD), TA = 25℃) Characteristics Symbol Limit Unit Test Condition Min. Typ. Max. Operating Voltage VDD 2.0 - 5.5 V Operating Current IOP - 1.5 - mA FCPU = 2MHz @ 3.0V, PWM output off For GPC74080A/064A/048A/ 032A/016A - 2 - mA FCPU = 2MHz @ 4.5V, PWM output off For GPC74080A/064A/048A/ 032A/016A - 5 - mA FCPU = 2MHz @ 3.0V, PWM output off For GPC74340A/170A - 6 - mA FCPU = 2MHz @ 4.5V, PWM output off For GPC74340A/170A Standby Current ISTBY - - 5 uA VDD = 3.0V - - 5 uA VDD = 4.5V GPIO Input High Level (IOA, IOB, IOC, IOD) VIH 0.5VDD - - V VDD = 4.5V GPIO Input Low Level (IOA, IOB, IOC, IOD) VIL - - 0.5VDD V VDD = 4.5V Output High Current (IOA, IOB, IOC, IOD) IOH - 10 - mA VDD = 3.0V, VOH = 0.7*VDD - 20 - mA VDD = 4.5V, VOH = 0.7*VDD Output Low Current (Normal) IOL1 - 10 - mA VDD = 3.0V, VOL = 0.3*VDD - 20 - mA VDD = 4.5V, VOL = 0.3*VDD Output Low Current (High sink , by Body Option) IOL2 - 20 - mA VDD = 3.0V, VOL = 0.3*VDD - 40 - mA VDD =4.5V, VOL = 0.3*VDD Input Pull Low Resistor (IOA, IOB, IOC, IOD)I RL1 - 200 - Kohm VDD = 3.0V, IO = 0V For GPC74080A/064A/048A/ 032A/016A - 100 - Kohm VDD = 4.5V, IO = 0V For GPC74080A/064A/048A/ 032A/016A - 150 - Kohm VDD = 3.0V, IO = 0V For GPC74340A/170A - 150 - Kohm VDD = 4.5V, IO = 0V For GPC74340A/170A
© Generalplus Technology Inc. Proprietary & Confidential 9 Jul. 05, 2018 Version: 1.0 Characteristics Symbol Limit Unit Test Condition Min. Typ. Max. Input Pull Low Resistor (IOA, IOB, IOC, IOD) RL2 - 1000 - Kohm VDD = 3.0V, IO = 3.0V For GPC74080A/064A/048A/ 032A/016A - 500 - Kohm VDD = 4.5V, IO = 4.5V For GPC74080A/064A/048A/ 032A/016A - 850 - Kohm VDD = 3.0V, IO = 3.0V For GPC74340A/170A - 850 - Kohm VDD = 4.5V, IO = 4.5V For GPC74340A/170A PWM Driver Current IPWM - 180 - mA VDD = 3.0V, 8 Ohms load - 280 - mA VDD = 4.5V, 8 Ohms load Frequency deviation by voltage drop △F/F -1 - +1 % Fosc(3.0v) Fosc(2.4v)Fosc(5.5v) FCPU = 2MHz Frequency lot deviation △F/F -1 - 1 % Fmax(3.0v) Fmin(3.0v)Fmax(3.0v) FCPU = 2MHz @ 3.0V (tentative) -1 - 1 % Fmax(4.5v) Fmin(4.5v)Fmax(4.5v) FCPU = 2MHz @ 4.5V (tentative)
© Generalplus Technology Inc. Proprietary & Confidential 10 Jul. 05, 2018 Version: 1.0
8.2 Internal Frequency(Fosc) and VDD
Fosc vs. VDD 7.95 7.96 7.97 7.98 7.99 8.00 8.01 8.02 8.03 8.04 8.05 VDD(V) Fosc(MHz) 080A/064A/ 048A/032A/ 016A 340A/170A
8.3 Internal Frequency(Fosc) and Temperature
Fosc vs. Temp 7.00 7.50 8.00 8.50 9.00 -10 0 10 25 40 50 60 70 80 Temperate( ˚C) Fosc(MHz) 080A/064A/ 048A/032A/ 016A 340A/170A
© Generalplus Technology Inc. Proprietary & Confidential 11 Jul. 05, 2018 Version: 1.0
8.4 Operating Current(Iop) and VDD
Iop vs. VDD 0.00 1.00 2.00 3.00 4.00 5.00 6.00 VDD(V) Iop(mA) 080A/064A/048A/032A/ 016A-CPU 2M 080A/064A/048A/032A/ 016A-CPU 1M 340A/170A-CUP 2M 340A/170A-CPU 1M
© Generalplus Technology Inc. Proprietary & Confidential 12 Jul. 05, 2018 Version: 1.0
9 APPLICATION CIRCUITS
9.1 Light Loading and Circuit without Noise
PCB Layout Guidelines: 1. PVDD can be higher than or equal to VDD. 2. VSS and PVSS must be connected to ground input directly, not the branch of each other. 3. When using two batteries, 0.1uF ~ 4.7uF is suggested for C1, and it should be increased in a high volume application. 4. IOC/IOD isn’t supported in GPC74032A/GPC74016A. 5. There is no “TEST” pin in GPC74032A/GPC74016A. GPC74XXXA
© Generalplus Technology Inc. Proprietary & Confidential 13 Jul. 05, 2018 Version: 1.0
9.2 Heavy Loading or Circuit with Noise
PCB Layout Guidelines: 1. PVDD can be higher than or equal to VDD. 2. VSS and PVSS must be connected to ground input directly, not the branch of each other. 3. A typical value of C1 is 47uf, and it should vary in different loadings. 4. If there is application with motor, REGOUT should be connected with C4. 5. IOC/IOD isn’t supported in GPC74032A/GPC74016A. 6. There is no “TEST” pin in GPC74032A/GPC74016A. GPC74XXXA
© Generalplus Technology Inc. Proprietary & Confidential 14 Jul. 05, 2018 Version: 1.0
10 PACKAGE/PAD LOCATIONS
10.1 Ordering Information
Product Number Package Type GPC74XXXA-NnnV-C Chip form GPC74340A-PS011 Green Package –SOP8 GPC74170A-PS011 Green Package –SOP8 GPC74080A-HS011 Green Package –SOP8 GPC74064A-HS011 Green Package –SOP8 GPC74048A-HS012 Green Package –SOP8 GPC74032A-HS011 Green Package –SOP8 GPC74016A-HS011 Green Package –SOP8 GPC74340A-PS031 Green Package –SOP16 GPC74170A-PS031 Green Package –SOP16 GPC74080A-HS031 Green Package –SOP16 GPC74064A-HS031 Green Package –SOP16 GPC74048A-HS032 Green Package –SOP16 GPC74032A-HS031 Green Package –SOP16 GPC74016A-HS031 Green Package –SOP16 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 15 Jul. 05, 2018 Version: 1.0
10.2 Package Information
24 PIN SOP(300 mil)
© Generalplus Technology Inc. Proprietary & Confidential 16 Jul. 05, 2018 Version: 1.0
16 PIN SOP(150 mil)
© Generalplus Technology Inc. Proprietary & Confidential 17 Jul. 05, 2018 Version: 1.0
8 PIN SOP(150 mil)
© Generalplus Technology Inc. Proprietary & Confidential 18 Jul. 05, 2018 Version: 1.0
11 DISCLAIMER
The information appearing in this publication is believed to be accurate. Integrated circuits sold by Generalplus T echnology 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 withou t 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 inv olving 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 19 Jul. 05, 2018 Version: 1.0
12 REVISION HISTORY
Date Revision # Description Page Jul. 05, 2018 1.0 Original 19