AN2244 Freescale Semiconductor / Motorola, AN2244 Datasheet - Page 17

no-image

AN2244

Manufacturer Part Number
AN2244
Description
Interconnecting Two MSC8101ADS Boards Across a 60x-Compatible Bus to the Host Interface
Manufacturer
Freescale Semiconductor / Motorola
Datasheet
7
HDI16 MSC8101
Host MSC8101
6
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
Module
Table 4 defines the default Switch configuration for the host MSC8101 platform.
Our application uses a 16.384 MHz
previously, MODCLK 40 is selected, yielding a host 60x bus clock speed of ~40 MHz on the host
MSC8101 device and a DSP core speed of ~200 MHz on the HDI16 MSC8101 device.
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.
SW1 – HOST
SW2 – PPC_CTRL
SW5
SW6
SW9
SW10
SW11 – S/W_OPT
8101.mcp
main.c
hi16.c
MmapQ001.h
reg8101.h
hi16.h
type8101.h
HDI16DMAHost.mcp
hdi16.c
upminit.c
Filename
Freescale Semiconductor, Inc.
Switch
For More Information On This Product,
Table 5. Source Code Project Files
Go to: www.freescale.com
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
Metrowerks project file
Initializes HDI16, initializes HDI16 MSC8101, sets up transmit test pattern and received
test pattern destination address, and passes control to DMA routine.
The functions within are used to memory map the HDI16 (Host Interface) for the host
MSC8101 by initializing UPM A.
Table 4. Host MSC8101ADS Switch Settings
On-on-on–on
On-on-on-on-on-on-on-on
On-on-on-on
64 bit
64 bit
On-on-on-off-on-off-off-off
On-on-on-on
Settings used
CLKIN
Source Code Files, Software Flow, and Register Settings
crystal on both ADS platforms. With the SW9 settings defined
MODCLK #40, Load Reset Config word from Altera
Device, disabled HDI16.
®
CodeWarrior
Description
®
for StarCore, production release
Comments
17

Related parts for AN2244