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