Advance Data Sheet == ATel WE” DSP16A Digital Signal Processor ee a eee ee ee) Description The WE DSP16A Digital Signal Processor is a 16-bit high-speed programmable integrated circuit. The device is fabricated in low-power CMOS technology and is packaged in an 84- pin plastic leaded chip carrier. The DSP16A device is a general-purpose building block that can be programmed to perform a wide variety of signal processing functions. It achieves high throughput without programming restrictions or latencies due to its.parallel pipelined architecture. The processor has an arithmetic unit capable of a a . 16- x 16-bit multiplication and 36-bit MP Plate etet onie eeeser accumulation or a 32-bit ALU operation in a one instruction cycle. Data is supplied by two independent addressing units. The DSP16A device can function in a stand-alone manner, requiring only an external clock. The DSP16A contains twice the amount of ROM and four times the the amount of RAM as the DSP16 device, while maintaining pin, source code, and object code compatibility with the DSP16 device. Features = Pin and instruction compatible with the = 4096-word ROM, 2048-word RAM (on-chip) WE DSP16 Digital Signal Processor « Off-chip ROM expansion to 64K-word eee eee Mecunolcay = Serial and parallel I/O ports with multi- ® 33-ns instruction cycle processor capability = 16- x 16-bit multiplication and 36-bit = Maskable interrupts accumulation in one instruction cycle « Single 5 V power supply gp UR ele ele TT ETA) = Supported by WE DSP16A-SL Support = Instruction cache for high-speed, ROM- Software Library and WE DSP16A-DS Digital efficient, repetitive operations Signal Processor Development System Ss a eae WE DSP16A vigital Signal Processor ————_— De@SCription .........:ceceecesstessesseestscsssecssesseeseees 1 Pin Descriptions 0.0... eeeeeeceeseseseseseneee 20 Feature oo... cesesseceseecsretsseeeeeeesetteeetseseesteee 1 Characteristics oc eecceeeesessssesseseeseseenee 25 User Information occ eeeeesetstetetetsreereee 2 Electrical Characteristics .......ccecsessseeene 25 Architectural SUMMALPY .....eccsecettteettereeeeee 2 Timing Characteristics and INStrUCtiON Set oo. eeeeeeeseeteetessesseeseesesseee 4 REQUIFEMENES ..... eee eeeeetteesteestssesseesteestnsseee 20 Register SettingS ...... cece eeeseseseeeteeerees 10 TIMING DiaQGraMS oe eeeeeeeeeeeeeeesesssseeseee OO Instruction Set Formats ........ ce eeeeeeeternees 15 Device Outline cece eeeeeeetestestessseeenes OO User Information Architectural Summary The DSP16A device contains a data arithmetic unit (DAU) that performs signal processing arithmetic, a ROM address arithmetic unit (XAAU), a RAM address arithmetic unit (YAAU), a 4096 x 16-bit ROM that contains program instructions and fixed data, a 2048 x 16-bit RAM for variable data, an instruction cache (CACHE), a serial I/O unit (SIO), and a 16-bit parallel I/O unit (PIO). The arithmetic unit contains a 16- x 16-bit parallel multiplier that generates a full 32-bit product in one instruction cycle. The product can be accumulated with one of two 36-bit accumulators. The data in these accumulators can be directly loaded from or stored to memory in two 16-bit words with automatic saturation on overflow. The ALU supports a full set of arithmetic and logical operations on either 16- or 32-bit data. A standard set of ALU conditions can be tested for conditional ALU operations, branches, and subroutine calls. This procedure allows the processor to perform as a powerful 16- or 32-bit microprocessor for logical and control applications. Two addressing units support high-speed, register-indirect, memory addressing with postmodification of the register. Direct and immediate addressing is supported at the cost of only one additional instruction cycle and ROM location. Four address registers in the YAAU (rO—r3) can be used for either read or write addresses to the RAM without restrictions. Registers j and k provide user-defined post- increments for the addresses. Fixed increments of +1, —1, and +2 are also available. The YAAU also supports a flexible modulo addressing mode for efficient filter implementations. Registers rb and re are used to define the beginning and end of the modulo. Four compound addressing modes are provided to make read/write operations more efficient. In the XAAU, the register pt is used for ROM table look-up, and register i is used to hold a user-defined post-increment. A fixed post-increment of +1 is also available. Register pc is the program counter. Registers pr and pi hold the return address for subroutine calls and interrupts, respectively. The on-chip memory includes 4096 x 16-bit words of ROM and 2048 x 16-bit words of RAM. The on- chip ROM can be augmented with up to 60K words of external memory or can be replaced by up to 64K words of external memory for prototyping or for applications that require a large program space or frequent modification. When the internal ROM is selected by the EXM pin and a memory location outside the 4K of internal ROM is accessed, the external memory interface is automatically selected. An on-chip memory cache can be selectively used to store such repetitive operations as those found in a filter section. Up to 15 words in the cache can be repeated up to 127 times with no looping overhead. In addition, operations in the cache that require a ROM access (for example, reading fixed coefficients) execute at twice the normal rate. The cache greatly reduces the need for writing repetitive code in-line and, therefore, conserves ROM storage. The DSP16A device has both serial and parallel I/O ports. The serial I/O unit is an asynchronous, full duplex, double-buffered channel operating at up to 10 Mbits/s that easily interfaces with other DSP16A devices in a multiple DSP16A environment. Commercially available codecs and time division multiplex (TDM) channels can be interfaced to the DSP16A device with few (if any) additional components. The parallel I/O unit is capable of interfacing to a 16-bit bus containing other DSP16A devices, microprocessors, or peripheral I/O devices. Data rates of up to 30 Mbytes/s are obtainable through this port. 2 WE DSP16A Digital Signal Proceusor a . 5 . 2 # % = & — €£ ors © ° aa _ oo} x cs bse 2 2 © 2 ¢2 2oP £ ot 23 § 3 = fe s eg aa “x # 6 6S Be 2 yy. 27, 6 S5855 2.," ©, 32553 FE BF 2k § , §y22 BE E 38 =g 2 © oB2be PeSe_ 858 zee$e wee B@ 22 25 F FZOB &CE =F GF x ol ee eee gees ees £5eR8 EQ & ShSeee FEBOS zt =< BD Bo dD SBOPRD CHBSCBSHBE 5352 | © 2g oF SF obec Goes By c i 2 CesT Le eee eel EBZ29OB9DS DPOLSFA,SS5 5 SFBFoES SPE aB g a CS Serb Sere re ERs BORE COCB®eEG 2S 3 Zeoee58 FEH® F3 B 35 SB CE OO BS EEE EEG CON ONS Be ee eC eer OO oa Kits US CUS Bs BBSRC CSS SSS FL ete He eS = He SQ saet gt gesrsv~oOgozosxpgy vw ag we ES ESSE EOP Eos SESE SASBBBK RPA BS LBOBOOCEOB See StaZsee 2 ae c= SeEt rae OPO Ck ie cs oarPovuw 2 sweswaoadvUgeofuwets SZBSCESESSSSLESV SS ASS OPES SOLS S PGS PS PUS ASSES PSL SS SESE CE DE SOVESE SC SBIGAPGSSCLGEGOLaGGLPOte Fle le HHL FOSSC HL SST IOS GSII riqdq™ qoooff€&e&so0acaca a a annarte at SF CH HH HH H OH 2e°ac° SS =] = Bo 5 = ¢F = e-y oO ay © 38 2 © 3 > 2 o ~~ ao 4 Ss << s= 2 oO x]a 2 2 = a > of x x x ° = | X KX of sw ¢g q< @o©oO3d 5628 4 2 od GD « OS. Gy < Os Qo 7 S2eaq sSO0_8 xF8a0aa 2B B@ TAGABS FL 2 £¥Y ¥ HG & B xk S$ Es © ~ o sg Qa GE $ 3 K—) (oi) sha viva (—) 2 a 7 . z ° 2 olZhs y ~ . >“ o 2 5 a ot 2 a S Le 3 es] y Y £ Faye Cy Ez pyre 2 cg a 5 & a c 3 ° 2 a AR g g = sla . Fey Fr ec = Pa ae dr) 8/15 D2 © 3 bon se = als é a =k x E es i ~ 26 o 2 c & a | #3 — z & & ed > o c J > = os 4 © = c a > aD x 2 G w @ ra Fy be 2 6 fe <6 - 3 ° 5 2 a nN é Ey 8 z 3 ° Q a id a Q a a oi 8 2 z| 3] =z] (3 r < Vv V a 4 a al fe 8 ‘a 7 & 3 co) “a7 | B yy day fF) Ly al fa] f 8 a 2 a o oe V rnd 2 3 KAA AA KAA ny ny AA Zz © ny nA —V—}—|——} | ——__]_-y_y_-v_-y_-y_y_y_ yyy yyy 2 zooms ry Bx¥Oou4oxoaowoaa2z Ex © 3 wow a 6 = 5 & Fs é3886 842 6 6 z262a868 a 5 a & eI 808 & 8 8 = 28 a9 8 8 8 8 3 8 < @ @ WE DSP16A Digital Signal Processor eee The DSP16A device has a maskable interrupt that can be generated by the user or by any of four I/O conditions: input buffer full (IBF), output buffer empty (OBE), parallel input data strobe (PIDS), and parallel output data strobe (PODS). Note: Branch instructions and cache operations are protected from interrupts. Instruction Set The DSP16A processor has five types of instructions: multiply/ALU, special function, control, cache, and data move. The multiply/ALU instructions are the primary instructions used to implement signal processing algorithms. Statements from this group can be combined to generate multiply/accumulate, logical, and other ALU functions and to transfer data between memory and registers in the data arithmetic unit. The special function instructions can be conditionally executed based on flags from the previous ALU operation, the condition of one of the counters, or the value of a randomly set bit in the DSP16A device. The control instructions implement the goto and call commands. Control instructions can also be executed conditionally. Cache instructions are used to implement low-overhead loops, conserve program memory, and decrease the execution time of certain multiply/ALU instructions. Data move instructions are used to transfer data between memory and registers or between accumulators and registers. The following operators are used in describing the instruction set: * 16- x 16-bit + 32-bit multiplication (Denotes register- indirect addressing when used as a prefix to an address register) + 36-bit addition - 36-bit subtraction >> Arithmetic right shift << Logical left shift | 32-bit bitwise OR & 32-bit bitwise AND ° 32-bit bitwise EXCLUSIVE OR i Compound address swapping 4 WE DSP16A Digital Signal Processor Muitiply/ALU Instructions Note that the function statements and transfer statements in Table 1 are chosen independently. Any function statement may be combined with any transfer statement to form a valid muliply/ALU instruction. If either statement is not required, a single statement from either column constitutes a valid instruction. The number of cycles to execute the instruction is a function of the transfer column. (An instruction with no transfer statement executes in one instruction cycle.) All multiply/ALU instructions require 1 word of program memory. Table 1. Multiply/ALU Instructions Function Cycles Statements Statements! | Out/In Cache p=x«xy | y=Y x=X 2/1 aD=p p=x*y | y=aT x=X 2/1 aD=aS+p p=x«y y[l]=Y 1/1 aD=aS—p p=xx«y | aT[lJ=Y V1 aD=p x=Y¥ 1 aD=aS+p Y 1/1 aD=aS—p Y=y[l] 2/2 aD=y Y=aT[I] 2/2 aD=aS+y Zy x=X 2/2 aD=aS-y Z: yf] 2/2 aD=aSé&y Z: aT[l] 2/2 aD=aSly aD=aS’y aS-y aSéy t Brackets, [ ], indicate an optional argument and are not part of the instruction syntax. The | argument designates the low 16-bits of aT or y. Table 2. Replacement Table for Multiply/ALU Instructions [Replace | value’ = | Meaning aD aS a0, a1 One of two DAU accumulators. aT x « pt++,+ pt++i ROM location pointed to by pt. pt is postmodified by +1 and i, respectively. Y «tM, «rM++, «rM—-, RAM location pointed to by rM (M = 0, 1, 2, *«tM+4j 3). rMis postmodified by 0,+1,—1, or j, respectively. Z «xtMzp, «rMpz, «rMm2, | Read/write compound addressing. rM (M = «rMjk 0, 1, 2, 3) is used twice. First, post- modified by 0, +1, —1, or j, respectively and, second, postmodified by +1, 0, +2, or k, respectively. t When loading the upper half of a0, a1, or y, the lower half of the register is cleared if the corresponding CLR bit in the AUC register is zero. See the Register Settings section. 5 WE DSP16A Digital Signal Processor Special Function Instructions All forms of the special function instructions execute in one instruction cycle: aD=aS>>1 aD=aS>>4 . see pas Arithmetic right shift (sign preserved) of aD=aS>>8 . 36-bit accumulators aD=aS>>16 aD=aS aD=—aS aD=rnd(aS) — Round upper 20-bits of accumulator aDh=aSh+1 — Increment upper half of accumulator (lower half cleared) aD=aS+1 — Increment accumulator aD=y aD=p aD=aS<<1 aD=aS<<4 Logical left shift (sign not preserved) of the lower 32 bits of accumulators (upper 4-bits are sign-bit-extended aD=aS<<8 : : . from bit 31 at the completion of the shift) aD=aS<<16 The above special functions can be conditionally executed if CON instruction and with an event counter ifc CON instruction which means: if CON is true then c1=c1+1 instruction c2=c1 else c1=ci+1 Table 3. Replacement Table for Special Function Instructions [Replace | Value =| Meaning’ =~ aD as a0, al One of two DAU accumulators CON mi, pl, eq, ne, gt, le, lvs, mvs, | See Table 7 for definitions of mvc, cOge, cOlt, cige, cilt, mnemonics heads, tails, true, false 6 WE DSP16A Digital Signal Processor Control Instructions All unconditional control instructions execute in 2 instruction cycles and require one word of program memory; conditional control instructions execute in 3 instruction cycles and require two words of program memory. goto JA goto pt call JA call pt icall return (goto pr) ireturn (goto pi) The above control instructions, with the exception of ireturn and icall can be conditionally executed. For example: If CON goto JA Table 4. Replacement Table for Control Instructions [Replace | Value | Meaning CON mi, pl, eq, ne, gt, le, lvs, | See Table 7 for definitions of mvs, mvc, cOge, cOlt, mnemonics c1ge, clit, heads, tails, true, false JA 12-bit value Least significant 12 bits of absolute address within the same 4 K-word memory section Cache Instructions Cahce instructions require one word of program memory. The do instruction executes in one instruction cycle; the redo instruction executes in two instruction cycles. The instruction formats are: do K {inst1, instr2, ..., instrNI} redo K Table 5. Replacement Table for Cache Instructions Meaning K 2 [resister x Operation 0 | Accumulator 0 Two-Operand Multiply/ALU 1 | Accumulator 1 0 >1 0001 | «r0++ 0001 | aD=aS<<1 0010 | «r0—— 0010 | aD=aS>>4 0011 | *r0++j 0011 | aD=aS<<4 0100 | «rt 0100 | aD=aS>>8 0101 | «i++ 0110 | aD=aS>>16 0110 | «ri—— 0111 | aD=aS<<16 0114 | «r++ 1000 | aD=p 1001 | aDh=aSh+1 1000 | «12 1010 | Reserved 1001 | «r2++ 1011 | aD=rnd(aS) 1010 | «r2-— 4011 | «r244) 1100 | aD=y 1101 | aD=aS+1 ue 1110 | aD=as 1101 «++ 1111 aD=—aS 1110 | *«r38—— UV Bete, C Field. Specifies the condition for special functions and conditional control instructions. Z Field. Specifies the form of register indirect compound addressing with postmodification. 00000 | mi [ z | Operation 00001 pl 0000 «r0zp 00010 eq 0001 * r0pz 00011 ne 0100 | «r1zp 00110 mvs 0101 | «ripz 00111 mvc 0110 | *«rim2 01000 heads 0111 | «rtjk 01001 tails 1000 | «r2zp 01010 cOge 1001 | *r2pz 01011 colt 1010 | «r2m2 01100 cige 1011 | «r2jk 01101 cilt 1100 | «r3zp 01110 true 1101 | «r3pz 01111 false 4110 | «r3m2 eee 41414 | «13jk Mega Ad Other codes | Reserved 18 WE DSP16A Digital Signal Processor a B Field. Specifies the type of branch instruction | Field. Specifies a register for short immediate (except software interrupt). data move instructions. [ B | Operation | | 1_| Register 000 | return 00 r0/j 001 | ireturn 01 ri/k 010 | goto pt 10 r2/rb 011 | call pt 11 r3/re 1xx | Reserved SI Field. Specifies when the conditional branch R Field. Specifies the register for data move qualifier instruction should be interpreted as a instructions. software interrupt instruction. [ R___| Register | [si | __ Operation 000000 r0 0 | Not a software interrupt 000001 ri 1 | Software interrupt 000010 r2 000011 3 NI Field. Number of instructions to be loaded 000100 j into the cache. Zero implies redo operation. 000101 k K Field. Number of times the NI instructions in 000110 rb cache are to be executed. 000111 re 001000 pt JA Field. 12-bit jump address. 001001 pr 001010 pi 001011 i 010000 x 010001 y 010010 yl 010011 auc 010100 psw 010101 co 010110 cl 010111 c2 011000 sioc 011001 srta 011010 sdx 011011 tdms 011100 pioc 011101 pdx0 011110 pdx1 Other codes | Reserved 19 WE DSP16A Digital Signal Processor Pin Descriptions Dw x _@ ° zZzav — Sepreseees egress sa583 OPifi fifi mpi pi fifi fi fi fifi fifi fi fi fi fis 74 73 72 71 70 69 68 67 66 65 6463 62 61 60 59 58 57 56 55 54 PB1i5(] 75 53 [ IBF PBi4 [76 52 OSE PB13(] 77 540] RB15 PB1i2(] 78 50 [] RB14 voo() 79 49) RB13 vss [] 80 48 1 RBI2 Pp4iC] 84 470) R644 PB10 Fj 82 46 1 RB10 PBOS[] 83 45 [1] RBOS PBos (J 84 44 [] RBOS vo 1@ 43 1 RBO7 PpBOo7q] 2 42D RBOG6 Ppo6tq] 3 410] Voo PBOSq] 4 40 [] RBOS Ppo4tq] 5 39 1 RBO4 Vool] 6 38 ( RBO3S vss(] 7 37 LJ RBO2 PBO3(] 8 36 [ RBO! PBo2zQ] 9 35 [J RBOO PBO1Cg 10 341) EXM PBoo CT] 14 33 LJ cko 42 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3034 32 TUOOODOOOOODOUUOOUUOUUOUUOUoOo ee ae BEBO 888 BEES SB aggar77egeregeeaage>reegae Figure 2. Pin Diagram Table 14. Pin Names Symbol | Pin [| Symbol | Pin ABOO—AB15 | 32—29, 26—22, || OLD 60 20—18, 15—12 OSE 52 Ckl 67 PBOO—PB15 11—8, 5—2, CKO 33 84—81, 78—75 DI 56 DO 61 PIDS 73 DOEN 64 PODS 74 EXM 34 PSEL 72 IACK 68 RBOO—RB15 35—40, 42—51 IBF 53 RSTB 66 ICK 58 SADD 63 ILD 57 SYNC 62 INT 71 VDD 1, 6, 17, 28, 41, 55, 70, 79 OCK 59 Vss 7, 16, 21, 27, 54, 65, 69, 80 20 WE DSP16A Digital Signal Processor In the following table, | = input, 0 = output, and P = power Table 15. Pin Descriptions [ Pin | Symbol Name/Description 1 VpD P 5 V Supply. 2 PBO7 1/0* Parallel 1/O Data Bus — Bit 7. 3 PBO6 1/0* Parallel 1/O Data Bus — Bit 6. 4 PBO5 1/0* Parallel I/O Data Bus — Bit 5. 5 PBO4 1/0* Parallel 1/O Data Bus — Bit 4. | 6 | voo | P| Sv Suppyy. [z|vss [| Pp [Grou 8 PBO3 \/0* Parallel 1/O Data Bus — Bit 3. 9 PBO2 1/0* Parallel 1/0 Data Bus — Bit 2. 10 PBO1 1/0* Parallel I/O Data Bus — Bit 1. 11 PBOO /0* Parallel 1/O Data Bus — Bit 0. 12 | AB15 o* ROM Address Bus — Bit 15. 13 AB14 o* ROM Address Bus — Bit 14. 14 AB13 o* ROM Address Bus — Bit 13. 15 | AB12 o* ROM Address Bus — Bit 12. fie | vss | Pf Ground, [17 | voo | Pp ___| Sv Supply. 18 AB11 o* ROM Address Bus — Bit 11. 19 | AB10 o* ROM Address Bus — Bit 10. 20 | ABO9 o* ROM Address Bus — Bit 9. [21 | vss | P__| Ground. 22 | ABO8 o* ROM Address Bus — Bit 8. 23 ABO7 o* ROM Address Bus — Bit 7. 24 | ABO6 o* ROM Address Bus — Bit 6. 25 | ABOS o* ROM Address Bus — Bit 5. 26 | ABO4 o* ROM Address Bus — Bit 4. le7 | vss | oP [Grounds [28 | voo | Pp ___| 5 V Supply. 29 | ABO3 o* ROM Address Bus — Bit 3. 30 | ABO2 o* ROM Address Bus — Bit 2. 31 ABO1 o* ROM Address Bus — Bit 1. 32 | ABOO o* ROM Address Bus — Bit 0. Clock Out. Buffered clock at half the frequency of CKI. 34 EXM External Memory. When low, internal ROM is accessed for addresses 0x0000—OxOFFF and external ROM is accessed for addresses 0x1000—OxFFFF. If EXM is high, instructions and coefficients are fetched from external ROM (internal ROM disabled). * Indicates 3-state condition. 21 WE DSP16A Digital Signal Processor Table 15. Pin Descriptions (Continued) | Pin | Symbol Name/Description 35 RBOO ROM Data Bus — Bit 0. 36 RBO1 ROM Data Bus — Bit 1. 37 RBO2 ROM Data Bus — Bit 2. 38 RBO3 ROM Data Bus — Bit 3. 39 RBO4 ROM Data Bus — Bit 4. 40 RBOS ROM Data Bus — Bit 5. [41 | voo | Pp __| SV Supply. 42 RBO6 ROM Data Bus — Bit 6. 43 RBO7 ROM Data Bus — Bit 7. 44 RBO8& ROM Data Bus — Bit 8. 45 RBOQ ROM Data Bus — Bit 9. 46 RB10 ROM Data Bus — Bit 10. 47 RB11 ROM Data Bus — Bit 11. 48 RB12 ROM Data Bus — Bit 12. 49 RB13 ROM Data Bus — Bit 13. 50 RB14 ROM Data Bus — Bit 14. 51 RB15 ROM Data Bus — Bit 15. 52 OSE o* Output Shift Register Empty. Indicates the end of a serial transmission. OSE is set either by the emptying of the output shift register or by asserting RSTB. OSE is reset by the DSP16A writing a word (two clock cycles after the falling edge of OLD) to the output shift register. If no new word is written by the DSP16A, OSE remains high regardless of activity on OLD. 53 IBF o* Input Buffer Full. IBF is asserted when the input buffer is filled and negated by a read of the buffer. IBF is also negated by asserting RSTB. [54 | vss | Pp [Ground [55 | voo | Pp ___| SV Supply. 56 Data Input. Serial PCM data latched on rising edge of ICK, either LSB or MSB first, according to the sioc register MSB field. 57 ILD 1/0* Input Load. Falling edge of ILD indicates the beginning of a serial input word. In active mode, ILD is an output; in passive mode, ILD is an input, according to the sioc register ILD field. 58 ICK 1/0* Input Clock. Clock for serial PCM input data. In active mode, ICK is an output; in passive mode, ICK is an input, according to the sioc ICK field. 59 OCK 1/0* Output Clock. Clock for serial PCM output data. In active mode, OCK is an output; in passive mode, OCK is an input, according to the sioc register OCK field. * Indicates 3-state condition. 22 WE DSP16A Digital Signal Processor Table 15. Pin Descriptions (Continued) | Pin | Symbol Name/Description OLD 1/0* Output Load. Clock for loading the parallel-to-serial converter from the output buffer (obuf). A falling edge of OLD indicates the beginning of a serial output word. In active mode, OLD is an output; in passive mode, OLD is an input, according to the sioc register OLD field. 61 Data Output. Serial PCM data output from the output shift register (osr), either LSB or MSB first, according to the sioc register MSB field. DO changes on the rising edges of OCK. DO is 3-stated when DOEN is high. 62 SYNC /0* Multiprocessor Synchronization. Typically used in the multiprocessor mode. A falling edge of SYNC indicates the first word of a TDM I/O stream and causes the resynchronization of the active ILD and OLD generators. SYNC is an output when the tdms register SYNC field is set; otherwise, it is an input. SYNC must be tied low if it is not used as an output. When used as an output, SYNC = ILD/OLD ~ 8 or 16, depending on the setting of the SYNCSP field of the tdms register. This procedure can be used to generate a slow clock for SIO operation. 63 SADD 1/0* Serial Address. An 8-bit serial bit stream typically used for addressing during multiprocessor communication between multiple DSP16A devices. In multiprocessor mode, SADD is an output when the tdms time slot dictates a serial transmission; otherwise, it is an input. SADD is always an output when not in multiprocessor mode. SADD is 3-stated when DOEN is high. 64 DOEN 1/0* Data Output Enable (Active Low). An input when not in the multiprocessor mode. DO and SADD are enabled only if DOEN is low. DOEN is an output when in the multiprocessor mode (tdms register MODE field set). In the multiprocessor mode, DOEN indicates a valid time slot for a serial output. [es | vss | P [Grud RSTB Reset. A high-to-low transition causes entry into the reset state. The sioc, pioc, tdms, rb, and re register bits are cleared. Reset clears external flags IACK and IBF and sets external flag OSE. DAU condition flags and the DAUC register are not affected by reset. All output and bidirectional pins are 3-stated during reset. A low-to-high transition causes execution to begin at ROM location 0. * Indicates 3-state condition. 23 WE DSP16A Digital Signal Processor Table 15. Pin Descriptions (Continued) [ Pin | Symbol Name/Description je7 | cer of ot Clock In. Input clock at twice the frequency of internal operations. IACK o* Interrupt Acknowledge. Interrupt acknowledge signals when an interrupt is being serviced by the DSP16A. The IACK remains high until normal instruction operation resumes. [70 | voo | P| Sv Supply. 71 INT Processor Interrupt. Interrupt to DSP16A. INT is acknowledged when the interrupt is enabled by the PIOC register. 72 PSEL o* Peripheral Select. PSEL is used to specify the logical port to/from which data is to be conveyed. In active mode, PSEL is high (logic 1) when pdx1 is the register specified in the I/O instruction and low when pdx0 is the register specified. PSEL has no meaning when the device is in passive mode. 73 PIDS 1/0* Parallel Input Data Strobe (Active low). In active mode, PIDS is an output. When PIDS is asserted, data may be placed onto the PDB. Upon negation of PIDS, data should be removed from the PDB. PIDS is asserted by the DSP16A device during an active mode read transaction. In passive mode, PIDS is an input. When asserted by an external device, this signal indicates that data is available on the PDB. In both active and passive modes, the trailing edge (low- to-high transition) of PIDS is the sampling point. 74 PODS 1/0* Parallel Output Data Strobe (Active low). In active mode, PODS is an output. When PODS is asserted, data is available on the PDB. PODS is asserted by the DSP16A device during an active mode write transaction. In passive mode, PODS is an input. When PODS is asserted by an external device, the DSP16A device places the contents of its parallel output register (pdx0 or pdx1) onto the PDB. 75 PB15 1/0* Parallel |1/O Data Bus — Bit 15. 76 PB14 1/0* Parallel 1/O Data Bus — Bit 14. 77 | PB13 1/0* Parallel I/O Data Bus — Bit 13. 78 PB12 /0* Parallel 1/O Data Bus — Bit 12. [79 | voo | P| Sv Supply. feo | vss | P| Ground 81 PB11 1/0* Parallel I/O Data Bus — Bit 11. 82 PB10 /0* Parallel 1/O Data Bus — Bit 10. 83 PBO9 /0* Parallel I/O Data Bus — Bit 9. 84 PBO8 1/0* Parallel 1/O Data Bus — Bit 8. * Indicates 3-state condition. 24 WE DSP 16A Digital Signal Processor Characteristics The following electrical and timing characteristics are advance information, and are subject to change. Electrical Characteristics The parameters below are valid for the following conditions: Tc = 0 to 85 °C, VoD =5 V + 10%, Vss = 0 V, T = 2 X tCKIHCKIH (see Figure 3). [Parameter | Sym | Min | Max | Unit | Input voltage: low VIL _ Vv high VIH 2.0 Vv Output voltage: low (IOL = 2.0 mA) VOL _— 0.4 Vv high (IOH = —2.0 mA) VOH 2.4 _ Vv Output current: low (VOL = 0.4 V) IOoL 2.0 mA high (VOH = 2.4 V) OH —2.0 mA Output short circuit current VOH =0V los —200 mA Output 3-state current: high (VIH = 2.0) lozH | —75 75 LA low (VIL = 0.8) loz. | —75 75 LA Input current: high (VIH = 5.5; VoD = 5.5) | IIH 25 pA low (ViL = 0, VSS = 0) Hie —25 LA Power supply current Vobd = 5.5 V 82 mA Power dissipation Vop = 5.5 V 450 | mW Input capacitance fc: | —| 15] pel Maximum Ratings Voltage range on any pin with respect to QroUNd uu... eeeeeeeseteeeeeetereeereseeteeieeeeens “OO tO +6 V Power CiSSiPatiOn..........:csescsessecseseesseeseeeesesscescseesecesesssesseusessesseuseasaaseuseussenseesoessesseestestsstssessersateansecseeseesees TW Ambient temperature range ...cccssscssssssessssessssesssesessesesseesesssseseesesesestsessesestsssesitsesisstsessseeteeese —40 to +120 °C Storage temperature raAnge......c.cscsssssssssssesssssesessescssscssscsesescscsescecseseseseseeeesseetstsesssasetsesteeeese —0D tO +150 °C Maximum ratings are the limiting conditions that can be applied to all variations of circuit and environmental conditions without the occurrence of permanent damage. External leads can be bonded and soldered safely at temperatures of up to 300 °C. Chip current in the input buffers is highly dependent on input voltage level. At full CMOS levels essentially no DC current is drawn but, for levels near the threshold of 1.4 V, high and unstable levels can flow. The table below gives the IpDD input buffer current for 43 inputs biased at DC level, Vin. The worst case power assumes 100 mW dissipated by the input buffers. Inputs are protected against electrostatic discharge (ESD) damage with diodes connected to VpD and Vss. Input voltage should not be greater than Vpp + 0.5 V or less than Vss — 0.5 V. The power dissipation listed is for unloaded outputs. Total power dissipation can be calculated on the basis of the application by adding C : VoD? - f for each output, where C is the load capacitance and f is the output frequency. 25 WE DSP16A Digital Signal Processor Ipp Input Buffer Current Versus VIN [ vnvy | 5.0 | 3.6 | 28 | 24 | 20] 14 [os los] ol * High and unstable. Timing Characteristics and Requirements Timing characteristics refer to the behavior of the device under specified conditions. Timing requirements refer to conditions imposed on the user for proper operation of the device. All timing data is valid for the following conditions unless otherwise specified: Tc = 0 to 85 °C, VoD =5V + 10%, Vss = 0 V, T = 2 x tCKIHCKIH, capacitance load on outputs = 50 pF. External Memory and Clocks Timing Requirements for External ROM and Clocks (See Figure 3) Symbol__{ Min | Max | Unit | Clock in period tCKIHCKIH 1000 | ns | Clock in low time tcKILCKIH | 5 | — | ns | Clock in high time tcKIHCKIL | 5 | — | ns | External memory set-up | tRBVCKOL | 13] — | ns | External memory hold tCKOLRBX | of — | ns | Timing Characteristics for External ROM and Clocks (See Figure 3) |Description | __Symbol_| Min | Max | Unit | Clock out high delay | tCKIHCKOH | — | 17 [| ns | Clock out low delay | tcKiHCcKOL | — | 17 | ns | Address delay time | tcKoLaBv | —]| 5 | ns | Address hold time tcKoLaBx | of] — | ns | Reset and Interrupts Timing Requirements for Reset and Interrupts (See Figure 4) Symbol __| Min | Max | Unit | RSTB low time tRSTBLRSTBH | eT | — | ns | INT hold time tlACKHINTL | 0 | 2T | ns | INT assertion time | _tINTHINTL | ot | — [ ns | 26 WE DSP16A Digital Signal Processor Timing Characteristics for Reset and Interrupts (See Figure 4) Symbol | Min | Max | Unit | RSTB disable time | tRSTBHOUTZ | — | 100 | ns | RSTB enable time | tRSTBHOUTV | — | 100 | ns | Serial 1/O (SIO) Timing Requirements for Serial Inputs (See Figure 5) Symbol | Min | Max | Unit | Clock period tICKHICKH | 66 | — | ns | Clock low time tiCKLICKH | 30 | — | ns | Clock high time | tiCKHICKL | 30 | — | ns | Load high set-up | tLDHICKH | 15 | — | ns | Load low set-up tILDLICKH | is | — | ns | Load high hold | tiCKHILDH | o| — | ns | Load low hold tickHitoL [| of — | ns | Data set-up toivickH =| 12 | — | ns | Data hold tickHDx | of] — | ns | Timing Characteristics for Serial Input (See Figure 5) Symbol__| Min | Max | Unit | IBF delay tiCKHIBFH | — | 45 | ns | Timing Requirements for Serial Output (See Figures 6 and 7) Symbol | Min | Max | unit | Clock period tOCKHOCKH | 66 | — | ns | Clock low time tOCKLOCKH | 30 | — | ns | Clock high time | tocKHOCKL | 30 | — | ns | Load high set-up | tOLDHOCKH | 15 | — | ns | Load low set-up tOLDLOCKH | 15 | — [ ns | Load high hold | tOCKHOLDH | 0 | — [ ns | Load low hold tockHoLoL [ of] — | ns | 27 WE DSP16A Digital Signal Processor Timing Characteristics for Serial Output” (See Figures 6 and 7) Symbol | Min | Max | Unit | Data delay tOCKHDOV | —] 35 [| ns | Enable data delay | tDOENLDOV | —| 35 | ns | Disable data delay | tDOENHDOz | — | 35 | ns | Data hold tOCKHDOX | 5| — | os | OSE delay tOCKHOSEH | —]| 45 | ns | Address delay tocKHsappbv. | — | 35 | ns | Address hold tOCKHSADDX [| 5 | — | ns | Enable delay tDOENLSADDV | — | 35 | ns | Disable delay tDOENHSADDz | —]| 35 | ns | * Capacitance load on OCK and DO: 100 pF. Clock Generation (Active Mode) Timing Characteristics for Clock Generation (See Figures 5—7) Symbol |_Min_| Max | Unit | ICK duty cycle tlCKDC OCK duty cycle | tOCKDC ILD duty cycle tILDDC OLD duty cycle | tOLDDC tiCKHILDH tOCKHOLDH SYNG duty cycle | _tSYNCDC 49.98 | 50.02 tOCKHSYNCL 28 WE DSP16A Digital Signal Processor Multiprocessor Communication All serial 1/O timing requirements and characteristics (except DOEN characteristics) still apply. Timing Requirements for Multiprocessor Communication (See Figure 8) Symbol___| Min | Max | Unit | tSYNCHOCKH meme | Seew [« [|= tOCKHSYNCH Address set-up | tSADDVOCKH | 12 | — | ns | Address hold | tOCKHSADDX | o | — | ns | Timing Characteristics for Multiprocessor Communication (See Figure 8) Symbol” |_ Min | Max | unit Data delay (bit 0 only) tOCKLDOV | — | 33 [ ns | Data disable delay tockHpoz | — [| 40 | ns | Data hold tockHDox | 5 | — | ns | Data delay tockHoov, | — | 35 | ns | DO valid delay tocKHpoenL | — | 35 | ns | Address delay (bit 0 only) | tocKLsaADDvV | — | 33 | ns | Address disable delay tockHsappz_ | — | 40 | ns | Address delay tockHsAppbv | — | 35 | ns | Address hold tockHsADDx | 5 | — | ns | tOCKHSYNCL SYNC duty cycle tSYNCDC 49.98 | 50.02 * Capacitance load on ICK, OCK, DO, SYNC, and SADD: 100 pF. tlICKHICKH and tOCKHOCKH are tCKIHCKIH X 4, 12, 16, or 20. See sioc register. tILDHILDH and tOLDHOLDH are (tICKHICKH or tOCKHOCKH) X 16. See sioc register. tSYNCHSYNCH is (tICKHICKH or tOCKHOCKH) X (128 or 256). See tdms register. Parallel 1/O (PIO) Timing Requirements for PIO (See Figures 9—13) Symbol | Min | Max | unit | PB set-up time tPDBVPIDSH | 15 | — | ns | PB hold time tPIDSHPDBX | o | — | ns | Passive strobe width (read) | tPIDSLPIDSH | T | — | ns | Passive strobe width (write) | _tPODSLPODSH | T | — | ns | PODS high between writes | tPODSHPODSL | T | — | ns | 29 WE DSP16A Digital Signal Processor Timing Characteristics for PIO (See Figures 9—13) Description symbol! _[ 00 | o1 | 10 | 41 | Unit PIDS pulse width tPips-piosH | Tt | 2t | st | ar | — | ns | PODS pulse width tPODSLPODSH | T | 2t | at | 4t | — | ns | PSEL hold time PODS _| tPODSHPSELX | o | 1/2 | 1/2 | 1/2 | — | ns | PODS high to PIDS low | tPODSHPODSL | —s—s20,si sd|S — ‘| ns | PIDS high to PODS low | tPIDSHPODSL | = Tid: —‘*'|s ns | PSEL valid before PODS | tPSELVPODSL T/2 — 10 | — | ns | PB hold time tpopsHpoBx | 10 | — os | PIDS low to PSEL valid | tpinstpseLv | = — | 10 | ns | PSEL hold time PIDS tPIDSHPSELX [| 25s — ‘ns | PIDS high (interaccess)_| tPIDSHPIDSL = Data valid after PODS _| tPODSLPDBV 25 * The pulse widths of PIDS and PODS for those timing specifications having multiple entries under the minimum value column are determined by bits 14 and 13 of the pioc register. See Table 13. Timing Diagrams +CKIHCKIH +CKILCKIH tCKIHCKIL- VIH = CKI Vit = tCKOHCKOH tCKIHCKOL: tCKIHCKOH VOoH — cKO VoL = tCKOL ABV tCKOL ABX VoH — AB VoL — tRBVCKOL a tCKOLRBX Vin RB Vil = Figure 3. External Memory Interface 30 WE DSP16A Digital Signal Processor i +RSTBLRSTBH Vn = RSTB VE = tRSTBLOUTZ 1tRSTBHOUTV VOH == ouT ALL DEVICE OUTPUTS Vor — A. Reset Timing tINTHINTL, VIH om INT Ve = VOoH = 1ACK VoL = B. Interrupt Timing Figure 4. Reset and Interrupt Timing tICK HICKH tICKLICKH tICKHICKL Vino om IcK Vu tILDHICKH +ICKHILDH tiCKHILDL tILDLICKH VIR me ILD Vin S 1DIVICKH e— tICKHDIX 5 ViH = e ' Vit = N y out ——— a tlCKHIBFH VoH = \BF Vor = Figure 5. Serial Input Timing 31 WE DSP16A Digital Signal Processor — eeeeSSSSFSSSSSSSSSSSSSSSSSSSSSSFSFSFSSSSSSSSSSSSSSSSSSSSSsses tOCKHOCKH tOCKLOCKH tOCKHOCKL- VIN = OcK vu = tOLDHOCKH r tOCKHOLDH 2—tOCKHOLDL @— tOLDLOCKH ° ov" _- LE Vib =, tOCKHDOV—s S a— tOCKHDOX VoH —= \F Vor — Lk | s— tDOENLDOV | S +DOENL SADDV tDOENHDOZ v4“ DOEN vit = >| tDOENHSADDZ tOCKHSADOV S Ss a @— tOCKHSADDX VoH = Y VoL — fs ‘ tOCKHOSEH VoH = OSE Vo. = ———" Figure 6. Serial Output Timing — 8 Bits t+ OCKHOCKH tOCKHOCKL tOCKLOCKH Va e HOLOHOCKHe| fe— tOCKHOLDH = t OCKHOLDL 1 & 2— tOLDLOCKH vin ey OL0 ym, tOCKHDOV S e & S tOCKHDOX VoH = V4 7 | S s— tDOENLDOV | S 2 1DOENLSADDV t+DOENHDOZ vA DOEN YD EEE: 1OCKHSADDV —e 2 e| be 10CKHSADDX tDOENLSADDZ VON = v tOCKHOSEH VON = OSE Vo. _ OO Figure 7. Serial Output Timing — 16 Bits 32 WE DSP16A Digital Signal Processor tOCKHDOZ = 3 S <— 10CKLDOV vn ock J X<.; vem > The right choice.