Rainbow Electronics APExx04 User Manual

PLUS MAKE YOUR PRODUCTION A-PLUS
A
APExx04 Series
DATA SHEET
A
Address:
3 F-10, No. 32, Sec. 1, Chenggung Rd., Taipei,
Taiwan 115, R.O.C. (115)台北市南港區成功路㆒段 32 3 樓之 10.
TEL: 886-2-2782-9266
FAX: 886-2-2782-9255
WEBSITE : http: //www.aplusinc.com.tw
Sales E-mail:
sales@aplusinc.com.tw
Technology E-mail:
service@aplusinc.com.tw
APExx04 Series
1.0 General Description
The APExx04 series are very low cost voice and melody synthesizer with 4-bits CPU. They have various
features including 4-bits ALU, ROM, RAM, I/O ports, timers, clock generator, voice and melody
synthesizer, and PWM (Direct drive) output, etc. The audio synthesizer contains one voice-channel and
two melody-channels. Furthermore, they consist of 27 instructions in these devices. With CMOS technology and halt function can minimize power dissipation. Their architectures are similar to RISC, with
two stages of instruction pipeline. They allow all instructions to be executed in a single cycle, except for
program branches and data table read instructions (which need two instruction cycles).
2.0 Features
(1) Single power supply can operate from 2.4V to 5.5V at 4MHz or 8MHz.
(2) Program ROM: 8k x 10 bits
(3) 1 set of 15-bits DPR can access up to 32k x 10 bits melody data memory space, and 1 set of 15-bits
VPR can access up to 32k x 10 bits voice data memory space.
Product Voice Duration (sec) Voice Pointer (VPR) ROM Size (10-bit)
APE0504 5 14-bits 16k APE1004 10 15-bits 32k
(4) Data Registers:
a). 96 x 4-bits data RAM (00-5Fh) b). Unbanked special function registers (SFR) range: 00h-2Fh
(5) I/O Ports:
a). PRA: 4-bits I/O Port A (10h) can be programmed to input/output individually. (Register control)
(6) On-chip clock generator: Resistive Clock Drive (RM)
(7) Timer: 1-set Voice Interrupt (Timer0: a 9-bits auto-reload timer/counter).
(8) Stack: 2-level subroutine nesting.
(9) Built-in 4 Level Volume Control can be programmed.
(10) Built-in IR Carry Output: Port A[1] can be configured as IR pin by 38k / 56kHz. (Mask option)
(11) External Reset: Port A[3] can be configured as reset pin. (Mask opton)
(12) HALT and Release from HALT function to reduce power consumption (13) Watch Dog Timer (WDT)
(14) Instruction: 1-cycle instruction except for table read and program branches which are 2-cycles
(15) Number of instruction: 27
(16) DAC: 1 channel voice and dual tone melody synthesizer (One 8-bits PWM output).
1
Rev 1.4 2004/4/20
APExx04 Series
FIGURE 1 : ROM Map of APExx04 Series
PC[12:0]
13-bit x 2 STACK
15-bit Data Pointer 15-bit Voice Pointer
Reserved for Testing
Reset Vector
00000h
000FEh
000FFh-00400h 00401h
00000h-07FFFh
Data ROM for Voice & Melody
00000h-01FFFh
Program ROM
2
Rev 1.4 2004/4/20
3.0 Pin Description
Pad Name Pin Attr. Description
PWM2 PWM1
Vdd1~2
PRA0, PRA2
PRA1 / IR
PRA3 / Reset
GND1~2
OSC
Power
Power
O O PWM1 output.
I/O
I/O
I/O
I
PWM2 output.
Power supply during operation. I/O port can be programmed to input/output individually.
Input type with weak pull-low or fix-input-floating capability. Buffer Output type.
I/O port can be programmed to input/output individually. Input type with weak pull-low or fix-input-floating capability. Buffer Output type.
Mask option selected as an IR Carrier Output with 38k / 56kHz
I/O port can be programmed to input/output individually. Input type with weak pull-low or fix-input-floating capability. Buffer Output type.
Mask option selected as an external RESET pin with weak pull-low capability.
RM mode Oscillator input Ground Potential
APExx04 Series
4.0 DC Characteristics
Symbol Parameter Vdd Min. Typ. Max. Unit Condition
Vdd Operating voltage 2.4 3 5.5 V depending on Freq.
Isb Standby
Iop
Iih
Ioh Output-high current
Iol Output-low current
Cout
dF/F Frequency stability -5 5 %
dF/F Fosc lot variation -10 10 %
Supply current
Input current
(Internal pull low)
DAC output current
(8-level option)
Operating
3 1
4.5 1
3 1
4.5 2.5
3 4
4.5 10 3 -4
4.5 -10 3 8.5
4.5 17.5 3 0.8 ~ 4.8
4.5 0.9 ~ 6.5
uA
mA
uA
mA
mA
Input ports with weak
Vdd=3V, Rosc=430k,
4MHz, RM,
in HALT Mode
4MHz, RM,
IO Floating
pull-low
4MHz, RM
(IO ports)
4MHz, RM
(Full scale)
Fosc(3v- 2.4v)
Fosc (3v)
4MHz
3
Rev 1.4 2004/4/20
APExx04 Series
FIGURE 2 : Frequency vs. Rosc (at 3V)
Resistor (Rosc ohms) 110k 200k 300k 430k
Frequency (MHz)
20
15
14.84 8.25 5.54 3.92
Rosc vs Freq.
14.84
10
Freq. (MHz)
5
0
0 100 200 300 400 500
5.0 Application Circuit
8.25
Rosc (k ohm)
5.54
3.92
xxxx
4
Rev 1.4 2004/4/20
6.0 Bonding Diagram
X
Y
APExx04 Series
ROM
PWM2/Cout
1
Pad Size: 80 um x 80 um * The IC substrate must be connected to GND.
GND2
PRA3
11
10
Vdd1
2
PWM1
3
GND1
4
Vdd2
5
OSC
6
PRA1 PRA0
7
PRA2
8 9
(0, 0)
Pad # Pad Name X Y Pad # Pad Name X Y
1 2 3 4 5 6
PWM2 57 253
Vdd1 58 58
PWM1 253 57
GND1 404 58
Vdd2 565 87
OSC 675 87
7 8
9 10 11
PRA0 785 87 PRA1 895 87 PRA2 1005 87
GND2 995 231
PRA3 995 341
Chip Size :
APE0504 : 1166 um x 1094 um APE1004 : 1166 um x 1206 um
5
Rev 1.4 2004/4/20
Loading...