AN2505 Freescale Semiconductor / Motorola, AN2505 Datasheet

no-image

AN2505

Manufacturer Part Number
AN2505
Description
MSC8102 Asynchronous DSI Throughput
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
© Freescale Semiconductor, Inc., 2004. All rights reserved.
Freescale Semiconductor
Application Note
The Freescale MSC8102 DSP device has a parallel slave
peripheral port by which host processors can read and write
directly to the MSC8102 internal memory, either synchronously
or asynchronously. This direct slave interface (DSI) port allows
fast data transfers to the internal SRAM (M1 or M2) without
interrupting the SC140 core data. For applications using the
DSI, it is important to know the performance capabilities and
limitations of the MSC8102 peripherals. This application note
examines the bandwidth capabilities of the MSC8102 DSI
peripheral in asynchronous mode.
1
The DSI can operate as either a 32-bit or a 64-bit data bus slave
peripheral. Because 32 of the data lines are shared with the 60x-
compatible system bus, using the DSI is used in 64-bit mode
requires the 60x bus to operate in 32-bit mode. In addition to the
data lines, there are 19 DSI address signals that allow the host to
access the entire range of MSC8102 memory and registers.
The DSI is a flexible interface that supports a variety of host
processors. The host can use a dual- or single-strobe access to
communicate with the DSI. The DSI sliding window addressing
mode allows the host processor to communicate with the DSI
using only 16 address signals instead of 19. Finally, the DSI
supports host processors that are byte ordered in Big Endian,
Little Endian, or Munged Little-Endian formats.
MSC8102 Asynchronous DSI
Throughput
by Jason Streeter
DSI Basics
CONTENTS
1
2
2.1
2.2
3
4
4.1
4.2
4.3
4.4
4.5
4.6
4.7
5
5.1
5.2
5.3
5.4
6
7
DSI Basics ...............................................................1
Asynchronous DSI Connections and Timings ........2
MSC8101 to MSC8102 DSI Connection ................2
MSC8102 DSI Timings ..........................................3
Theoretical Throughput ...........................................6
Actual Throughput ..................................................7
Asynchronous Throughput Measurements .............7
Single Read Throughput .........................................8
Single Write Throughput ........................................8
Broadcast Single Write Throughput .......................9
Host DMA Read Throughput ..................................9
Host DMA Write Throughput ...............................10
Broadcast Host DMA Write Throughput ..............10
Actual Throughput Versus Frequency ..................11
Single Read Versus Local Bus Frequency ............11
Single Write Versus Local Bus Frequency ...........12
Host DMA Read Versus Local Bus Frequency ....12
Host DMA Write Versus Local Bus Frequency ...13
Summary ...............................................................14
References .............................................................15
Rev. 1, 10/2004
AN2505

Related parts for AN2505

AN2505 Summary of contents

Page 1

... Broadcast Host DMA Write Throughput ..............10 5 Actual Throughput Versus Frequency ..................11 5.1 Single Read Versus Local Bus Frequency ............11 5.2 Single Write Versus Local Bus Frequency ...........12 5.3 Host DMA Read Versus Local Bus Frequency ....12 5.4 Host DMA Write Versus Local Bus Frequency ...13 6 Summary ...............................................................14 7 References .............................................................15 AN2505 ...

Page 2

Asynchronous DSI Connections and Timings The DSI operates in either asynchronous or synchronous mode. In asynchronous mode, the DSI functions in an SRAM-like mode that does not require the host to supply a clock to the slave MSC8102. In synchronous ...

Page 3

MSC8102 DSI Timings The DSI timings are different, depending on whether the host processor reads from the DSI, writes to the DSI, or broadcasts data to multiple DSIs on multiple DSPs. The DSI communicates via a dual-strobe or a ...

Page 4

Asynchronous DSI Connections and Timings 2.2.2 DSI Write Timings Figure 3 shows the timings for an asynchronous DSI write transaction as indicated in the MSC8102 Technical Data sheet. When the memory controller on the host processor is programmed, the MSC8102 ...

Page 5

HCS HA[11–29] HCID[0–4] HDST HRW HRDS HWBSn HD[0–63] Figure 4. DSI Asynchronous Broadcast Write Timings 2.2.4 DSI Timing Values The timing values associated with the preceding diagrams are listed in Table 1. These values are directly from the MSC8102 Technical ...

Page 6

Theoretical Throughput Table 1. DSI Asynchronous Mode Timing (Continued) No. Characteristics 111 Read/Write data strobe deassertion to output HTA high impedance. (DCR[HTAAD HTA at end of access released at logic 1 • DCR[HTADT • DCR[HTADT] = ...

Page 7

The DSI asynchronous read transaction, which is programmed into the MSC8101 UPM memory controller as a single read, requires 5 cycles with a system bus clock of 66 MHz. The throughput is calculated by adding the cycles of the UPM ...

Page 8

Actual Throughput • Throughput measurements for host DMA accesses are taken over an average of four transactions. • Throughput measurements for single reads and writes are taken over an average of four transactions. 4.2 Single Read Throughput The maximum DSI ...

Page 9

System Bus Clock Address HCS/CS4 HWBS0/PWE0 HTA/UPMWAIT 4.4 Broadcast Single Write Throughput The maximum DSI single broadcast write performance is based on consecutive writes to MSC8102 M2 memory. Figure 7 shows one broadcast write transaction obtained from the logic analyzer. ...

Page 10

Actual Throughput System Bus Clock Address HCS/CS4 HRW/POE HTA/UPMWAIT 4.6 Host DMA Write Throughput The maximum DSI host DMA write performance is calculated from the timing results shown in Figure 9. The figure shows the host clock, address lines, chip ...

Page 11

System Bus Clock Address HBCS/CS3 HWBS0/PWE0 Figure 10. Asynchronous Broadcast Host DMA Write 5 Actual Throughput Versus Frequency The observed maximum throughput for the asynchronous DSI reads and writes on the MSC8102ADS are given in Section 4. These numbers are ...

Page 12

Actual Throughput Versus Frequency 5.2 Single Write Versus Local Bus Frequency Figure 12 illustrates the DSI throughput for a single write transaction versus the local bus frequency of the MSC8102. The DSI operates on the basis of the local bus ...

Page 13

Figure 13. DSI Host DMA Read Throughput Versus MSC8102 Local Bus Frequency 5.4 Host DMA Write Versus Local Bus Frequency Figure 14 illustrates the DSI throughput for a host DMA ...

Page 14

Summary           Figure 14. DSI Host DMA Write Throughput Versus MSC8102 Local Bus Frequency 6 Summary The throughput for the MSC8102 DSI asynchronous 64-bit mode is obtained by examining the signals ...

Page 15

References The following Freescale documents are available at the web site listed on the back cover of this document. • MSC8102 Reference Manual • MSC8102 Technical Data sheet • MSC8101 Reference Manual • MSC8101 Technical Data sheet • MSC8102 ...

Page 16

... P.O. Box 5405 Denver, Colorado 80217 1-800-441-2447 or 303-675-2140 Fax: 303-675-2150 LDCForFreescaleSemiconductor@hibbertgroup.com AN2505 Rev. 1 10/2004 Information in this document is provided solely to enable system and software implementers to use Freescale Semiconductor products. There are no express or implied copyright licenses granted hereunder to design or fabricate any integrated circuits or integrated circuits based on the information in this document ...

Related keywords