Cop Driver Application - Freescale Semiconductor DSP56800E User Manual

Hide thumbs Also See for DSP56800E:
Table of Contents

Advertisement

5.4.4

COP Driver Application

The COP driver application is designed for Freescale/Motorola EVM's and intended to illustrate
the usage of this driver by a real example. It shows a most common way of using the COP module
in user application.
The
COP
driver
Source}\..\sample_applications\MC56F8346EVM\cop_demo directory and consists of the
application project cop.mcp and the source code for the application main.c.
Example 5-84. COP Driver Application - appconfig.h
/*******************************************************************************
*
* Freescale Semiconductor Inc.
* (c) Copyright 2004-2007 Freescale Semiconductor, Inc.
* (c) Copyright 2001-2004 Motorola, Inc.
* ALL RIGHTS RESERVED.
*
********************************************************************************
*
* File Name: appconfig.h
*
* Description: file for static configuration of the application
*
(initial values, interrupt vectors)
*
*****************************************************************************/
#ifndef __APPCONFIG_H
#define __APPCONFIG_H
/*.*************************************************************************
*
* File generated by Graphical Configuration Tool Wed, 07/Feb/2007, 10:19:17
*
****************************************************************************.*/
#define MC56F8346
#define EXTCLK 8000000L
#define APPCFG_DFLTS_OMITTED 1
#define APPCFG_GCT_VERSION 0x0203000fL
/*.
OCCS Configuration
--------------------------------------------
Core frequency: 8 MHz
VCO frequency: 256 MHz
Loss of lock interrupt 0: Disable
Loss of lock interrupt 1: Disable
Loss of reference clock Interrupt: Disable
COP operation: Enable
COP timeout: 2 sec
COP Runs in Stop Mode: Disable
COP Runs in Wait Mode: Disable
COP Write Protect: Disable
.*/
#define OCCS_PLLCR_INIT
#define OCCS_PLLDB_INIT
#define COP_COPCTL_INIT
#define COP_COPTO_INIT
/*.
SYS Configuration
5-128
application
can
be
Targeting 56F8xxx Platform
found
at
e.g.
0x0082
0x2C1F
0x0002
0x3D08
FREESCALE SEMICONDUCTOR
{DSP56800E_Quick_Start

Advertisement

Table of Contents
loading

Table of Contents