Getting Started withADSP-BF548 EZ-KIT Lite® Revision 1.0, November 2007Part Number82-000206-02Analog Devices, Inc.One Technology WayNorwood, Mass. 020
x Getting Started with ADSP-BF548 EZ-KIT Litefaster communication between the host PC and target hardware. Analog Devices carries a wide range of in-c
VisualDSP++ Utility Programs7-2 Getting Started with ADSP-BF548 EZ-KIT LiteVisualDSP++ Utility ProgramsThe loader utility is a VisualDSP++ tool which
Getting Started with ADSP-BF548 EZ-KIT Lite 7-3 Creating A Bootable Applicationcode and data sections directly in L1, L2, and L3 (DDR) memories and pr
Creating a Loadable Program File7-4 Getting Started with ADSP-BF548 EZ-KIT LiteOn the Loader: Options page, the options grouped under the Boot Mode la
Getting Started with ADSP-BF548 EZ-KIT Lite 7-5 Creating A Bootable ApplicationThe boot stream processed by the processor’s boot loader code can conta
Writing a Loader File to Flash Memory7-6 Getting Started with ADSP-BF548 EZ-KIT Liteing a boot stream on an ADSP-BF548 EZ-KIT Lite is the 32 MB, 16-bi
Getting Started with ADSP-BF548 EZ-KIT Lite 7-7 Creating A Bootable Applicationplete. Check your selections and click the Program command. After a sho
Booting From Burst Flash Memory7-8 Getting Started with ADSP-BF548 EZ-KIT LiteBooting From Burst Flash MemoryThe BMODE0—3 input pins of the processor
Getting Started with ADSP-BF548 EZ-KIT Lite 7-9 Creating A Bootable ApplicationExample 8: Loading This chapter’s example project (Example_8.dpj) reuse
Epilogue7-10 Getting Started with ADSP-BF548 EZ-KIT LiteIf the example works as expected, you can burn the loader file to burst flash memory as descri
Getting Started with ADSP-BF548 EZ-KIT Lite I-1 IINDEXAAD1980 audio codec, xi, 3-7AD1980Callback() function, 3-16adi_dev_Write() SSL API, 3-14advanced
Getting Started with ADSP-BF548 EZ-KIT Lite xi Preface• SPI flash memoryD ST Micro M25P16 – 16 Mb• Advanced technology attachment packet interface (AT
INDEXI-2 Getting Started with ADSP-BF548 EZ-KIT Liteevent-driven device drivers, 6-2example 1building, running an application, 1-6source listing, 1-9e
Getting Started with ADSP-BF548 EZ-KIT Lite I-3INDEXOOTG (on-the-go) USB controller, 4-2Pparallel data interfaces, 3-2peripheral mode, 4-2placement of
xii Getting Started with ADSP-BF548 EZ-KIT Lite• ThumbwheelD CTS Corp rotary encoder• Universal asynchronous receiver/transmitter (UART)D ADM3202 RS-2
Getting Started with ADSP-BF548 EZ-KIT Lite xiii PrefacePurpose of This Manual The Getting Started with ADSP-BF548 EZ-KIT Lite familiarizes users with
Manual Contentsxiv Getting Started with ADSP-BF548 EZ-KIT Litethe board and control the program execution. You will build and run the first example pr
Getting Started with ADSP-BF548 EZ-KIT Lite xv Preface• Chapter 6, “Using ADSP-BF548 EZ-KIT Lite Keypad and LED Indicator” on page 6-1Explores the key
Supported Processorsxvi Getting Started with ADSP-BF548 EZ-KIT Lite• E-mail processor questions [email protected] (World wide support) pr
Getting Started with ADSP-BF548 EZ-KIT Lite xvii PrefaceMyAnalog.comMyAnalog.com is a free feature of the Analog Devices Web site that allows customiz
Product Informationxviii Getting Started with ADSP-BF548 EZ-KIT LiteYou may also obtain additional information about Analog Devices and its products i
Getting Started with ADSP-BF548 EZ-KIT Lite xix PrefaceLIf you plan to use the EZ-KIT Lite board in conjunction with a JTAG emulator, also refer to th
Copyright Information©2007 Analog Devices, Inc., ALL RIGHTS RESERVED. This document may not be reproduced in any form without prior, express written c
Product Informationxx Getting Started with ADSP-BF548 EZ-KIT LiteEach documentation file type is described as follows.If documentation is not installe
Getting Started with ADSP-BF548 EZ-KIT Lite xxi PrefaceHelp system files (.chm) are located in the Help folder, and .pdf files are located in the Docs
Product Informationxxii Getting Started with ADSP-BF548 EZ-KIT LiteData SheetsAll data sheets (preliminary and production) may be downloaded from the
Getting Started with ADSP-BF548 EZ-KIT Lite xxiii PrefaceNotation ConventionsText conventions used in this manual are identified and described as foll
Notation Conventionsxxiv Getting Started with ADSP-BF548 EZ-KIT LiteLAdditional conventions, which apply only to specific chapters, may appear through
Getting Started with ADSP-BF548 EZ-KIT Lite 1-1 1 PROGRAMMING ADSP-BF548 EZ-KIT LITE WITH VISUALDSP++In this chapter, you will connect your personal c
Installing VisualDSP++ and the EZ-KIT Lite1-2 Getting Started with ADSP-BF548 EZ-KIT LiteInstalling VisualDSP++ and the EZ-KIT LiteIf you have not alr
Getting Started with ADSP-BF548 EZ-KIT Lite 1-3 Programming ADSP-BF548 EZ-KIT Lite with VisualDSP++Starting VisualDSP++ and Connecting to the EZ-KIT L
Starting VisualDSP++ and Connecting to the EZ-KIT Lite1-4 Getting Started with ADSP-BF548 EZ-KIT Lite• EZ-KIT Lite. This is the dedicated USB connecti
Getting Started with ADSP-BF548 EZ-KIT Lite 1-5 Programming ADSP-BF548 EZ-KIT Lite with VisualDSP++high-bandwidth USB or PCI connection between the PC
Regulatory Compliance The ADSP-BF548 EZ-KIT Lite is designed to be used solely in a labora-tory environment. The board is not intended for use as a co
Example 1: Building and Running an Application1-6 Getting Started with ADSP-BF548 EZ-KIT Lite3. On the Select Connection Type page, select EZ-KIT Lite
Getting Started with ADSP-BF548 EZ-KIT Lite 1-7 Programming ADSP-BF548 EZ-KIT Lite with VisualDSP++To spare you from typing in the program, the entire
Example 1: Building and Running an Application1-8 Getting Started with ADSP-BF548 EZ-KIT LiteRepeat this procedure to create a plot window for the out
Getting Started with ADSP-BF548 EZ-KIT Lite 1-9 Programming ADSP-BF548 EZ-KIT Lite with VisualDSP++debugging information, which is not desired in the
Example 1: Sorts.c File1-10 Getting Started with ADSP-BF548 EZ-KIT Litev1[ i ] = v2[ i ] = rand () % 1024;}}/* A standard bubble sort algorithm, O(n^2
Getting Started with ADSP-BF548 EZ-KIT Lite 1-11 Programming ADSP-BF548 EZ-KIT Lite with VisualDSP++}else{q = j;break;}}quick_sort ( v, p, q );quick_s
Example 1: Sorts.c File1-12 Getting Started with ADSP-BF548 EZ-KIT Lite
Getting Started with ADSP-BF548 EZ-KIT Lite 2-1 2 USING ADSP-BF548 EZ-KIT LITE TO INVESTIGATE PERFORMANCE FACTORSIn this chapter, we will benchmark a
ADSP-BF548 Processor Memory Hierarchy2-2 Getting Started with ADSP-BF548 EZ-KIT LiteADSP-BF548 Processor Memory HierarchyThe ADSP-BF548 processor supp
Getting Started with ADSP-BF548 EZ-KIT Lite 2-3 Using ADSP-BF548 EZ-KIT Lite to Investigate PerformanceFactorsThe ADSP-BF548 processor also supports a
Example 2: Benchmarking the Relative Performance of Memories2-4 Getting Started with ADSP-BF548 EZ-KIT LiteExample 2: Benchmarking the Relative Perfor
Getting Started with ADSP-BF548 EZ-KIT Lite 2-5 Using ADSP-BF548 EZ-KIT Lite to Investigate PerformanceFactorsand associated EZ-KIT Lite devices. Anot
Example 2: Benchmarking the Relative Performance of Memories2-6 Getting Started with ADSP-BF548 EZ-KIT Litethe approximate number of millions of proce
Getting Started with ADSP-BF548 EZ-KIT Lite 2-7 Using ADSP-BF548 EZ-KIT Lite to Investigate PerformanceFactorsemploys. Since the profiler window shows
Example 3: Using the Blackfin Processor Voltage Regulator2-8 Getting Started with ADSP-BF548 EZ-KIT Lite3. In the Instruction cache memory drop-down l
Getting Started with ADSP-BF548 EZ-KIT Lite 2-9 Using ADSP-BF548 EZ-KIT Lite to Investigate PerformanceFactorsThe voltage level can be changed on the
Example 3: Using the Blackfin Processor Voltage Regulator2-10 Getting Started with ADSP-BF548 EZ-KIT LiteOur application (Sorts.c) looks similar to th
Getting Started with ADSP-BF548 EZ-KIT Lite 3-1 3 USING ADSP-BF548 EZ-KIT LITE PERIPHERALSChapters 1 and 2 of this tutorial introduce the ADSP-BF548 p
ADSP-BF548 Processor I/O Peripherals3-2 Getting Started with ADSP-BF548 EZ-KIT LiteADSP-BF548 Processor I/O PeripheralsThe ADSP-BF548 processor’s I/O
Getting Started with ADSP-BF548 EZ-KIT Lite 3-3 Using ADSP-BF548 EZ-KIT Lite Peripheralsand other peripherals. The interface is configurable and sup-p
Getting Started with ADSP-BF548 EZ-KIT Lite v CONTENTSPREFACEPurpose of This Manual ...
ADSP-BF548 Peripheral Interfaces on the EZ-KIT Lite3-4 Getting Started with ADSP-BF548 EZ-KIT LiteLDue to limitations on the number of pins available
Getting Started with ADSP-BF548 EZ-KIT Lite 3-5 Using ADSP-BF548 EZ-KIT Lite Peripherals• A rotary switch for the up/down counter• A 4 x 4 keypad matr
Using ADSP-BF548 Peripherals on the EZ-KIT Lite3-6 Getting Started with ADSP-BF548 EZ-KIT LiteThe SSL presents a set of application programming interf
Getting Started with ADSP-BF548 EZ-KIT Lite 3-7 Using ADSP-BF548 EZ-KIT Lite PeripheralsSome device drivers use other drivers; for example, on the ADS
Example 4: Audio.c File3-8 Getting Started with ADSP-BF548 EZ-KIT LiteExample 4: Audio.c FileFour functions in Audio.c interact with the AD1980 audio
Getting Started with ADSP-BF548 EZ-KIT Lite 3-9 Using ADSP-BF548 EZ-KIT Lite PeripheralsA successful call to adi_dev_Open() results in a value identif
Example 4: Audio.c File3-10 Getting Started with ADSP-BF548 EZ-KIT Liteprocessing or error event occurs. For the single instance of the AD1980 audio c
Getting Started with ADSP-BF548 EZ-KIT Lite 3-11 Using ADSP-BF548 EZ-KIT Lite Peripheralsas preparing the next data buffer. Such an operation can affe
Example 4: Audio.c File3-12 Getting Started with ADSP-BF548 EZ-KIT LiteD The first set is commands to the device manager, requesting the device manage
Getting Started with ADSP-BF548 EZ-KIT Lite 3-13 Using ADSP-BF548 EZ-KIT Lite PeripheralsOther device manager commands include ADI_DEV_CMD_REGISTER_TA
CONTENTSvi Getting Started with ADSP-BF548 EZ-KIT LiteExample 1: Sorts.c File ... 1-9U
Example 4: Audio.c File3-14 Getting Started with ADSP-BF548 EZ-KIT Lite{printf(“Failed to initialize audio output device, ““Error Code: 0x%08X\n”, Res
Getting Started with ADSP-BF548 EZ-KIT Lite 3-15 Using ADSP-BF548 EZ-KIT Lite Peripheralsdesc[i].ProcessedFlag = FALSE;desc[i].pNext = NULL;if ((Resul
Example 4: Audio.c File3-16 Getting Started with ADSP-BF548 EZ-KIT LiteAD1980Callback()Callback functions have the following arguments.• The first arg
Getting Started with ADSP-BF548 EZ-KIT Lite 3-17 Using ADSP-BF548 EZ-KIT Lite Peripherals{case (ADI_AC97_EVENT_REGISTER_ACCESS_COMPLETE):reg_update_co
Example 4: Running3-18 Getting Started with ADSP-BF548 EZ-KIT Lite
Getting Started with ADSP-BF548 EZ-KIT Lite 4-1 4 USING ADSP-BF548 EZ-KIT LITE AS A MASS STORAGE DEVICE In this chapter, we will make the EZ-KIT Lite
ADSP-BF548 Processor USB Interface4-2 Getting Started with ADSP-BF548 EZ-KIT LiteADSP-BF548 Processor USB InterfaceThe ADSP-BF548 processor incorporat
Getting Started with ADSP-BF548 EZ-KIT Lite 4-3 Using ADSP-BF548 EZ-KIT Lite As A Mass Storage Devicecode. The supplied software includes mass storage
Example 5: USB Project4-4 Getting Started with ADSP-BF548 EZ-KIT Liteadi_ssl_Init.h to specify their requirements. The common func-tions in adi_ssl_In
Getting Started with ADSP-BF548 EZ-KIT Lite 4-5 Using ADSP-BF548 EZ-KIT Lite As A Mass Storage Device5. Calls adi_dev_Control() again, this time in a
Getting Started with ADSP-BF548 EZ-KIT Lite viiCONTENTSExample 5: Running ... 4-6US
Example 5: Running4-6 Getting Started with ADSP-BF548 EZ-KIT LiteExample 5: Running To run Example_5.dpj you need a USB cable with an on-the-go mini-B
Getting Started with ADSP-BF548 EZ-KIT Lite 4-7 Using ADSP-BF548 EZ-KIT Lite As A Mass Storage DeviceComputer (default action). Figure 4-2 shows My Co
Example 5: Running4-8 Getting Started with ADSP-BF548 EZ-KIT LiteEZ-KIT Lite drive for later use. On the PC, navigate to example 5’s direc-tory and dr
Getting Started with ADSP-BF548 EZ-KIT Lite 5-1 5 USING ADSP-BF548 EZ-KIT LITE HARD DISK AND LCD SCREENIn this chapter we will use a major new compone
SSL File System Service5-2 Getting Started with ADSP-BF548 EZ-KIT Lite• “Example 6: Displaying a Bitmap File on the EZ-KIT Lite” on page 5-4• “Example
Getting Started with ADSP-BF548 EZ-KIT Lite 5-3 Using ADSP-BF548 EZ-KIT Lite Hard Disk and LCD Screenfwrite()) and many common directory-oriented func
Example 6: Displaying a Bitmap File on the EZ-KIT Lite5-4 Getting Started with ADSP-BF548 EZ-KIT LiteVisualDSP++ 5.0 includes full documentation about
Getting Started with ADSP-BF548 EZ-KIT Lite 5-5 Using ADSP-BF548 EZ-KIT Lite Hard Disk and LCD ScreenThe table at the top of the window shows that in
Example 6: Project Options5-6 Getting Started with ADSP-BF548 EZ-KIT Litethe application’s general performance. The processor’s caches or memory prote
Getting Started with ADSP-BF548 EZ-KIT Lite 5-7 Using ADSP-BF548 EZ-KIT Lite Hard Disk and LCD ScreenNow double-click the Example_6_heaptab.c filename
CONTENTSviii Getting Started with ADSP-BF548 EZ-KIT LiteWriting a Loader File to Flash Memory ... 7-5Booting F
Example 6: Project Options5-8 Getting Started with ADSP-BF548 EZ-KIT LiteThe other generated C file (Example_6_cplbtab.c) does require modifica-tion—t
Getting Started with ADSP-BF548 EZ-KIT Lite 5-9 Using ADSP-BF548 EZ-KIT Lite Hard Disk and LCD ScreenExample 6: Application StructureThe structure of
Example 6: Application Structure5-10 Getting Started with ADSP-BF548 EZ-KIT Lite3. Call the FSS’s initialization function, passing in a table of seven
Getting Started with ADSP-BF548 EZ-KIT Lite 5-11 Using ADSP-BF548 EZ-KIT Lite Hard Disk and LCD Screenplications involving centering, cropping the ima
Example 6: Running5-12 Getting Started with ADSP-BF548 EZ-KIT Lite// one for EPPI and two for Disk#define ADI_SSL_FLAG_NUM_CALLBACKS (0)// number of f
Getting Started with ADSP-BF548 EZ-KIT Lite 6-1 6 USING ADSP-BF548 EZ-KIT LITE KEYPAD AND LED INDICATORIn this chapter, we will use the ADSP-BF548 EZ-
Event-Driven Device Drivers6-2 Getting Started with ADSP-BF548 EZ-KIT LiteEvent-Driven Device DriversThere are two classes of peripheral device within
Getting Started with ADSP-BF548 EZ-KIT Lite 6-3 Using ADSP-BF548 EZ-KIT Lite Keypad and LED Indicatorconditions are, by and large, not expected to hap
VDK Message Passing6-4 Getting Started with ADSP-BF548 EZ-KIT LiteIt is possible to use the two complementary features (VDK’s higher-level device mode
Getting Started with ADSP-BF548 EZ-KIT Lite 6-5 Using ADSP-BF548 EZ-KIT Lite Keypad and LED Indicatoris where VDK-specific attributes of the project a
Getting Started with ADSP-BF548 EZ-KIT Lite ix PREFACEThank you for purchasing the ADSP-BF548 EZ-KIT Lite®, Analog Devices, Inc. evaluation system for
Example 7: Creating a VDK Application6-6 Getting Started with ADSP-BF548 EZ-KIT LiteThe VDK runtime system is instructed to create and start execu-tio
Getting Started with ADSP-BF548 EZ-KIT Lite 6-7 Using ADSP-BF548 EZ-KIT Lite Keypad and LED IndicatorExample 7: Source FilesA VDK application typicall
Example 7: Source Files6-8 Getting Started with ADSP-BF548 EZ-KIT LiteThe VDK-style device driver has only one skeleton function requiring completion—
Getting Started with ADSP-BF548 EZ-KIT Lite 6-9 Using ADSP-BF548 EZ-KIT Lite Keypad and LED IndicatorEach source file that the Project Wizard generate
Example 7: Source Files6-10 Getting Started with ADSP-BF548 EZ-KIT Litewhile (running){unsigned int r;keycoords_t keypress;/* get next keypress */r =
Getting Started with ADSP-BF548 EZ-KIT Lite 6-11 Using ADSP-BF548 EZ-KIT Lite Keypad and LED IndicatorVDK_DestroyThread(LEDthread, false);/* This thre
Example 7: Source Files6-12 Getting Started with ADSP-BF548 EZ-KIT Lite• Sets the flag directions to ‘out’• Clears the flags (turns each indicator off
Getting Started with ADSP-BF548 EZ-KIT Lite 6-13 Using ADSP-BF548 EZ-KIT Lite Keypad and LED Indicator3(Arrow up)456(Arrow down)7892NDCLEAR0HELPENTERT
Example 7: Source Files6-14 Getting Started with ADSP-BF548 EZ-KIT Lite
Getting Started with ADSP-BF548 EZ-KIT Lite 7-1 7 CREATING A BOOTABLE APPLICATIONIn this final chapter, we will step beyond executing programs under t
Komentarze do niniejszej Instrukcji