AN2269 Freescale Semiconductor / Motorola, AN2269 Datasheet - Page 15

no-image

AN2269

Manufacturer Part Number
AN2269
Description
Interconnecting MPC8260 and MSC8101 ADS Boards Using DMA Transfers Across a 60x Bus
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
6
HDI16 MSC8101
4
Module
For details on how to power up and set up the MSC8101ADS board, consult the MSC8101ADS User’s Manual. One
chapter of this manual presents installation instructions for the MSC8101ADS board.
Source Code Files, Software Flow, and Register
Settings
8101.mcp
main.c
hi16.c
MmapQ001.h
reg8101.h
hi16.h
type8101.h
Filename
Our application uses a 16.384 MHz CLKIN crystal on the MSC8101 ADS platform. With the SW9
settings defined previously, MODCLK 40 is selected, yielding a host 60x bus clock speed of ~40 MHz
and a DSP core speed of ~200 MHz. Our application uses a 66 MHz CLKIN crystal on the
MPC8260ADS platform. Table 4 defines the default switch configuration for the host MPC8260ADS.
This application was developed using the Metrowerks
1.0. The CodeWarrior IDE provides a set of tools for developing software using a GUI. The Metrowerks
project file references an 8101_Initialization.cfg file with which it can configure SDRAM
and so on via the debugger. The location of this file can be modified to suit your own implementation of
Metrowerks. Table 5 defines both the host-side and DSP-side source code project files associated with
this application note. Figure 5 details the software flow of the HDI16 MSC8101 program, and Figure 6
details the software flow of the host MPC8260 program.
SW6
SW9
SW10
SW11 – S/W_OPT
DS1
DS2
DS3
Jumpers
Freescale Semiconductor, Inc.
Switch
Switch
For More Information On This Product,
Metrowerks Project File
Main program
HDI16 and DMA procedures
8101 Register Memory Mapping
8101 Registers
HDI16 and DMA procedure and variable declarations
Specific variables types used in this application
Table 5. Source Code Project Files
Table 3. HDI16 MSC8101ADS Switch Settings (Continued)
Go to: www.freescale.com
32-bit
On-on-on-off-on-off-on-on
On-on-on-on
On-on-on-on
Table 4. Host MPC8260ADS Switch Settings
Off–on–off–on–off–off–on–
off
On–on–on–on
On–on–on
Factory defaults
Settings used
Settings
Source Code Files, Software Flow, and Register Settings
Description
®
Mandatory to use the HDI16
MODCLK #40, HDI16 enabled by SW9/8 being on.
CodeWarrior
®
for StarCore, production release
Comments
Comments
15

Related parts for AN2269