****************************************************************************************************
This folder is associated with the Application Note


   	ADSP-CM40x Boot Time Optimization and Device Initialization(EE-359)  


that can be found at http://www.analog.com/ee-notes.

Date Created:	07/07/2015

****************************************************************************************************
CONTENTS

	1. DESCRIPTION
	2. VERSION INFORMATION
	3. DIRECTORY STRUCTURE
	4. EXTERNAL CONNECTIONS

****************************************************************************************************
1. DESCRIPTION

Boot_Optimization_Multi_App directory provides two projects:

proc_init project performs processor optimization and initialization 

blink project performs led blink operation

To run the example:
      1) Open the multi_app.eww workspace.
      2) Select the blink project.
      3) Build and download the blink application.
      4) Select the proc_init project.
      5) Build, download and run the proc_init application.  
         The LED will blink if successful.
         
User Configuration Macros:
==========================

In blink.c configure the PORT and PIN settings for LED 2
 
    ADSP-CM403F EZ-Kit:
      #define PORT  ADI_GPIO_PORT_B
      #define PIN   ADI_GPIO_PIN_4

    ADSP-CM408F EZ-Kit:
      #define PORT  ADI_GPIO_PORT_E
      #define PIN   ADI_GPIO_PIN_6

    Configure CCLK/SCLK in Project options> C/C++ Compiler> Preprocessor> Defined Symbols
	CCLK_SCLK_225_100
	CCLK_SCLK_240_96
	CCLK_SCLK_240_80
	CCLK_SCLK_200_100

Boot Mode:
=================
    SW1 - Set the Boot Mode rotary switch to position 1 

****************************************************************************************************
2. VERSION INFORMATION

Tested on:

IDE: 	  IAR Embedded Workbench for ARM 7.40.1
Hardware: ADSP-CM408F EZ-KIT board revision 0.2, BOM Revision 0.7
    	  ADSP-CM403F EZ-Kit board revision 1.0, BOM Revision 0.7
	  Silicon Revision H

****************************************************************************************************
3. DIRECTORY STRUCTURE
		
- Boot_Optimization_Multi_App
	- proc_init
		init_cgu.c - Initializes CGU.
		init_cgu.h - Initializes CGU.
		init_dpm.c - Initializes DPM.
		init_dpm.h - Initializes DPM.
		init_mem.c - Configures memory and code partioning.
		init_mem.h - Configures memory and code partioning.
		init_spi.c - Configures SPI flash.
		init_spi.h - Configures SPI flash.
		proc_init.c - Initializes processor optimization technique.
		proc_init_startup.c - Startup.c file to be used for proc_init project. 

	- blink
		blink_CM403F.c - Led blink code for CM403F.
		blink_CM408F.c - Led blink code for CM408F.
		blink_startup.c - Startup.c file to be used for blink project.
		test_data.h - COnfigures test data.

****************************************************************************************************
4. EXTERNAL CONNECTIONS

None



            



	