The EZ-KIT Lite evaluation system is warranted against defects in materials and workmanship for a period of one year from the date of purchase
from Analog Devices or from an authorized dealer.
Disclaimer
Analog Devices, Inc. reserves the right to change this product without
prior notice. Information furnished by Analog Devices is believed to be
accurate and reliable. However, no responsibility is assumed by Analog
Devices for its use; nor for any infringement of patents or other rights of
third parties which may result from its use. No license is granted by implication or otherwise under the patent rights of Analog Devices, Inc.
Trademark and Service Mark Notice
The Analog Devices logo, VisualDSP++, the VisualDSP++ logo, Blackfin,
CROSSCORE, the CROSSCORE logo, EZ-KIT Lite, and EZ-Extender
are registered trademarks of Analog Devices, Inc.
All other brand and product names are trademarks or service marks of
their respective owners.
Regulatory Compliance
The ADSP-BF535 EZ-KIT Lite evaluation system has been certified to
comply with the essential requirements of the European EMC directive
89/336/EEC (inclusive 93/68/EEC) and, therefore, carries the “CE”
mark.
The ADSP-BF535 EZ-KIT Lite evaluation system had been appended to
Analog Devices Development Tools Technical Construction File referenced “DSPTOOLS1” dated December 21, 1997 and was awarded CE
Certification by an appointed European Competent Body and is on file.
The EZ-KIT Lite evaluation system contains ESD
(electrostatic discharge) sensitive devices. Electrostatic charges readily accumulate on the human
body and equipment and can discharge without
detection. Permanent damage may occur on devices
subjected to high-energy discharges. Proper ESD
precautions are recommended to avoid performance
degradation or loss of functionality. Store unused
EZ-KIT Lite boards in the protective shipping
package.
CONTENTS
PREFACE
Purpose of This Manual ................................................................. xiv
Intended Audience ......................................................................... xiv
Manual Contents ........................................................................... xvi
What’s New in This Manual .......................................................... xvii
Technical or Customer Support ..................................................... xvii
Supported Processors .................................................................... xviii
Product Information .................................................................... xviii
MyAnalog.com ......................................................................... xix
Processor Product Information ................................................... xx
Related Documents ................................................................... xx
USB Interface ............................................................................. B-11
INDEX
viiiADSP-BF535 EZ-KIT Lite Evaluation System Manual
PREFACE
Thank you for purchasing the ADSP-BF535 EZ-KIT Lite®, Analog
Devices, Inc. evaluation system for Blackfin
The Blackfin processors are embedded processors that support a Media
Instruction Set Computing (MISC) architecture. This architecture is the
natural merging of RISC, media functions, and digital signal processing
(DSP) characteristics towards delivering signal processing performance in
a microprocessor-like environment.
The evaluation board is designed to be used in conjunction with the VisualDSP++
ADSP-BF535 (formerly ADSP-21535) Blackfin processors. The VisualDSP++ development environment gives you the ability to perform
advanced application code development and debug, such as:
®
development environment to test the capabilities of the
•Create, compile, assemble, and link application programs written
in C++, C and ADSP-BF535 assembly
•Load, run, step, halt, and set breakpoints in application program
•Read and write data and program memory
•Read and write core and peripheral registers
®
processors.
•Plot memory
Access to the ADSP-BF535 processor from a personal computer (PC) is
achieved through a USB port or an optional JTAG emulator. The USB
interface gives unrestricted access to the ADSP-BF535 processor and the
evaluation board peripherals. Analog Devices JTAG emulators offer faster
ADSP-BF535 EZ-KIT Lite Evaluation System Manualix
communication between the host PC and target hardware. Analog Devices
carries a wide range of in-circuit emulation products. To learn more about
Analog Devices emulators and processor development tools, go to
http://www.analog.com/dsp/tools/.
ADSP-BF535 EZ-KIT Lite provides example programs to demonstrate
the capabilities of the evaluation board.
L
The board’s features include:
The ADSP-BF535 EZ-KIT Lite installation is part of the VisualDSP++ installation. The EZ-KIT Lite is a licensed product that
offers an unrestricted evaluation license for the first 90 days. For
details about evaluation license restrictions after the 90 days, refer
to “Evaluation License Restrictions” on page 1-7 and the Visu-alDSP++ Installation Quick Reference Card.
•Analog Devices ADSP-BF535 processor
D 300 MHz core clock speed (default)
D Switch-configurable core clock speed
D Switch-configurable boot mode
•USB debugging interface
This is not the processor’s USB interface.
L
•Analog Devices AD1885 48 kHz AC’97 SoundMAX
D Jumper-selectable line-in or mic-in 3.5 mm stereo jack
D Line-out 3.5 mm stereo jack
®
codec
•Synchronous dynamic random access memory (SDRAM)
D 4 M x 32-bit
•Flash memory
D 272 K x 16
xADSP-BF535 EZ-KIT Lite Evaluation System Manual
Preface
•Interface connectors
D 14-pin emulator connector for JTAG interface
D SPORT0 connector
D FlashLINK™ connector (for flash memory programming)
D Expansion interface connectors (not populated)
•General-purpose IO
D 4 push buttons connected to processor programmable flags
D 1 push button connected to processor non-maskable
interrupt
D 4 LEDs connected to processor programmable flags
•Real-time clock
•Analog Devices ADP3331, ADP3338, ADP3339, and ADP3088
voltage regulators
The EZ-KIT Lite board has a flash memory device that can be used to
store user-specific boot code. By configuring the boot mode switch (
SW1)
and by programming the flash memory, the board can run as a stand-alone
unit. For information about the flash memory, see “Flash Memory” on
page 1-9.
SPORT0 interfaces with an audio codec to aid development of audio signal
processing applications.
SPORT0 also connects to an off-board connector
for communication with other serial devices. For information about
SPORT0, see “SPORT0 Audio Interface” on page 2-3.
Additionally, the EZ-KIT Lite board provides access to most peripheral
ports of the processor. Access is provided in the form of uninstalled expansion interface connectors. The processor’s USB pins are brought to the
P3
connector but require additional circuitry to function as a USB port. The
PCI bus of the processor is not available at any connector of the EZ-KIT
Lite. For information about the expansion interface, see “Expansion Inter-
face” on page 2-4.
ADSP-BF535 EZ-KIT Lite Evaluation System Manualxi
Purpose of This Manual
Purpose of This Manual
The ADSP-BF535 EZ-KIT Lite Evaluation System Manual provides
instructions for installing the product hardware (board). The text
describes the operation and configuration of the board components and
provides guidelines for running your own code on the ADSP-BF535
EZ-KIT Lite. Finally, a schematic and a bill of materials are provided as a
reference for future designs.
The product software installation is detailed in the VisualDSP++ Installa-tion Quick Reference Card.
Intended Audience
The primary audience for this manual is a programmer who is familiar
with Analog Devices processors. This manual assumes that the audience
has a working knowledge of the appropriate processor architecture and
instruction set. Programmers who are unfamiliar with Analog Devices
processors can use this manual but should supplement it with other texts
(such as the ADSP-BF535 Processor Hardware Reference and the Blackfin Processor Instruction Set Reference) that describe your target architecture.
Programmers who are unfamiliar with VisualDSP++ should refer to the
VisualDSP++ online Help and user’s or getting started guides. For the
locations of these documents, see “Printed Manuals”.
xiiADSP-BF535 EZ-KIT Lite Evaluation System Manual
Manual Contents
The manual consists of:
•Chapter 1, “Using ADSP-BF535 EZ-KIT Lite” on page 1-1
Describes the EZ-KIT Lite functionality from a programmer’s perspective and provides an easy-to-access memory map.
•Chapter 2, “ADSP-BF535 EZ-KIT Lite Hardware Reference” on
page 2-1
Provides information on the EZ-KIT Lite hardware components.
•Appendix A, “ADSP-BF535 EZ-KIT Lite Bill Of Materials” on
page A-1
Provides a list of components used to manufacture the EZ-KIT
Lite board.
•Appendix B, “ADSP-BF535 EZ-KIT Lite Schematic” on page B-1
Provides the resources to allow EZ-KIT Lite board-level debugging
or to use as a reference design.
Appendix B now is part of the online Help. The PDF version of
the ADSP-BF535 EZ-KIT Lite Evaluation System Manual located is
in the
Alternatively, the schematics can be found on the Analog Devices
Web site,
Docs\EZ-KIT Lite Manuals folder on the installation CD.
www.analog.com/processors.
Preface
What’s New in This Manual
This revision of the ADSP-BF535 EZ-KIT Lite Evaluation System Manual
has been updated for VisualDSP++ 4.5.
ADSP-BF535 EZ-KIT Lite Evaluation System Manualxiii
Technical or Customer Support
Technical or Customer Support
You can reach Analog Devices, Inc. Customer Support in the following
ways:
•Visit the Embedded Processing and DSP products Web site at
•Contact your Analog Devices, Inc. local sales office or authorized
distributor
•Send questions by mail to:
Analog Devices, Inc.
One Technology Way
P.O. Box 9106
Norwood, MA 02062-9106
USA
Supported Processors
This EZ-KIT Lite evaluation system supports the Analog Devices
ADSP-BF535 (formerly ADSP-21535) Blackfin processors.
xivADSP-BF535 EZ-KIT Lite Evaluation System Manual
Product Information
You can obtain product information from the Analog Devices Web site,
from the product CD-ROM, or from the printed publications (manuals).
Preface
Analog Devices is online at
mation about a broad range of products—analog integrated circuits,
amplifiers, converters, and digital signal processors.
www.analog.com. Our Web site provides infor-
MyAnalog.com
MyAnalog.com is a free feature of the Analog Devices Web site that allows
customization of a Web page to display only the latest information on
products you are interested in. You can also choose to receive weekly
e-mail notifications containing updates to the Web pages that meet your
interests. MyAnalog.com provides access to books, application notes, data
sheets, code examples, and more.
Registration:
Visit
www.myanalog.com to sign up. Click Register to use MyAnalog.com.
Registration takes about five minutes and serves as means for you to select
the information you want to receive.
If you are already a registered user, just log on. Your user name is your
e-mail address.
Processor Product Information
For information on embedded processors and DSPs, visit our Web site at
www.analog.com/processors, which provides access to technical publica-
tions, data sheets, application notes, product overviews, and product
announcements.
ADSP-BF535 EZ-KIT Lite Evaluation System Manualxv
Product Information
You may also obtain additional information about Analog Devices and its
products in any of the following ways.
Online documentation comprises the VisualDSP++ Help system, software
tools manuals, hardware tools manuals, processor manuals, the Dinkum
Abridged C++ library, and Flexible License Manager (FlexLM) network
license manager software documentation. You can easily search across the
entire VisualDSP++ documentation set for any topic of interest. For easy
printing, supplementary
Docs folder on the VisualDSP++ installation CD.
.pdf files of most manuals are provided in the
ADSP-BF535 EZ-KIT Lite Evaluation System Manualxvii
Product Information
Each documentation file type is described as follows.
File Description
.chmHelp system files and manuals in Help format
.htm or
.html
.pdfVisualDSP++ and processor manuals in Portable Documentation Format (PDF).
Dinkum Abridged C++ library and FlexLM network license manager software documentation. Viewing and printing the
Internet Explorer 5.01 (or higher).
Viewing and printing the
Reader (4.0 or higher).
.pdf files requires a PDF reader, such as Adobe Acrobat
.html files requires a browser, such as
If documentation is not installed on your system as part of the software
installation, you can add it from the VisualDSP++ CD at any time by running the Tools installation. Access the online documentation from the
VisualDSP++ environment, Windows
®
Explorer, or the Analog Devices
Web site.
Accessing Documentation From VisualDSP++
To view VisualDSP++ Help, click on the Help menu item or go to the
Windows task bar and navigate to the VisualDSP++ documentation via
the Start menu.
To view ADSP-BF535 EZ-KIT Lite Help, which is part of the VisualDSP++ Help system, use the Contents or Search tab of the Help
window.
Accessing Documentation From Windows
In addition to any shortcuts you may have constructed, there are many
ways to open VisualDSP++ online Help or the supplementary documentation from Windows.
xviiiADSP-BF535 EZ-KIT Lite Evaluation System Manual
Preface
Help system files (
located in the
.chm) are located in the Help folder, and .pdf files are
Docs folder of your VisualDSP++ installation CD. The Docs
folder also contains the Dinkum Abridged C++ library and the FlexLM
network license manager software documentation.
Your software installation kit includes online Help as part of the Win-
®
dows
interface. These help files provide information about VisualDSP++
Select a processor family and book title. Download archive (.zip) files,
one for each manual. Use any archive management software, such as WinZip, to decompress downloaded files.
Printed Manuals
For general questions regarding literature ordering, call the Literature
Center at 1-800-ANALOGD (1-800-262-5643) and follow the prompts.
VisualDSP++ Documentation Set
To purchase VisualDSP++ manuals, call 1-603-883-2430. The manuals
may be purchased only as a kit.
If you do not have an account with Analog Devices, you are referred to
Analog Devices distributors. For information on our distributors, log onto
http://www.analog.com/salesdir/continent.asp.
ADSP-BF535 EZ-KIT Lite Evaluation System Manualxix
Notation Conventions
Hardware Tools Manuals
To purchase EZ-KIT Lite and in-circuit emulator (ICE) manuals, call
1-603-883-2430. The manuals may be ordered by title or by product
number located on the back cover of each manual.
Processor Manuals
Hardware reference and instruction set reference manuals may be ordered
through the Literature Center at 1-800-ANALOGD (1-800-262-5643),
or downloaded from the Analog Devices Web site. Manuals may be
ordered by title or by product number located on the back cover of each
manual.
Data Sheets
All data sheets (preliminary and production) may be downloaded from the
Analog Devices Web site. Only production (final) data sheets (Rev. 0, A,
B, C, and so on) can be obtained from the Literature Center at
1-800-ANALOGD (1-800-262-5643); they also can be downloaded from
the Web site.
To have a data sheet faxed to you, call the Analog Devices Faxback System
at 1-800-446-6212. Follow the prompts and a list of data sheet code
numbers will be faxed to you. If the data sheet you want is not listed,
check for it on the Web site.
Notation Conventions
Text conventions used in this manual are identified and described as
follows.
L
xxADSP-BF535 EZ-KIT Lite Evaluation System Manual
Additional conventions, which apply only to specific chapters, may
appear throughout this document.
ExampleDescription
Preface
Close command
(File menu)
{this | that}Alternative required items in syntax descriptions appear within curly
[this | that]Optional items in syntax descriptions appear within brackets and sepa-
[this,…]Optional item lists in syntax descriptions appear within brackets
.SECTIONCommands, directives, keywords, and feature names are in text with
filenameNon-keyword placeholders appear in text with italic style format.
L
a
Titles in reference sections indicate the location of an item within the
VisualDSP++ environment’s menu system (for example, the Close
command appears on the File menu).
brackets and separated by vertical bars; read the example as
that. One or the other is required.
rated by vertical bars; read the example as an optional
delimited by commas and terminated with an ellipse; read the example
as an optional comma-separated list of
letter gothic font.
Note: For correct operation, ...
A Note provides supplementary information on a related topic. In the
online version of this book, the word Note appears instead of this
symbol.
Caution: Incorrect device operation may result if ...
Caution: Device damage may result if ...
A Caution identifies conditions or inappropriate usage of the product
that could lead to undesirable results or product damage. In the online
version of this book, the word Caution appears instead of this symbol.
this.
this or
this or that.
Warn in g: Injury to device users may result if ...
A Warning identifies conditions or inappropriate usage of the product
[
that could lead to conditions that are potentially hazardous for the
devices users. In the online version of this book, the word Wa rn in g
appears instead of this symbol.
ADSP-BF535 EZ-KIT Lite Evaluation System Manualxxi
Notation Conventions
xxiiADSP-BF535 EZ-KIT Lite Evaluation System Manual
1USING ADSP-BF535 EZ-KIT
LITE
This chapter provides specific information to assist you with development
of programs for the ADSP-BF535 EZ-KIT Lite evaluation system.
•“Package Contents” on page 1-2
Lists the items contained in your ADSP-BF535 EZ-KIT Lite
package.
•“Default Configuration” on page 1-3
Shows the default configuration of the ADSP-BF535 EZ-KIT Lite.
•“Installation and Session Startup” on page 1-5
Instructs how to start a new or open an existing ADSP-BF535
EZ-KIT Lite session using VisualDSP++.
•“Evaluation License Restrictions” on page 1-7
Describes the restrictions of the VisualDSP++ demo license
shipped with the EZ-KIT Lite.
•“Memory Map” on page 1-7
Defines the ADSP-BF535 EZ-KIT Lite’s memory map.
•“SDRAM Interface” on page 1-8·
Defines the register values to configure the on-board SDRAM.
•“Flash Memory” on page 1-9
Describes how to program and use the on-board flash memory.
•“Programmable Flag Pins” on page 1-11
Describes the function and use of the programmable flag pins of
the EZ-KIT Lite evaluation system.
ADSP-BF535 EZ-KIT Lite Evaluation System Manual1-1
Package Contents
•“Example Programs” on page 1-13
Provides information about the example programs included in the
ADSP-BF535 EZ-KIT Lite evaluation system.
•“Flash Programmer Utility” on page 1-13
Provides information on the Flash Programmer utility included
with the EZ-KIT Lite software.
•“Background Telemetry Channel” on page 1-13
Highlights the advantages of the Background Telemetry Channel.
For information on the graphical user interface, including the boot loading, target options, and other facilities of the EZ-KIT Lite system, refer to
the online Help.
For more detailed information about programming the ADSP-BF535
Blackfin processor, see the documents referred to as “Related
Documents”.
Package Contents
Your ADSP-BF535 EZ-KIT Lite evaluation system package contains the
following items.
•ADSP-BF535 EZ-KIT Lite board
•VisualDSP++ Installation Quick Reference Card
•CD containing:
D VisualDSP++ software
D ADSP-BF535 EZ-KIT Lite software
D USB driver files
D Example programs
D ADSP-BF535 EZ-KIT Lite Evaluation System Manual (this
document)
1-2ADSP-BF535 EZ-KIT Lite Evaluation System Manual
Using ADSP-BF535 EZ-KIT Lite
•Universal 7.5V DC power supply
• USB 2.0 cable
•Registration card (please fill out and return)
If any item is missing, contact the vendor where you purchased your
EZ-KIT Lite or contact Analog Devices, Inc.
Default Configuration
The EZ-KIT Lite evaluation system contains ESD
(electrostatic discharge) sensitive devices. Electrostatic charges readily accumulate on the human
body and equipment and can discharge without
detection. Permanent damage may occur on devices
subjected to high-energy discharges. Proper ESD
precautions are recommended to avoid performance
degradation or loss of functionality. Store unused
EZ-KIT Lite boards in the protective shipping
package.
The ADSP-BF535 EZ-KIT Lite board is designed to run outside your personal computer as a stand-alone unit. You do not have to open your
computer case.
When removing the EZ-KIT Lite board from the package, handle the
board carefully to avoid the discharge of static electricity, which may damage the board components. Figure 1-1 shows the default jumper settings,
switches, connector locations, and LEDs used in installation. Confirm
that your board is set up in the default configuration before powering the
board.
ADSP-BF535 EZ-KIT Lite Evaluation System Manual1-3
Default Configuration
Figure 1-1. EZ-KIT Lite Hardware Setup
1-4ADSP-BF535 EZ-KIT Lite Evaluation System Manual
Using ADSP-BF535 EZ-KIT Lite
Installation and Session Startup
L
For correct operation, install the software and hardware in the
order presented in the VisualDSP++ Installation Quick Reference Card.
1. Verify that the yellow USB monitor LED (
USB connector) is lit. This signifies that the board is communicating properly with the host PC and is ready to run VisualDSP++.
2. If you are running VisualDSP++ for the first time, navigate to the
VisualDSP++ environment via the Start –> Programs menu. The
main window appears. Note that VisualDSP++ does not connect to
any session. Skip the rest of this step to step 3.
If you have run VisualDSP++ previously, the last opened session
appears on the screen. You can override the default behavior and
force VisualDSP++ to start a new session by pressing and holding
down the Ctrl key while starting VisualDSP++. Do not release the
Ctrl key until the Session Wizard appears on the screen. Go to
step 4.
3. To connect to a new EZ-KIT Lite session, start Session Wizard by
selecting one of the following.
LED5, located near the
•From the Session menu, New Session.
•From the Session menu, Session List. Then click New Ses-sion from the Session List dialog box.
•From the Session menu, Connect to Target. Then click
New Session from the Session List dialog box.
4. The Select Processor page of the wizard appears on the screen.
Ensure Blackfin is selected in Processor family. In Choose a target processor, select ADSP-BF535. Click Next.
ADSP-BF535 EZ-KIT Lite Evaluation System Manual1-5
Installation and Session Startup
5. The Select Connection Type page of the wizard appears on the
screen. Select EZ-KIT Lite and click Next.
6. The Select Platform page of the wizard appears on the screen.
In the Select your platform list, select ADSP-BF535 EZ-KIT Lite via Debug Agent. In Session name, highlight or specify the session
name.
The session name can be a string of any length; although, the box
displays approximately 32 characters. The session name can
include space characters. If you do not specify a session name,
VisualDSP++ creates a session name by combining the name of the
selected platform with the selected processor. The only way to
change a session name later is to delete the session and to open a
new session.
Click Next.
7. The Finish page of the wizard appears on the screen. The page dis-
plays your selections. If you are satisfied, click Finish. If not, click Back to make changes.
L
1-6ADSP-BF535 EZ-KIT Lite Evaluation System Manual
To disconnect from a session, click the disconnect button
or select Session –> Disconnect from Target.
To delete a session, select Session –> Session List. Select the ses-
sion name from the list and click Delete. Click OK.
Using ADSP-BF535 EZ-KIT Lite
Evaluation License Restrictions
The ADSP-BF535 EZ-KIT Lite installation is part of the VisualDSP++
installation. The EZ-KIT Lite is a licensed product that offers an unrestricted evaluation license for the first 90 days. Once the initial
unrestricted 90-day evaluation license expires:
•VisualDSP++ allows a connection to the ADSP-BF535 EZ-KIT
Lite via the USB Debug Agent interface only. Connections to simulators and emulation products are no longer allowed.
•The linker restricts a users program to 176 KB of internal memory
for code space with no restrictions for data space.
L
Refer to the VisualDSP++ Installation Quick Reference Card for details.
The EZ-KIT Lite hardware must be connected and powered up in
order to use VisualDSP++ with a valid temporary or demo license.
Memory Map
The ADSP-BF535 processor has internal SRAM that can be used for
instruction or data storage. The configuration of internal SRAM is
detailed in the ADSP-BF535 Processor Hardware Reference.
The ADSP-BF535 EZ-KIT Lite board contains 272K x 16 bits of external
flash memory. This memory connects to the
the processor. The external memory also connects to 4M x 32-bit SDRAM
memory. This memory connects to the
~AMS0 memory select pin of
~SMS0 pin of the processor.
ADSP-BF535 EZ-KIT Lite Evaluation System Manual1-7
SDRAM Interface
Table 1-1. EZ-KIT Lite Evaluation Board Memory Map
Start AddressEnd AddressContent
External
Memory
Internal
Memory
0x0000 00000x00FF FFFFSDRAM bank 0 (SDRAM)
See “SDRAM Interface” on page 1-8.
0x2000 00000x2009 FFFFASYNC memory bank 0 (flash memory)
See “Flash Memory” on page 1-9.
All other locationsNot used
0xF000 00000xF003 FFFFL2 SRAM 256 KB
0xFF80 00000xFF80 3FFFData bank A 16 KB
0xFF90 00000xFF90 3FFF
0xFFA0 00000xFFA0 3FFF
0xFFB0 00000xFFB0 0FFF
0xFFC0 00000xFFDF FFFF
0xFFE0 00000xFFFF FFFFCore MMRs 2 MB
All other locationsReserved
Data bank B 16 KB
Instruction SRAM 16 KB
Scratch pad SRAM 4 KB
System MMRs 2 MB
SDRAM Interface
In order to use the 4M x 32 bits (16 MB) of SDRAM memory, the three
SDRAM control registers must be initialized. Table 1-2 shows the standard configuration for these registers when using the EZ-KIT Lite in the
default configuration. These numbers were derived using the
M48LC4M16ATG-75 with a system clock frequency of 120 MHz.
If you are in an EZ-Kit Lite or emulator session, the SDRAM registers are
set to the values in Table 1-2 automatically when a reset operation is per-
formed. Clearing the Use XML reset values check box on the Target Options dialog box, which is accessible through the Settings pull-down
menu, disables this feature. For more information see the online Help.
1-8ADSP-BF535 EZ-KIT Lite Evaluation System Manual
Table 1-2. SDRAM Default Settings
RegisterValueFunction
EBIU_SDRRC0x0000074A
RDIV
Using ADSP-BF535 EZ-KIT Lite
= 1866 clock cycles
EBIU_SDBCTL0x00000001
EBIU_SDGCTL0x0091998F
Bank 0 enabled
Bank 0 size = 16 MB
Bank 0 column address width = 8 bits
32-bit data path
External buffering timing disabled
= 2 SCLK cycles
t
WR
= 3 SCLK cycles
t
RCD
= 3 SCLK cycles
t
RP
t
= 6 SCLK cycles
RAS
pre-fetch disabled
CAS latency = 3
SCLK1 disabled
SCLK cycles
An example program is included in the EZ-KIT installation directory to
demonstrate the SDRAM interface setup.
Flash Memory
The DSM2150 Flash/PLD chip provides a total of 272K x 16 bits of
external flash memory, arranged into two independent flash arrays (boot
and main). The chip also has a series of configuration registers to control
IO and PLD. The chip is initially configured with the memory sectors
mapped to the processor, as shown in Figure 1-2.
Use PSDsoft Express™ to modify the default settings of the flash memory. The DSM project must be modified and the flash memory must be
reprogrammed using FlashLINK. The default project files can be found in
…\Blackfin\EZ-KITs\ADSP-BF535\PSDConfigFiles. Analog Devices does
not provide any support for setting up the DSM2150 with PSDsoft
Express or programming it using FlashLINK. E-mail STMicroelectronics
at
apps.psd@st.com for technical assistance.
ADSP-BF535 EZ-KIT Lite Evaluation System Manual1-9
Flash Memory
0x200A 0000
Main Flash
Array
0x2002 0000
0x2000 8000
0x2000 0000
Empty
0x2001 00FF
Config
0x2001 0000
Empty
Boot Flash
Array
Figure 1-2. Flash Memory Map
To program the flash memory with your boot code, first create a loader
file from your processor code. Set up the loader in VisualDSP++ depending on how you plan to boot the flash memory. The two possibilities are
to boot the processor in 16-bit external execution mode or in 8-bit boot
mode. See “Boot Mode Select Switch (SW1)” on page 2-7 for the boot
mode settings.
Next, the loader file must be programmed into the flash memory. This can
be done through the processor using the VisualDSP++ Flash Programmer
utility (see “Flash Programmer Utility” on page 1-13) or by using the
FlashLink programmer.
The DSM2150 can be re-programmed using the FlashLINK JTAG programming cable available from STMicroelectronics (
www.st.com/psd) for
approximately $59. FlashLINK plugs into any PC parallel port. The software development tool, PSDsoft Express, is required to modify the
DSM2150 configuration and to operate the FlashLINK cable. PSDsoft
Express can be downloaded at no charge from at
www.st.com/psd.
1-10ADSP-BF535 EZ-KIT Lite Evaluation System Manual
Using ADSP-BF535 EZ-KIT Lite
Programmable Flag Pins
The ADSP-BF535 processor has 16 asynchronous programmable flag (PF)
IO pins. During reset,
processor. They are not valid until 120 us after reset. Table 1-3 describes
how the PFs can be used after reset.
Table 1-3. Programmable Flag Pin Summary
FlagConnects ToDescription
PF0LED4PF3-0 connect to the LEDs. These can be used to light an LED
PF1LED1
PF2LED2
PF3LED3
PF9-0 function as inputs to the internal PLL of the
when a routine completes.
PF4SW4PF7-4
PF5SW5
PF6SW6
PF7SW7
PF8
PF9Not used
PF10Not used
PF11Not used
PF12PMGMT0These are used to change the internal voltage of the processor.
PF13PMGMT1
PF14PMGMT2
PF15U7.11
connect to the push buttons on the EZ-KIT Lite board
and are for user input. Your routine can monitor and execute
specific code when a push button is pressed.
Not used
Refer to “Power Management” on page 1-12 for more information.
Connects to the reset signal of the AD1885 codec (U7). This signal must be output as a high (
1) to enable the AD1885 codec.
ADSP-BF535 EZ-KIT Lite Evaluation System Manual1-11
Programmable Flag Pins
After a processor reset, all of the PF pins are initialized as inputs. The
direction of the PF is configured by the
(MMR). The PFs are set high (
using the
FIO_FLAG_C MMRs. For more information on configuring the
1) using the FIO_FLAG_S and cleared (0)
FIO_DIR memory mapped register
PF pins, see the ADSP-BF535 Processor Hardware Reference Manual.
All of the PFs can are brought out to the expansion connector
P2. The
location of the PF nets can be found in “ADSP-BF535 EZ-KIT Lite Sche-
matic” on page B-1.
Power Management
The PF14–12 pins allow you to program the core voltage of the processor.
The default core voltage is 1.5V. Table 1-4 shows the voltage values and
corresponding states of the
Table 1-4. Power Settings
PF14 PinPF13 PinPF12 PinVDD_INT Pin
0000.9V
0011.0V
0101.1V
0111.2V
1001.3V
1011.4V
1
1
10 1.5V
PF14–12 pins.
1111.6V
1 Default settings
When lowering the core voltage of the processor, the frequency of the processor must also be taken into consideration. As you lower the core
voltage, the frequency at which the core is running must be decreased.
1-12ADSP-BF535 EZ-KIT Lite Evaluation System Manual
Using ADSP-BF535 EZ-KIT Lite
Example Programs
Example programs are provided with the ADSP-BF535 EZ-KIT Lite to
demonstrate various capabilities of the evaluation board. These programs
are installed with the EZ-KIT Lite software and can be found in the
…\Blackfin\Examples\ADSP-BF535 EZ-KIT Lite subdirectory of the Visu-
alDSP++ installation directory. Please refer to the readme file provided
with each example for more information.
Flash Programmer Utility
The ADSP-BF535 EZ-KIT Lite evaluation system includes a Flash Programmer utility. The utility allows you to program the flash memory on
the EZ-KIT Lite. The Flash Programmer is installed with VisualDSP++.
Once the utility is installed, it is accessible from the Tools pull-down
menu.
For more information on the Flash Programmer utility, refer to online
Help.
Background Telemetry Channel
The ADSP-BF535 USB debug agent supports the background telemetry
channel (BTC), which facilitates data exchange between VisualDSP++ and
the processor without interrupting processor execution.
The BTC allows the user to view a variable as it is updated or changed, all
while the processor continues to execute. For increased performance of the
BTC, including faster reading and writing, please check out our latest line
of processor emulators at
ADSP-BF535 EZ-KIT Lite Evaluation System Manual1-13
.
Background Telemetry Channel
For more information about the background telemetry channel, see the
VisualDSP++ User’s Guide or online Help.
1-14ADSP-BF535 EZ-KIT Lite Evaluation System Manual
2ADSP-BF535 EZ-KIT LITE
HARDWARE REFERENCE
This chapter describes the hardware design of the ADSP-BF535 EZ-KIT
Lite board. The following topics are covered.
•“System Architecture” on page 2-2
Describes the configuration of the ADSP-BF535 (formerly
ADSP-21535) processor and explains how the board components
interface with the processor.
•“Jumper and Switch Settings” on page 2-5
Shows the location and describes the function of the configuration
jumpers and switches.
•“LEDs and Push Buttons” on page 2-9
Shows the location and describes the function of the LEDs and
push buttons.
•“Connectors” on page 2-12
Shows the location and gives the part number for all of the connectors on the board. Also, the manufacturer and part number
information is given for the mating parts.
•“Specifications” on page 2-15
Gives the requirements for powering the board.
ADSP-BF535 EZ-KIT Lite Evaluation System Manual2-1
System Architecture
System Architecture
This section describes the processor’s configuration on the EZ-KIT Lite
board.
SPI 1:0
UART1 :0
Timer2:0
SPORT1
USB
PF15:0SPORT0
4M X 32bit
SDRAM
(U5, U6)
SPORT0
Connector
Stereo LINE IN/
MIC and
LINEOUT
Connectors
Expansion
Connectors
(P1, P2, P3)
LEDs, PBs
and Clock
Logic
USB Connector
+7.5V
Connector
SRAM
Oscillator
32.768KHz
Power
Management
5V
A5V 3.3V
Power
Regulation
JTAG Header
EZ USB FX
20MHz
Crystal
3.3V
544KB Flash
(U4)
External Bus Interface
Unit
JTAG Port
ADSP-BF535
RTC
processor
(U1)
CLK_IN
VDD_INT
VDD_EXT
AD1885
Codec
(U7)
Figure 2-1. System Architecture
This EZ-KIT Lite has been designed to demonstrate the capabilities of the
ADSP-BF535 Blackfin processor. The processor has a default core voltage
of 1.5V. Refer to “Power Management” on page 1-12 for more information about changing the core voltage without halting the processor. The
voltage of the processor’s peripheral interface is 3.3V.
A 20 MHz oscillator supplies the input clock to the processor. The speed
at which the core and peripherals operate is determined by the configuration of the multiplier select switch (
SW2) at reset (see “Processor PLL Setup
2-2ADSP-BF535 EZ-KIT Lite Evaluation System Manual
ADSP-BF535 EZ-KIT Lite Hardware Reference
Switch (SW2)” on page 2-7). By default, the processor core runs at
300 MHz, and the peripheral interface runs at 120 MHz. A 32.768 kHz
crystal supplies the real-time clock (RTC) inputs of the processor.
The EZ-KIT Lite board can be configured to boot in all possible
ADSP-BF535 boot modes. For information about configuring the boot
mode, see “Boot Mode Select Switch (SW1)” on page 2-7.
External Bus Interface
The external bus interface unit (EBIU) connects to 4M x 32 bits of
SDRAM (16 MB). The SDRAM memory connects to the synchronous
memory select 0 (
for information about configuring the SDRAM.
The EBIU also connects to 272K x 16 bits of flash memory. The flash
memory connects to the asynchronous memory select (
processor can use this memory for both booting and storing information
during normal operation. Refer to “Flash Memory” on page 1-9 for information about using the flash memory.
~SMS0) pin. Refer to “SDRAM Interface” on page 1-8
~AMS0) pin. The
All of the address, data, and control signals are available externally via the
extender connectors (
P1-3). The pinout of these connectors can be found
in “ADSP-BF535 EZ-KIT Lite Schematic” on page B-1.
SPORT0 Audio Interface
SPORT0 connects to the AD1885 SoundMAX codec (U7). Two 3.5 mm ste-
reo jacks (P5 and P6) allow audio to be input and output. You can supply
an audio input to the codec microphone input channel (
stereo input channel (
channel driven by the input jack (
LINE_IN). The JP1 settings determine the codec
P5). See “Audio Input Select Jumper
(JP1)” on page 2-5.
ADSP-BF535 EZ-KIT Lite Evaluation System Manual2-3
MIC1) or to the
System Architecture
SPORT0 is routed also to an off-board connector (P9). When using the
off-board connector, the codec must be held in reset not to drive any of
the
SPORT0 signals. The codec can be held in reset by driving PF15 low or
by setting
page 2-6).
JP2 as described in “Audio Codec Disable Jumper (JP2)” on
PF15 must be pulled high (1) for the codec to function.
[
TCLK0 and RCLK0 pins are shorted together using R114 and R118.
Expansion Interface
The expansion interface consists of the footprints for three connectors.
Table 2-1 lists the interfaces each connector provides. For the exact pinout
of the connectors, refer to “ADSP-BF535 EZ-KIT Lite Schematic” on
page B-1. Analog Devices does not populate the expansion connectors or
provide any additional support for the interface. The mechanical locations
of the expansion connectors can be found in “Mechanical Dimensions” on
page 2-17.
Table 2-1. Expansion Connector Interfaces
ConnectorInterfaces
P15V, GND, address, data
P23.3V, GND, EBUI control signals, PF15-0, SPI1-0, SPORT1, UART1-0,
TMR2-0, NMI
P31.5V, GND, reset, USB, CLKOUT, SLEEP
Limits to the current and to the interface speed must be taken into consideration when using the expansion interface. The maximum current limit is
dependent on the capabilities of the used regulator. Additional circuitry
can also add extra loading to signals, decreasing their maximum effective
speed.
[
effects of additional circuitry.
2-4ADSP-BF535 EZ-KIT Lite Evaluation System Manual
Analog Devices does not support and is not responsible for the
ADSP-BF535 EZ-KIT Lite Hardware Reference
JTAG Emulation Port
The JTAG emulation port allows an emulator to access the processor’s
internal and external memories through a 6-pin interface. The JTAG
emulation port of the processor also connects to the USB debugging interface. (Note that this is not the processor’s USB interface.) When an
emulator connects to the board at
abled. See “JTAG (P8)” on page 2-14 for more information.
To learn more about available emulators, contact Analog Devices (see
“Product Information”).
P8, the USB debugging interface is dis-
Jumper and Switch Settings
This section describes the function of the board’s jumpers and switches.
Figure 2-2 on page 2-6 shows the location of the jumpers and switches.
Figure 2-2. Jumper Locations
ADSP-BF535 EZ-KIT Lite Evaluation System Manual2-5
Jumper and Switch Settings
Audio Input Select Jumper (JP1)
The audio input jack (P5) can connect to the MIC1 and LINE_IN input
channels of the AD1885 codec (
and 3 and pins 2 and 4,
P5 connects to the mono MIC1 codec channel.
When the jumpers connect pins 3 and 5 and pins 4 and 6,
the stereo
LINE_IN codec channel. These jumper settings are illustrated in
Figure 2-2 on page 2-6. The words
reference.
Table 2-2. Audio Input Jumper Settings (JP1)
Stereo LINE_IN (Default)Mono MIC1
U7). When the JP1 jumpers connect pins 1
P5 connects to
MIC and LINE_IN are on the board as a
JP1
MIC
2
1
LINE
6
5
JP1
MIC
2
1
LINE
6
5
Audio Codec Disable Jumper (JP2)
Placing a jumper between pins 1 and 2 of JP2 holds the AD1885 codec in
reset, preventing it from driving signals to the serial port. When a jumper
is between pins 2 and 3 of
PF15 is set to an output and is asserted. These positions are labeled on the
board as
DIS and ENA 1885.
JP2, the AD1885 codec is held in reset until
Boot Mode Select Switch (SW1)
The boot mode select switch (SW1) determines how the processor boots.
Table 2-3 shows the switch settings.
SPI ROM is not available on the EZ-KIT Lite.
L
2-6ADSP-BF535 EZ-KIT Lite Evaluation System Manual
ADSP-BF535 EZ-KIT Lite Hardware Reference
Table 2-3. Boot Mode Select Switch
BMODE0
Pin 1
OnOnOnExecute from 16 bit external memory (no-boot)
1
Off
OnOffOnBoot from SPI0 ROM (8-bit addresses)
OffOffOnBoot from SPI0 ROM (16-bit addresses)
––OffAll others reserved
1 Default settings
BMODE1
Pin 2
OnOnBoot from 8-bit EPROM
BMODE2
Pin 3
Description
Processor PLL Setup Switch (SW2)
The phase lock loop (PLL) of the processor multiplies the 20 MHz input
clock by a multiplication factor to set the core clock speed of the processor. Internal to the processor programmable flag pins
multiplexed with the PLL setup signals
During reset, the function of the
time, the signals are attached to the
external clock speeds of the processor. The
SSEL1-0, DF, and MSEL6-0.
PF9-0 pins is to setup the PLL. At this
SW2 switch to determine the core and
SW2 switch drives the processor
pins during reset and, for approximately 120 ms, after reset. Once this
time has elapsed, the PFs no longer connect to
SW2 but connect to the gen-
eral-purpose IO (LEDs, push buttons) on the board. This is done with an
external 2-to-1 multiplexer to add flexibility to the EZ-KIT Lite.
PF9-0 are
The following table shows each switch position and corresponding processor pin.
ADSP-BF535 EZ-KIT Lite Evaluation System Manual2-7
Jumper and Switch Settings
Table 2-4. PLL Setup Switch (SW2) Functions
Processor PinSwitch PositionProcessor PinSwitch Position
MSEL01MSEL67
MSEL12DF8
MSEL23SSEL09
MSEL34SSEL110
MSEL45None11
MSEL56Bypass12
Figure 2-3 shows the default setting of the
SW2 switch. The setting pro-
duces a 300 MHz core clock speed and a 120 MHz peripheral interface
speed. For more information about setting up the multiplication factors,
refer to “Managing DSP Clocks” section of the ADSP-BF535 Processor Hardware Reference.
A switch setting of ON supplies a logic low (0) on the corresponding
L
processor pin.
2-8ADSP-BF535 EZ-KIT Lite Evaluation System Manual
ADSP-BF535 EZ-KIT Lite Hardware Reference
LEDs and Push Buttons
This section describes the functionality of the LEDs and push buttons.
Figure 2-4 shows the locations of the LEDs and push buttons.
Figure 2-4. LED and Push Button Locations
Programmable Flag LEDs (LED1–4)
Four LEDs connect to four programmable flag (PF) pins, PF3-0, of the
processor. These LEDs are active high and are lit by an output of
the processor. Refer to “Programmable Flag Pins” on page 1-11 for information about PF programming.
ADSP-BF535 EZ-KIT Lite Evaluation System Manual2-9
1 from
LEDs and Push Buttons
Table 2-5. Programmable Flag LEDs
LED Reference Designator Processor Programmable Flag Pin
LED4PF0
LED1PF1
LED2PF2
LED3PF3
USB Monitor LED (LED5)
The USB monitor LED (LED5) indicates that USB communication has
been initialized successfully, and you can connect to the processor using a
VisualDSP++ EZ-KIT Lite session. This takes approximately 15 seconds.
If the LED does not light, try cycling power on the board and/or reinstalling the USB driver (see the VisualDSP++ Installation Quick Reference Card).
L
Lite target board, the LED can flicker, indicating communications
handshake.
Power LED (LED6)
When VisualDSP++ is communicating actively with the EZ-KIT
When LED6 is lit (green), it indicates that power is being supplied to the
board properly.
Reset LEDs (LED7 and LED8)
When LED8 is lit, it indicates that master reset of all the major ICs is
active. When
USB chips reset only on power-up, or if USB communication has not
been initialized.
2-10ADSP-BF535 EZ-KIT Lite Evaluation System Manual
LED7 is lit, the USB interface chip (U11) is being reset. The
ADSP-BF535 EZ-KIT Lite Hardware Reference
Non-Maskable Interrupt Push Button (SW3)
The SW3 button connects to the non-maskable interrupt (NMI) pin of the
processor. When pressed, the processor vectors to the NMI vector.
Programmable Flag Push Buttons (SW4–7)
Four push buttons are provided for general-purpose user input. SW4–7
connect to the processor’s programmable flag pins
tons are active high and, when pressed, send a high (
Refer to “Programmable Flag Pins” on page 1-11 for information about
PF programming. Table 2-6 lists each push button and corresponding
programmable flag pin.
Table 2-6. Programmable Flag Switches
Push Button Reference DesignatorProcessor Programmable Flag Pin
PF7-4. The push but-
1) to the processor.
SW4PF4
SW5PF5
SW6PF6
SW7PF7
Reset Push Button (SW8)
The RESET push button resets all of the ICs on the board. This reset does
not affect the USB interface chip (
been initialized with a PC. After USB communication has been initialized,
the only way to reset the USB is by powering down the board.
ADSP-BF535 EZ-KIT Lite Evaluation System Manual2-11
U11) unless communication has not
Connectors
Connectors
This section describes the connector functionality and provides information about mating connectors. The connector locations are shown in
Figure 2-5.
Figure 2-5. Connector Locations
Expansion Interface (P1–3)
Three board-to-board connector footprints provide signals for most
peripheral interfaces of the processor. Analog Devices does not populate
the expansion connectors and does not provide any additional support for
the interface. For more information, see “Expansion Interface” on
page 2-4. Contact Samtec for the connector availability and pricing.
2-12ADSP-BF535 EZ-KIT Lite Evaluation System Manual
ADSP-BF535 EZ-KIT Lite Hardware Reference
Part DescriptionManufacturerPart Number
90-position 0.05” spacing (P1,
P2, P3)
90-position 0.05” spacing
(through hole)
90-position 0.05” spacing
(surface mount)
90-position 0.05” spacing
(low cost)
SAMTECSFM-145-01-S-D
Mating Connectors
SAMTECTFM-145-x1 series
SAMTECTFM-145-x2 series
SAMTECTFC-145 series
FlashLINK (P4)
The FlashLINK connector allows you to configure and program the
STMicroelectronics DSM2150 flash/PLD chip. See “Flash Memory” on
page 1-9 for more information.
Part DescriptionManufacturerPart Number
Right-angle 7X2 shrouded 0.1”
spacing
TYCO2-767004-2
Mating Assembly
FlashLINK JTAG programmerST MICROL-101B
ADSP-BF535 EZ-KIT Lite Evaluation System Manual2-13
Connectors
Audio (P5 and P6)
There are two 3.5 mm stereo audio jacks: one input and one output.
Part DescriptionManufacturerPart Number
3.5 mm stereo jack (P5, P6)SHOGYOSJ-0359AM-5
Mating Cable
3.5 mm stereo plug to 3.5 mm
stereo cable
RADIO SHACK42-2387A
USB (P7)
The USB connector is a standard type B USB receptacle. The connector is
used to debug the processor and is not connected to the processor’s USB
interface.
Part DescriptionManufacturerPart Number
Type B USB receptacle (
USB cable (provided with kit)ASSMANNAK672-5
P7)MILL-MAX897-30-004-90-000
DIGI-KEYED90003-ND
Mating Connector
DIGI-KEYAK672-5ND
2-14ADSP-BF535 EZ-KIT Lite Evaluation System Manual
ADSP-BF535 EZ-KIT Lite Hardware Reference
JTAG (P8)
The JTAG header is the connecting point for a JTAG in-circuit emulator
pod. When an emulator connects to the JTAG header, the USB debug
interface is disabled.
L
should have a plug.
When using an emulator with the EZ-KIT Lite board, follow the
Pin 3 is missing to provide keying. Pin 3 in the mating connector
L
connection instructions provided with the emulator.
SPORT0 (P9)
SPORT0 connects to a 20-pin connector. The pinout of the connector can
be found in “ADSP-BF535 EZ-KIT Lite Schematic” on page B-1. Contact AMP for the connector availability and pricing.
Part DescriptionManufacturerPart Number
20-position AMPMODU system
50 receptacle (
20-position AMPMODU ribbon
cable connector
P9)
AMP104069-1
Mating Connector
AMP111196-4
Power Connector (P10)
The power connector provides all of the power necessary to operate the
EZ-KIT Lite board.
Part DescriptionManufacturerPart Number
2.5 mm power jack (
P10)SWITCHCRAFTRAPC712
DIGI-KEYSC1152-ND
ADSP-BF535 EZ-KIT Lite Evaluation System Manual2-15
Specifications
Part DescriptionManufacturerPart Number
Mating Power Supply (shipped with EZ-KIT Lite)
7.5V power supplyGLOBTEKTR9CC2000LCP-Y
Specifications
This section provides the requirements for powering the board and the
mechanical dimensions of the board.
Power Supply
The power connector supplies DC power to the EZ-KIT Lite board.
Table 2-7 shows the connector pinout.
Table 2-7. Power Connectors
TerminalConnection
Center pin+7.5 VDC@2amps
Outer ringGND
Board Current Measurements
The ADSP-BF535 EZ-KIT Lite board provides eight zero-ohm resistors
that can be removed to measure current draw. Table 2-8 lists and
describes each resistor and the voltage plane on the board.
Table 2-8. Current Resistor Measurements
ResistorVoltage PlaneDescription
R2VDD_RTCProcessor real-time clock supply
R3VDD_EXTProcessor external interface supply
2-16ADSP-BF535 EZ-KIT Lite Evaluation System Manual
ADSP-BF535 EZ-KIT Lite Hardware Reference
Table 2-8. Current Resistor Measurements (Cont’d)
ResistorVoltage PlaneDescription
R6VDD_INTProcessor internal interface supply
R7VDD_PCIEXTProcessor PCI interface supply
R8VDD_PLLProcessor phase lock loop supply
R1105V5V supply
R1113V3V supply to all non processor-related components
R1133V_DSP3V to processor-related components
Mechanical Dimensions
Figure 2-6 shows the location of the mounting holes and PIN1 of each
expansion connector.
5.000
4.750
3.875
2.500
1.125
0.250
0.000
3.750
1.300
0.000
0.250
0.625
3.250
3.600
P1
P2
1.400
P3
6.375
6.750
6.200
7.000
Figure 2-6. Mechanical Drawing
ADSP-BF535 EZ-KIT Lite Evaluation System Manual2-17
Specifications
2-18ADSP-BF535 EZ-KIT Lite Evaluation System Manual
AADSP-BF535 EZ-KIT LITE BILL
OF MATERIALS
The bill of materials corresponds to “ADSP-BF535 EZ-KIT Lite Sche-
matic” on page B-1. Please check the latest schematic on the Analog