eSC Series

eSC Series
Tiny Turbo Controller
with Single Speech
Channel
Product
Specification
DOC. VERSION 1.2
ELAN MICROELECTRONICS CORP.
March 2006
Trademark Acknowledgments:
IBM is a registered trademark and PS/2 is a trademark of IBM.
Windows is a trademark of Microsoft Corporation.
ELAN and ELAN logo
are trademarks of ELAN Microelectronics Corporation.
Copyright © 2005~2006 by ELAN Microelectronics Corporation
All Rights Reserved
Printed in Taiwan
The contents of this specification are subject to change without further notice. ELAN Microelectronics assumes
no responsibility concerning the accuracy, adequacy, or completeness of this specification. ELAN
Microelectronics makes no commitment to update, or to keep current the information and material contained in
this specification. Such information and material may change to conform to each confirmed order.
In no event shall ELAN Microelectronics be made responsible for any claims attributed to errors, omissions, or
other inaccuracies in the information or material contained in this specification. ELAN Microelectronics shall not
be liable for direct, indirect, special incidental, or consequential damages arising from the use of such information
or material.
The software (if any) described in this specification is furnished under a license or nondisclosure agreement, and
may be used or copied only in accordance with the terms of such agreement.
ELAN Microelectronics products are not intended for use in life support appliances, devices, or systems. Use of
ELAN Microelectronics product in such applications is not supported and is prohibited.
NO PART OF THIS SPECIFICATION MAY BE REPRODUCED OR TRANSMITTED IN ANY FORM OR BY
ANY MEANS WITHOUT THE EXPRESSED WRITTEN PERMISSION OF ELAN MICROELECTRONICS.
ELAN MICROELECTRONICS CORPORATION
Headquarters:
Hong Kong:
USA :
No. 12, Innovation Road 1
Hsinchu Science Park
Hsinchu, Taiwan 30077
Tel: +886 3 563-9977
Fax: +886 3 563-9966
http://www.emc.com.tw
Elan (HK) Microelectronics
Corporation, Ltd.
Elan Information Technology
Group (U.S.A.)
Rm. 1005B, 10/F Empire Centre
68 Mody Road, Tsimshatsui
Kowloon , HONG KONG
Tel: +852 2723-3376
Fax: +852 2723-7780
[email protected]
1821 Saratoga Ave., Suite 250
Saratoga, CA 95070
USA
Tel : +1 408 366-8225
Fax: +1 408 366-8220
Europe :
Shenzhen:
Shanghai:
Elan Microelectronics Corp. Elan Microelectronics
Shenzhen, Ltd.
(Europe)
Siewerdtstrasse 105
8050 Zurich, SWITZERLAND
Tel: +41 43 299-4060
Fax: +41 43 299-4079
http://www.elan-europe.com
SSMEC Bldg., 3F, Gaoxin S. Ave.
Shenzhen Hi-Tech Industrial Park
Shenzhen, Guandong, CHINA
Tel: +86 755 2601-0565
Fax: +86 755 2601-0500
Elan Microelectronics
Shanghai , Ltd.
23/Bldg. #115 Lane 572, Bibo Road
Zhangjiang Hi-Tech Park
Shanghai, CHINA
Tel: +86 21 5080-3866
Fax: +86 21 5080-4600
Contents
Contents
1
General Description .................................................................................................. 1
2
Features ..................................................................................................................... 1
3
Parts List .................................................................................................................... 2
4
Applications............................................................................................................... 2
5
Pin Description.......................................................................................................... 3
6
Special Function Description................................................................................... 3
6.1
Green Mode ....................................................................................................... 3
6.2
Interrupt Mode .................................................................................................... 4
6.3
I/O Ports Description .......................................................................................... 4
6.3.1
7
8
9
Pull Low Structure of Ports 1, 2, and 3.................................................................5
Specifications ............................................................................................................ 6
7.1
Absolute Maximum Ratings................................................................................ 6
7.2
Electrical Characteristics .................................................................................... 6
Frequency Deviation................................................................................................. 7
8.1
Freq. vs. Rosc (VDD = 3V)................................................................................. 7
8.2
Freq. vs. VDD (Rosc = 33KΩ) Normal Mode ..................................................... 7
8.3
Freq. vs. VDD (Rosc = 51KΩ) Normal Mode ..................................................... 8
8.4
Freq. vs. VDD (Rosc = 51MΩ) Green Mode ...................................................... 8
Application Circuit .................................................................................................... 9
9.1
R Oscillator in Normal Mode (Not Using Green Mode) ...................................... 9
9.2
Crystal Oscillator in Normal Mode (Not Using Green Mode).............................. 9
9.3
R Oscillator in Normal Mode and Green Mode ................................................ 10
9.4
Crystal Oscillator in Normal Mode and R Oscillator in Green Mode................. 10
Product Specification (V1.2) 03.22.2006
• iii
Contents
Specification Revision History
Doc. Version
iv •
Revision Description
Date
1.0
eSC Series Initial Specification
2005/05/16
1.1
Added Auto Optional Oscillator
2005/11/15
1.2
Modify Oscillation Frequency
2006/03/22
Product Specification (V1.2) 03.22.2006
eSC Series
Tiny Turbo Controller with Single Speech Channel
1
General Description
The eSC series IC’s are 4-bit microcontroller based sound processor with single-channel
speech audio function. The series has a powerful 4-bit CPU that handles most of the
speech functions. Wide range sampling rate and different volume levels are supported. It
provides a synthesized speech to obtain good quality speech as well as one 4-bit input
port, three 4-bit I/O ports, and one 4-bit output port (applicable to eSC100/120/170/200/
270/320). By programming through the microcontroller, applications, such as section
combination, trigger mode, output control, keyboard matrix, and other logic functions are
easily put into effect.
In addition to Sleep mode, the eSC series IC’s also offer Green mode which allows
continuous operation at reduced or very low power consumption. Normal operation
resumes at a preset time.
The enhanced functions will facilitate users in creating a wide variety of devices with new
fancy features.
2
Features
„
System clock:
z
4 MHz @ 2.2 volts ~ 5.1 volts
z
6 MHz @ 2.4V ~ 5.1V
„
Auto optional crystal oscillator or RC oscillator
„
Input/Output ports:
z
One Input port (P1) with software controlled pull low resistor
z
Three input/output ports (P2 ~ P4)
Ä P2 & P3 are software controlled with pull low resistor and wake-up function
Ä P4 is applicable to eSC065/080/100/120/170/200/270/320
z
One output port (P5) applicable to eSC100/120/170/200/270/320
„
Sleep mode to conserve power (less than 1µA @ 3V standby current)
„
Green mode for continuous operation at reduced or very low power consumption
(less than 15µA @ 3V)
„
4 bits RISC type controller, each instruction takes 2 (90%) or 4 clock cycles
„
12 bits width per instruction, each instruction takes 1 (90%) or 2 words
„
Total of 4 interrupts are available:
z
2 interrupts for speech/high resolution timer operation
z
1 interrupt for timer
z
1 general purpose external interrupt
Product Specification (V1.2) 03.22.2006
(This specification is subject to change without further notice)
•1
eSC Series
Tiny Turbo Controller with Single Speech Channel
3
„
32K words maximum program address (except for eSC015 which has 28K words
max)
„
8 total stacks
„
128 nibbles RAM
„
Two channels can be arbitrarily assigned as speech channel/high resolution timer
„
PCM/ADPCM algorithm for speech synthesis, which is transparent to users
„
16 steps DA volume control for channel output
„
Optional 8 bits PWM or 10 bits traditional current DA
„
4 Flash with volume level options: 1/2, 1/4, 1/8, and 1/16
Parts List
IC Type
Time
Stack
(Sec)
Program
Size
(Words)
ROM
(Bits)
RAM
(Bits)
I/O ( × 4 )
Cryst
/Rst
IR
No. of
Chan’l
DA
eSC015
15
8
28K
28K × 16 128 × 4
P1, P2, P3
Yes
Yes
1
1
eSC020
20
8
32K
32K × 16 128 × 4
P1, P2, P3
Yes
Yes
1
1
eSC030
30
8
32K
56K × 16 128 × 4
P1, P2, P3
Yes
Yes
1
1
eSC040
40
8
32K
64K × 16 128 × 4
P1, P2, P3
Yes
Yes
1
1
eSC065
65
8
32K
108K × 16 128 × 4
P1, P2, P3, P4
Yes
Yes
1
1
eSC080
80
8
32K
128K × 16 128 × 4
P1, P2, P3, P4
Yes
Yes
1
1
eSC100
100
8
32K
168K × 16 128 × 4
P1, P2, P3, P4, P5
Yes
Yes
1
1
eSC120
120
8
32K
192K × 16 128 × 4
P1, P2, P3, P4, P5
Yes
Yes
1
1
eSC170
170
8
32K
280K × 16 128 × 4
P1, P2, P3, P4, P5
Yes
Yes
1
1
eSC200
200
8
32K
320K × 16 128 × 4
P1, P2, P3, P4, P5
Yes
Yes
1
1
eSC270
270
8
32K
432K × 16 128 × 4
P1, P2, P3, P4, P5
Yes
Yes
1
1
eSC320
320
8
32K
512K × 16 128 × 4
P1, P2, P3, P4, P5
Yes
Yes
1
1
4
Applications
„ Voice playback appliances
„ Educational learning tools
2•
Product Specification (V1.2) 03.22.2006
(This specification is subject to change without further notice)
eSC Series
Tiny Turbo Controller with Single Speech Channel
5
Pin Description
Symbol
6
I/O
Function Description
OSCI
I
Crystal oscillator in / RC oscillator in Normal mode
OSCO
O
Crystal oscillator out / RC oscillator in Green mode
P1.0~3
I
Bits 0~3 of Port 1
P2.0~3
I/O
Bits 0~3 of Port 2
P3.0~3
I/O
Bits 0~3 of Port 3
P4.0~3
I/O
Bits 0~3 of Port 4 (applicable to eSC065/080/100/120/170/200/270/320)
P5.0~3
O
Bits 0~3 of Port 5 (applicable to eSC100/120/170/200/270/320)
VO1A
O
PWM voice output / Traditional DA
VO1B
O
PWM voice output
VDD0
I
Power
VSS0
I
Ground
RESETB
I
Reset pin (internal pull-high)
IRin
I
IR receiver pad
IRout
O
IR Transmit pad
VDD1
I
Power
VSS1
I
Ground
Special Function Description
6.1 Green Mode
Green mode is a very useful feature for conserving power (see table below) and in
extending the life span of batteries. With Green mode, it is possible to achieve
continuous operation at reduced or very low power consumption (less than 15µ[email protected])
and to resume normal operation at a preset time.
Mode
Current Consumption
Normal mode
Maximum of 3mA @ VDD = 3V
Complex computing, scenario flow control,
high power consumption
Green mode
Maximum of 15µA @ VDD = 3V
Long (preset) continuous operation at
reduced or very low power consumption
Sleep mode
Maximum of 1µA @ VDD = 3V
Sleep (no operation) & wake-up only, to
conserve power
Product Specification (V1.2) 03.22.2006
(This specification is subject to change without further notice)
Suitable Usage Condition
•3
eSC Series
Tiny Turbo Controller with Single Speech Channel
6.2 Interrupt Mode
A total of four interrupts are available. Each interrupt can be enabled or disabled and
the interrupt status can be checked thru their corresponding flags.
Interrupt
Set
Behavior
Speech
1
8-bit resolution with pre-load counter
High resolution timer
1
8-bit resolution with pre-load counter
Timer
1
4 bits pre-load counter
External Interrupt
1
Occurs when P1.3 pad has a rising edge change
6.3 I/O Ports Description
The eSC series supports a total of five ports. Each port contains 4 bits. See Parts List
(Section 3) to check which chip possesses which port.
Port 1: Input application only with pull low resistor and wake-up mechanism. The pull
low resistor can be enabled or disabled, and the wake-up mechanism is always
available (enabled).
Port 2: Available as input or output as defined by the Control Register. When set to
input status, the pull low resistor can be enabled or disabled. When set to
output status, another register is used to select port to sink or drive outside the
circuit. The port is also equipped with a wake-up mechanism which can be
enabled or disabled under either input or output mode.
Port 3: Port 3 characteristics are the same as Port 2 except for the wake-up
mechanism which can be enabled or disabled under input mode only.
Port 4: Applicable in input or output mode which is controllable through Control
Register. Both wake-up and pull low registers are not available under input
mode. Thus, under input status, external signal cannot be set to floating state.
Port 5: For output application only
Each of the above port configurations can be summarized as follows:
Controllable
I/O Direction
Port 1
I
×
√ (c)
√
Port 2
I/O
√ (c)
√ (c)
√ (c)
Port 3
I/O
√ (c)
√ (c)
√ (c)
Port 4
I/O
√ (c)
×
×
Port 5
O
×
×
×
Legend: I:
×:
√:
(c):
4•
Input Mechanism
Available
Port
Pull Low
Wake-up
input; I/O: input/output; O: output
Not available
Available
Can be enabled/disabled by register
Product Specification (V1.2) 03.22.2006
(This specification is subject to change without further notice)
eSC Series
Tiny Turbo Controller with Single Speech Channel
6.3.1 Pull Low Structure of Ports 1, 2, and 3
The pull low resistor is only valid when ports are in input mode. Under input mode, a
control register is used to enable or disable the pull low resistors.
A strong pull low resistor (100KΩ order) protects the pads from noise interference and
is turned off to conserve power when pads status is “1” (High). The weak pull low
resistor (1MΩ order) keeps the pads’ default value at “0” (Low).
Pads
Weak Pull
Low
Strong Pull
Low
Control Reg
Figure 6-1 Ports 1, 2, & 3 Pull Low Structure
Product Specification (V1.2) 03.22.2006
(This specification is subject to change without further notice)
•5
eSC Series
Tiny Turbo Controller with Single Speech Channel
7
Specifications
7.1 Absolute Maximum Ratings
Parameter
Specification
Supply voltage (VDDx – Vssx)
-0.3V to + 6.0V
Input voltage
Vssx –0.3V to VDDx + 0.3V
Operating Temperature
0°C to 70°C
Storage Temperature
-55°C to 125°C
7.2 Electrical Characteristics
VDDx = 3V, VSSx = 0V, Ta = 25°C unless otherwise specified
Items
Operating Voltage
Standby Current
Sym.
Min
Typ.
Max.
Unit
VDDx
2.2
3.0
5.1
V
Fhigh = 4 MHz
VDDx
2.4
3.0
5.1
V
Fhigh = 6 MHz
IDDS
-
-
1.0
µA
Sleep Mode, No Load
Igreen
-
10
15
µA
Iop
-
1.5
3
mA
2.0
5.0
mA
VOD = 2.4V
2.3
6.0
mA
VOS = 0.4V
-
3.0
Operating Mode Current
Drive Current of P2, P3, P4, P5,
IOD
IRout
Sink Current of P2, P3, P4, P5,
IOS
IRout
Input Current of P1, P2, P3, P4,
IIH
IRin
Output Current of VO1A
IVO1A
Output Current of VO1A, VO1B IVO1A/B
Oscillation Resistor
Oscillation Frequency
6•
Condition
5
Green Mode, No Load
(F = Flo = 32kHz)
No Load, D/A stop,
(F = Fhigh = 4 / 6 MHz)
µA
3
mA
VVO1A = 0.7V
(Traditional Current DA)
200
mA
Vvo1A/B=1/2 VDD (PWM DA)
KΩ
Fhigh = 4 MHz
Rosch
-
51.0
-
Rosch
-
33.0
-
KΩ
Fhigh = 6 MHz
Rosclo
-
1
-
MΩ
Flo = 32kHz
FHigh
4/6
MHz Normal Mode
Flo
32
kHz
Green Mode
Product Specification (V1.2) 03.22.2006
(This specification is subject to change without further notice)
eSC Series
Tiny Turbo Controller with Single Speech Channel
8
Frequency Deviation
8.1 Frequency vs. Rosc (VDD = 3V)
7
Frequency, MHz
6
5
4
3
2
1
0
0
50
100
150
200
250
Rosc (KΩ)
Figure 8-1 Frequency vs. Rosc (VDD = 3V) Deviation
8.2 Frequency vs. VDD (Rosc = 33KΩ) Normal Mode
Frequency, MHz
7
6
5
4
3
2
1
1
2
3
4
5
6
VDD (Voltage)
Figure 8-2 Frequency vs. VDD (Rosc = 33KΩ) Normal Mode Deviation
Product Specification (V1.2) 03.22.2006
(This specification is subject to change without further notice)
•7
eSC Series
Tiny Turbo Controller with Single Speech Channel
Frequency, MHz
8.3 Frequency vs. VDD (Rosc = 51KΩ) Normal Mode
4
3
2
1
0
1
2
3
4
5
6
VDD (Voltage)
Figure 8-3 Frequency vs. VDD (Rosc = 51KΩ) Normal Mode Deviation
8.4 Frequency vs. VDD (Rosc = 1MΩ) Green Mode
Frequency, kHz
35
30
25
20
1.8
2.3
2.8
3.3
3.8
4.3
4.8
VDD (voltage)
Figure 8-4 Frequency vs. VDD (Rosc = 1KΩ) Green Mode Deviation
8•
Product Specification (V1.2) 03.22.2006
(This specification is subject to change without further notice)
eSC Series
Tiny Turbo Controller with Single Speech Channel
9
Application Circuit
9.1 R Oscillator in Normal Mode (Without Green Mode)
Vcc
Vcc
C1
0.1u
OSCI
Vdd1
TR1
Vdd0
Rosc
OSCO
IRout
eSC
Vo1B
P4.0
P4.1
P4.2
P4.3
Vss1
1.2K
Vss0
TR5
TR6
TR7
TR8
P3.0
P3.1
P3.2
P3.3
Vo1A
ResetB
TR4
P2.0
P2.1
P2.2
P2.3
U1
8050
TR3
P1.0
P1.1
P1.2
P1.3
SPEAKER
IRin
TR2
D10
D11
LED
D12
LED
D13
LED
LED
Figure 9-1 R Oscillator in Normal Mode (Without Green Mode) Application Circuit
9.2 Crystal Oscillator in Normal Mode (Without Green Mode)
Vcc
Vcc
C1
0.1u
TR1
C2
22pF
SPEAKER
OSCI
Vdd1
Y1
Vdd0
CRYSTAL
OSCO
IRin
eSC
Vo1A
Vo1B
Vss1
Vss0
1.2K
ResetB
TR3
TR4
TR5
TR6
TR7
TR8
P1.0
P1.1
P1.2
P1.3
P2.0
P2.1
P2.2
P2.3
U1
IRout
8050
TR2
P3.0
P3.1
P3.2
P3.3
P4.0
P4.1
P4.2
P4.3
D10
LED
D11
LED
D12
LED
D13
LED
Figure 9-2 Crystal Oscillator in Normal Mode (Without Green Mode) Application Circuit
Product Specification (V1.2) 03.22.2006
(This specification is subject to change without further notice)
•9
eSC Series
Tiny Turbo Controller with Single Speech Channel
9.3 R Oscillator in Normal Mode and Green Mode
The circuit with Green mode can add a 1MΩ resistor connected to the OSCO pin
Vcc
Vcc
C1
0.1u
RGreen Rosc
TR1
TR2
TR3
TR4
D10
D11
D12
D13
OSCI
Vdd1
Vdd0
1M
P1.0
P1.1
P1.2
P1.3
OSCO
SPEAKER
IRin
P2.0
P2.1
P2.2
P2.3
U1
IRout
eSC
8050
P3.0
P3.1
P3.2
P3.3
Vo1A
Vo1B
P4.0
P4.1
P4.2
P4.3
Vss1
ResetB
Vss0
1.2K
LED
LED
LED
LED
Figure 9-3 R Oscillator in Normal Mode and Green Mode Application Circuit
9.4 Crystal Oscillator in Normal Mode and R Oscillator in Green Mode
The circuit with Green mode can add a 1MΩ resistor connected to the OSCO pin
Vcc
Vcc
C1
0.1u
C2
22pF
SPEAKER
OSCI
OSCO
IRin
8050
RGreen
Vdd1
Y1
Vdd0
CRYSTAL
1M
eSC
Vo1A
Vo1B
Vss1
1.2K
Vss0
TR2
TR3
TR4
D10
D11
D12
D13
P1.0
P1.1
P1.2
P1.3
P2.0
P2.1
P2.2
P2.3
U1
IRout
ResetB
TR1
P3.0
P3.1
P3.2
P3.3
P4.0
P4.1
P4.2
P4.3
LED
LED
LED
LED
Figure 9-4 Crystal in Normal Mode and R Oscillator in Green Mode Application Circuit
10 •
Product Specification (V1.2) 03.22.2006
(This specification is subject to change without further notice)