Home

Analog Devices ADSP-2186 User's Manual

image

Contents

1. ENVIRONMENTAL CONDITIONS 2186 POWER INTERNAL1 3 4 5 Ambient T emperature R ating Tama Tcase PD X ca Tcase Case Temperature in PD Power Dissipation W Oca Thermal Resistance ase to A mbient Oja Thermal Resistance Junction to Ambient Thermal Resistance Junction to C ase 2 Package 9c Oca TQFP 50 C W 2 C W 48 C W 30 32 34 36 38 40 42 l fck MHz POWER DISSIPATION POWER IDLE 2 3 5 T o determine total power dissipation in a specific application the following equation should be applied for each output C xVpp xf load capacitance f output switching frequency Example In an application where external data memory is used and no other outputs are active power dissipation is calculated as follows A ssumptions External data memory is accessed every cycle with 5096 of the address pins switching External data memory writes occur every other cycle with 5096 of the data pins switching 7 POWER IDLE n MODES 5 e Each address and data pin has a 10 pF total load at the pin 65 e Theapplication operates at Vpp 5 0 V and 30 ns 60 Total Power Dissipation Pint x Vpp x f 55 internal power dissipation from Power vs requency graph Figure 8 C x Vpp x f is calculated for each output POWER Pip mW l
2. Ambient Instruction Temperature Rate Package Package Part Number Range MHz Description Option SP 2186K ST 115 0 to 70 C 28 8 100 Lead TQFP ST 100 ADSP 2186BST 115 40 C to 85 C 28 8 100 Lead TQFP ST 100 ADSP 2186K ST 133 0 C to 70 C 33 3 100 Lead TQFP ST 100 AD SP 2186BST 133 40 C to 85 C 33 3 100 Lead TQFP ST 100 ADSP 2186K ST 160x 0 C to 70 C 40 0 100 Lead TQFP ST 100 AD SP 2186BST 160x 40 C to 85 C 40 0 100 L ead TQFP ST 100 ST Plastic T hin Quad Flatpack T QFP OUTLINE DIMENSIONS Dimensions shown in mm and inches 100 Lead Metric Thin Plastic Quad Flatpack TQFP ST 100 0 640 16 25 0 630 16 00 Sa 0 620 15 75 0 555 14 05 0 551 14 00 TYP SQ 0 547 13 90 0 476 12 10 0 063 1 60 MAX 0 474 12 05 BN 0 024 0 75 12 00 0 022 0 60 wo 0 020 0 50 75 SEATING 1 PLANE TOP VIEW PINS DOWN 0 004 0 102 MAX LEAD 25 51 COPLANARITY 26 50 0 10 gt 0 007 0 177 0 020 0 50 f 0 005 0 127 BSG 0 009 Taa TYP 0 003 0 077 LEAD PITCH 0 006 0 17 LEAD WIDTH 30 REV 0 31 L6 9 666cD V S f1 NI GALNIdd 32
3. NOMINAL VALID OUTPUT DELAY OR HOLD ns 2 4 6 0 50 100 150 200 250 pF Figure 10 Typical Output Valid Delay or Hold vs Load Capacitance C at Maximum Ambient Operating Temperature TEST CONDITIONS Output Disable Time Output pins are considered to be disabled when they have stopped driving and started a transition from the measured output high or low voltage to a high impedance state T he out put disable time tpis is the difference of tueasurep and tpecav as shown in the Output E nable D isable diagram T he time is the interval from when a reference signal reaches a high or low voltage level to when the output voltages have changed by 0 5 V from the measured output high or low voltage T he decay time 16 15 dependent on the capacitive load C and the current load on the output pin It can be approximated by the fol lowing equation C L x0 5V iL from which tois ty EASURED toecay is calculated If multiple pins such as the data bus are dis abled the measurement value is that of the last pin to stop driving INPUT 1 5V 2 0V OUTPUT 1 5V 0 8V Figure 11 Voltage Reference Levels for AC Measure ments Except Output Enable Disable Output Enable Time Output pins are considered to be enabled when that have made a transition from a high impedance state to when they start driving T he output enable time tena is
4. 0x0000 Figure 6 Data Memory T here are 8160 words of memory accessible internally when the DM OVLAY register is set to 0 When DM OVLAY is set to something other than 0 external accesses occur at addresses 0x0000 through Ox1FFF T he external address is generated as shown in T able III Tablelll DMOVLAY Memory A13 A12 0 0 Internal Not Applicable N ot Applicable 1 External 13 LSBs of Address Overlay 1 0 Between 0x2000 and Ox3FFF 2 External 13 LSBs of Address Overlay 2 1 Between 0x2000 and Ox3FFF T his organization allows for two external 8K overlays using only the normal 14 address bits All internal accesses complete in one cycle Accesses to external memory are timed using the wait states specified by the DWAIT register Space Full Memory Mode The ADSP 2186 supports an additional external memory space called 1 space T his space is designed to support simple con nections to peripherals or to bus interface ASIC data registers 1 0 space supports 2048 locations T he lower eleven bits of the external address bus are used the upper three bits are unde fined T wo instructions were added to the core AD SP 2100 Family instruction set to read from and write to 1 0 memory space T 1 0 space also has four dedicated three bit wait state registers IOWAIT 0 3 which specify up to seven wait states to be automatically generated for each of four regions T he wait states act on address ranges
5. T he EZ ICE uses the EE emulator enable signal to take control of the AD SP 2186 in the target system T his causes the processor to use its ERESET EBR and EBG pins instead of the RESET BR and BG pins T he BG output is three stated T hese signals do not need to be jumper isolated in your system 211 ADSP 2186 T he EZ ICE connects to your target system via a ribbon cable and a 14 pin female plug T he female plug is plugged onto the 14 pin connector a pin strip header on the target board Target Board Connector for EZ ICE Probe T he EZ ICE connector a standard pin strip header is shown in Figure 7 Y ou must add this connector to your target board design if you intend to use the EZ ICE Be sure to allow enough room in your system to fit the EZ IC E probe onto the 14 pin connector 1 GND BN __ 3 EB 5 7 KEY NO PIN x 9 ELoUT 11 B 13 RESET TOP VIEW Figure 7 Target Board Connector for EZ ICE T he 14 pin 2 row pin strip header is keyed at the Pin 7 loca tion you must remove Pin 7 from the header T he pins must be 0 025 inch square and at least 0 20 inch in length Pin spac ing should be 0 1 x 0 1 inches T he pin strip header must have at least 0 15 inch clearance on all sides to accept the EZ ICE probe plug Pin strip headers are available from vendors such as McKenzie and Samtec Target Memory Interface For your target sy
6. trs Figure 15 Interrupts and Flags 18 REV 0 ADSP 2186 Parameter Min Max Unit Bus Request Grant Timing Requirements _ ten BR Hold after CLK OUT High 0 25 2 ns tgs BR Setup before CLK OUT Low 0 25 tex 17 ns Switching C haracteristics NEN tsp CLKOUT High to xMS RD WR Disable 0 25 10 ns xMS RD WR Disable to BG L ow 0 ns tse BG High to xMS RD WR Enable 0 ns xMS RD WR Enableto CLKOUT High 0 25 7 ns tsp BH xMS RD WR Disable to BGH Low 0 ns High to xMS RD WR Enable 0 ns NOTES xMS PMS DMS CMS IOMS BMS TBR is an asynchronous signal f BR meets the setup hold requirements it will be recognized during the current clock cycle otherwise the signal will be recognized on the following cycle Refer to the ADSP 2100 Family User s anual for BR BG cycle relationships BGH is asserted when the bus is granted and the processor requires control of the bus to continue REV 0 teu CLKOUT CLKOUT PMS DMS BMS RD WR tsp 4 BG tsps A Figure 16 Bus Request Bus Grant 219 tsec ADSP 2186 TIMING PARAMETERS Parameter Min Max Unit Memory Read Timing Requirements _ trop RD Low to Data Valid 0 5 tc 9 w ns taa A0 A13 xMS to D ata Valid 0 75 tex 105 w ns trou Data H old from RD High 0 ns Switching Characteristics trp RDPulseWidt
7. Mode Selectable Programmable Wait State Generation Two Double Buffered Serial Ports with Companding Hardware and Automatic Data Buffering Automatic Booting of On Chip Program Memory from Byte Wide External Memory e g EPROM or Through Internal DMA Port is a trademark of Analog Devices Inc All trademarks are the property of their respective holders REV 0 Information furnished by Analog Devices is believed to be accurate and reliable However no responsibility is assumed by Analog Devices for its use nor for any infringements of patents or other rights of third parties which may result from its use No license is granted by implication or otherwise under any patent or patent rights of Analog Devices FUNCTIONAL BLOCK DIAGRAM POWER DOWN CONTROL MEMORY 8K x 24 8K x 16 PROGRAM DATA MEMORY MEMORY FULL MORES C N DATA ADDRESS GENERATORS DAG 1 DAG 2 PROGRAM SEQUENCER A L3 1 CONTROLLER I PROGRAM MEMORY DATA DATA MEMORY DATA ARITHMETIC UNITS ADSP 2100 BASE ARCHITECTURE SERIAL PORTS HOST MODE Six External Interrupts 13 Programmable Flag Pins Provide Flexible System Signaling UART Emulation through Software SPORT Reconfiguration ICE Port Emulator Interface Supports Debugging in Final Systems GENERAL NOTE T his data sheet represents production grade
8. asthe pull up or pull down will hold the pin in a known state and will not switch Active configuration involves the use of a three stateable exter nal driver connected to the M ode C pin A driver s output en able should be connected to the D SP s RESET signal such that it only drives the PF2 pin when RESET is active low After RESET is deasserted the driver should three state thus allow ing full use of the PF 2 pin as either an input or output REV 0 ADSP 2186 To minimize power consumption during power down configure the programmable flag as an output when connected to a three stated buffer T his ensures that the pin will be held at a constant level and not oscillate should the three state driver s level hover around the logic switching point Interrupts he interrupt controller allows the processor to respond to the eleven possible interrupts and reset with minimum overhead T he ADSP 2186 provides four dedicated external interrupt input pins IRQ2 IRQLO IRQL1 and IRQE shared with the PF 7 4 pins In addition SPORT 1 may be reconfigured for TRQO TRQI FLAG IN and FLAG OUT for a total of six external interrupts T he AD SP 2186 also supports internal interrupts from the timer the byte DM A port the two serial ports software and the power down control circuit T he inter rupt levels are internally prioritized and individually maskable except power down and reset T he IRQ2 IRQO and IRQ1 input pins
9. sor clock T he external clock can continue running during power down without affecting the lowest power rating and 100 CLKIN cycle recovery Support for crystal operation includes disabling the oscillator to save power the processor automatically waits approxi mately 4096 CLKIN cycles for the crystal oscillator to start or stabilize and letting the oscillator run to allow 100 CLKIN cycle start up Power down is initiated by either the power down pin PWD or the software power down force bit nterrupt support allows an unlimited number of instructions to be executed before optionally powering down T he power down interrupt also can be used as a nonmaskable edge sensitive interrupt Context clear save control allows the processor to continue where it left off or start with a clean context when leaving the power down state The RESET pin also can be used to terminate power down Power down acknowledge pin indicates when the processor has entered power down ADSP 2186 Idle When the AD SP 2186 is the Idle ode the processor waits indefinitely in a low power state until an interrupt occurs When an unmasked interrupt occurs it is serviced execution then continues with the instruction following the IDLE instruction In Idle mode IDM A BDMA and autobuffer cycle steals still occur Slow Idle TheIDLE instruction is enhanced on the ADSP 2186 to let the processor s internal clock signal be slowed furt
10. 15 0 Previous ata Enabled after Start of Read 0 ns IAD 15 0 Previous Data Valid after Start of Read 15 ns NOTES Start of Read IS Low and IRD Low End of Read IS High or IRD High IAD 15 0 Figure 24 IDMA Read Short Read Cycle REV 0 27 ADSP 2186 100 Lead TQFP Package Pin 9 sia 6 eza 014 dd 44 Iv oavi Lv ravyezv zavyev 92 22 82 62 08 18 8 8 v8 S8 98 28 88 68 06 16 26 6 v6 S6 96 26 86 66 001 D E B m 15 D15 74 D14 73 D13 72 D12 71 GND 70 D11 69 D10 68 D9 67 66 GND 65 D8 IDENTIFIER 64 D7 IWR 63 D6 IR S 62 05 w 5 a E Not to Scale 61 04 15 60 GND 59 VDD 58 57 D2 IAD15 56 D1 IAD14 55 DO IAD13 n N N73 SJd 010ul tdd 30 1 9 T TESTI TESTI nv OR NA ZA AE o oo ag 58898 59588 Basi Fo x 4 5 5 lt REV 0 28 ADSP 2186 The ADSP 2186 package pinout is shown in
11. 2 1 Between 0x2000 and Ox3F F F NOTE Addresses 0x2000 through 0x3F FF should not be accessed when PM OVLAY 0 T his organization provides for two external 8K overlay segments using only the normal 14 address bits which allows for simple program overlays using one of the two external segments in place of the on chip memory are must be taken in using this overlay space in that the processor core i e the sequencer does not take into account the PM OVLAY register value For example if a loop operation was occurring on one of the exter nal overlays and the program changes to another external over lay or internal memory an incorrect loop operation could occur In addition care must be taken in interrupt service routines as the overlay registers are not automatically saved and restored on the processor mode stack When M ode 1 booting is disabled and overlay memory is disabled PM OVLAY must be 0 Figure 5 shows the memory map in this configuration PROGRAM MEMORY ADDRESS Ox3FFF RESERVED 0x2000 Ox1FFF 8K EXTERNAL 0 0000 Figure 5 Program Memory Mode 1 Data Memory T he ADSP 2186 has 8160 16 bit words of internal data memory In addition the AD SP 2186 allows the use of 8K external memory overlays Figure 6 shows the organization of the data memory DATA MEMORY ADDRESS 32 MAPPED REGISTERS Ox3FDF INTERNAL 8160 WORDS 0x2000 Ox1FFF EXTERNAL 8K DMOVLAY 1 2
12. O Space Instructions T he instructions used to access the AD 5 2186 5 1 0 memory Space are as follows Syntax addr dreg dreg 10 addr where addr is an address value between 0 and 2047 and dreg is any of the 16 data registers Examples 10 23 AR1 10 17 Description Thel O space read and write instructions move data between the data registers and the 1 0 memory space DESIGNING AN EZ ICE COMPATIBLE SYSTEM TheAD SP 2186 has on chip emulation support and an ICE Port a special set of pins that interface to the EZ ICE T hese features allow in circuit emulation without replacing the target system processor by using only a 14 pin connection from the target system to the E Z IC E T arget systems must have a 14 pin connector to accept the EZ ICE s in circuit probe a 14 pin plug See the ADSP 2100 F amily EZ T ools data sheet for complete information on ICE products heICE Port interface consists of the following AD SP 2186 pins EBR EBG ERESET EMS EINT ECLK ELIN ELOUT EE T hese AD SP 2186 pins must be connected only to the EZ ICE connector in the target system T hese pins have no function except during emulation and do not require pull up or pull down resistors T he traces for these signals between the AD SP 2186 and the connector must be kept as short as pos sible no longer than three inches T he following pins are also used by the EZ ICE BR BG RESET GND
13. can be programmed to be either level or edge sensitive IRQLO and IRQLI level sensitive and IRQE is edge sensitive T he priorities and vector addresses of all interrupts are shown in T ablel Tablel Interrupt Priority amp Interrupt Vector Addresses Source Of Interrupt Interrupt Vector Address H ex Reset or Power U p with PUCR 21 0000 Highest Priority Power D own N onmaskable 002C IRQ2 0004 IROLI 0008 IRQLO 000C SPORTO T ransmit 0010 SPORT 0 Receive 0014 IROE 0018 BDMA Interrupt 001C SPORT 1 Transmit or IRO1 0020 SPORT 1 Receive or IRQO 0024 Timer 0028 Lowest Priority Interrupt routines can either be nested with higher priority interrupts taking precedence or processed sequentially Inter rupts can be masked or unmasked with the IM ASK register Individual interrupt requests are logically AN D ed with the bits in IM ASK the highest priority unmasked interrupt is then selected T he power down interrupt is nonmaskable The ADSP 2186 masks all interrupts for one instruction cycle following the execution of an instruction that modifies the IMASK register T his does not affect serial port autobuffering or DMA transfers interrupt control register ICNTL controls interrupt nest ing and defines the IRQO IRQ1 and IRQ2 external interrupts to be either edge or level sensitive T he IRQE pin is an external edge sensitive interrupt and can be forced and cleared T he IRQLO
14. chip program memory Execution then begins at address 0 The ADSP 2100 F amily development software Revision 5 02 and later fully supports the BDM A booting feature and can generate byte memory space compatible boot code TheIDLE instruction can also be used to allow the processor to hold off execution while booting continues through the BDM A interface For BDM A accesses while in H ost M ode the ad dresses to boot memory must be constructed externally to the AD SP 2186 T he only memory address bit provided by the processor is 0 IDMA Port Booting TheADSP 2186 can also boot programs through its Internal DMA port If Mode C 1 M ode B 0 and M ode A 1 the AD SP 2186 boots from the IDM A port IDM A feature can load as much on chip memory as desired Program execution is held off until on chip program memory location 0 is written to Bus Request amp Bus Grant The ADSP 2186 can relinquish control of the data and address buses to an external device W hen the external device requires access to memory it asserts the bus request BR signal If the AD SP 2186 is not performing an external memory access it responds to the active BR input in the following processor cycle by Three stating the data and address buses and the PMS DMS BMS CMS IOMS RD WR output drivers Asserting the bus grant BG signal and Halting program execution If Go M ode is enabled the ADSP 2186 will not halt program execution until it e
15. lo 2 0 4 V liu Hi Level Input Current 9 max Vin 10 lu Lo L evel Input Current 9 Vpp 2 max Vin 20V 10 uA lozu T hree State L eakage Current max Vin 10 uA lozL T hree State L eakage C urrent Vpp max Vin 70 V 10 uA Supply Current Idle 9 Vpp 5 0 12 4 mA lop Supply Current D ynamic 5 0 T AM 25 30 1511 55 mA tex 25 nsH 65 mA Input Pin Capacitance 9 12 Q 2 5 V fin 1 0M Hz 8 pF T AM 25 Output Pin Capacitance 7 12 13 22 5 V fiy 1 0 MHz Tamp 25 8 pF Parameters displayed inside brackets represent preliminary 40 M Hz specifications NOTES 1 Bidirectional pins D 0 0 23 RF S0 RFS1 SCLK 0 SCLK 1 50 TFS1 A1 A13 PFO PF 7 Input only pins RESET BR DRO DR1 PWD 1 only pins CLKIN RESET BR DRO DR1 PWD Output pins BG PMS DMS BMS IOMS CMS RD WR PWDACK 0 DT1 CLKOUT FL2 0 5 Although specified for TTL outputs all AD SP 2186 outputs CM OS compatible and will drive to V pp and GND assuming no dc loads 6 Guaranteed but not tested 7T hree statable pins A0 A13 D 0 D 23 PMS DMS BMS IOMS CMS RD WR DT1 SCLK0 SCLK 1 TFSO TFS1 RFSO RSF1 PFO PF7 50 V on BR CLKIN Inactive Idle refers to AD SP 2186 state of operation during execution of IDLE instruction D eas
16. synchronized to the AD SP 2186 s clock Bits that are programmed as outputs will read the value being output T he PF pins default to input during reset In addition to the programmable flags the AD SP 2186 has five fixed mode flags FLAG IN FLAG OUT FLO FL1 and FL2 FLO FL2 are dedicated output flags FLAG IN and FLAG OUT are available as an alternate configuration of SPORT 1 Note Pins PFO PF1 and PF2 are also used for device configu ration during reset BIASED ROUNDING A mode is available on the AD SP 2186 to allow biased round ing in addition to the normal unbiased rounding When the BIASRND bit is set to 0 the normal unbiased rounding opera tions occur When the BIASRND bit is set to 1 biased round ing occurs instead of the normal unbiased rounding When operating in biased rounding mode all rounding operations with M RO set to 0x8000 will round up rather than only rounding up odd M R1 values For example Table VII MR Value Biased Unbiased Before RND RND Result RND Result 00 0000 8000 00 0001 8000 00 0000 8001 00 0001 8001 00 0000 7FFF 00 0001 7FFF 00 0001 8000 00 0002 8000 00 0001 8001 00 0002 8001 00 0000 7FFF 00 0001 7FFF 00 0000 8000 00 0002 8000 00 0001 8001 00 0002 8001 00 0000 7FFF 00 0001 7FFF T his mode only has an effect when the M RO register contains 0x8000 all other rounding operations work normally T his mode allows more efficient implementation of bit specified a
17. the BCR bit to 0 allows the processor to continue opera tions Setting the BCR bit to 1 causes the processor to stop execution while the BDM A accesses are occurring to clear the context of the processor and start execution at address 0 when the BDM A accesses have completed Internal Memory DMA Port IDMA Port Host Memory Mode ThelDMA Port provides an efficient means of communication between a host system and the AD 5 2186 T he port is used to access the on chip program memory and data memory of the DSP with only one DSP cycle per word overhead IDM port cannot however be used to write to the DSP s memory mapped control registers ThelDMA port has a 16 bit multiplexed address and data bus and supports 24 bit program memory T IDM A port is com pletely asynchronous and can be written to while the AD SP 2186 is operating at full speed T he D SP memory address is latched and then automatically incremented after each IDM A transaction An external device can therefore access a block of sequentially addressed memory by specifying only the starting address of the block T his in creases throughput as the address does not have to be sent for each memory access IDMA Port access occurs in two phases he first is the IDM A Address Latch cycle When the acknowledge is asserted a 14 bit address and 1 bit destination type can be driven onto the bus by an external device T he address specifies an on chip memory locatio
18. the human body and equipment and can discharge without detection Permanent damage may occur to devices subjected to high energy electrostatic discharges The ADSP 2186 features proprietary ESD protection circuitry to dissipate high energy discharges Human Body per method 3015 of MIL ST D 883 Proper ESD precautions recom WARNING ESD SENSITIVE DEVICE mended to avoid performance degradation or loss of functionality U nused devices must be stored in conductive foam or shunts and the foam should be discharged to the destination before devices are removed ADSP 2186 TIMING PARAMETERS GENERAL NOTES Use the exact timing information given Do not attempt to derive parameters from the addition or subtraction of others While addition or subtraction would yield meaningful results for an individual device the values given in this data sheet reflect statistical variations and worst cases C onsequently you cannot meaningfully add up parameters to derive longer times TIMING NOTES Switching characteristics specify how the processor changes its signals You have no control over this timing circuitry external to the processor must be designed for compatibility with these signal characteristics Switching characteristics tell you what the processor will do in a given circumstance You can also use switching characteristics to ensure that any timing requirement of a device connected to the processor such as m
19. uses an alge braic syntax for ease of coding and readability A comprehensive set of development tools supports program development POWER DOWN CONTROL C DATA ADDRESS GENERATORS PROGRAM DAG 1 DAG 2 SEQUENCER MEMORY PROGRAM T LbATRMEMORYRDDRESS E FULL MEMORY MODE lo EXTERNAL ADDRESS gt BUS EXTERNAL DATA gt BUS BYTE DMA CONTROLLER R EXTERNAL DATA p BUS INTERNAL DMA PORT HOST MODE PROGRAMMABLE 8Kx24 8Kx 16 vo PROGRAM DATA MEMORY MEMORY MEMORY ADDRESS DATA MEMORY DATA ARITHMETIC UNITS ADSP 2100 BASE ARCHITECTURE SERIAL PORTS Figure 1 Block Diagram Figure 1 is an overall block diagram of the AD SP 2186 processor contains three independent computational units the ALU the multiplier accumulator M AC and the shifter T he computational units process 16 bit data directly and have provi sions to support multiprecision computations The ALU per forms a standard set of arithmetic and logic operations division primitives are also supported T he M AC performs single cycle multiply multiply add and multiply subtract operations with 40 bits of accumulation T he shifter performs logical and arith metic shifts normalization denormalization and derive expo nent operations REV 0 ADSP 2186 The shifter can be used to efficiently implement numeric format control incl
20. 0 BDMA feature is used to load the first 32 program memory words from the byte memory space Program execution is held off until all 32 words have been loaded Chip is configured in Full M emory M ode No Automatic boot opera tions occur Program execu tion starts at external memory location 0 Chip is config ured in Full M emory M ode BDMA can still be used but the processor does not auto matically use or wait for these operations BDMA feature is used to load the first 32 program memory words from the byte memory space Program execution is held off until all 32 words have been loaded Chip is configured in H ost M ode Additional interface hardware is required IDMA feature is used to load any internal memory as de sired Program execution is held off until internal pro gram memory location 0 is written to Chip is configured in Host M ode TheBDMA interface is set up during reset to the following de faults when BDM A booting is specified the BDIR BM PAGE BIAD and BEAD registers are set to 0 the BT YPE register is Set to 0 to specify program memory 24 bit words and the BWCOUNT register is set to 32 T his causes 32 words of on chip program memory to be loaded from byte memory T hese 32 words are used to set up the BDMA to load in the remaining program code T he BCR bit is also set to 1 which causes pro 10 gram execution to be held off until all 32 words are loaded into on
21. 24 1 0 Data I O Pins for Program Data Byte and I O Spaces 8 M SBs Are Also U sed as Byte M emory Addresses Host Mode Pins Mode C 1 of Input Pin Pins Output Function IAD 15 0 16 1 0 IDMA Port Address D ata Bus A0 1 Address Pin for External 1 0 Program D ata or Byte Access D 23 8 16 1 0 Data I O Pins for Program Data Byte and 1 0 Spaces IWR 1 IDMA Write Enable IRD 1 IDM A Read Enable IAL 1 IDMA Address Latch Pin 15 1 IDMA Select TACK 1 IDMA Port Acknowledge Host M ode external peripheral addresses can be decoded using the A 0 CMS PMS DMS and IOMS signals Setting Memory Mode M emory M ode selection for the ADSP 2186 is made during chip reset through the use of the M ode C pin T his pin is multi plexed with the D SP s PF2 pin so care must be taken in how the mode selection is made T he two methods for selecting the value of M ode C are active and passive Passive configuration involves the use a pull up or pull down resistor connected to the M ode C pin To minimize power consumption or if the PF2 pin is to be used as an output in the DSP application a weak pull up or pull down on the order of 100 kO can be used T his value should be sufficient to pull the pin to the desired level and still allow the pin to operate as a programmable flag output without undue strain on the processor s output driver For minimum power consumption during power down reconfigure PF2 to bean input
22. ANALOG DEVICES DSP Microcomputer ADSP 2186 FEATURES PERFORMANCE 30 ns Instruction Cycle Time 33 MIPS Sustained Performance Single Cycle Instruction Execution Single Cycle Context Switch 3 Bus Architecture Allows Dual Operand Fetches in Every Instruction Cycle Multifunction Instructions Power Down Mode Featuring Low CMOS Standby Power Dissipation with 100 Cycle Recovery from Power Down Condition Low Power Dissipation in Idle Mode INTEGRATION ADSP 2100 Family Code Compatible with Instruction Set Extensions 40K Bytes of On Chip RAM Configured as 8K Words On Chip Program Memory RAM and 8K Words On Chip Data Memory RAM Dual Purpose Program Memory for Both Instruction and Data Storage Independent ALU Multiplier Accumulator and Barrel Shifter Computational Units Two Independent Data Address Generators Powerful Program Sequencer Provides Zero Overhead Looping Conditional Instruction Execution Programmable 16 Bit Interval Timer with Prescaler 100 Lead TQFP SYSTEM INTERFACE 16 Bit Internal DMA Port for High Speed Access to On Chip Memory Mode Selectable 4 MByte Byte Memory Interface for Storage of Data Tables amp Program Overlays 8 Bit DMA to Byte Memory for Transparent Program and Data Memory Transfers Mode Selectable Memory Interface with 2048 Locations Supports Parallel Peripherals Mode Selectable Programmable Memory Strobe and Separate I O Memory Space Pemnits Glueless System Design
23. Free Software Foundation s GNU C Compiler generates AD SP 2186 assembly source code T he source code debugger allows programs to be corrected in the C environment T he Runtime L ibrary includes over 100 AN SI standard mathematical and D SP specific functions TheEZ KIT Lite is a hardware software kit offering a complete development environment for the entire AD SP 21xx family an AD SP 218x based evaluation board with PC monitor software plus Assembler Linker Simulator and PROM Splitter software The AD SP 21xx EZ KIT Lite is alow cost easy to use hardware platform on which you can quickly get started with your DSP soft ware design The EZ KIT Lite includes the following features 33MHz ADSP 2181 Full 16 bit Stereo Audio I O with AD 1847 SoundPort Codec RS 232 Interface to PC with M icrosoft Windows 3 1 Control Software EZ ICE Connector for Emulator Control DSP D emo Programs TheADSP 218x EZ ICE Emulator aids the hardware debugging of an AD SP 2186 system T he emulator consists of hardware host computer resident software and the target board connector T he AD SP 2186 integrates on chip emulation sup port with 14 pin ICE Port interface T his interface pro vides a simpler target board connection that requires fewer mechanical clearance considerations than other AD SP 2100 Family EZ ICE9 s T he ADSP 2186 device need not be re moved from the target system when using the EZ ICE nor an
24. High to DT Valid 15 ns tau TFS RF Sour Hold after SCLK High 0 ns tap TFS RF Soy Delay from SCLK High 15 ns tscpu DT Hold after SCLK High 0 ns TFS Alt to DT Enable 0 ns trov TFS Alt to DT Valid 14 ns tscpp SCLK High to DT Disable 15 ns RFS Multichannel Frame Delay Zero to DT Valid 15 ns CLKOUT SCLK DR TFSiN RFSiN He RFSout TFSout H gt DT TFSout ALTERNATE FRAME MODE RFSout MULTICHANNEL MODE FRAME DELAY 0 MFD 0 4 trov gt TFSin ALTERNATE FRAME MODE 4 trov gt RFSiN MULTICHANNEL MODE FRAME DELAY 0 MFD 0 Figure 19 Serial Ports 222 REV 0 ADSP 2186 Parameter Min Max Unit IDMA Address Latch Timing R equirenents Duration of Address Latch 3 10 ns tiasu IAD 15 0 Address Setup before Address L atch End 5 ns tian IAD 15 0 Address old after Address Latch End 2 ns tika Low before Start of Address L atch 3 0 ns tinis Start of Write or Read after Address L atch End 3 3 ns NOTES 1Start of Address Latch IS Low and IAL High Start of Write or Read IS Low and IWR Low or IRD Low 3End of Address Latch IS High or IAL Low tka IAL tiare gt IAD 15 0 IRD OR IWR Figure 20 IDMA Address Latch REV 0 23 ADSP 2186 TIMING PARAMETERS Parameter Min Max Unit IDMA Write Short Write Cycle Timing R e
25. IAD 15 0 Figure 22 IDMA Write Long Write Cycle REV 0 25 ADSP 2186 TIMING PARAMETERS Parameter Min Max Unit IDMA Read Long Read Cycle Timing R equirenents Low before Start of Read 0 ns Duration of Read 15 ns Switching Characteristics tur High after Start of Read 15 ns IAD 15 0 Data Setup before Low 0 5 10 ns IAD 15 0 Data H old after End of Read ns IAD 15 0 Data Disabled after End of Read 10 ns IAD 15 0 Previous Data Enabled after Start of Read 0 ns IAD 15 0 Previous Data Valid after Start of Read 15 ns IAD 15 0 Previous D ata H old after Start of Read DM PM 1 2tck 5 ns IAD 15 0 Previous D ata old after Start of Read PM 2 5 ns NOTES Start of Read IS Low and IRD Low End of Read IS High or IRD High 3DM read or first half of PM read 4Second half of PM read TACK tur is IRD X A IAD 15 0 tirov lt lt Figure 23 IDMA Read Long Read Cycle 26 REV 0 ADSP 2186 Parameter Min Max Unit IDMA Read Short Read Cycle Timing R equirenents tice TACK Low before Start of Read 0 ns Duration of Read 15 ns Switching Characteristics igh after Start of Read 15 ns MM IAD 15 0 Data H old after End of Read 0 ns IAD 15 0 Data Disabled after End of Read 10 ns tIRDE IAD
26. T AT register When RESET is released if there is no pending bus request and the chip is configured for booting the boot loading sequence is performed T he first instruction is fetched from on chip program memory location 0x0000 once boot loading completes MEMORY ARCHITECTURE The AD SP 2186 provides a variety of memory and peripheral interface options T he key functional groups are Program M emory D ata Memory Byte emory 1 0 Program Memory Full Memory Mode is a 24 bit wide space for storing both instruction opcodes and data The ADSP 2186 has 8K words of Program M emory RAM on chip and the capabil ity of accessing up to two 8K external memory overlay spaces using the external data bus Both an instruction opcode and a data value can be read from on chip program memory in a single cycle Data Memory Full Memory Mode is a 16 bit wide space used for the storage of data variables and for memory mapped control registers The AD SP 2186 has 8K words on Data Memory RAM on chip consisting of 8160 user accessible locations and 32 memory mapped registers Support also exists for up to two 8K external memory overlay spaces through the external data bus Byte Memory Full Memory Mode provides access to an 8 bit wide memory space through the Byte DM A BDM A port T he Byte M emory interface provides access to 4 M Bytes of memory by utilizing eight data lines as additional address lines T his gives the BDM A Port an effect
27. The AD SP 2186 can be clocked by either a crystal or a TTL compatible clock signal TheCLKIN input cannot be halted changed during operation or operated below the specified frequency during normal opera tion T he only exception is while the processor is in the power down state For additional information refer to Chapter 9 ADSP 2100 Family User s M anual for detailed information on this power down feature If an external clock is used it should be a L compatible signal running at half the instruction rate T he signal is con nected to the processor s CLK IN input When an external clock is used the XT AL input must be left unconnected The AD SP 2186 uses an input clock with a frequency equal to half the instruction rate a 16 67 M Hz input clock yields a 30 ns processor cycle which is equivalent to 33 M H z N ormally instructions are executed in a single processor cycle All device timing is relative to the internal instruction clock rate which is indicated by the CLK OUT signal when enabled Because the AD SP 2186 includes an on chip oscillator circuit an external crystal may be used T he crystal should be con nected across the CLKIN and XTAL pins with two capacitors connected as shown in Figure 3 Capacitor values are dependent on crystal type and should be specified by the crystal manufac turer A parallel resonant fundamental frequency microproces sor grade crystal should be used A clock output CLK OUT
28. abricated in high speed double metal low power CMOS process the AD SP 2186 operates with a 30 ns instruction cycle time Every instruction can execute in a single processor cycle The AD SP 2186 s flexible architecture and comprehensive instruction set allow the processor to perform multiple opera tions in parallel one processor cycle the AD SP 2186 can Generate the next program address Fetch the next instruction Perform one or two data moves Update one or two data address pointers Perform a computational operation T his takes place while the processor continues to Receive and transmit data through the two serial ports e Receive and or transmit data through the internal DM A port Receive and or transmit data through the byte DM A port Decrement timer Development System TheADSP 2100 F amily D evelopment Software a complete set of tools for software and hardware system development sup ports the AD SP 2186 T he System Builder provides a high level method for defining the architecture of systems under develop ment T he Assembler has an algebraic syntax that is easy to program and debug T he Linker combines object files into an executable file T he Simulator provides an interactive instruction level simulation with a reconfigurable user interface to display different portions of the hardware environment A PROM Splitter generates PROM programmer compatible files T he C Compiler based on the
29. and IRQLI pins are external level sensitive interrupts REV 0 T register is write only register used to force and clear interrupts On chip stacks preserve the processor status and are automati cally maintained during interrupt handling T he stacks are twelve levels deep to allow interrupt loop and subroutine nesting T hefollowing instructions allow global enable or disable servic ing of the interrupts including power down regardless of the state of IM ASK Disabling the interrupts does not affect serial port autobuffering or DM A ENA INTS DIS INTS W hen the processor is reset interrupt servicing is enabled LOW POWER OPERATION The AD SP 2186 has three low power modes that significantly reduce the power dissipation when the device operates under standby conditions T hese modes are Power Down idle Slow Idle TheCLKOUT pin may also be disabled to reduce external power dissipation Power D own The ADSP 2186 processor has a low power feature that lets the processor enter a very low power dormant state through hard ware or software control H ere is a brief list of power down features Refer to the AD SP 2100 Family U se s M anual System Interface chapter for detailed information about the power down feature Quick recovery from power down T he processor begins executing instructions in as few as 100 CLKIN cycles Support for an externally generated TTL or CM OS proces
30. as shown in TablelV Address Range Wait State Register 0x000 0x1F F 0x200 0x3F F IOWAIT 1 0x400 0x5F F IOWAIT 2 0x600 0x7F F IOWAIT 3 Composite Memory Select CMS T he ADSP 2186 has a programmable memory select signal that is useful for generating memory select signals for memories mapped to more than one space T he CMS signal is generated to have the same timing as each of the individual memory select signals PMS DMS BMS IOMS but can combine their functionality Each bit in the CMSSEL register when set causes the CMS signal to be asserted when the selected memory select is as serted F or example to use 32K word memory to act as both program and data memory set the PMS and DMS bits in the CM SSEL register and use the CMS pin to drive the chip select of the memory and use either DMS or PMS as the additional address bit The CMS pin functions as the other memory select signals with the same timing and bus request logic A 1 in the enable bit causes the assertion of the CMS signal at the same time as the selected memory select signal All enable bits except the BMS bit default to 1 at reset REV 0 ADSP 2186 Byte Memory T he byte memory space is a bidirectional 8 bit wide external memory space used to store programs and data Byte memory is accessed using the BD MA feature T he byte memory space consists of 256 pages each of which is 16K x 8 T he byte m
31. e a separate double buff ered transmit and receive section SPORT s can use an external serial clock or generate their own serial clock internally SPORT s have independent framing for the receive and trans mit sections Sections run in a frameless mode or with frame synchronization signals internally or externally generated Frame sync signals are active high or inverted with either of two pulse widths and timings SPORT s support serial data word lengths from 3 to 16 bits and provide optional A law and law companding according to CCITT recommendation G 711 SPORT receive and transmit sections can generate unique interrupts on completing a data word transfer SPORT 5 receive and transmit an entire circular buffer of data with only one overhead cycle per data word An interrupt is generated after a data buffer transfer SPORT 0 has a multichannel interface to selectively receive and transmit a 24 or 32 word time division multiplexed serial bitstream SPORT 1 can be configured to have two external interrupts IRQO and IRQ1 and the Flag and Flag Out signals T he internally generated serial clock may still be used in this configuration PIN DESCRIPTIONS The ADSP 2186 will be available in a 100 lead T package In order to maintain maximum functionality and reduce pack age size and pin count some serial port programmable flag interrupt and external bus pins have dual multiplexed function ality T he e
32. emory is satisfied Timing requirements apply to signals that are controlled by circuitry external to the processor such as the data input for a read operation T iming requirements guarantee that the proces sor operates correctly with other devices 14 MEMORY TIMING SPECIFICATIONS T hetable below shows common memory device specifications and the corresponding AD SP 2186 timing parameters for your convenience Memory ADSP 2186 Timing Device Timing Parameter Specification Parameter Definition Address Setup to tasw A0 A13 xMS Setup Write Start before WR Low Address Setup to taw A0 A13 xMS Setup Write End before WR D easserted Address Hold Time twra A0 A13 xMS Hold before WR Low Data Setup T ime tow Data Setup before WR High Data Hold Time Data H old after WR High OE to Data Valid RD Low to Data Valid Address Access ime taa A0 A13 xMS to Data Valid xMS PMS DMS BMS CMS IOMS FREQUENCY DEPENDENCY FOR TIMING SPECIFICATIONS is defined as 0 5 The ADSP 2186 uses an input clock with a frequency equal to half the instruction rate a 16 67 MHz input clock which is equivalent to 60 ns yields a 30 ns proces sor cycle equivalent to 33 MH values within the range of 0 5 tc period should be substituted for all relevant timing para meters to obtain the specification value Example 0 5 7 ns 20 5 30 ns 7 5 8ns REV 0 ADSP 2186
33. emory space on the AD SP 2186 supports read and write operations as well as four different data formats T he byte memory uses data bits 15 8 for data T he byte memory uses data bits 23 16 and address bits 13 0 to create a 22 bit address T his allows up to a 4 meg x 8 32 megabit ROM or RAM to be used without glue logic All byte memory accesses are timed by the BM WAIT register Byte Memory DMA BDMA Full Memory Mode T he Byte memory DMA controller allows loading and storing of program instructions and data using the byte memory space TheBDMA circuit is able to access the byte memory space while the processor is operating normally and steals only one DSP cycle per 8 16 or 24 bit word transferred The BDM A circuit supports four different data formats which are selected by the BT Y PE register field T he appropriate num ber of 8 bit accesses are done from the byte memory space to build the word size selected T able V shows the data formats supported by the BDMA circuit TableV Internal BTYPE Memory Space WordSize Alignment 00 Program M emory 24 Full Word 01 D ata M emory 16 Full Word 10 D ata M emory 8 MSBs 11 Data 8 LSBs Unused bits in the 8 bit data memory formats are filled with Os TheBIAD register field is used to specify the starting address for the on chip memory involved with the transfer T he 14 bit BEAD register specifies the starting address for the external byte memory space T
34. er power up sequence is complete Internal phase lock loop requires no more than 2000 cycles assuming stable not including crystal oscillator start up time CLKIN CLKOUT PF 2 0 tus 4 RESET PF2 IS MODE C PF1 IS MODE B PFO IS MODE A Figure 14 Clock Signals REV 0 17 ADSP 2186 TIMING PARAMETERS Parameter Min Max Unit Interrupts and Flag Timing R equirements lige IRQx or PFx Setup before CLK OUT Low 34 0 25 tc 15 ns tieu IRQx PFx Hold after CLKOUT Hight 34 0 25 tex ns Switching Characteristics trou Flag Output H old after CLKOUT Low 0 25 tc 7 ns trop Flag Output D elay from CLKOUT Low 0 5 5 ns NOTES f IRQx and FI inputs meet and tipy setup hold requirements they will be recognized during the current clock cycle otherwise the signals will be recognized on the following cycle Refer to Interrupt Controller Operation in the Program Control chapter of the ADSP 2100 F amily U ser s M anual for further information on interrupt servicing E dge sensitive interrupts require pulse widths greater than 10 ns level sensitive interrupts must be held low until serviced IROx IRQO IRQI IRQ2 IRQLO IRQLI IRQE PFx PFO PF1 PF2 PF5 PF6 PF7 5Flag outputs PF x FLO FL1 FL2 Flag out4 trop CLKOUT tron FLAG OUTPUTS a IRQx FI PFx
35. et System Interface Signals When the EZ ICE board is installed the performance on some system signals change D esign your system to be compat ible with the following system interface signal changes intro duced by the EZ ICE board EZ ICE emulation introduces an 8 ns propagation delay between your target circuitry and the D SP on the RESET signal EZ ICE emulation introduces an 8 ns propagation delay between your target circuitry and the D SP on the BR signal EZ ICE emulation ignores RESET and BR when single stepping EZ ICE emulation ignores RESET and BR when in E mu lator Space D SP halted EZ ICE emulation ignores the state of target BR in certain modes As a result the target system may take control of the D 5 5 external memory bus only if bus grant BG is asserted by the EZ ICE board s DSP REV 0 ADSP 2186 SPECIFICATIONS RECOMMENDED OPERATING CONDITIONS ADSP 2186 K Grade B Grade Parameter Min Max Min Max Unit Vpp 4 5 5 5 4 5 5 5 V Tame 0 70 40 85 C ELECTRICAL CHARACTERISTICS K B Grades Parameter Test Conditions Min Typ Max Unit Vin Hi Level Input Voltage 2 9 max 2 0 V Viu Hi Level CLKIN Voltage max 2 2 V Vu Lo L evel Input Voltage 9 Vpp 2 min 0 8 V Vou Hi Level Output Voltage gt Vpp 0 5 2 4 Vbp min 100 pA Vpp 0 3 V VoL Lo Level Output Voltage gt 9
36. fck MHz 67mW IDLE 50 45 40 POWER Pip mW 35 34mW IDLE 16 32mW IDLE 128 of 30 Pins x C Von xf 25 20 Address DMS 8 x10 pF 52 x33 3MHz 66 6 mW 28 A um 1 ae 3e ae Data Output WR 9 x 10 pF x5 V x16 67 MHz 37 5 mW VALID FOR ALL TEMPERATURE GRADES RD 1 x10 pF 52 x16 67MHz 4 2 mW 1POWER REFLECTS DEVICE OPERATING WITH NO OUTPUT LOADS CLKOUT 1 x10 pF 52 V x33 3MHz 8 3 mW IDLE REFERS ADSP 2186 STATE OF OPERATION DURING EXECUTION OF IDLE 116 6 mW INSTRUCTION DEASSERTED PINS ARE DRIVEN TO EITHER Vpp OR GND POWER DISSIPATION AT 5 0V AND T4 25 C EXCEPT WHERE SPECIFIED n 41 MEASUREMENT TAKEN WITH ALL INSTRUCTIONS EXECUTING FROM INTERNAL T otal power dissipation for this example is PINT 116 6 mW MEMORY 50 OF THE INSTRUCTIONS ARE MULTIFUNCTION TYPES 1 4 5 12 13 14 30 ARE TYPE 2 AND TYPE 6 AND 20 ARE IDLE INSTRUCTIONS 5SPECIFICATIONS AT 40MHz ARE PRELIMINARY AT THIS PRINTING Figure 8 Power vs Frequency REV 0 15 ADSP 2186 CAPACITIVE LOADING Figures 9 and 10 show the capacitive loading characteristics of the AD SP 2186 RISE TIME 0 4V 2 4V ns 0 50 100 150 200 250 300 pF Figure 9 Typical Output Rise Time vs Load Capacitance at Maximum Ambient Operating Temperature
37. h 0 5 tc 5 w ns CLKOUT HightoRDLow _ 0 25 5 0 25 7 ns tasr A0 A13 xMS Setup before RD Low 0 25 tcx 6 ns troa A0 A13 xMS H old after RD D easserted 0 25 3 ns tRwR RD High to RD or WR Low 0 5 tcx 5 ns w wait states x tex xMS PMS DMS CMS IOMS BMS CLKOUT A0 A13 Figure 17 Memory Read 20 REV 0 ADSP 2186 Parameter Min Max Unit Memory Write Switching Characteristics tow D ata Setup before WR High 0 5 tck 7 Ww ns Data H old after WR H igh 0 25 tek 2 ns twp WR Pulse Width 0 5 5 ns twoe WR Low to Data Enabled 0 ns tasw A0 A13 xMS Setup before WR Low 0 25 tck 6 ns tppn Data Disable before WR RD Low 0 25 7 ns CLKOUT High to WR Low 0 25 tck 5 0 25 7 ns taw A0 A13 xMS Setup before WR D easserted 0 75 tc 9 w ns twra A0 A13 xMS Hold after WR D easserted 0 25 tek 3 ns twwe WR High to RD or WR Low 0 5 tc 5 ns w wait states x tc xMS PMS DMS CMS IOMS BMS REV 0 twoe Figure 18 Memory Write 21 ADSP 2186 TIMING PARAMETERS Parameter Min Max Unit Serial Ports Timing R equirements SCLK Period 50 ns tscs DR TFS RFS Setup before SCLK Low 4 ns DR TFS RFS Hold after SCLK Low 7 ns tscp SCLK y Width 20 ns Switching Characteristics tcc CLKOUT High to SCLKous 0 25 0 25 tex 10 ns SCLK High to DT Enable 0 ns tscpv SCLK
38. he 8 bit BM PAGE register specifies the starting page for the external byte memory space The BDIR register field selects the direction of the transfer Finally the 14 bit BVCOUNT register specifies the number of DSP words to transfer and initiates the M circuit transfers A accesses can cross page boundaries during sequential addressing A BDM A interrupt is generated on the completion of the number of transfers specified by the BWCOUNT register TheBWCOUNT register is updated after each transfer so it can be used to check the status of the transfers When it reaches zero the transfers have finished and a BDMA interrupt is gener ated The BM PAGE and BEAD registers must not be accessed by the DSP during BDM A operations T he source or destination of a BDMA transfer will always be on chip program or data memory regardless of the values of M ode B PM OVLAY or DM OVLAY REV 0 When the BWCOUNT register is written with a nonzero value the BDM A circuit starts executing byte memory accesses with wait states set by BM WAIT T hese accesses continue until the count reaches zero When enough accesses have occurred to create a destination word it is transferred to or from on chip memory T he transfer takes one DSP cycle DSP accesses to external memory have priority over byte memory accesses TheBDMA Context Reset bit BCR controls whether the processor is held off while the BD MA accesses are occurring Setting
39. her reducing power consumption T he reduced clock frequency a program mable fraction of the normal clock rate is specified by a select able divisor given in the IDLE instruction T he format of the instruction is IDLE n where n 16 32 64 or 128 T his instruction keeps the proces sor fully functional but operating at the slower clock rate While itis in this state the processor s other internal clock signals such as SCLK CLKOUT and timer clock are reduced by the same ratio T he default form of the instruction when no clock divisor is given is the standard IDLE instruction When the IDLE n instruction is used it effectively slows down the processor s internal clock and thus its response time to in coming interrupts T he one cycle response time of the standard idle state is increased by n the clock divisor When an enabled interrupt is received the AD SP 2186 will remain in the idle state for up to a maximum of n processor cycles n 16 32 64 or 128 before resuming normal operation When theIDLE n instruction is used in systems that have an externally generated serial clock SCLK the serial clock rate may be faster than the processor s reduced internal clock rate U nder these conditions interrupts must not be generated at a faster rate than can be serviced due to the additional time the processor takes to come out of the idle state a maximum of n processor cycles SYSTEM INTERFACE Figure 2 shows ty
40. ive 22 bit address range On power up the D SP can automatically load bootstrap code from byte memory Space Full Memory Mode allows access to 2048 loca tions of 16 bit wide data It is intended to be used to communi cate with parallel peripheral devices such as data converters and external registers or latches Program Memory The ADSP 2186 contains an 8K x 24 on chip program RAM T he on chip program memory is designed to allow up to two accesses each cycle so that all operations can complete in a single cycle In addition the AD SP 2186 allows the use of 8K external memory overlays T he program memory space organization is controlled by the M ode B pin and the PM OVLAY register N ormally the AD SP 2186 is configured with M ode 0 and program memory organized as shown in F igure 4 PROGRAM MEMORY ADDRESS Ox3FFF EXTERNAL 8K PMOVLAY 1 or 2 MODE B 0 0x2000 Ox1 FFF 8K INTERNAL 0x0000 Figure 4 Program Memory Mode 0 ADSP 2186 T here 8K words of memory accessible internally when the PM OVLAY register is set to 0 When PM OVLAY is set to some thing other than 0 external accesses occur at addresses 0x2000 through Ox3FFF T he external address is generated as shown in T able ll Tablell PMOVLAY Memory A13 A12 0 0 Internal Not Applicable Not Applicable 1 External 13 LSBs of Address Overlay 1 0 Between 0x2000 and Ox3FFF 2 External 13 1 585 of Address Overlay
41. lgorithms that use biased rounding for example the GSM speech compression routines U nbiased rounding is preferred for most algorithms Note BIASRND bit is Bit 12 of the SPORT 0 Autobuffer Con trol register Instruction Set Description TheADSP 2186 assembly language instruction set has an alge braic syntax that was designed for ease of coding and readabil ity T he assembly language which takes full advantage of the processor s unique architecture offers the following benefits The algebraic syntax eliminates the need to remember cryptic assembler mnemonics F or example a typical arithmetic add instruction such as AR AYO resembles a simple equation Every instruction assembles into a single 24 bit word that can execute in a single instruction cycle syntax is a superset AD SP 2100 F amily assembly lan guage and is completely source and object code compatible with other family members Programs may need to be relo cated to utilize on chip memory and conform to the AD SP 2186 s interrupt vector and reset vector map REV 0 e Sixteen condition codes are available conditional jump call return or arithmetic instructions the condition can be checked and the operation executed in the same instruction cycle M ultifunction instructions allow parallel execution of an arithmetic instruction with up to two fetches or one write to processor memory space during a single instruction cycle 1
42. n the destination type specifies whether itis a DM or PM access T he falling edge of the address latch signal latches this value into the IDM AA register Once the address is stored data can then either be read from or written to the AD SP 2186 s on chip memory Asserting the select line IS and the appropriate read or write line IRD and IWR respectively signals the AD SP 2186 that a particular transaction is required In either case there is a one processor cycle delay for synchronization T he memory access consumes one additional processor cycle Once an access has occurred the latched address is automati cally incremented and another access can occur T hrough the IDM AA register the D SP can also specify the starting address and data format for DM A operation ADSP 2186 Bootstrap Loading Booting T he ADSP 2186 has two mechanisms to allow automatic load ing of the internal program memory after reset The method for booting is controlled by the M ode A and C configuration bits as shown in T able VI T hese four states can be compressed into two state bits by allowing IDM A boot with M ode C 1 H owever three bits are used to ensure future compatibility with parts containing internal program memory ROM BDMA Booting When the M ODE pins specify BDMA booting the ADSP 2186 initiates a BDM A boot sequence when RESET is released Table VI Boot Summary T able MODE C MODE B MODE A Booting Method 0 0
43. ncounters an instruction that requires an external memory access If the AD SP 2186 is performing an external memory access when the external device asserts the BR signal then it will not three state the memory interfaces or assert the BG signal until the processor cycle after the access completes T he instruction does not need to be completed when the bus is granted If a single instruction requires two external memory accesses the bus will be granted between the two accesses When the BR signal is released the processor releases the BG signal reenables the output drivers and continues program execution from the point where it stopped T he bus request feature operates at all times including when the processor is booting and when RESET is active The BGH pin is asserted when the AD SP 2186 is ready to execute an instruction but is stopped because the external bus is already granted to another device T he other device can release the bus by deasserting bus request Once the bus is released the AD SP 2186 deasserts BG and BGH and executes the external memory access Flagl O Pins The AD SP 2186 has eight general purpose programmable input output flag pins T hey are controlled by two memory mapped registers T he PFT Y PE register determines the direction 1 output and 0 input The PFDATA register is used to read and write the values on the pins D ata being read from a pin REV 0 ADSP 2186 configured as an input is
44. nput C hecked only During RESET PFO I O Programmable I O Pin During N ormal O peration CLKIN XTAL 2 Clock or Quartz Crystal Input CLKOUT 1 Processor Clock Output SPORTO 5 1 0 Serial Port I O Pins SPORT 1 5 1 0 Serial Port I O Pins IRQI 0 Edge or evel Sensitive nterrupts FI FO Flag In Flag Out PWD 1 Power D own Control Input PWDACK 1 Power D own Control Output FLO FL1 FL2 3 Output F lags VppandGND 16 Power and Ground EZ Port 9 1 0 For Emulation Use NOTES Interrupt F lag pins retain both functions concurrently If IM ASK is set to enable the corresponding interrupts the D SP will vector to the appropriate interrupt vector address when the pin is asserted either by external devices or set as a programmable flag 2SPORT configuration determined by the D SP System Control Register Soft ware configurable Memory Interface Pins The AD SP 2186 processor can be used in one of two modes Full M emory M ode which allows BDM A operation with full external overlay memory I O capability or H ost M ode which allows IDM A operation with limited external addressing capabilities T he operating mode is determined by the state of the M ode C pin during RESET and cannot be changed while the processor is running Full Memory Mode Pins Mode C 0 of Input Pin Name Pins Output Function A13 0 14 Address utput Pins for Pro gram D ata Byte and 1 0 Spaces D23 0
45. pical basic system configurations with the AD SP 2186 two serial devices a byte wide EPROM and optional external program and data overlay memories mode selectable Programmable wait state generation allows the processor to connect easily to slow peripheral devices T he AD SP 2186 also provides four external interrupts and two serial ports or six external interrupts and one serial port H ost M emory M ode allows access to the full external data bus but limits addressing to a single address bit A0 Additional system peripherals can be added in this mode through the use of external hardware to generate and latch address signals 1 2x CLOCK OR CRYSTAL SERIAL DEVICE 1 2x CLOCK OR CRYSTAL SERIAL DEVICE SYSTEM INTERFACE OR HCONTROLLER __ RFS1 oR RaO SERIAL ___ DEVICE 4 TESTOR IRQI SERIAL gt RFS1 DEVICE gt TFS1 OR ina br or Fo 5 FULL MEMORY MODE ADSP 2186 CLKIN XTAL Ai3 0 ADDR13 0 D3316 0 21 FLO 2 PF3 IRQ2 PF7 IRQLO PF5 DATA SPORT ADDR SCLK1 DATA DT1 OR FO SPORTO SCLKO RFSO TFSO DTO SPORT1 SCLK1 IACK D3 14015 0 Figure 2 Basic System Configuration BYTE MEMORY SPACE PERIPHERALS CS 2048 LOCATIONS OVERLAY MEMORY TWO 8K PM SEGMENTS TWO 8K DM SEGMENTS REV 0 ADSP 2186 Clock Signals
46. quirements tw IACK L ow before Start of Write 0 ns Duration of Write 2 15 ns tips IAD 15 0 D ata Setup before End of Write 3 4 5 ns IAD 15 0 D ata Hold after End of Write 34 2 ns Switching Characteristics kuw Start of Write to IACK H igh 15 ns NOTES Start of Write IS Low and IWR Low End of Write IS High or IWR High 31f Write Pulse ends before IACK Low use specifications tipsu If Write Pulse ends after IACK ow use specifications tkw Ke gt a gt tiknw D IAD 15 0 Figure 21 IDMA Write Short Write Cycle 24 REV ADSP 2186 Parameter Min Max Unit IDMA Write Long Write Cycle Timing R equirenents kw IACK Low before Start of W rite 0 ns tiksu IAD 15 0 Data Setup before Low 0 5 tck 10 ns tiku IAD 15 0 Data H old after Low 3 4 2 ns Switching Characteristics tikLw Start of Write to Low 1 5 tex ns kuw Start of Write to IACK High 15 ns NOTES IStart of Write IS Low and IWR Low 212 Write Pulse ends before IACK ow use specifications tipsu 31f Write Pulse ends after IACK ow use specifications T his is the earliest time for IACK Low from Start of Write For IDM A Write cycle relationships please refer to the ADSP 2100 Family User s M anual tkw gt 4 likuw a cw mn AXXA
47. serted pins are driven to either V pp or GND 10 measurement taken with all instructions executing from internal memory 50 of the instructions are multifunction types 1 4 5 12 13 14 30 are type 2 and type 6 and 20 are idle instructions 0V and For typical figures for supply currents refer to Power Dissipation section 12 Applies to package type P Output pin capacitance is the capacitive load for any three stated output Specifications subject to change without notice REV 0 13 ADSP 2186 ABSOLUTE MAXIMUM RATINGS Supply 0 3 V to 7 V Input Voltage 0 3 V to Vpp 0 3 V Output Voltage Swing 0 3 V to Vpp 0 3 V Operating T emperature Range Ambient 40 C to 85 C Storage T emperatureRange 65 C to 150 C Lead Temperature 5 sec TQFP 280 C Stresses above those listed under Absolute M aximum Ratings may cause perma nent damage to the device T hese are stress ratings only functional operation of the device these or any other conditions above those indicated in the operational sections of this specification is not implied Exposure to absolute maximum rating conditions for extended periods may affect device reliability ESD SENSITIVITY The ADSP 2186 is an ESD electrostatic discharge sensitive device Electrostatic charges readily accumulate on
48. signal is generated by the proces sor at the processor s cycle rate T his can be enabled and disabled by the CLKODIS bit in the SPORT 0 Autobuffer Control Register CLKIN XTAL CLKOUT DSP Figure 3 External Crystal Connections Reset T he RESET signal initiates a master reset of the AD SP 2186 T he RESET signal must be asserted during the power up sequence to assure proper initialization RESET during initial power up must be held long enough to allow the internal clock to stabilize If RESET is activated any time after power up the clock continues to run and does not require stabilization time T he power up sequence is defined as the total time required for the crystal oscillator circuit to stabilize after a valid Vpp is applied to the processor and for the internal phase locked loop PLL to lock onto the specific crystal frequency A minimum of 2000 CLKIN cycles ensures that the PLL has locked but does not include the crystal oscillator start up time D uring this power up sequence the RESET signal should be held low On any subsequent resets the RESET signal must meet the mini mum pulse width specification The RESET input contains some hysteresis however if you use an RC circuit to generate your RESET signal the use of an external Schmidt trigger is recommended REV 0 T he master reset sets all internal stack pointers to the empty stack condition masks all interrupts and clears the M S
49. specifications for the AD SP 2186 5 V processor T his data sheet also contains preliminary x grade specifications for the new AD SP 2186 40 M HZ processor GENERAL DESCRIPTION The ADSP 2186 is a single chip microcomputer optimized for digital signal processing DSP and other high speed numeric processing applications T he ADSP 2186 combines the AD SP 2100 family base archi tecture three computational units data address generators and a program sequencer with two serial ports a 16 bit internal DMA port a byte DM A port a programmable timer Flag 1 0 extensive interrupt capabilities and on chip program and data memory The ADSP 2186 integrates 40K bytes of on chip memory con figured as 8K words 24 bit of program RAM and 8K words 16 bit of data Power down circuitry is also provided to meet the low power needs of battery operated portable equip ment AD SP 2186 is available in 100 pin T QFP package In addition the AD SP 2186 supports new instructions which include bit manipulations bit set bit clear bit toggle bit test new ALU constants new multiplication instruction x squared One Technology Way P O Box 9106 Norwood MA 02062 9106 U S A Tel 617 329 4700 World Wide Web Site http www analog com Fax 617 326 8703 Analog Devices Inc 1997 ADSP 2186 biased rounding result free ALU operations 1 0 memory trans fers and global interrupt masking for increased flexibility F
50. stem to be compatible with the EZ I C E emulator it must comply with the memory interface guidelines listed below PM DM BM IOM amp CM Design your Program M emory PM Data M emory DM Byte M emory BM I O M emory IOM and Composite M emory CM external interfaces to comply with worst case device tim ing requirements and switching characteristics as specified in this D SP s data sheet T he performance of the EZ IC E may approach published worst case specification for some memory access timing requirements and switching characteristics N ote If your target does not meet the worst case chip specifica tion for memory access parameters you may not be able to emulate your circuitry at the desired CLKIN frequency D epend ing on the severity of the specification violation you may have 12 trouble manufacturing your system as D SP components statisti cally vary in switching characteristic and timing requirements within published limits Restriction All memory strobe signals on the AD SP 2186 RD WR PMS DMS BMS CMS and IOMS used in your target system must have 10 kQ pull up resistors connected when the EZ ICE is being used T he pull up resistors are necessary because there are no internal pull ups to guarantee their state during prolonged three state conditions resulting from typical EZ ICE debugging sessions T hese resistors may be removed at your option when the EZ ICE is not being used Targ
51. the interval from when reference signal reaches a high or low voltage level to when the output has reached a specified high or low trip point as shown the Output Enable D isable diagram If multiple pins such as the data bus are enabled the measurement value is that of the first pin to start driving REFERENCE SIGNAL MEASURED VoH MEASURED Vou MEASURED MEASURED 0 50 20 OUTPUT Voi MEASURED 0 5V VoL VoL t MEASURED DEGAY MEASURED OUTPUT STARTS OUTPUT STOPS DRIVING DRIVING HIGH IMPEDANCE STATE TEST CONDITIONS CAUSE THIS VOLTAGE LEVEL TO BE APPROXIMATELY 1 5V Figure 12 Output Enable Disable lot TO OUTPUT 1 5V PIN 50pF L Figure 13 Equivalent Device Loading for Measure ments Including All Fixtures REV 0 ADSP 2186 TIMING PARAMETERS Parameter Min Max Unit Clock Signals and Reset Timing R equirenents tci CLKIN Period 60 50 150 ns CLKIN Width Low 20 ns CLKIN Width High 20 ns Switching Characteristics CLKOUT Width Low 0 5 tc 7 ns CLKOUT Width High 0 5 tc 7 ns CLKIN High to CLKOUT High 0 20 ns Control Signals Timing R equirements tasp RESET Width Low 5 tex ns tus M ode Setup Before RESET High 2 ns Setup After RESET High 5 ns NOTES Parameters displayed inside brackets represent preliminary 40 Hz specifications Applies aft
52. the table below Pin names in bold text replace the plain text named functions when 1 sign separates two functions when either function can be active for either major 1 0 mode Signals enclosed in brackets are state bits latched from the value of the pin at the deassertion of RESET TQFP Pin Configurations Number Name Number Name Number Name Number Name 1 A4 IAD3 26 IRQE PF4 51 EBR 76 D16 2 A5 IADA 27 IRQLO PF5 52 BR 77 D17 3 GND 28 GND 53 EBG 78 D18 4 A6 IAD5 29 IRQLI PF6 54 BG 79 D 19 5 A7 IADG 30 IRQ2 PF7 55 D 0 IAD 13 80 GND 6 A8 IAD7 3l 56 D1 IAD14 81 D20 7 A9 IAD8 32 TFSO 57 D 2 IAD 15 82 D21 8 A10 IAD9 33 RFSO 58 D3 IACK 83 D22 9 A11 IAD 10 34 DRO 59 VDD 84 D23 10 12 11 35 SCLKO 60 GND 85 FL2 11 A13 IAD 12 36 VDD 61 D 415 86 FL1 12 GND 37 DT1 62 D5 IAL 87 FLO 13 CLKIN 38 TFS1 63 D6 IRD 88 PF3 14 XTAL 39 RFS1 64 D7 IWR 89 2 C 15 VDD 40 DR1 65 D8 90 VDD 16 CLKOUT 41 GND 66 GND 91 PWD 17 GND 42 SCLK1 67 VDD 92 GND 18 VDD 43 ERESET 68 D9 93 PF1 M ode B 19 WR 44 RESET 69 D 10 94 PFO ode A 20 RD 45 EMS 70 D11 95 BGH 21 BMS 46 EE 71 GND 96 PWDACK 22 DMS 47 ECLK 72 D12 97 0 23 5 48 ELOUT 73 D13 98 A1 IADO 24 IOMS 49 ELIN 74 D14 99 A2 IAD1 25 CMS 50 EINT 75 D15 100 A3 IAD2 REV 0 29 ADSP 2186 ORDERING GUIDE
53. uding multiword and block floating point representations T he internal result bus connects the computational units so the output of any unit may be the input of any unit on the next cycle A powerful program sequencer and two dedicated data address generators ensure efficient delivery of operands to these compu tational units The sequencer supports conditional jumps sub routine calls and returns in a single cycle With internal loop counters and loop stacks the AD SP 2186 executes looped code with zero overhead no explicit jump instructions are required to maintain loops T wo data address generators DAGs provide addresses for simultaneous dual operand fetches from data memory and pro gram memory Each DAG maintains and updates four address pointers Whenever the pointer is used to access data indirect addressing it is post modified by the value of one of four pos sible modify registers A length value may be associated with each pointer to implement automatic modulo addressing for circular buffers Efficient data transfer is achieved with the use of five internal buses Program emory Address A Bus e Program emory Data PM D Bus Data M emory Address DM A Bus Data M emory Data DM D Bus Result R Bus T hetwo address buses PM A and DM A share a single external address bus allowing memory to be expanded off chip and the two data buses PM D and DM D share a single external data bus B
54. urable and seven internal interrupts generated by the timer the serial ports SPORT s the Byte DMA port REV 0 and the power down circuitry T here is also a master RESET signal T hetwo serial ports provide a complete synchronous serial interface with optional companding in hardware and a wide variety of framed or frameless data transmit and receive modes of operation Each port can generate an internal programmable serial clock or accept an external serial clock T heADSP 2186 provides up to 13 general purpose flag pins T he data input and output pins on SPORT 1 can be alternatively configured as an input flag and an output flag In addition eight flags are programmable as inputs or outputs and three flags are always outputs A programmable interval timer generates periodic interrupts A 16 bit count register T COUNT decrements every n processor cycle where n is a scaling value stored in an 8 bit register TSCALE When the value of the count register reaches zero an interrupt is generated and the count register is reloaded from a 16 bit period register T PERIOD Serial Ports The ADSP 2186 incorporates two complete synchronous serial ports SPORT 0 and SPORT 1 for serial communications and multiprocessor communication Here is a brief list of the capabilities of the ADSP 2186 SPORT 5 For additional information on Serial Ports refer to theADSP 2100 F amily U ser s M anual e SPORTS bidirectional and hav
55. xternal bus pins are configured during RESET only while serial port pins are software configurable during program execution Flag and interrupt functionality is retained 232 ADSP 2186 concurrently on multiplexed pins cases where pin func tionality is reconfigurable the default state is shown in plain text alternate functionality is shown in italics Common Mode Pins Input Pin of Out Name s Pins put Function RESET 1 Processor Reset Input BR 1 Bus Request Input BG 1 Bus Grant Output BGH 1 0 Bus Grant H ung Output DMS 1 D ata M emory Select Output PMS 1 Program Select Output TOMS 1 0 M emory Select Output BMS 1 Byte Select Output CMS 1 0 Combined Select Output RD 1 Read Enable Output WR 1 Memory Write Enable Output IRQ2 1 Edge Level Sensitive Interrupt Request PF7 I O Programmable I O Pin IRQLO0 1 Level Sensitive Interrupt Requests PF5 I O Programmable 1 0 Pin IRQL1 1 evel Sensitive Interrupt Requests PF6 I O Programmable 1 0 Pin IRQE 1 Edge Sensitive Interrupt Requests PF4 I O Programmable 1 0 Pin PF3 1 I O Programmablel O Pin M ode C 1 M ode Select Input C hecked only During RESET PF2 I O Programmable I O Pin During N ormal O peration M ode B 1 M ode Select Input C hecked only During RESET PF1 1 0 Programmable I O Pin During N ormal O peration M ode A 1 M ode Select I
56. y adapters needed D ue to the small footprint of the SoundPort and EZ ICE are registered trademarks of Analog Devices Inc EZ ICE connector emulation can be supported in final board designs T he EZ ICE performs a full range of functions including e n target operation Up to 20 breakpoints Single step or full speed operation Registers and memory values can be examined and altered PC upload and download functions e nstruction level emulation of program booting and execution Complete assembly and disassembly of instructions C source level debugging See Designing An EZ ICE C ompatible T arget System in the ADSP 2100 Family EZ T ools M anual AD SP 2181 sections as well as the T arget Board Connector for EZ ICE Probe sec tion of this data sheet for the exact specifications of the EZ I CE target board connector Additional Information T his data sheet provides a general overview of ADSP 2186 functionality F or additional information on the architecture and instruction set of the processor refer to theADSP 2100 Family User s M anual For more information about the development tools refer to the ADSP 2100 Family D evelopment T ools D ata Sheet ARCHITECTURE OVERVIEW TheADSP 2186 instruction set provides flexible data moves and multifunction one or two data moves with a computation instructions E very instruction can be executed in a single pro cessor cycle T he AD SP 2186 assembly language
57. yte memory space and 1 0 memory space also share the external buses Program memory can store both instructions and data permit ting the AD SP 2186 to fetch two operands in a single cycle one from program memory and one from data memory T he AD SP 2186 can fetch an operand from program memory and the next instruction in the same cycle When configured in host mode the AD SP 2186 has a 16 bit Internal DMA port IDM A port for connection to external systems port is made up of 16 data address pins and five control pins The DMA port provides transparent direct access to the DSPs on chip program and data An interface to low cost byte wide memory is provided by the Byte DMA port BDM port The BDMA port is bidirectional and can directly address up to four megabytes of external RAM or ROM for off chip storage of program overlays or data tables T he byte memory 1 0 memory space interface supports slow memories 1 0 memory mapped peripherals with programmable wait state generation External devices can gain control of external buses with bus request grant signals BR BGH and BG One execution mode Go M ode allows the AD SP 2186 to continue running from on chip memory N ormal execution mode requires the processor to halt while buses are granted The AD SP 2186 can respond to eleven interrupts T here are up to six external interrupts one edge sensitive two level sensitive and three config

Download Pdf Manuals

image

Related Search

Related Contents

Manual de Instruções      H850 HUG French, German, Dutch and Italian  TALIA GREEN SYSTEM  CyPro User Manual - Faculty of Mechanical Engineering  MP TR_Instruction Manual_V3_030315.indd  400-147-025-A - Product Catalogue - Europe  NA AA-1005804-1.indd  Samsung DB-Z48 User Manual  

Copyright © All rights reserved.
Failed to retrieve file