Home
ADSP-2186M DSP Microcomputer
Contents
1. Target Board Connector for EZ ICE Probe 17 Table VI Data Formats Target Memory Interface 17 PM DM BM IOM AND CM 17 Target System Interface Signals 17 9 REV 0 ADSP 2186M GENERAL DESCRIPTION The ADSP 2186M is a single chip microcomputer optimized for digital signal processing DSP and other high speed numeric processing applications The ADSP 2186M combines the ADSP 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 DMA port a programmable timer Flag I O exten sive interrupt capabilities and on chip program and data memory The ADSP 2186M integrates 40K bytes of on chip memory configured as 8K words 24 bit of program RAM and 8K words 16 bit of data RAM Power down circuitry is also pro vided to meet the low power needs of battery operated portable equipment The ADSP 2186M is available in a 100 lead LQFP package and 144 Ball Mini BGA In addition the ADSP 2186M supports new instructions which include bit manipulations bit set bit clear bit toggle bit test new ALU constants new multiplication instruction x squared biased rounding result free ALU operations I O memory trans fers and global interrupt masking for increased flexibility Fabricated in a high spee
2. Interrupt routines can either be nested with higher priority inter rupts taking precedence or processed sequentially Interrupts can be masked or unmasked with the IMASK register Individual interrupt requests are logically ANDed with the bits in IMASK the highest priority unmasked interrupt is then selected The power down interrupt is nonmaskable The ADSP 2186M masks all interrupts for one instruction cycle following the execution of an instruction that modifies the IMASK register This does not affect serial port autobuffering or DMA transfers The interrupt control register ICNTL controls interrupt nest ing and defines the IRQO IRQ and IRQ2 external interrupts to be either edge or level sensitive The IRQE pin is an exter nal edge sensitive interrupt and can be forced and cleared The IROLO and IRQL I pins are external level sensitive interrupts The IFC register is a write only register used to force and clear interrupts On chip stacks preserve the processor status and are automatically maintained during interrupt handling The stacks are twelve levels deep to allow interrupt loop and subroutine nesting The following instructions allow global enable or disable servicing of the interrupts including power down regardless REV 0 of the state of IMASK Disabling the interrupts does not affect serial port autobuffering or DMA ENA INTS DIS INTS When the processor is reset interrupt servi
3. 11 ADSP 2186M Active Configuration Active Configuration involves the use of a three statable external driver connected to the Mode C pin A driver s output enable should be connected to the DSP s RESET signal such that it only drives the PF2 pin when RESET is active low When RESET is deasserted the driver should three state thus allow ing full use of the PF2 pin as either an input or output To minimize power consumption during power down configure the programmable flag as an output when connected to a three stated buffer This ensures that the pin will be held at a constant level and will not oscillate should the three state driver s level hover around the logic switching point IACK Configuration Mode D 0 and in host mode JACK is an active driven signal and cannot be wire OR d Mode D 1 and in host mode IACK is an open drain and requires an external pull down but multiple IACK pins can be wire OR d together PM MODE B 0 ALWAYS ACCESSIBLE AT ADDRESS 0x0000 0x1FFF 0x2000 Ox3FFF PMOVLAY 0 RESERVED 0x2000 Ox3FFF ACCESSIBLE WHEN PMOVLAY 1 0x2000 Ox3FFF ACCESSIBLE WHEN EXTERNAE PMOVLAY 2 MEMORY PROGRAM MEMORY MODE B 0 ADDRESS Ox3FFF 8K EXTERNAL PMOVLAY 1 2 0x2000 OxiFFF 8K INTERNAL 0x0000 MEMORY ARCHITECTURE The ADSP 2186M provides a variety of memory and peripheral interface options The key f
4. ADSP 2186M Serial Ports Parameter Min Max Unit Serial Ports Timing Requirements tsck SCLK Period 26 6 ns tscs DR TFS RFS Setup before SCLK Low 4 ns tscH DR TFS RFS Hold after SCLK Low 7 ns tscp SCLKIN Width 12 ns Switching Characteristics tcc CLKOUT High to SCLKOUT 0 25tck 0 25tck 6 ns tscDE SCLK High to DT Enable 0 ns tscpv SCLK High to DT Valid 12 ns try TFS RFSoyr Hold after SCLK High 0 ns trp TFS RFSoyr Delay from SCLK High 12 ns tscpH DT Hold after SCLK High 0 ns tTDE TFS Alt to DT Enable 0 ns trpv TFS Alt to DT Valid 12 ns tscpp SCLK High to DT Disable 12 ns trpv RFS Multichannel Frame Delay Zero to DT Valid 12 ns CLKOUT SCLK DR TFSiN RFSin RFSout TFSout DT TFSout ALTERNATE FRAME MODE RFSour MULTICHANNEL MODE FRAME DELAY 0 MFD 0 TFSiN ALTERNATE FRAME MODE RFSin MULTICHANNEL MODE FRAME DELAY 0 MFD 0 He tscpv gt tscpE troe trov gt gt troe lt lt troy gt ONE j C trov gt Figure 26 Serial Ports 28 REV 0 ADSP 2186M Parameter Min Max Unit IDMA Address Latch Timing Requirements trap Duration of Address Latch 2 10 ns trasu IAD 15 0 Address Setup before Address Latch End 5 ns UAH IAD15 0 Address Hold after Address Latch End 3 ns tra IACK Low before Start of Address Latch 0 ns TIALS Start of Write or Read after Address Latch End 3 ns
5. Figure 23 Bus Request Bus Grant U 2 I REV 0 25 ADSP 2186M Parameter Min Max Unit Memory Read Timing Requirements _ trpp RD Low to Data Valid O 5tck 5 w ns taa A0 A13 xMS to Data Valid 0 75tck 6 w ns trpH Data Hold from RD High 0 ns Switching Characteristics tgp RD Pulsewidth 0 5tcx 3 w ns tcrp CLKOUT High to RD Low 0 25tck 2 0 25tck 4 ns TASR A0 A13 xMS Setup before RD Low 0 25tcK 3 ns TRDA A0 A13 xMS Hold after RD Deasserted 0 25ter 3 ns tRWR RD High to RD or WR Low 0 5tck 3 ns NOTES w wait states X tek xMS PMS DMS CMS IOMS BMS CLKOUT lt D0 D23 Figure 24 Memory Read 26 REV 0 ADSP 2186M Parameter Min Max Unit Memory Write Switching Characteristics tow Data Setup before WR High 0 5ty 4 W ns tpH Data Hold after WR High 0 25ty 1 ns twp WR Pulsewidth 0 5tg 73 w ns twpE WR Low to Data Enabled 0 ns tasw A0 A13 xMS Setup before WR Low 0 25t 3 ns tppR Data Disable before WR or RD Low 0 25t 3 ns tcwR CLKOUT High to WR Low ___ 0 25t 2 0 25 ty 4 ns taw A0 A13 xMS Setup before WR Deasserted 0 75ty 5 w ns twra A0 A13 xMS Hold after WR Deasserted 0 25t 1 ns twwR WR High to RD or WR Low 0 51 3 ns NOTES w wait states X tck xMS PMS DMS CMS IOMS BMS CLKOUT A OSN en SD D0 D23 Figure 25 Memory Write REV 0 c7
6. 7 Output Drive Currents SAM oko neh tly tet ANa o a Terminating Unused Pins 8 Capacitive Loading Pin Terminations 8 TEST CONDITIONS Oi a VIA GE PEU o P PY ee Interrupts i du xp EAR Rt Er CER RR 9 Output Disable Time LOW POWER OPERATION 9 Output Enable AMO cai os deere Soh ets k aa yt e ass Powe DOW nr a um aca a hice AE ME ONE 9 Clock Signals and Reset Idle 9 Interrupts and Flags Slow idle UU o Bus Request Bus Grant SYSTEM INTERFACE 10 Memory Read as oa ana today cadit disp ay Clock Signals e rs eH e ems 10 Memory Write a BS de ke 11 Serial Ports ss ied RE 803 kiwa nee AW Power Supplies od VERSA LR RW REEL 11 IDMA Address Latch MODES OF OPERATION MOUTH RUE 11 IDMA Write Short Write Cycle Tre aie 4 TRUE Je VE ere ee Setting Memory Mode 11 IDMA Write Long Write Cycle Passive Configuration 11 IDMA Read Long Read Cycle Active Configuration 12 IDMA Read Short Read Cycle IACK Configuration 12 IDMA Read Short Read Cycle in Short Read MEMORY ARCHITECTURE 12 Only Mode v aka
7. Programmable Flag and Composite Select Control and System Control provide the ADSP 2186M s wait state and BMS control features Default bit values at reset are shown if no value is shown the bit is unde fined at reset Reserved bits are shown on a grey field These bits should always be written with zeros WAITSTATE CONTROL 15 14 1312 1110 9 8 7 6 5 4 3 2 BE eal ead AE A EE ER EIE DM 0x3FFE NO A JA A V DWAIT IOWAIT3 IOWAIT2 IOWAIT1 IOWAITO WAIT STATE MODE SELECT 0 NORMAL MODE PWAIT DWAIT IOWAITO 3 N WAIT STATES RANGING FROM 0 TO 7 1 2N 1 MODE PWAIT DWAIT IOWAITO 3 2N 1 WAIT STATES RANGING FROM 0 TO 15 Figure 6 Wait State Control Register PROGRAMMABLE FLAG AND COMPOSITE SELECT CONTROL 15 14 13 12 1110 9 8 7 6 5 4 3 2 TPT r I eo o ooo I omosreo S O_O BMWAIT CMSSEL PFTYPE 0 DISABLE CMS 0 INPUT 1 lt ENABLE CMS 1 OUTPUT WHERE BIT 11 IOM 10 BM 9 DM 8 PM Figure 7 Programmable Flag and Composite Control Register REV 0 SYSTEM CONTROL 15 14 1312 1110 9 8 7 6 5 4 3 2 eoe 0 s s Te TeToT o 5 T owoorro RESERVED RESERVED ALWAYS PWAIT SETTOO SET TOO PROGRAM MEMORY WAIT STATES SPORTO ENABLE 0 DISABLE s 1 ENABLE DISABLE BMS 0 ENABLE BMS 1 DISABLE BMS EXCEPT WHEN MEMORY STROBES ARE THREE STATED SPORT1 ENABLE 0 DISABLE 1 ENABLE SPORT1 CONFIGURE 0 FI FO IRGO IRQ1 SCLK 1 SPORT1 NOTE RESERVED
8. SCLK1 TFS0 TFS1 A1 A13 PFO PF7 and Input only pins CLKIN RESET BR DRO DRI PWD 5Appliesto Output pins BG PMS DMS BMS IOMS CMS RD WR PWDACK A0 DTO DT1 CLKOUT FL2 0 BGH ESD electrostatic discharge sensitive device Electrostatic charges as high as 4000 V readily accumulate on the human body and test equipment and can discharge without detection Although the ADSP 2186M features proprietary ESD protection circuitry permanent damage may occur on devices subjected to high energy electrostatic discharges Therefore proper ESD precautions are recommended to avoid performance degradation or loss of functionality WARNING cwm aac ESD SENSITIVE DEVICE TIMING SPECIFICATIONS 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 Consequently 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 switchi
9. The ADSP 2186M assembly language uses an algebraic syntax for ease of coding and readability A compre hensive set of development tools supports program development Figure 1 is an overall block diagram of the ADSP 2186M The processor contains three independent computational units the ALU the multiplier accumulator MAC and the shifter The computational units process 16 bit data directly and have provisions to support multiprecision computations The ALU performs a standard set of arithmetic and logic operations division primitives are also supported The MAC performs single cycle multiply multiply add and multiply subtract opera tions with 40 bits of accumulation The shifter performs logical and arithmetic shifts normalization denormalization and derive exponent operations The shifter can be used to efficiently implement numeric format control including multiword and block floating point representations The internal result R bus connects the computational units so that the output of any unit may be the input of any unit on the next cycle A powerful program seguencer and two dedicated data address generators ensure efficient delivery of operands to these computa tional units The seguencer supports conditional jumps subroutine calls and returns in a single cycle With internal loop counters and loop stacks the ADSP 2186M executes looped code with zero overhead no explicit jump instructions are reguired to maintain
10. Timing Requirements text CLKIN Period 26 6 80 ns tcxIL CLKIN Width Low 8 ns tcKIH CLKIN Width High 8 ns Switching Characteristics tckr CLKOUT Width Low 0 5tck 2 ns tckH CLKOUT Width High 0 5tck 2 ns tcxou CLKIN High to CLKOUT High 0 13 ns Control Signals Timing Requirements trsp RESET Width Low 5tcx ns tus Mode Setup before RESET High 2 ns MH Mode Hold after RESET High 5 ns NOTE lApplies after power up sequence is complete Internal phase lock loop requires no more than 2000 CLKIN cycles assuming stable CLKIN not including crystal oscillator start up time CLKIN CLKOUT PF 3 0 tus lt tun PF3 IS MODE D PF2 IS MODE C PF1 IS MODE B PFO IS MODE A Figure 21 Clock Signals REV 0 23 ADSP 2186M Parameter Min Max Unit Interrupts and Flags Timing Requirements trps IRQx FI or PFx Setup before CLKOUT Low 4 0 25tck 10 ns tirg IRQx FI or PFx Hold after CLKOUT High 4 0 25tcK ns Switching Characteristics troH Flag Output Hold after CLKOUT Low 0 5teg 5 ns trop Flag Output Delay from CLKOUT Low 0 5tcg 4 ns NOTES Uf IROx and FI inputs meet trs and typy 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 Family User s Manual for further information on interrupt serv
11. 12 7 Data Output WR 9 10 3 3 16 67 16 3 RD 1 10 3 32 16 67 1 8 CLKOUT DMS 2 10 3 32 33 3 7 2 38 0 Total power dissipation for this example is Pwr 38 0 mW Output Drive Currents Figure 14 shows typical I V characteristics for the output drivers on the ADSP 2186M The curves represent the current drive capability of the output drivers as a function of output voltage 80 60 Vou Vppexr 3 6V 40 C 40 i Vppexr 3 3V 25 C 20 Vppexr 2 5V 85 C SOURCE CURRENT mA o 20 Vppexr 3 6V 40 C I 40 VoL VppEXT 7 2 5V s 85 C P4 Vppexr 3 3V 25 C 60 y 80 0 0 5 1 0 1 5 2 0 2 5 3 0 3 5 4 0 SOURCE VOLTAGE V Figure 14 Typical Output Driver Characteristics REV 0 ADSP 2186M POWER INTERNAL 2 3 Capacitive Loading ue Figure 16 and Figure 17 show the capacitive loading character 110 istics of the ADSP 2186M 100 30 I T 85 C Vpp 0V TO 2 0V c 25 2 z a gm i 2 st s 15 us z F 50 55 60 65 70 75 80 w 10 i tck MHz POWER IDLE1 2 4 5 0 0 50 100 150 200 250 300 C pF t I Figure 16 Typical Output Rise Time vs Load Capacitance E at Maximum Ambient Operating Temperature a 18 S 16 8 14 I 9 12 o I 10 a 1 tek MHz s 8 lt POW
12. C08 D21 F08 D7 IWR Jos RFS1 IRQO M08 GND C09 D19 F09 D11 Joo BG M09 NC C10 D15 F10 D8 J10 DI IAD14 MIO EMS Cll NC F11 NC Jii VpDINT M11 EE C12 D14 F12 D9 J12 VppINT M12 ECLK 38 REV 0 REV 0 OUTLINE DIMENSIONS Dimensions shown in millimeters 100 Lead Metric Thin Plastic Quad Flatpack LQFP ST 100 16 20 e 16 00 TYP SQ 15 80 14 05 14 00 TYP SQ 13 95 1 60 MAX 075 i F 12 00 BSC gt 0 60 TYP gt Y 100 76 50 4 12 1 75 Ars F TYP SEATING PLANE TOP VIEW PINS DOWN 0 08 25 51 MAX LEAD gt 25 50 COPLANARITY m 6 4 0 7 alle gt l lt 0 50 BSC 022 TYP 015 LEAD PITCH viz 0 05 0 17 LEAD WIDTH NOTE THE ACTUAL POSITION OF EACH LEAD IS WITHIN 0 08 FROM ITS IDEAL POSITION WHEN MEASURED IN THE LATERAL DIRECTION 39 ADSP 2186M ADSP 2186M OUTLINE DIMENSIONS Dimensions shown in millimeters 144 Ball Mini BGA CA 144 10 10 10 00 SQ H 9 90 UA 12 1110 9 8 7 6 5 4 3 2 1 000000000000 000000000000 000000000000 000000000000 000000000000 10 10 BSC 000000000000 TOP VIEW 10 00 SQ OOOOOOOOOOOO 9 90 000000000000 000000000000 000000000000 000000000000 000000000000 gETrACIOmmococOU 0 80 BSC 8 80 BSC DETAIL A 4 1 40 MAX T DETAIL A 1 00 NOTES 0 85 1 THE ACTUAL POSITION OF THE BALL POPULATION 0 40 IS WITHIN 0 150 OF ITS IDEAL POSITION RELATIVE PI NA i i gt x TO THE PACKAG
13. Data Memory 16 Full Word 10 Data Memory 8 MSBs 11 Data Memory 8 LSBs Unused bits in the 8 bit data memory formats are filled with 0s The BIAD register field is used to specify the starting address for the on chip memory involved with the transfer The 14 bit BEAD register specifies the starting address for the external byte memory space The 8 bit BMPAGE register specifies the start ing page for the external byte memory space The BDIR register field selects the direction of the transfer Finally the 14 bit BWCOUNT register specifies the number of DSP words to transfer and initiates the BDMA circuit transfers BDMA accesses can cross page boundaries during sequential addressing A BDMA interrupt is generated on the completion of the number of transfers specified by the BWCOUNT register The BWCOUNT 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 generated The BMPAGE and BEAD registers must not be accessed by the DSP during BDMA operations The source or destination of a BDMA transfer will always be on chip program or data memory When the BWCOUNT register is written with a nonzero value the BDMA circuit starts executing byte memory accesses with wait states set by BMWAIT These accesses continue until the count reaches zero When enough accesses have occurred to create a destination word it is transfer
14. debugging See Designing An EZ ICE Compatible Target System in the ADSP 2100 Family EZ Tools Manual ADSP 2181 sections as well as the Designing an EZ ICE Compatible System section of this data sheet for the exact specifications of the EZ ICE target board connector Additional Information This data sheet provides a general overview of ADSP 2186M functionality For additional information on the architecture and instruction set of the processor refer to the ADSP 2100 Family User s Manual For more information about the development tools refer to the ADSP 2100 Family Development Tools data sheet ADSP 2186M POWER DOWN CONTROL MEMORY DATA ADDRESS GENERATORS PROGRAM MEMORY 8K x 24 BIT PROGRAM SEQUENCER DATA MEMORY ADDRESS DATA MEMORY DATA ARITHMETIC UNITS ADSP 2100 BASE ARCHITECTURE PROGRAM MEMORY ADDRESS PROGRAM MEMORY DATA SERIAL PORTS FULL MEMORY MODE fe ee ay 71 DATA PROGRAMMABLE EXTERNAL MEMORY Vo ADDRESS ELS 8K x 16 BIT AND BUS I I EXTERNAL DATA BUS I I I BYTE DMA CONTROLLER Poe ee A OR IT OT ND q l I EXTERNAL DATA gt B TIMER Us INTERNAL I DMA e PORT E e 5 AJ HOST MODE Figure 1 Functional Block Diagram ARCHITECTURE OVERVIEW The ADSP 2186M instruction set provides flexible data moves and multifunction one or two data moves with a computation instructions Every instruction can be executed in a single processor cycle
15. poleg SERIAL 47 RFSO DEVICE K ir o Figure 2 DATA PERIPHERALS 2048 LOCATIONS ADDR OVERLAY PM SEGMENTS DM SEGMENTS ADSP 2186M also provides four external interrupts and two serial ports or six external interrupts and one serial port Host Memory Mode allows access to the full external data bus but limits addressing to a single address bit A0 Through the use of external hardware additional system peripherals can be added in this mode to generate and latch address signals Clock Signals The ADSP 2186M can be clocked by either a crystal or a TTL compatible clock signal The CLKIN input cannot be halted changed during opera tion nor operated below the specified frequency during normal operation The only exception is while the processor is in the power down state For additional information refer to Chap ter 9 ADSP 2100 Family User s Manual for detailed information on this power down feature If an external clock is used it should be a TTL compatible signal running at half the instruction rate The signal is connected to the processor s CLKIN input When an external clock is used the XTAL input must be left unconnected The ADSP 2186M uses an input clock with a frequency equal to half the instruction rate a 37 50 MHz input clock yields a 13 ns processor cycle which is equivalent to 75 MHz Normally instructions are executed in a single processor cycle All device timing is relative to the interna
16. tarp Address Latch Start after Address Latch End 2 ns NOTES IStart of Address Latch IS Low and IAL High End of Address Latch IS High or IAL Low 3Start of Write or Read IS Low and IWR Low or IRD Low tasu a tasu gt tian tan He tras gt RD OR WR Figure 27 IDMA Address Latch REV 0 29 ADSP 2186M Parameter Min Max Unit IDMA Write Short Write Cycle Timing Requirements thw IACK Low before Start of Write 0 ns trwp Duration of Write 2 10 ns tipsu IAD15 0 Data Setup before End of Write 4 3 ns tipu IAD15 0 Data Hold after End of Write gt 4 2 ns Switching Characteristic thaw Start of Write to IACK High 10 ns NOTES IStart of Write IS Low and IWR Low End of Write IS High or IWR High 3If Write Pulse ends before IACK Low use specifications tipsu tmu If Write Pulse ends after IACK Low use specifications tyxsy tH tkw bee uo XXX 0m 30 XXXXXXXX Figure 28 IDMA Write Short Write Cycle REV 0 ADSP 2186M Parameter Min Max Unit IDMA Write Long Write Cycle Timing Requirements trew IACK Low before Start of Write 0 ns KSU IAD15 0 Data Setup before End of Write 4 0 5tcg 5 ns tru IAD 15 0 Data Hold after End of Write 4 0 ns Switching Characteristics kLw Start of Write to IACK Low l 5tck ns thaw Start of Write to IACK High 10 ns NOTES IStart of Write IS Low and IWR Low 2If Write Pu
17. the BTYPE register is set to 0 to specify program memory 24 bit words and the BWCOUNT register is set to 32 This causes 32 words of on chip program memory to be loaded from byte memory 15 ADSP 2186M These 32 words are used to set up the BDMA to load in the remaining program code The BCR bit is also set to 1 which causes program execution to be held off until all 32 words are loaded into on chip program memory Execution then begins at address 0 The ADSP 2100 Family development software Revision 5 02 and later fully supports the BDMA booting feature and can generate byte memory space compatible boot code The IDLE instruction can also be used to allow the processor to hold off execution while booting continues through the BDMA interface For BDMA accesses while in Host Mode the addresses to boot memory must be constructed externally to the ADSP 2186M The only memory address bit provided by the processor is AO IDMA Port Booting The ADSP 2186M can also boot programs through its Internal DMA port If Mode C 1 Mode B 0 and Mode A 1 the ADSP 2186M boots from the IDMA port IDMA 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 and Bus Grant The ADSP 2186M can relinquish control of the data and address buses to an external device When the external device requires access to memory it asserts the bus request BR si
18. ua dead Ena Sah hoa dn dodo desi Program Memory 12 100 LEAD LQFP PIN CONFIGURATION Data Memory 13 LQFP Package Pinout Memory Mapped Registers New to the 144 Ball Mini BGA Package Pinout o dag Hee eee ADSP 2186M 13 Mini BGA Package Pinout VO Space Full Memory Mode 13 OUTLINE DIMENSIONS i Composite Memory Select CMS 14 100 Lead Metric Thin Plastic Quad Flatpack Byte Memory Select BMS 14 LQFP ST 100 Byte Mem Ory iiec eet eee ee AR n 14 OUTLINE DIMENSIONS Byte Memory DMA BDMA Full Memory Mode 14 144 Ball Mini BGA CA 144 n Internal Memory DMA Port ORDERING GUIDE IDMA Port Host Memory Mode 15 Tables Bootstrap Loading Booting 15 Table I Interrupt Priority and Interrupt IDMA Port Booting 16 Vector Addresses 334 M ote LEVA YES Bus Request and Bus Grant 16 Table II Modes of Operation Blag I O Pis o eph hx e st trd g ask s 16 Table III PMOVLAY Bits Instruction Set Description 16 Table IV DMOVLAY Bits DESIGNING AN EZ ICE COMPATIBLE SYSTEM 16 Table V Wait States
19. ADDRESS gt AND BUS I I I EXTERNAL l DATA BUS I I I I I I BYTE DMA CONTROLLER r q I I EXTERNAL I DATA l BUS TIMER I I l l l L INTERNAL DMA e PORT HOST MODE One Technology Way P O Box 9106 Norwood MA 02062 9106 U S A Tel 781 329 4700 World Wide Web Site http www analog com Fax 781 326 8703 Analog Devices Inc 2000 ADSP 2186M TABLE OF CONTENTS BBATURES a ER Ete 1 RECOMMENDED OPERATING CONDITIONS FUNCTIONAL BLOCK DIAGRAM 1 ELECTRICAL CHARACTERISTICS GENERAL DESCRIPTION ABSOLUTE MAXIMUM RATINGS DEVELOPMENT SYSTEM 3 TIMING SPECIFICATIONS Additional Information 3 GENERAL NOTES ARCHITECTURE OVERVIEW ROE ROE POV OL TET SE 4 TIMING NOTES 9 9 9 s s s 9 s s s s 9 s s s s 9 9 st s s s e e e e o Serial POP s sce series Ba aaa ad eter Sawa 6 atv 5 MEMORY TIMING SPECIFICATIONS PIN DESCRIPTIONS oy _ FREQUENCY DEFENDENCY FOR Common Mode Pins 6 TIMING SPECIFICATIONS Memory Interface Pins 7 ENVIRONMENTAL CONDITIONS Full Memory Mode Pins Mode C 20 7 POWER DISSIPATION MR cta i Sin ena at tenes scis Host Mode Pins Mode C 21
20. ANALOG DEVICES DSP Microcomputer ADSP 2186M FEATURES Performance 13 3 ns Instruction Cycle Time 2 5 V Internal 75 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 200 CLKIN Cycle Recovery from Power Down Condition Low Power Dissipation in Idle Mode Integration ADSP 2100 Family Code Compatible Easy to Use Algebraic Syntax with Instruction Set Extensions 40K Bytes of On Chip RAM Configured as 8K Words Program Memory RAM 8K Words 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 LOFP and 144 Ball Mini BGA System Interface Flexible I O Structure Allows 2 5 V or 3 3 V Operation All Inputs Tolerate up to 3 6 V Regardless of Mode 16 Bit Internal DMA Port for High Speed Access to On Chip Memory Mode Selectable 4 MByte Memory Interface for Storage of Data Tables and Program Overlays Mode Selectable 8 Bit DMA to Byte Memory for Transparent Program and Data Memory Transfers Mode Selectable 1 0 M
21. BITS ARE SHOWN ON A GRAY FIELD THESE BITS SHOULD ALWAYS BE WRITTEN WITH ZEROS Figure 8 System Control Register I O Space Full Memory Mode The ADSP 2186M supports an additional external memory space called I O space This space is designed to support simple connections to peripherals such as data converters and external registers or to bus interface ASIC data registers I O space sup ports 2048 locations of 16 bit wide data The lower eleven bits of the external address bus are used the upper three bits are undefined Two instructions were added to the core ADSP 2100 Family instruction set to read from and write to I O memory space The I O space also has four dedicated three bit wait state registers IOWAITO 3 which in combination with the wait state mode bit specify up to 15 wait states to be automatically gener ated for each of four regions The wait states act on address ranges as shown in Table V 13 ADSP 2186M Table V Wait States Address Range 0x000 0x1 FF 0x200 0x3FF 0x400 0x5FF 0x600 0x7FF Wait State Register IOWAITO and Wait State Mode Select Bit IOWAIT1 and Wait State Mode Select Bit IOWAIT2 and Wait State Mode Select Bit IOWAIT3 and Wait State Mode Select Bit Composite Memory Select CMS The ADSP 2186M has a programmable memory select signal that is useful for generating memory select signals for memories mapped to more than one space The CMS signal is gener ated to have th
22. E EDGES 2 THE ACTUAL POSITION OF EACH BALL IS WITHIN 0 08 0 55 012 SEATING OF ITS IDEAL POSITION RELATIVE TO THE BALL 0 50 MAX PLANE POPULATION 0 45 BALL DIAMETER ORDERING GUIDE Ambient Temperature Instruction Package Package Part Number Range Rate Description Option ADSP 2186MKST 300 0 C to 70 C 75 100 Lead LQFP ST 100 ADSP 2186MBST 266 40 C to 85 C 66 100 Lead LQFP ST 100 ADSP 2186MKCA 300 0 C to 70 C 75 144 Ball Mini BGA CA 144 ADSP 2186MBCA 266 40 C to 85 C 66 144 Ball Mini BGA CA 144 In 1998 JEDEC reevaluated the specifications for the TQFP package designation assigning it to packages 1 0 mm thick Previously labeled TQFP packages 1 6 mm thick are now designated as LQFP 40 REV 0 C02048 3 5 10 00 rev 0 PRINTED IN U S A
23. ER IDLE n MODES2 m 6 4 Ni IDLE E 2 E NOMINAL E lt 2 I gt 4 u a 6 0 50 100 150 200 250 r CL pF IDLE 16 IDLE 128 Figure 17 Typical Output Valid Delay or Hold vs Load Capacitance C at Maximum Ambient Operating Temperature 50 55 60 65 70 75 80 ck MHz NOTES VALID FOR ALL TEMPERATURE GRADES 1POWER REFLECTS DEVICE OPERATING WITH NO OUTPUT LOADS TYPICAL POWER DISSIPATION AT 2 5V Vppint AND 25 C EXCEPT WHERE SPECIFIED 31pp 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 I DLE REFERS TO STATE OF OPERATION DURING EXECUTION OF IDLE INSTRUCTION DEASSERTED PINS ARE DRIVEN TO EITHER Vpp OR GND Figure 15 Power vs Frequency REV 0 21 ADSP 2186M 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 The output disable time tpys is the difference of tuEASURED and tpgcay as shown in the Output Enable Disable diagram The 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 The decay time tpEcay is dependent on the capacitive load C an
24. I O Spaces D23 0 24 Vo Data I O Pins for Program Data Byte and I O Spaces 8 MSBs are also used as Byte Memory Addresses Host Mode Pins Mode C 1 Pin Name of Pins I O Function IAD15 0 16 Vo IDMA Port Address Data Bus A0 1 O Address Pin for External I O Program Data or Byte Access D23 8 16 Vo Data I O Pins for Program Data Byte and I O Spaces IWR 1 I IDMA Write Enable IRD 1 I IDMA Read Enable IAL 1 I IDMA Address Latch Pin IS 1 I IDMA Select IACK 1 O IDMA Port Acknowledge Configurable in Mode D Open Drain NOTE In Host Mode external peripheral addresses can be decoded using the A0 CMS PMS DMS and IOMS signals REV 0 ADSP 2186M Terminating Unused Pins The following table shows the recommendations for terminating unused pins Pin Terminations I O 3 State Reset Hi Z Pin Name Z State Caused By Unused Configuration XTAL I I Float CLKOUT O O Float A13 1 or O Z Hi Z BR EBR Float IAD12 0 Vo Z Hi Z IS Float AO O Z Hi Z BR EBR Float D23 8 VO Z Hi Z BR EBR Float D7 or VO Z Hi Z BR EBR Float IWR I I High Inactive D6 or Vo Z Hi Z BR EBR Float IRD I I BR EBR High Inactive D5 or VO Z Hi Z Float IAL I I Low Inactive D4 or Vo Z Hi Z BR EBR Float IS I I High Inactive D3 or VO Z Hi Z BR EBR Float IACK Float D2 0 or Vo Z Hi Z BR EBR Float IAD15 13 I O Z Hi Z IS Float PMS O Z o BR EBR Float DMS O Z O BR EBR Float BMS O Z o BR EBR Floa
25. M DM OVLAY selection into the DSP s IDMA control registers If Bit 15 1 the value of bits 7 0 represent the IDMA overlay bits 14 8 must be set to 0 If Bit 15 0 the value of Bits 13 0 represent the starting address of internal memory to be accessed and Bit 14 reflects PM or DM for access For ADSP 2186M IDDMOVLAY and IDPMOVLAY bits in IDMA overlay register should be set to zero 4 Host uses IS and IRD or IWR to read or write DSP inter nal memory PM or DM 5 Host checks IACK line to see if the DSP has completed the previous IDMA operation 6 Host ends IDMA transfer The IDMA port has a 16 bit multiplexed address and data bus and supports 24 bit program memory The IDMA port is com pletely asynchronous and can be written while the ADSP 2186M is operating at full speed The DSP memory address is latched and then automatically incre mented after each IDMA transaction An external device can therefore access a block of sequentially addressed memory by specifying only the starting address of the block This increases throughput as the address does not have to be sent for each memory access IDMA Port access occurs in two phases The first is the IDMA 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 The address specifies an on chip memory location the destination type specifies whether it is a DM or PM access The falling e
26. ND 66 GND 91 PWD 17 GND 42 SCLK1 67 VDDEXT 92 GND 18 VDDINT 43 ERESET 68 D9 93 PF1 MODE B 19 WR 44 RESET 69 D10 94 PFO MODE A 20 RD 45 EMS 70 D11 95 BGH 21 BMS 46 EE 71 GND 96 PWDACK 22 DMS 47 ECLK 72 D12 97 A0 23 PMS 48 ELOUT 73 D13 98 Al IADO 24 IOMS 49 ELIN 74 D14 99 A2 IAD1 25 CMS 50 EINT 75 D15 100 A3 IAD2 36 REV 0 ADSP 2186M 144 Ball Mini BGA Package Pinout Bottom View 7 PFA MODE B PF3 PFO MODE D MODE A DoD D7 WR A11 1AD10 A12 AD11 A10 IAD9 D2 IAD15 TFSO RFS1 IRQO DO IAD13 SCLK1 TFS1 IRQ1 DRY FI DT1 FO 12 11 3 2 1 A1 IADO A2 IAD1 A3 1AD2 A4 IAD3 A6 IAD5 PWDACK z o 4 A7NAD6 A5 IADA A9 IAD8 10 z o VppExT IRQLO PF5 z z BE dall a o D4 IS g o gt U D3 IACK o z z z o n zi m n m Em o IRQ2 PF7 o x z z z z z o o o z Li o v m o ii REV 0 37 ADSP 2186M The Mini BGA package pinout is shown in the table below Pin names in bold text replace the plain text named functions when Mode C 1 A sign separates two functions when either function can be active for either major I O mode Signals enclosed in brackets are state bits latched from the value of the pin at the deassertion of RESET The multiplexed pins DT 1 FO TFS1 IRO1 RFS1 IRQO and DRI FI are mode selectable by setting Bit 10 SPORT1 configure of the System Control Register If Bit 10 1 thes
27. O Bus Grant Hung Output DMS 1 O Data Memory Select Output PMS 1 O Program Memory Select Output IOMS 1 O Memory Select Output BMS 1 O Byte Memory Select Output CMS 1 O Combined Memory Select Output RD 1 O Memory Read Enable Output WR 1 O Memory Write Enable Output IRO2 1 I Edge or Level Sensitive Interrupt Request PF7 IO Programmable I O Pin IROLI 1 I Level Sensitive Interrupt Requests PF6 IO Programmable I O Pin IRQLO 1 I Level Sensitive Interrupt Requests PFS IO Programmable I O Pin IRQE 1 I Edge Sensitive Interrupt Requests PF4 IO Programmable I O Pin Mode D 1 I Mode Select Input Checked Only During RESET PF3 IO Programmable I O Pin During Normal Operation Mode C 1 I Mode Select Input Checked Only During RESET PF2 IO Programmable I O Pin During Normal Operation Mode B 1 I Mode Select Input Checked Only During RESET PF1 IO Programmable I O Pin During Normal Operation Mode A 1 I Mode Select Input Checked Only During RESET PFO IO Programmable I O Pin During Normal Operation CLKIN XTAL 2 I Clock or Quartz Crystal Input CLKOUT 1 O Processor Clock Output SPORTO 5 Vo Serial Port I O Pins SPORTI 5 Vo Serial Port I O Pins IRQI 0 FI FO Edge or Level Sensitive Interrupts FI FO PWD 1 I Power Down Control Input PWDACK 1 O Power Down Control Output FLO FL1 FL2 3 O Output Flags VppINT 2 I Internal Vpp 2 5 V Power LQFP VpDEXT 4 I External Vpp 2 5 V or 3 3 V Power LOFP GND 10 I Ground LOFP VppINT I I
28. The ADSP 2186M has eight general purpose programmable input output flag pins They are controlled by two memory mapped registers The PFTYPE register determines the direc tion 1 output and 0 input The PFDATA register is used to 16 read and write the values on the pins Data being read from a pin configured as an input is synchronized to the ADSP 2186M s clock Bits that are programmed as outputs will read the value being output The PF pins default to input during reset In addition to the programmable flags the ADSP 2186M has five fixed mode flags FI FO FLO FL1 and FL2 FLO FL2 are dedicated output flags FI and FO are available as an alternate configuration of SPORTI Note Pins PFO PF1 PF2 and PF3 are also used for device configuration during reset Instruction Set Description The ADSP 2186M assembly language instruction set has an algebraic syntax that was designed for ease of coding and read ability The 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 For example a typical arithmetic add instruction such as AR AXO AYO resembles a simple equation Every instruction assembles into a single 24 bit word that can execute in a single instruction cycle The syntax is a superset ADSP 2100 Family assembly lan guage and is completely source and object
29. V requirement The external supply can be connected to either a 2 5 V or 3 3 V supply All external supply pins must be connected to the same supply All input and I O pins can tolerate input voltages up to 3 6 V regardless of the external supply voltage This feature provides maximum flexibility in mixing 2 5 V and 3 3 V components MODES OF OPERATION Setting Memory Mode Memory Mode selection for the ADSP 2186M is made during chip reset through the use of the Mode C pin This pin is multi plexed with the DSP s PF2 pin so care must be taken in how the mode selection is made The two methods for selecting the value of Mode C are active and passive Passive Configuration Passive Configuration involves the use a pull up or pull down resistor connected to the Mode C pin To minimize power con sumption 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 10 kQ can be used This 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 recon figure PF2 to be an input as the pull up or pull down will hold the pin in a known state and will not switch Table II Modes of Operation MODED MODEC MODEB MODEA Booting Method X 0 0 0 BDMA feature is used to load the first 32 program memory w
30. X T9S oya OSAH 0S41 ola ZddtzOHi 9ddtLTOHI ONO Sddt0TOHI vddtJOHI 35 REV 0 ADSP 2186M The LQFP package pinout is shown in the table below Pin names in bold text replace the plain text named functions when Mode C 1 A sign separates two functions when either function can be active for either major I O mode Signals enclosed in brackets are state bits latched from the value of the pin at the deassertion of RESET The multiplexed pins DT 1 FO TFSI IRQI RFS1 IRO0 and DRI FI are mode selectable by setting Bit 10 SPORTI configure of the System Control Register If Bit 10 1 these pins have serial port functionality If Bit 10 0 these pins are the external inter rupt and flag pins This bit is set to 1 by default upon reset LQFP Package Pinout Pin Pin Pin Pin No Pin Name No Pin Name No Pin Name No Pin Name 1 A4 IAD3 26 IRQE PF4 51 EBR 76 D16 2 A5 IAD4 27 IROLO PF5 52 BR 77 D17 3 GND 28 GND 53 EBG 78 D18 4 A6IIADS 29 IRQLI PF6 54 BG 79 D19 5 A7 1AD6 30 IRO2 PF7 55 DO IAD13 80 GND 6 A8 IAD7 31 DTO 56 D1 IAD14 81 D20 7 A9 IADS 32 TFSO 57 D2 IAD15 82 D21 8 A10 IAD9 33 RESO 58 D3 IACK 83 D22 9 A11 IAD10 34 DRO 59 VppINT 84 D23 10 A12 IAD11 35 SCLKO 60 GND 85 FL2 11 A13 IAD12 36 VppEXT 61 D4 IS 86 FLI 12 GND 37 DT1 FO 62 D5 IAL 87 FLO 13 CLKIN 38 TFS1 IRQ1 63 D6 IRD 88 PF3 MODE D 14 XTAL 39 RESI IRQO 64 D7 IWR 89 PF2 MODE C 15 VpDEXT 40 DRI FI 65 D8 90 VpDEXT 16 CLKOUT 41 G
31. ain the specification value Example tek 0 5 tex 2 ns 0 5 15 ns 2 ns 5 5 ns ENVIRONMENTAL CONDITIONS Rating Description Symbol LQFP Mini BGA Thermal Resistance Oca 48 C W 63 3 C W Case to Ambient Thermal Resistance Oya 50 C W 70 7 C W Junction to Ambient Thermal Resistance Bc 2 C W 7 4 C W Junction to Case NOTE I Where the Ambient Temperature Rating T amp is Tame Tcase PD x bca Tcasg Case Temperature in C PD Power Dissipation in W POWER DISSIPATION To determine total power dissipation in a specific application the following equation should be applied for each output CxV 2xf C 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 Assumptions External data memory is accessed every cycle with 50 of the address pins switching External data memory writes occur every other cycle with 50 of the data pins switching 20 Each address and data pin has a 10 pF total load at the pin The application operates at VppgxT 3 3 V and tcx 30 ns Total Power Dissipation Pyyr C x Vppgxz x f Pyr internal power dissipation from Power vs Frequency graph Figure 15 C x Vppexr X f is calculated for each output of x C x VppExT x f PD Parameters Pins pF V MHz mW Address EN 10 3 32 16 67
32. apped control registers The ADSP 2186M has 8K words on Data Memory RAM on chip Part of this space is used by 32 memory mapped registers Support also exists for up to two 8K external memory overlay spaces through the external data bus All internal accesses DATA MEMORY ALWAYS ACCESSIBLE AT ADDRESS 0x2000 0x3FFF 0x0000 0x1FFF DM OVLAY 0 RESERVED ACCESSIBLE WHEN DMOVLAY 1 EXTERNAL MEMORY ACCESSIBLE WHEN DMOVLAY 2 0x0000 0x1FFF 0x0000 Ox1FFF ADSP 2186M complete in one cycle Accesses to external memory are timed using the wait states specified by the DWAIT register and the wait state mode bit Data Memory Host Mode allows access to all internal memory External overlay access is limited by a single external address line A0 DATA MEMORY ADDR 32 MEMORY MAPPED REGISTERS INTERNAL OXSRDE 8160 WORDS 2000 OxiFFF EXTERNAL 8K DMOVLAY 1 2 0x0000 NOTE 1SEE TABLE IV FOR DMOVLAY BITS Figure 5 Data Memory Map Table IV DMOVLAY Bits DMOVLAY Memory A13 A12 0 0 Reserved Not Applicable Not Applicable 1 External Overlay 1 0 13 LSBs of Address Between 0x2000 and 0x3FFF 2 External Overlay 2 1 13 LSBs of Address Between 0x2000 and 0x3FFF Memory Mapped Registers New to the ADSP 2186M The ADSP 2186M has three memory mapped registers that differ from other ADSP 21xx Family DSPs The slight modifications to these registers Wait State Control
33. ation environment for the ADSP 218x family an ADSP 2189M based evaluation board with PC monitor software plus assembler linker simulator and PROM splitter software The ADSP 2189M EZ KIT Lite is a low cost easy to use hardware platform on which you can quickly get started with your DSP software design The EZ KIT Lite includes the following features 75 MHz ADSP 2189M Full 16 Bit Stereo Audio I O with AD73322 Codec RS 232 Interface EZ ICE Connector for Emulator Control DSP Demo Programs Evaluation Suite of VisualDSP The ADSP 218x EZ ICE Emulator aids in the hardware debugging of an ADSP 2186M system The ADSP 2186M integrates on chip emulation support with a 14 pin ICE Port interface This interface provides a simpler target board connec tion that requires fewer mechanical clearance considerations than other ADSP 2100 Family EZ ICEs The ADSP 2186M device need not be removed from the target system when using the EZ ICE nor are any adapters needed Due to the small footprint of the EZ ICE connector emulation can be supported in final board designs The EZ ICE performs a full range of functions including 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 Instruction level emulation of program booting and execution Complete assembly and disassembly of instructions C source level
34. cing is enabled LOW POWER OPERATION The ADSP 2186M has three low power modes that significantly reduce the power dissipation when the device operates under standby conditions These modes are Power Down Idle Slow Idle The CLKOUT pin may also be disabled to reduce external power dissipation Power Down The ADSP 2186M processor has a low power feature that lets the processor enter a very low power dormant state through hardware or software control Following is a brief list of power down features Refer to the ADSP 2100 Family User s Manual System Interface chapter for detailed information about the power down feature Quick recovery from power down The processor begins executing instructions in as few as 200 CLKIN cycles Support for an externally generated TTL or CMOS processor clock The external clock can continue running during power down without affecting the lowest power rating and 200 CLKIN cycle recovery Support for crystal operation includes disabling the oscillator to save power the processor automatically waits approximately 4096 CLKIN cycles for the crystal oscillator to start or stabi lize and letting the oscillator run to allow 200 CLKIN cycle start up Power down is initiated by either the power down pin PWD or the software power down force bit Interrupt support allows an unlimited number of instructions to be executed before optionally powering down The power down interrupt a
35. code compatible with other family members Programs may need to be relocated to utilize on chip memory and conform to the ADSP 2186M s interrupt vector and reset vector map Sixteen condition codes are available For conditional jump call return or arithmetic instructions the condition can be checked and the operation executed in the same instruc tion cycle Multifunction 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 DESIGNING AN EZ ICE COMPATIBLE SYSTEM The ADSP 2186M has on chip emulation support and an ICE Port a special set of pins that interface to the EZ ICE These features allow in circuit emulation without replacing the target system processor by using only a 14 pin connection from the target system to the EZ ICE Target systems must have a 14 pin connector to accept the EZ ICE s in circuit probe a 14 pin plug Issuing the chip reset command during emulation causes the DSP to perform a full chip reset including a reset of its memory mode Therefore it is vital that the mode pins are set correctly PRIOR to issuing a chip reset command from the emulator user interface If a passive method of maintaining mode information is being used as discussed in Setting Memory Modes it does not matter that the mode information is latched by an emulator reset However if the RESET pin is being used as a method of set
36. d low power CMOS process the ADSP 2186M operates with a 13 3 ns instruction cycle time Every instruction can execute in a single processor cycle The ADSP 2186M s flexible architecture and comprehensive instruction set allow the processor to perform multiple opera tions in parallel In one processor cycle the ADSP 2186M 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 This takes place while the processor continues to Receive and transmit data through the two serial ports Receive and or transmit data through the internal DMA port Receive and or transmit data through the byte DMA port Decrement timer DEVELOPMENT SYSTEM The ADSP 2100 Family Development Software a complete set of tools for software and hardware system development supports the ADSP 2186M The System Builder provides a high level method for defining the architecture of systems under develop ment The Assembler has an algebraic syntax that is easy to program and debug The Linker combines object files into an executable file The Simulator provides an interactive instruction level simulation with a reconfigurable user interface to display different portions of the hardware environment EZ ICE is a registered trademark of Analog Devices Inc REV 0 The EZ KIT Lite is a hardware software kit offering a complete evalu
37. d the current load ir on the output pin It can be approximated by the following equation Cr x0 5V tpEcay ir from which ins m MEASURED tbscay is calculated If multiple pins such as the data bus are disabled the measurement value is that of the last pin to stop driving INPUT 2 0V OUTPUT 1 5V 0 8V Figure 18 Voltage Reference Levels for AC Measure ments Except Output Enable Disable 22 Output Enable Time Output pins are considered to be enabled when they have made a transition from a high impedance state to when they start driving The output enable time tgya is the interval from when a refer ence signal reaches a high or low voltage level to when the output has reached a specified high or low trip point as shown Figure 19 If multiple pins such as the data bus are enabled the mea surement value is that of the first pin to start driving REFERENCE SIGNAL Vou MEASURED Vou MEASURED Von MEASURED 0 5V 2 0V OUTPUT VoL MEASURED 0 5V VoL t VoL MEASURED DECAY MEASURED OUTPUT OUTPUT STOPS STARTS DRIVING DRIVING HIGH IMPEDANCE STATE TEST CONDITIONS CAUSE THIS VOLTAGE LEVEL TO BE APPROXIMATELY 1 5V Figure 19 Output Enable Disable loL TO OUTPUT 1 5V 50pF IH loH Figure 20 Equivalent Loading for AC Measurements Including All Fixtures REV 0 ADSP 2186M Parameter Min Max Unit Clock Signals and Reset
38. dge of the IDMA address latch signal IAL or the missing edge of the IDMA select signal IS latches this value into the IDMAA register Once the address is stored data can be read from or written to the ADSP 2186M s on chip memory Asserting the select line IS and the appropriate read or write line IRD and IWR respectively signals the ADSP 2186M that a particular transac tion is required In either case there is a one processor cycle delay for synchronization The memory access consumes one additional processor cycle Once an access has occurred the latched address is automati cally incremented and another access can occur REV 0 Through the IDMAA register the DSP can also specify the starting address and data format for DMA operation Asserting the IDMA port select IS and address latch enable IAL directs the ADSP 2186M to write the address onto the IAD0 14 bus into the IDMA Control Register If Bit 15 is set to 0 IDMA latches the address If Bit 15 is set to 1 IDMA latches into the OVLAY register This register shown below is memory mapped at address DM 0x3FE0 Note that the latched address IDMAA cannot be read back by the host When Bit 14 in 0x3FE7 is set to 1 timing in Figure 31 applies for short reads When Bit 14 in 0x3FE7 is set to zero short reads use the timing shown in Fig ure 32 For ADSP 2186M IDDMOVLAY and IDPMOVLAY bits in IDMA overlay register should be set to zero Refer to the following
39. 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 reguire stabilization time The power up seguence is defined as the total time reguired 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 During this power up sequence the RESET signal should be held low On any subsequent resets the RESET signal must meet the minimum pulsewidth specifi cation tpsp The RESET input contains some hysteresis however if an RC circuit is used to generate the RESET signal the use of an external Schmidt trigger is recommended The master reset sets all internal stack pointers to the empty stack condition masks all interrupts and clears the MSTAT 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 The first instruction is fetched from on chip pro gram memory location 0x0000 once boot loading completes Power Supplies The ADSP 2186M has separate power supply connections for the internal Vppmr and external VppExT power supplies The internal supply must meet the 2 5
40. e DSP on the BR signal EZ ICE emulation ignores RESET and BR when single stepping EZ ICE emulation ignores RESET and BR when in Emulator Space DSP halted EZ ICE emulation ignores the state of target BR in certain modes As a result the target system may take control of the DSP s external memory bus only if bus grant BG is asserted by the EZ ICE board s DSP 17 ADSP 2186M SPECIFICATIONS RECOMMENDED OPERATING CONDITIONS K Grade B Grade Parameter Min Max Min Max Unit VDDINT 2 97 2 63 2 25 2 75 V VpDEXT 2 37 3 6 2 25 3 6 V V mpur Vy 0 3 Vin 43 6 Vir 0 3 Vin 3 6 V TAMB 0 70 40 85 C NOTES VThe ADSP 2186M is 3 3 V tolerant always accepts up to 3 6 V max V gg but voltage compliance on outputs Von depends on the input Vppgxr because Vox max Vppext max This applies to bidirectional pins D0 D25 RFS0 RFS1 SCLK0 SCLK1 TFS0 TFS1 A1 A15 PF0 PF7 and input only pins CLKIN RESET BR DRO DR1 PWD Specifications subject to change without notice ELECTRICAL CHARACTERISTICS K B Grades Parameter Test Conditions Min Typ Max Unit Vm Hi Level Input Voltage A Vppint max 1 5 V Vm Hi Level CLKIN Voltage A VppixT max 2 0 V Vir Lo Level Input Voltage 3 A Vppint min 0 7 V Vou Hi Level Output Voltage A Vppexr min log 0 5 mA 2 0 V Q VpDEXT 3 0 V Tou 0 5 mA 2 4 V Vppexr min log 100 uA Vppsxr 0 3 V Vor L
41. e memory space on the ADSP 2186M supports read and write operations as well as four different data formats The byte memory uses data bits 15 8 for data The byte memory uses data bits 23 16 and address bits 13 0 to create a 22 bit address This 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 BMWAIT register and the wait state mode bit Byte Memory DMA BDMA Full Memory Mode The byte memory DMA controller allows loading and storing of program instructions and data using the byte memory space The BDMA 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 14 BDMA CONTROL 15 14 13 12 11 10 9 8 7 6 5 4 3 2 o Jo Too TT Te ee eToT o Js Tejo more SSS SSS VVZ BMPAGE BDMA BTYPE OVERLAY BDIR BITS 0 LOAD FROM BM 1 STORE TO BM BCR THESE BITS SHOULD ALWAYS BE WRITTEN WITH ZEROS ge RUN DURING BDMA 1 HALT DURING BDMA Figure 9 BDMA Control Register The BDMA circuit supports four different data formats that are selected by the BTYPE register field The appropriate number of 8 bit accesses are done from the byte memory space to build the word size selected Table VI shows the data formats sup ported by the BDMA circuit Table VI Data Formats BTYPE Internal Memory Space Word Size Alignment 00 Program Memory 24 Full Word 01
42. e pins have serial port functionality If Bit 10 0 these pins are the external interrupt and flag pins This bit is set to 1 by default upon reset Mini BGA Package Pinout Ball Pin Name Ball Pin Name Ball Pin Name Ball Pin Name A01 A2 IAD1 D01 NC G01 XTAL Kol NC A02 Al IADO D02 WR G02 NC K02 NC A03 GND D03 NC G03 GND K03 NC A04 A0 D04 BGH G04 A10 IAD9 K04 BMS A05 NC D05 A9 IADS G05 NC K05 DMS A06 GND D06 PF1 MODE B G06 NC K06 RFSO A07 NC D07 PF2 MODE C G07 NC K07 TFS1 IRQI A08 NC D08 NC G08 D6 IRD K08 SCLKI A09 NC D09 D13 G09 D5 IAL K09 ERESET A10 D22 D10 D12 G10 NC K10 EBR All GND D11 NC G11 NC K11 BR A12 GND D12 GND G12 D4 IS K12 EBG B01 A4 IAD3 E01 VpDEXT H01 CLKIN L01 IRQE PF4 B02 A3 IAD2 E02 VppExr H02 GND L02 NC B03 GND E03 A8 IAD7 H03 GND L03 IRQLI PF6 B04 NC E04 FLO H04 GND L04 IOMS B05 NC E05 PFO MODE A H05 VpDINT L05 GND B06 GND E06 FL2 H06 DTO L06 PMS B07 VppExr E07 PF3 MODE D H07 TFS0 L07 DR0 B08 D23 E08 GND H08 D2 IAD15 L08 GND B09 D20 E09 GND H09 D3 IACK L09 RESET B10 D18 E10 VppExr H10 GND L10 ELIN B11 D17 Ell GND H11 NC L11 ELOUT B12 D16 E12 D10 H12 GND L12 EINT Col PWDACK F01 A13 IAD12 Jol CLKOUT M01 IROLO PF5 C02 A6 IADS F02 NC J02 VDDNT M02 IRQI2 PF7 C03 RD F03 A12 IAD11 Jo3 NC M03 NC C04 A5 IAD4 F04 A11 IAD10 Jo4 VppexT M04 CMS C05 A7 IAD6 F05 FL1 Jos VppEXT M05 GND C06 PWD F06 NC J06 SCLKO M06 DT1 FO C07 VppzxT F07 NC Jo7 DO IAD13 M07 DRI FI
43. e 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 asserted For example to use a 32K word memory to act as both program and data memory set the PMS and DMS bits in the CMSSEL 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 like 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 default to 1 at reset except the BMS bit Byte Memory Select BMS The ADSP 2186M s BMS disable feature combined with the CMS pin allows use of multiple memories in the byte memory space For example an EPROM could be attached to the BMS select and an SRAM could be connected to CMS Because at reset BMS is enabled the EPROM would be used for booting After booting software could disable BMS and set the CMS signal to respond to BMS enabling the SRAM Byte Memory The byte memory space is a bidirectional 8 bit wide external memory space used to store programs and data Byte memory is accessed using the BDMA feature The byte memory space con sists of 256 pages each of which is 16K x 8 The byt
44. emory Interface with 2048 Locations Supports Parallel Peripherals Mode Selectable Programmable Memory Strobe and Separate I O Memory Space Permits Glueless System Design 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 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 FUNCTIONAL BLOCK DIAGRAM POWER DOWN CONTROL DATA ADDRESS GENERATORS paca pac mene PROGRAM MEMORY 8K x 24 BIT PROGRAM SEQUENCER DATA MEMORY DATA ARITHMETIC UNITS ADSP 2100 BASE ARCHITECTURE ICE Port is a trademark of Analog Devices Inc 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 MEMORY DATA PROGRAMMABLE MEMORY Vo 8K x 16 BIT z PROGRAM MEMORY ADDRESS DATA MEMORY ADDRESS PROGRAM MEMORY DATA SERIAL PORTS FULL MEMORY MODE EXTERNAL
45. eristics as specified in this data sheet The performance of the EZ ICE may approach published worst case specification for some memory access timing requirements and switching characteristics Note 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 Depend ing on the severity of the specification violation you may have trouble manufacturing your system as DSP components statisti cally vary in switching characteristic and timing requirements within published limits Restriction All memory strobe signals on the ADSP 2186M target system must have 10 kQ pull up resistors connected when the EZ ICE is being used The 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 These resistors may be removed at your option when the EZ ICE is not being used Target System Interface Signals When the EZ ICE board is installed the performance on some system signals change Design your system to be compatible with the following system interface signal changes introduced by the EZ ICE board EZ ICE emulation introduces an 8 ns propagation delay between your target circuitry and the DSP on the RESET signal EZ ICE emulation introduces an 8 ns propagation delay between your target circuitry and th
46. et system via a ribbon cable and a 14 pin female plug The female plug is plugged onto the 14 pin connector a pin strip header on the target board Target Board Connector for EZ ICE Probe The EZ ICE connector a standard pin strip header is shown in Figure 13 You 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 ICE probe onto the 14 pin connector 1 2 GND M m 3 4 EBG BM u 5 6 EBR M m 7 8 KEY NO PIN x m 9 10 ELOUT BN m 11 12 E BM B 13 14 RESET BM m TOP VIEW Figure 13 Target Board Connector for EZ ICE REV 0 The 14 pin 2 row pin strip header is keyed at the Pin 7 loca tion Pin 7 must be removed from the header The 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 The 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 3M McKenzie and Samtec Target Memory Interface For your target system to be compatible with the EZ ICE emulator it must comply with the memory interface guidelines listed below PM DM BM IOM AND CM Design your Program Memory PM Data Memory DM Byte Memory BM I O Memory IOM and Composite Memory CM external interfaces to comply with worst case device tim ing requirements and switching charact
47. fectively slows down the processor s internal clock and thus its response time to incom ing interrupts The one cycle response time of the standard idle state is increased by n the clock divisor When an enabled inter rupt is received the ADSP 2186M 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 the IDLE 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 Under these conditions interrupts must not be generated at a faster 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 typical basic system configurations with the ADSP 2186M 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 The FULL MEMORY MODE ADSP 2186M CLKIN XTAL FLO 2 1 2x CLOCK OR CRYSTAL TRQ2 PF7 IRGE PF4 IRQLO PF5 IROL1 PF6 DATA23 0 BM WR MODE D PF3 RD MODE C PF2 MODE A PFO MODE B PF1 a o O SPORTI SCLK1 RFS1 OR IRQO TFS1 OR IRQI DT1 OR FO DR1 ORFI DATA SPORTO SERIAL DEVICE SCLKO
48. figures for more information on IDMA and DMA memory maps IDMA OVERLAY 15 14 13 12 11 10 9 8 7 6 5 4 3 2 oo TeToTo s oiee o o To Te e Te Te ow ooren Tn V RESERVED SET TO 012 IDDMOVLAY IDPMOVLAY2 SHORT READ ONLY 0 ENABLE RESERVED SETTOO 1 DISABLE IDMA CONTROL U UNDEFINED AT PESE 15 14 13 12 11 10 9 8 7 6 5 4 3 2 ev o To o o v o o To Te o o o o ow oxen UI IDMAA ADDRESS IDMAD DESTINATION MEMORY TYPE PM RESERVEDSETTOO 1 DM NOTES 1RESERVED BITS ARE SHOWN ON A GRAY FIELD 2THESE BITS SHOULD ALWAYS BE WRITTEN WITH ZEROS Figure 10 IDMA Control OVLAY Registers DMA DMA PROGRAM MEMORY DATA MEMORY ALWAYS ACCESSIBLE AT ADDRESS 0x0000 0x1FFF ALWAYS ACCESSIBLE AT ADDRESS 0x2000 0x3FFF 0x2000 Ox3FFF 0x0000 OxiFFF RESERVED RESERVED NOTE IDMA AND BDMA HAVE SEPARATE DMA CONTROL REGISTERS Figure 11 Direct Memory Access PM and DM Memory Maps Bootstrap Loading Booting The ADSP 2186M has two mechanisms to allow automatic load ing of the internal program memory after reset The method for booting is controlled by the Mode A B and C configuration bits When the MODE pins specify BDMA booting the ADSP 2186M initiates a BDMA boot sequence when reset is released The BDMA interface is set up during reset to the following defaults when BDMA booting is specified the BDIR BMPAGE BIAD and BEAD registers are set to 0
49. gnal If the ADSP 2186M 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 Mode is enabled the ADSP 2186M will not halt program execution until it encounters an instruction that requires an external memory access If the ADSP 2186M is performing an external memory access when the external device asserts the BR signal it will not three state the memory interfaces nor assert the BG signal until the processor cycle after the access completes The 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 re enables the output drivers and continues program execution from the point at which it stopped The 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 ADSP 2186M requires the external bus for a memory or BDMA access but is stopped The other device can release the bus by deasserting bus request Once the bus is released the ADSP 2186M deasserts BG and BGH and executes the external memory access Flag I O Pins
50. icing Edge sensitive interrupts require pulsewidths greater than 10 ns level sensitive interrupts must be held low until serviced 3IRQx IRQO IRQI IRQ2 IROLO IROLI IRQLE 4PFx PFO PF1 PF2 PF3 PF4 PF5 PF6 PE7 5Flag Outputs PFx FLO FL1 FL2 FO CLKOUT FLAG OUTPUTS IRQx FI PFx ut tru 4 trs Figure 22 Interrupts and Flags 24 REV 0 ADSP 2186M Parameter Min Max Unit Bus Request Bus Grant Timing Requirements tBH BR Hold after CLKOUT High 0 25tck 2 ns tps BR Setup before CLKOUT Low 0 25tcg 10 ns Switching Characteristics mne tsp CLKOUT High to xMS RD WR Disable 0 25tck 8 ns tsp xMS RD WR Disable to BG Low 0 ns tsp BG High to xMS RD WR Enable 0 ns tsEc xMS RD WR Enable to CLKOUT High 0 25tck 3 ns tspBH xMS RD WR Disable to BGH Low 0 ns tsEH BGH High to xMS RD WR Enable 0 ns NOTES xMS PMS DMS CMS IOMS BMS TBR is an asynchronous signal If 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 Manual for BR BG cycle relationships BGH is asserted when the bus is granted and the processor or BDMA requires control of the bus to continue CLKOUT E wa 7 tas CLKOUT PMS DMS BMS RD WR tsp lt tsec BG tspB tse lt tspeu tsen
51. l instruction clock rate which is indicated by the CLKOUT signal when enabled Because the ADSP 2186M includes an on chip oscillator circuit an external crystal may be used The crystal should be connected across the CLKIN and XTAL pins with two capacitors con nected as shown in Figure 3 Capacitor values are dependent on crystal type and should be specified by the crystal manufacturer A parallel resonant fundamental frequency microprocessor grade crystal should be used A clock output CLKOUT signal is generated by the processor at the processor s cycle rate This can be enabled and disabled by the CLKODIS bit in the SPORTO Autobuffer Control Register HOST MEMORY MODE ADSP 2186M CLKIN XTAL 1 2x CLOCK OR CRYSTAL BYTE MEMORY IRGE PF4 DATA23 8 KZ IROLO PF5 IROL1 PF6 MODE D PF3 lt gt MODE C PF2 MODE A PFO MODE B PF1 SPORT1 SCLK1 SERIAL RFS1 OR IRGO TFS1 ORIRGI DEVICE DT oR Fo DR1 OR FI SPORTO H scLko SERIAL gt RFSO DEVICE U a 8s Ul XJ VO SPACE MEMORY TWO 8K TWO 8K SYSTEM INTERFACE OR pK CONTROLLER Basic System Interface 10 REV 0 ADSP 2186M a im CLKIN XTAL CLKOUT DSP Figure 3 External Crystal Connections RESET The RESET signal initiates a master reset of the ADSP 2186M The RESET signal must be asserted during the power up seguence to assure proper initialization RESET
52. loops Two data address generators DAGs provide addresses for simultaneous dual operand fetches from data memory and program 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 possible 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 Memory Address PMA Bus Program Memory Data PMD Bus Data Memory Address DMA Bus Data Memory Data DMD Bus Result R Bus The two address buses PMA and DMA share a single external address bus allowing memory to be expanded off chip and the two data buses PMD and DMD share a single external data bus Byte memory space and I O memory space also share the external buses Program memory can store both instructions and data permit ting the ADSP 2186M to fetch two operands in a single cycle one from program memory and one from data memory The ADSP 2186M can fetch an operand from program memory and the next instruction in the same cycle In lieu of the address and data bus for external memory connec tion the ADSP 2186M may be configured for 16 bit Internal DMA port IDMA port connection to external systems The IDMA port is made up of 16 data address pins and five control pins The IDMA port provides
53. lse ends before IACK Low use specifications typsu tipu 3If Write Pulse ends after IACK Low use specifications trgsu tiku This is the earliest time for IACK Low from Start of Write For IDMA Write cycle relationships please refer to the ADSP 2100 Family User s Manual D IAD15 0 Figure 29 IDMA Write Long Write Cycle REV 0 31 ADSP 2186M Parameter Min Max Unit IDMA Read Long Read Cycle Timing Requirements tr IACK Low before Start of Read 0 ns TIRK End of Read after IACK Low 2 ns Switching Characteristics tIKHR IACK High after Start of Read 10 ns trxps IAD 15 0 Data Setup before IACK Low 0 5t 2 ns KDH IAD15 0 Data Hold after End of Read 0 ns KDD IAD15 0 Data Disabled after End of Read 10 ns URDE IAD15 0 Previous Data Enabled after Start of Read 0 ns trrpv IAD 15 0 Previous Data Valid after Start of Read 11 ns trrpH1 IAD 15 0 Previous Data Hold after Start of Read DM PMI 2t 75 ns RDH2 IAD15 0 Previous Data Hold after Start of Read PM2 t5 ns NOTES IStart of Read IS Low and IRD Low End of Read 7 IS High or IRD High DM read or first half of PM read 4Second half of PM read Figure 30 IDMA Read Long Read Cycle 32 REV 0 ADSP 2186M Parameter Min Max Unit IDMA Read Short Read Cycle Timing Requirements tree IACK Low before Start of Read 0 ns trRP1 Duration of Read DM PM1 10 2tck 5 ns
54. lso 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 Idle When the ADSP 2186M is in the Idle Mode 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 instruc tion In Idle mode IDMA BDMA and autobuffer cycle steals still occur ADSP 2186M Slow Idle The IDLE instruction is enhanced on the ADSP 2186M to let the processor s internal clock signal be slowed further reducing power consumption The reduced clock frequency a program mable fraction of the normal clock rate is specified by a selectable divisor given in the IDLE instruction The format of the instruction is IDLE n where z 16 32 64 or 128 This instruction keeps the proces sor fully functional but operating at the slower clock rate While it is in this state the processor s other internal clock signals such as SCLK CLKOUT and timer clock are reduced by the same ratio The default form of the instruction when no clock divisor is given is the standard IDLE instruction When the IDLE n instruction is used it ef
55. mmendation G 711 SPORT receive and transmit sections can generate unique interrupts on completing a data word transfer SPORTS can 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 SPORTO has a multichannel interface to selectively receive and transmit a 24 or 32 word time division multiplexed serial bitstream SPORTI can be configured to have two external interrupts IRQO and IRQ1 and the FI and FO signals The internally generated serial clock may still be used in this configuration PIN DESCRIPTIONS The ADSP 2186M is available in a 100 lead LQFP package and a 144 Ball Mini BGA package In order to maintain maxi mum functionality and reduce package size and pin count some serial port programmable flag interrupt and external bus pins have dual multiplexed functionality The external bus pins are configured during RESET only while serial port pins are soft ware configurable during program execution Flag and interrupt functionality is retained concurrently on multiplexed pins In cases where pin functionality is reconfigurable the default state is shown in plain text alternate functionality is shown in italics ADSP 2186M Common Mode Pins Pin Name of Pins Vo Function RESET 1 I Processor Reset Input BR 1 I Bus Request Input BG 1 O Bus Grant Output BGH 1
56. nal host writing to the register Disabled by default Start of Read IS Low and IRD Low Previous data remains until end of read 3End of Read IS High or IRD High tiroe IAD15 0 Figure 32 IDMA Read Short Read Only Cycle 34 REV 0 ADSP 2186M 100 LEAD LQFP PIN CONFIGURATION 94a Zia sia eia and oza iza zza eza zld NE 014 a aaowl 4d o aaow z4d 1Xaaa A OMd and a 3aOW 13d v aqoNW o3d HDA MovaMd ov oavyLv Lavuev zavyev 94 ZL 82 62 08 18 28 8 v8 S8 98 28 88 68 06 16 6 6 v6 S6 96 16 86 66 001 ia S BG EBG BR EBR 75 D15 74 D14 73 D13 72 D12 71 GND 70 D11 69 D10 68 D9 IDENTIFIER pint 67 VppExT 66 GND 65 D8 64 D7 I 63 D6 IRI a n o a 62 D5 AL 61 D4 l 60 GND z gt a o E Not to Scale 59 VppiNT 58 D3 IACK 57 D2 IAD15 56 D1 IAD14 55 DO IAD13 N a 54 53 52 51 a N m N lt N wo N A4 NAD3 1 AS IAD4 2 GND 3 A6 IAD5 4 A7 IAD6 5 A8 IAD7 6 A9 1AD8 7 A10 IAD9 8 A11 IAD10 9 A12 IAD11 10 A13 IAD12 11 GND 12 CLKIN 13 XTAL 14 Vppext 15 CLKOUT 16 GND 17 Vppint 18 WR 19 le M M M o m o o a o 2 lasada bros aNd H HHa OOHI LSAH LOHI LSAL OA LLA 1X3 gan 0
57. ng characteristics to ensure that any timing require ment of a device connected to the processor such as memory is satisfied REV 0 Timing requirements apply to signals that are controlled by circuitry external to the processor such as the data input for a read operation Timing requirements guarantee that the proces sor operates correctly with other devices MEMORY TIMING SPECIFICATIONS The table below shows common memory device specifications and the corresponding ADSP 2186M timing parameters for your convenience Memory Timing Device Parameter Specification Parameter Definition Address Setup to tasw A0 A13 xMS Setup before Write Start WR Low Address Setup to taw A0 A13 xMS Setup before Write End WR Deasserted Address Hold Time twra A0 A13 xMS Hold before WR Low Data Setup Time tpw Data Setup before WR High Data Hold Time tpu Data Hold after WR High OE to Data Valid trpp RD Low to Data Valid Address Access Time ta A0 A13 xMS to Data Valid NOTE 1XMS PMS DMS BMS CMS or IOMS 19 ADSP 2186M FREQUENCY DEPENDENCY FOR TIMING SPECIFICATIONS tcx is defined as 0 5 tcx The ADSP 2186M uses an input clock with a frequency equal to half the instruction rate For example a 37 50 MHz input clock which is equivalent to 26 6 ns yields a 13 3 ns processor cycle equivalent to 75 MHz tcx values within the range of 0 5 te period should be substituted for all relevant timing parameters to obt
58. nternal Vpp 2 5 V Power Mini BGA VpDEXT 7 I External Vpp 2 5 V or 3 3 V Power Mini BGA GND 20 I Ground Mini BGA EZ Port 9 IO For Emulation Use NOTES Interrupt Flag pins retain both functions concurrently If IMASK is set to enable the corresponding interrupts then the DSP will vector to the appropriate interrupt vector address when the pin is asserted either by external devices or set as a programmable flag SPORT configuration determined by the DSP System Control Register Software configurable REV 0 ADSP 2186M Memory Interface Pins The ADSP 2186M processor can be used in one of two modes Full Memory Mode which allows BDMA operation with full exter nal overlay memory and I O capability or Host Mode which allows IDMA operation with limited external addressing capabilities The operating mode is determined by the state of the Mode C pin during RESET and cannot be changed while the processor is running The following tables list the active signals at specific pins of the DSP during either of the two operating modes Full Memory or Host A signal in one table shares a pin with a signal from the other table with the active signal determined by the mode set For the shared pins and their alternate signals e g A4 IAD3 refer to the package pinout tables Full Memory Mode Pins Mode C 0 Pin Name of Pins I O Function A13 0 14 O Address Output Pins for Program Data Byte and
59. o Level Output Voltage A Vppgxr min Io 2 mA 0 4 V In Hi Level Input Current A Vppint max V 3 6 V 10 uA Ip Lo Level Input Current A Vppnr max Vin 0 V 10 HA Iozy Three State Leakage Current A VppExT max Vi 3 6 V 10 HA Ioz Three State Leakage Current Vppgxr max Vj 0 V 10 HA Ipp Supply Current Idle A Vppmr 2 5 tcx 15 ns 9 mA Ipp Supply Current Idle A Vppmt 2 5 tcx 13 3 ns 10 mA Ipp Supply Current Dynamic A Vppixr 2 5 tcx 15 ns Tag 25 C 35 mA Ipp Supply Current Dynamic A VppixT 2 5 tcx 13 3 ns Tamp 25 C 38 mA Ipp Supply Current Power Down A Vppint 2 5 Tams 25 C in Lowest 100 HA Power Mode C Input Pin Capacitance Vi 2 5 V fy 1 0 MHz Tamp 25 C 8 pF Co Output Pin Capacitance 12 1 Vy 2 5 V f 1 0 MHz Tams 25 C 8 pF NOTES Bidirectional pins DO D23 RFSO RFS1 SCLKO SCLKI TFSO TFS1 Al A13 PF0 PF7 2Input only pins RESET BR DRO DR1 PWD Input only pins CLKIN RESET BR DRO DR1 PWD 4 Output pins BG PMS DMS BMS IOMS CMS RD WR PWDACK A0 DTO DT1 CLKOUT FL2 0 BGH gt Although specified for TTL outputs all ADSP 2186M outputs are CMOS compatible and will drive to Vppgxr and GND assuming no dc loads Guaranteed but not tested 7Three statable pins A0 A13 D0 D23 PMS DMS BMS IOMS CMS RD WR DT0 DT1 SCLKO SCLK1 TFSO TFS1 RFS0 RFS1 PFO PF7 50 V on BR dle refe
60. ords from the byte memory space Program execution is held off until all 32 words have been loaded Chip is configured in Full Memory Mode No automatic boot operations occur Program execution starts at external memory location 0 Chip is configured in Full Memory Mode BDMA can still be used but the processor does not automatically 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 Host Mode IACK has active pull down REQUIRES ADDITIONAL HARDWARE IDMA feature is used to load any internal memory as desired Program execution is held off until internal program memory location 0 is written to Chip is configured in Host Mode IACK has active pull down 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 Host Mode IACK requires exter nal pull down REQUIRES ADDITIONAL HARDWARE IDMA feature is used to load any internal memory as desired Program execution is held off until internal program memory location 0 is written to Chip is configured in Host Mode IACK requires external pull down NOTE 1Considered as standard operating settings Using these configurations allows for easier design and better memory management REV 0
61. red to or from on chip memory The transfer takes one DSP cycle DSP accesses to external memory have priority over BDMA byte memory accesses The BDMA Context Reset bit BCR controls whether the processor is held off while the BDMA accesses are occurring Setting 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 BDMA accesses are occurring to clear the context of the processor and start execution at address 0 when the BDMA accesses have completed REV 0 ADSP 2186M The BDMA overlay bits specify the OVLAY memory blocks to be accessed for internal memory For ADSP 2186M set to zero BDMA overlay bits in BDMA control register The BMWAIT field which has four bits on ADSP 2186M allows selection of up to 15 wait states for BDMA transfers Internal Memory DMA Port IDMA Port Host Memory Mode The IDMA Port provides an efficient means of communication between a host system and the ADSP 2186M The port is used to access the on chip program memory and data memory of the DSP with only one DSP cycle per word overhead The IDMA port cannot however be used to write to the DSP s memory mapped control registers A typical IDMA transfer process is described as follows 1 Host starts IDMA transfer 2 Host checks IACK control line to see if the DSP is busy 3 Host uses IS and IAL control lines to latch either the DMA starting address IDMAA or the P
62. rs to ADSP 2186M state of operation during execution of IDLE instruction Deasserted pins are driven to either V pp or GND p 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 Vy 0 V and 3 V For typical figures for supply currents refer to Power Dissipation section 12 See Chapter 9 of the ADSP 2100 Family User s Manual for details 13 Output pin capacitance is the capacitive load for any three stated output pin Specifications subject to change without notice 48 REV 0 ADSP 2186M ABSOLUTE MAXIMUM RATINGS Value Parameter Min Max Internal Supply Voltage Vppnr 0 3 V 3 0 V External Supply Voltage Vppexr 0 3 V 4 0 V Input Voltage2 0 5V 4 0 V Output Voltage Swing2 0 5V Vppzxr 0 5 V Operating Temperature Range 40 C 85 C Storage Temperature Range 65 C 150 C Lead Temperature 5 sec LQFP 280 C ESD SENSITIVITY NOTES IStresses greater than those listed may cause permanent damage to the device These are stress ratings only functional operation of the device at these or any other conditions greater than those indicated in the operational sections of this specifi cation is not implied Exposure to absolute maximum rating conditions for extended periods may affect device reliability Applies to Bidirectional pins D0 D23 RFSO RFS1 SCLKO
63. t IOMS O Z o BR EBR Float CMS O Z o BR EBR Float RD O Z o BR EBR Float WR O Z o BR EBR Float BR I I High Inactive BG O Z o EE Float BGH O O Float IRO2 PF7 VO Z I Input High Inactive or Program as Output Set to 1 Let Float IROLI PF6 VO Z I Input High Inactive or Program as Output Set to 1 Let Float IRQLO PF5 IO Z I Input High Inactive or Program as Output Set to 1 Let Float IRQE PF4 IO Z I Input High Inactive or Program as Output Set to 1 Let Float SCLKO Vo I Input High or Low Output Float RFSO IO I High or Low DRO I I High or Low TESO Vo I High or Low DTO O O Float SCLKI Uo I Input High or Low Output Float RFS1 IRQO Uo I High or Low DRI FI I I High or Low TFS1 IRQ1 IO I High or Low DT1 FO O O Float EE I I Float EBR I I Float EBG O O Float ERESET I I Float EMS O O Float EINT I I Float ECLK I I Float ELIN I I Float ELOUT O O Float NOTES Hi Z High Impedance 1 If the CLKOUT pin is not used turn it OFF using CLKODIS in SPORTO autobuffer control register 2 If the Interrupt Programmable Flag pins are not used there are two options Option 1 When these pins are configured as INPUTS at reset and function as inter rupts and input flag pins pull the pins High inactive Option 2 Program the unused pins as OUTPUTS set them to 1 prior to enabling interrupts and let pins float 3 All bidirectional pins have three stated outputs When the pin is configured as an output
64. t pins on SPORT 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 TCOUNT decrements every n pro cessor 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 TPERIOD Serial Ports The ADSP 2186M incorporates two complete synchronous serial ports SPORTO and SPORT1 for serial communications and multiprocessor communication Here is a brief list of the capabilities of the ADSP 2186M SPORTs For additional information on Serial Ports refer to the ADSP 2100 Family User s Manual SPORTS are bidirectional and have a separate double buffered transmit and receive section REV 0 SPORTS can use an external serial clock or generate their own serial clock internally SPORTS 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 pulsewidths and timings SPORTS support serial data word lengths from 3 to 16 bits and provide optional A law and u law companding according to CCITT reco
65. the output is Hi Z high impedance when inactive 4 CLKIN RESET and PF3 0 MODE D A are not included in the table because these pins must be used 8 REV 0 ADSP 2186M Interrupts The interrupt controller allows the processor to respond to the 11 possible interrupts and reset with minimum overhead The ADSP 2186M provides four dedicated external interrupt input pins IRQ2 IROLO IROLI and IRQE shared with the PF7 4 pins In addition SPORT1 may be reconfigured for IRQO IRQI FI and FO for a total of six external interrupts The ADSP 2186M also supports internal interrupts from the timer the byte DMA port the two serial ports software and the power down control circuit The interrupt levels are internally prioritized and individually maskable except power down and reset The IRQ2 IRQO and IRQ input pins can be programmed to be either level or edge sensitive IRQLO and IROLI are level sensitive and IRQE is edge sensitive The priorities and vector addresses of all interrupts are shown in Table I Table I Interrupt Priority and Interrupt Vector Addresses Interrupt Vector Source Of Interrupt Address Hex Reset or Power Up with PUCR 1 0000 Highest Priority Power Down Nonmaskable 002C IRQ2 0004 IROLI 0008 IROLO 000C SPORTO Transmit 0010 SPORTO Receive 0014 IRQE 0018 BDMaA Interrupt 001C SPORT 1 Transmit or IRQ1 0020 SPORTI Receive or IRQO 0024 Timer 0028 Lowest Priority
66. ting the value of the mode pins the effects of an emulator reset must be taken into consideration One method of ensuring that the values located on the mode pins are those desired is to construct a circuit like the one shown in Figure 12 This circuit forces the value located on the Mode A pin to logic high regardless of whether it is latched via the RESET or ERESET pin REV 0 ADSP 2186M ADSP 2186M C MODE A PFO PROGRAMMABLE I O Figure 12 Mode A Pin EZ ICE Circuit See the ADSP 2100 Family EZ Tools data sheet for complete information on ICE products The ICE Port interface consists of the following ADSP 2186M pins EBR EINT EE EBG ECLK ERESET ELIN EMS and ELOUT These ADSP 2186M pins must be connected only to the EZ ICE connector in the target system These pins have no function except during emulation and do not require pull up or pull down resistors The traces for these signals between the ADSP 2186M and the connector must be kept as short as possible no longer than 3 inches The following pins are also used by the EZ ICE BR BG RESET and GND The EZ ICE uses the EE emulator enable signal to take con trol of the ADSP 2186M in the target system This causes the processor to use its ERESET EBR and EBG pins instead of the RESET BR and BG pins The BG output is three stated These signals do not need to be jumper isolated in your system The EZ ICE connects to your targ
67. transparent direct access to the DSPs on chip program and data RAM An interface to low cost byte wide memory is provided by the Byte DMA port BDMA 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 The byte memory and I O memory space interface supports slow memories and I O memory mapped peripherals with program mable wait state generation External devices can gain control of REV 0 ADSP 2186M external buses with bus request grant signals BR BGH and BG One execution mode Go Mode allows the ADSP 2186M to continue running from on chip memory Normal execution mode requires the processor to halt while buses are granted The ADSP 2186M can respond to eleven interrupts There can be up to six external interrupts one edge sensitive two level sensitive and three configurable and seven internal interrupts generated by the timer the serial ports SPORTs the Byte DMA port and the power down circuitry There is also a master RESET signal The two serial ports provide a complete synchro nous 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 The ADSP 2186M provides up to 13 general purpose flag pins The data input and outpu
68. trrp2 Duration of Read PM2 10 tek 5 ns Switching Characteristics ikHR IACK High after Start of Read 10 ns trkpH IAD15 0 Data Hold after End of Read 0 ns tKDD IAD15 0 Data Disabled after End of Read 10 ns IRDE IAD15 0 Previous Data Enabled after Start of Read 0 ns trrpv IAD15 0 Previous Data Valid after Start of Read 10 ns NOTES 1Short Read Only must be disabled in the IDMA Overlay memory mapped register Consider using the Short Read Only mode instead because Short Read mode is not applicable at high clock frequencies Start of Read IS Low and IRD Low DM Read or first half of PM Read Second half of PM Read End of Read IS High or IRD High tiroe IAD15 0 Figure 31 IDMA Read Short Read Cycle REV 0 33 ADSP 2186M Parameter Min Max Unit IDMA Read Short Read Cycle in Short Read Only Mode Timing Requirements UKR IACK Low before Start of Read 0 ns trrp Duration of Read 10 ns Switching Characteristics trkHR IACK High after Start of Read 10 ns IKDH IAD15 0 Previous Data Hold after End of Read 0 ns KDD IAD15 0 Previous Data Disabled after End of Read 10 ns URDE IAD15 0 Previous Data Enabled after Start of Read 0 ns trrpv IAD15 0 Previous Data Valid after Start of Read 10 ns NOTES Short Read Only is enabled by setting Bit 14 of the IDMA Overlay Register to 1 0x3FE7 Short Read Only can be enabled by the processor core writing to the register or by an exter
69. unctional groups are Program Memory Data Memory Byte Memory and I O Refer to the following figures and tables for PM and DM memory allocations in the ADSP 2186M Program Memory Program Memory Full Memory Mode is a 24 bit wide space for storing both instruction opcodes and data The ADSP 2186M has 8K words of Program Memory RAM on chip and the capability of accessing up to two 8K external memory over lay spaces using the external data bus Program Memory Host Mode allows access to all internal memory External overlay access is limited by a single external address line A0 External program execution is not available in host mode due to a restricted data bus that is 16 bits wide only PM MODE B 1 RESERVED j 0x0000 Ox1FFF ACCESSIBLE WHEN PMOVLAY 0 0x0000 Ox1FFF EXTERNAL MEMORY NOTES WHEN MODE B 1 PMOVLAY MUST BE SET TO 0 2SEE TABLE Ill FOR PMOVLAY BITS PROGRAM MEMORY MODE B 1 ADDRESS Ox3FFF RESERVED 0x2000 0x1FFF 8K EXTERNAL PMOVLAY lt 0 0x0000 Figure 4 Program Memory Table III PMOVLAY Bits PMOVLAY Memory A13 A12 0 0 Reserved Not Applicable Not Applicable 1 External Overlay 1 0 13 LSBs of Address Between 0x2000 and 0x3FFF 2 External Overlay 2 1 13 LSBs of Address Between 0x2000 and 0x3FFF 12 REV 0 Data Memory Data Memory Full Memory Mode is a 16 bit wide space used for the storage of data variables and for memory m
Download Pdf Manuals
Related Search
Related Contents
AT&T ATT-TP-76450 User's Manual 3-Channel - Revell Control Programme 2015 UDG 4500139 equipment case AP31 Manual del usuario Controlador MCR_ Manuais do Proprietario - I9 Equipamentos Odontológicos 取扱説明書 - KDDI Eliminator User Manual Copyright © All rights reserved.
Failed to retrieve file