A PLUS MAKE YOUR PRODUCTION A-PLUS ASM4112CB DATA SHEET APLUS INTEGRATED CIRCUITS INC. Address: 3 F-10, No. 32, Sec. 1, Chenggung Rd., Taipei, Taiwan 115, R.O.C. (115)台北市南港區成功路㆒段 32 號 3 樓之 10. Sales E-mail: Mr. Jason [email protected] TEL: 886-2-2782-9266 Technology E-mail: Mr. George [email protected] FAX: 886-2-2782-9255 WEBSITE : http: //www.aplusinc.com.tw ASM4112CB ASM4112CB – VERY LOW-COST VOICE SYNTHESIZER WITH 4-BIT MICROPROCESSOR 1.0 General Description The ASM4112CB is very low cost voice synthesizer with 4-bit microprocessor. It has various features including 4-bit ALU, ROM, RAM, I/O ports, timers, clock generator, watchdog timer(WDT), voice synthesizer, etc. It consists of 22 instructions in the device. With CMOS technology and halt function can minimize power dissipation. Its architecture is similar to RISC, with two stages of instruction pipeline. It allows all instructions to be executed in a single cycle, except for program branches and data table read instructions (which need two instruction cycles). 1.1 Feature Single power supply can operate from 2.4V through 5V Internal Program ROM: 4K x 10-bit 1 sets of 17-bit DPR can access up to 128K x 10 bits data memory space Data Registers: • 96 x 4-bit data RAM (00-1Fh plus 40h-7Fh) • Unbanked special function registers (SFR) range: 20h-3Fh I/O Ports: • PRA: 4-bit I/O Port A (2Bh) • PRB: 4-bit Output Port B (2Dh) • PRC: 4-bit Input Port C (2Fh) On-chip clock generator: Resistive Clock Drive(RM) Timer: 1 • Timer0: a 9-bit auto-reload timer/counter Stack: 2-level subroutine nesting HALT and Release from HALT function to reduce power consumption Watch Dog Timer (WDT) Instruction: 1-cycle instruction except for table read and program branches which are 2-cycles Number of instruction: 22 The Voice function can be implemented by microprocessor instruction • One 8-bit COUT output for ASMXXXXX ASM4112CB FIGURE 1.1 : Block Diagram of ASM4112CB Data Bus[3:0] ROM Latch PCLATCH(8) PCL(4) Stack(12) PC[11:0] (ADDR[16:12]) =0000b (2-Level) ADDR[16:0] Instruction Bus [9:0] 1 DPR3,2,1 Instruction Latch 0 ROM_ADDR[16:0] Program (Data) ROM DPR[16:0] Instruction Decoder Control Signal DLATCH(10) ROM_Data[9:0] Data Bus[3:0] Instruction Bus [9:0] Accumlator(4) SRAM ALU(4) Immediate(4) (96 x 4) Instruction Bus [9:0] PCH(8) PRA(4) PRB(4) PRC(4) Timer0(9) 00h-1Fh 40h-7Fh Register(4) enter test mode One-Channel ( Voice synthesizer ) Reset Chip Reset Chip Clock Generator Power on Reset RESET pin COUT COUT OSC Test select VDD/GND PRA0 P1,P2,P3,P4 weak or strong pull-low for PRA, PRB, PRC PRASL(4) ASM4112CB FIGURE 1.2 : External ROM Map of ASM4112CB PC[11:0] 12bit x 2 STACK 17-bit Data Pointer Reset Vector 00000h 00080h Reserved for Testing 00080h-003FFh 00400h Program and data ROM 00000h-00FFFh 00FFFh(4K) Data ROM 00000h-1FFFFh 1FFFFh(128Kx10-bits) ASM4112CB 1.2 Pin-Out ASM4112CB Pin-Out PRC1 I PRC0/RESET I STI Std./O.D. STI Std./O.D. PRA3-1 I/O STI Std./O.D. PRA0/RESET I/O STI Std./O.D. OSC VDD1 COUT GND1 GND2 TEST VDD2 PRB0-3 PRC2-3 I I O I I O I O I Std./O.D. STI Std./O.D. 1.3 Application circuit Input port with programmable strong pull-low or weak pull-low or fix-input-floating capability Input port with programmable strong pull-low or weak pull-low or fix-input-floating capability Mask option selected as an external RESET pin with weak pull-low capability I/O port with programmable strong pull-low or weak pull-low or fix-input-floating capability Output type with standard or Open-Drain output I/O port with programmable strong pull-low or weak pull-low or fix-input-floating capability Output type with standard or Open-Drain output Mask option selected as an external RESET pin with weak pull-low capability RM mode Oscillator input First Power supply during operation Current Output of Audio First Circuit Ground Potential Second Circuit Ground Potential Enter Test Mode. ( TEST = High ) Second Power supply during operation Output type with standard or Open-Drain output Input port with programmable strong pull-low or weak pull-low or fix-input-floating capability ASM4112CB 1.4 Bonding Diagram 19 18 17 16 RC3 RC2 RC1 RC0 15 14 GND2 13 VDD2 12 TEST OSC ( 128K x 10-bit ) Block ROM ASM4112CB Y=2310+80 (um) RA3 RA2 1 2 RA1 RA0 VDD1 COUT GND1 RB0 3 4 5 6 7 8 RB1 9 RB2 RB3 10 11 X= 1540+80 (um) Substrate must be connected to GND. ASM4112CB Pad Location PAD # PAD Name X 1 RA3 -682.16 2 RA2 -559.84 3 RA1 -437.52 4 RA0 -315.2 5 VDD1 -191.28 6 COUT 71.12 7 GND1 189.52 8 RB0 307.92 9 RB1 430.24 10 RB2 552.56 Chip Size: X= 1540+80 (um), Y=2310+80 (um) Y PAD # PAD Name X Y -1040.2 11 RB3 667.68 -1040.2 -1040.2 12 OSC 633.56 1071.52 -1040.2 13 TEST 432.48 1071.52 -1040.2 14 VDD2 273.16 1071.52 -1040.2 15 GND2 134.68 1071.52 -1040.2 16 RC0 -51.76 1071.52 -1040.2 17 RC1 -248.4 1071.52 -1040.2 18 RC2 -454.24 1071.52 -1040.2 19 RC3 -650.88 1071.52 -1040.2 ASM4112CB 1.5 DC Characteristics for ASMXXXXX SYMBOL VDD PARAMETER OPERATING VOLTAGE Isb SUPPLY CURRENT Iop STANDBY OPERATING INPUT CURRENT /Internal pull low Iih Ioh OUTPUT HIGH CURRENT Iol OUTPUT LOW CURRENT DA CURRENT OUT (FULL SCALE) FREQUENCY STABILITY Cout dF/F dF/F VDD MIN. 2.4 TYP. 3 3 5 3 5 3 5 2 7 3 9 5 -5.2 3 5 3 5 3 5 -3 -8 7 20 4 5.2 Fosc VARIATION MAX. 5.0 1 1 UNIT V uA mA uA mA -10 10 % -20 20 % CONDITION depending on Freq. 4MHz, RM in HALT Mode 4MHz, RM IO Floating 4MHz, RM in HALT Mode (IO Ports with weak pull-high pull-low) 4MHz, RM (IO ports) Fosc(3v- 2.4v) Fosc (3v) VDD=3V, Rosc=180k, 4MHz FIGURE 1.3 : Frequency Range for Rosc in RM mode Resistor(k ohm) 3v Freq.(MHz) 300 2.66 200 3.8 150 4.99 110 6.4 Rosc & F req. Freq. MHz 8 6.4 6 4.99 4 3.8 2.66 2 0 0 100 200 Rosc k ohm 300 400