AN1386 STMicroelectronics, AN1386 Datasheet
AN1386
Related parts for AN1386
AN1386 Summary of contents
Page 1
... The two-chip combination of a DSP and a DSM device is ideal for systems that have limitations on physical size and power consumption concerns. DSM memory and logic are “zero-pow- er,” meaning they automatically go to standby between memo- ry accesses or logic input changes, producing low active and standby current consumption. AN1386 1/17 ...
Page 2
... AN1386 - APPLICATION NOTE PURPOSE The DSM2180F3 device is designed to interface directly with the popular Analog Devices ADSP-218X se- ries of DSPs. The DSM2180F3 device provides bootloading capability and enables the core DSP design to be done with two chips. The DSM JTAG port allows In-System Programming (ISP completely blank DSM2180F3 device sol- dered to the board with no involvement of the DSP, which is ideal for first time programming during man- ufacturing ...
Page 3
... Flash memory to store the downloadable ADSP-2185 program code. Figure basic block diagram that shows the implementation of a basic system using the DSM2180F3/ ADSP-2185 two-chip combination. All glue logic, Flash memory, bus interface logic, I/O, chip selects, and PLDs are contained in the DSM chip. AN1386 - APPLICATION NOTE 3/17 ...
Page 4
... AN1386 - APPLICATION NOTE Figure 2. Minimized DSP System Block Diagram D8-D15 A0-A15 Control Lines ADSP-2185 DSM2180F3 Bus Interface When an ADSP218x is selected in PSDsoft Express (see Section 6), the bus interface is pre-configured so there is no chance to make a configuration mistake. Table 2 lists the bus interface signals from the ADSP-2185 used to access the Flash memory, PLD logic, and I/O inside the DSM2180F3 ...
Page 5
... Figure 3. ADSP-218x to DSM2180F3 Bus Interface Schematic AN1386 - APPLICATION NOTE 5/17 ...
Page 6
... AN1386 - APPLICATION NOTE ADSP-218X to DSM2180F3 Schematic Figure 3 shows an example schematic diagram for an ADSP-218x to DSM2180F3 design. While Table 1 shows the required connections for every design, the schematic shows additional signals and functions that would be typical of many designs. Specifically, the following signals have been added: Table 2 ...
Page 7
... Your pin definitions should match Figure 5 and are defined according to the schematic shown in Figure 3. On this screen, you can add or update pin functionality as desired. When you are finished, clicking Next>> will take you to the “Design Assistant” screen, which will be covered in the next section. AN1386 - APPLICATION NOTE 7/17 ...
Page 8
... AN1386 - APPLICATION NOTE Figure 5. DSM2180F3 Pin Definitions Note: There are detailed instructions on how to use this screen and other screens in the PSDsoft Express User Manual. ADSP-2185 BOOT LOADER The ADSP-2185 has two mechanisms to allow automatic loading of the internal program memory after reset which are BDMA boot or IDMA boot. Either mode can be used with the DSM2180F3, however, this application note uses BDMA booting ...
Page 9
... The memory map is organized to work within the restrictions of the ADSP-2185 Boot Loader (discussed in the previous section) and to utilize the entire Flash memory and show the paging features of the DSM2180F3. Figure 6. ADSP-2185/DSM2180F3 Memory Map AN1386 - APPLICATION NOTE 9/17 ...
Page 10
... AN1386 - APPLICATION NOTE Figure 6 shows a typical memory map with the following attributes: I/O Address Space. The 256 byte locations for DSM control registers (csiop) reside in DSP I/O address space, selected by the DSP IOMS signal. Since DSP I/O accesses are 16 bits, not 8 bits, the upper byte of a 16-bit DSP I/O access must be ignored ...
Page 11
... Click OK to generate the programming data file (.obj) that will be used to program the device. That's it; you are now ready to program the device. For more information on how to program the DSM through the JTAG port or a conventional programmer, consult the PSDsoft Express User Manual: http:// www.psdst.com/html/psdsoft_exp.htm. AN1386 - APPLICATION NOTE 11/17 ...
Page 12
... AN1386 - APPLICATION NOTE Figure 9. Merging of DSP Firmware with DSM Memory Map PROGRAMMING THE DSM2180F3 IN-CIRCUIT USING THE JTAG INTERFACE The ability to initially program a new system board with a blank Flash memory soldered directly to it has solved many manufacturing logistics problems: no sockets or individual labels are required; inventory of non-volatile program memory chips is reduced to one package ...
Page 13
... DATE : 05/21/2001 TIME : 13:05:59 Pin Type Address line Address line Address line Address line Address line Address line Address line Address line Address line Address line Address line Address line Address line AN1386 - APPLICATION NOTE 13/17 ...
Page 14
... AN1386 - APPLICATION NOTE adio13 a13 adio14 a14 adio15 a15 cntl0 _wr cntl2 _bms cntl1 _rd reset _reset pa0 d8 pa1 d9 pa2 d10 pa3 d11 pa4 d12 pa5 d13 pa6 d14 pa7 d15 pb0 _cs_uart pc0 tms pc1 tck pc2 a16 pc3 tstat ...
Page 15
... AN1386 - APPLICATION NOTE 15/17 ...
Page 16
... AN1386 - APPLICATION NOTE Table 3. Document Revision History Date Rev. 21-Jun-2001 1.0 Document written 16/17 Description of Revision ...
Page 17
... Singapore - Spain - Sweden - Switzerland - United Kingdom - U.S.A. www.st.com/psd apps.psd@st.com (for application support) (for general enquiries) The ST logo is registered trademark of STMicroelectronics All other names are the property of their respective owners. 2001 STMicroelectronics - All Rights Reserved STMicroelectronics GROUP OF COMPANIES www.st.com AN1386 - APPLICATION NOTE 17/17 ...