PCI Agent. AN1780 Datasheet

AN1780 Agent. Datasheet pdf. Equivalent

Part AN1780
Description DSP563xx HI32 as a PCI Agent
Feature ee www.DataSheet4U.com MOTOROLA Semiconductor Application Note Order by AN1780/D (Motorola Order .
Manufacture Motorola
Datasheet
Download AN1780 Datasheet



AN1780
ee



AN1780
www.DataSheet4U.com
MOTOROLA
Semiconductor Application Note
Order by AN1780/D
(Motorola Order Number)
Rev. 0 , 11/98
et4U.com
DSP563xx HI32 As A PCI Agent
Ilan Naslavsky
Leonid Smolyansky
The Host Interface (HI32) is a fast 32-bit wide parallel host
port that can directly connect to the host bus. The HI32 is a
standard peripheral on DSP563xx family derivatives, such as
the DSP56301 and DSP56305. It supports a variety of stan-
dard buses and provides a glueless connection with a number
of industry-standard microcomputers, microprocessors,
DSPs, and DMA controllers. The HI32 runs in three different
modes:
¥ Peripheral Component Interconnect (PCI) mode
¥ Universal bus (UB) mode
¥ General-Purpose I/O (GPIO) mode
This application note considers only the PCI mode of the
HI32. It includes an example with a DSPD5a6ta30S1heruent4nUin.cgoomn a
DSP56301ADM board, which is part of the Motorola appli-
cation development system. It focuses on a Data Scatter and
Gather application, which is an example of PCI bus master-
ing with the HI32. This application has a graphical user inter-
face (GUI), which is described in Chapter 4. Once the
DSP56301ADM board and the host-side application are
installed as described, you can start the software and run the
application. The Scatter and Gather application enables a bus
master device to access system memory for read (gather) and
write (scatter) transactions on non-consecutive locations with
a variable number of transfersÑall with minimal host inter-
vention.
You can download a README file, with installation directions
and a compressed ZIP-format file containing the application
files, HI32_AS_A_PCI_AGENT.ZIP, at the following loca-
tion:
http://www.mot.com/SPS/DSP/Documentation/
appnotes.html/AN1780/HI32_AS_A_PCI_AGENT.ZIP
Before you start the application, consult Chapter 3 for the
necessary details on data and flow control. Note that Appen-
dix A presents a print-out of the source code.
Contents
1 Introduction ......................... 1-2
1.1 Application FILES........................1-2
1.2 DSP56301ADM Installation.........1-2
1.3 Host-side Application Installation 1-3
1.4 Development Environment ...........1-3
2 Basics of HI32 PCI Usage ... 2-1
2.1 The DSP56301ADM Board..........2-1
2.2 BOOT............................................2-1
2.3 PCI File Format ............................2-4
2.4 PCI Configuration.........................2-4
2.5 Reset Issues...................................2-5
3 Data and Control Flow ........ 3-1
3.1 DSP Side: Status Bits Polling
Examples ......................................3-1
3.2 Host-Side Transfers: Status
Polling ..........................................3-2
3.3 32-Bit and Non-32-Bit Mode
Support .........................................3-3
3.4 DMA Usage ..................................3-3
3.5 Interrupts.......................................3-6
3.6 Data Handling ...............................3-8
3.7 PCI-to-DSP Address Mapping....3-15
3.8 Data Format Conversion.............3-15
3.9 Control Flow ...............................3-17
3.10 Transaction Termination.............3-19
3.11 PCI Master Burst Generation......3-21
4 Application Sample ............. 4-1
4.1 Scatter and Gather Mechanism .....4-1
4.2 Application Workflow ..................4-4
4.3 Data Flow......................................4-6
4.4 Host Side.......................................4-7
4.5 Virtual Device Driver (VxD)......4-15
4.6 DSP Side .....................................4-16
APPENDIXES:
A Source Code ........................ A-1
A.1 Assembly Program.......................A-1
A.2 Virtual Device Driver Code.........A-7
A.3 Virtual Device Driver C Header
File.............................................A-15
B References ........................... B-1
DataSheet4U.com
© Motorola, Inc., 1998
DataSheet4 U .com
DataSheet4U.com
DataShee







@ 2014 :: Datasheetspdf.com :: Semiconductors datasheet search & download site (Privacy Policy & Contact)