SlideShare a Scribd company logo
1 of 60
ANALOG DEVICES BLACKFIN PROCESSOR



              BF 532
Agenda

Introduction to DSP

Introduction to Blackfin family

Getting Started with VisualDSP 5.0

Programming and Optimizing C on Blackfin

Examples
What is DSP

What is [a] DSP? In brief, DSPs are processors or microcomputers
whose hardware, software, and instruction sets are optimized for high-
speed numeric processing applications— an essential for processing
digital data representing analog signals in real time.
. What a DSP does is straightforward. When acting as a digital filter,
for example, the DSP receives digital values based on samples of a
signal, calculates the results of a filter function operating on these
values, and provides digital values that represent the filter output. The
DSP’s high-speed arithmetic and logical hardware is programmed to
rapidly execute algorithms modeling the filter transformation.
EX
Key Difference
The combination of design elements—arithmetic operators, memory
handling, instruction set, parallelism, data addressing—that provide
this ability forms the key difference between DSPs and other kinds of
processors.
The real-time signal comes to the DSP as a train of individual samples
from an analog-to-digital converter (ADC). To do filtering in real-time,
the DSP must complete all the calculations and operations required
for processing each sample (usually updating a process involving
many previous samples) before the next sample arrives. To perform
high-order filtering of real-world signals having significant frequency
content calls for really fast processors
General features of DSP

Efficient ALU and MAC Units (Multiple)

Harward or Super-Harward Architecture

Extended Precision in Computational Units

Hardware Looping

Efficient and fast peripherals

Circular Buffering

High Speeds of operation
Continued….

Fast Multipliers
Multiple Execution Units
Efficient Memory Access
    -Harward and Super Harward architectures
Data Format
    -Fixed point and Floating point
Zero Overhead Looping
Streaming I/O
Specialized Instruction Sets
Introduction

Blackfin processors embody a new type of 16/32-bit
embedded processor designed specifically to meet the
computational demands and power constraints of today’s
embedded audio, video, automotive,
industrial/instrumentation, and communications
applications
Blackfin processors combine a 32-bit RISC instruction set,
dual 16-bit multiply accumulate (MAC) digital signal
processing functionality, and 8-bit video processing
performance.
Roadmap
Continued……………..
Characteristics of a Embedded Processor
BF531/2/3
BF532 Block Diagram
Features

Up to 600Mhz High Performance Processor
2 16 bit MAC’s, 2 40-bit ALU’s, 4 8-bit Video ALU’s and a 40bit
Shifter
0.85 V to 1.30 V core VDD with on-chip voltage regulation
1.8 V, 2.5 V, and 3.3 V compliant I/O
Up to 148K bytes of on-chip memory which can be used as a
cache or SRAM and having both data and code banks
External Memory controller with glue less support for SDRAM,
SRAM , flash and ROM
Multiple booting Options from SPI and Parallel Flash
Peripherals and Units

Dynamic Power management Unit
Direct Memory Access
SPI interface
Parallel Port Interface
Serial Port Controllers
UART
Programmable Flags
Timers and RTC
EBIU(External Bus Interface Unit)
Core

the Blackfin processor core contains two 16-bit
multipliers, two 40-bit accumulators, two 40-bit ALUs,
four video ALUs, and a 40-bit shifter. The computation
units process 8-bit, 16-bit, or 32-bit data from the register
file.
The compute register file contains eight 32-bit registers.
When performing compute operations on 16-bit operand
data, the register file operates as 16 independent 16-bit
registers.
The ALUs perform a traditional set of arithmetic and
logical operations on 16-bit or 32-bit data.
Each MAC can perform a 16-bit by 16-bit multiply in each cycle,
accumulating the results into the 40-bit accumulators. Signed
and unsigned formats, rounding, and saturation are supported.
The 40-bit shifter can perform shifts and rotates and is used to
support normalization, field extract, and field deposit
     instructions.
The program sequencer controls the flow of instruction execu-
tion, including instruction alignment and decoding. For
program flow control, the sequencer supports PC relative and
Hardware is provided to support zero-over-head
looping. The architecture is fully interlocked,
meaning that the programmer need not manage the
pipeline when executing instructions with data
dependencies.
Operating Modes

The architecture provides three modes of operation:
    user mode,
    supervisor mode
    emulation mode.

User mode has restricted access to certain system
resources, thus providing a protected software
environment, while supervisor mode has unrestricted
access to the system and core resources
Emulation Mode is used for Testing Purposes only
Core
Memory
Booting


 The Process of
  loading of internal
  memories of the
  processor by using
  external memories
  by using itself is
  called Booting
 The processor is
  having 2 Boot pins
  BMODE0,1 so, it will
  support 4 Boot
  Modes
 Which are shown in
  side window
Dynamic Power Management Unit

The Processor has 3 Power Domains
 VDDEXT(Peripherals)
 VDDINT(Core)
 VDDRTC(RTC)
 And it has 2 CLOCK domains
 Peripherals will work with SCLK and the Core will work
  with CCLK

The Processor has Internal PLL by using which we can
get multiple frequency of operations by just changing
register values
The dynamic power management feature of the ADSP-
BF531/ ADSP-BF532/ADSP-BF533 processor allows both the
proces-sor’s input voltage (VDDINT) and clock frequency
(fCCLK) to be dynamically controlled.
Different Applications require Different Clock speeds,
According to the Clock speed the VDDINT will be reduced
thereby reducing overall power dissipation
Because of this feature Blackfin processors are used in Low
Power applications
Different Modes Available

 Different
  applications
  requires different
  types of modes.
 These power modes
  will offer different
  levels of power
  savings.
 Hibernate Mode will
  be having High
  power saving where
  as Full-On will be
  having less power
  savings with more
  performance
VisualDSP++ 5.0
Start UP
Creating the session
Selecting the Processor
Selecting Connection Type
Selecting the Platform
Completing the session
Selecting the session
Creating a Project
Project Information
Processor selection
Application Settings
Startup code/ldf
Completed
Project Layout
Adding Source Files to the Project
Contd….
Building and Running the Project

 Build the project by
    performing one of these
    actions.
   • Click the Build Project
    button or
   • From the Project menu,
    choose Build Project.
   Or Click the Rebuild All
    button ( ) to build the
    project.
   The C source file opens in an
    editor window, and execution
    halts at the main ()


 At the End we will be seeing

 “Build completed
    successfully.”

    Press F5 to run the project
Changing the Project Options
Options

1.   Processor: BF532

2. Type : Loader File


3. Revision: Automatic
Loader file Settings

   Choose :
   boot mode as flash/
    PROM, Boot
    Format as ASCII
    and Output width
    as 16 bit.

   Choose a folder
    for an output file .
    After changing the
    options again
    Rebuild All
C Language

Advantages:


  C is much cheaper to develop. ( encourages experimentation )


  C is much cheaper to maintain.


  C is comparatively portable.




Disadvantages
  ANSI C is not designed for DSP.


  DSP processor designs usually expect assembly in key areas.


  DSP applications continue to evolve. ( faster than ANSI Standard C )
Missing operations provided by software emulation
(floating point!)

C is more machine-dependent than you might think
 for example: is a “short” 16 or 32 bits?

Can be a poor match for DSP – accumulators? SIMD?
Fractions?

Not really a mathematical focus. Systems
programming language
Increasing C Performance

Process of Performance Tuning is a Specialization of
the program for the particular hardware



Work at the Higher level first
   Improve the algorithm
   Make sure that algorithm suits to Architecture


Look at Machine capabilities
 May have specialized instructions
Linear Profiling tools
Using the compiler Optimization (Automatic Compiler Optimization)
Optimizing the algorithm for the Hardware
Using the Pipeline viewer
Using the Compiler Libraries given which are already optimized
routines for the Hardware
  fractional builtins
  fract types fract16 and fract32
  ETSI(European Telecommunications Standards Institute's fract
   functions)
Fractional Arithmetic is 100 times faster than floating point arithmetic
Arrays and Pointers
Arrays are easier to analyse.
    void va_ind(int a[], int b[], int out[], int n) {
    int i;
    for (i = 0; i < n; ++i)
    out[i] = a[i] + b[i];
    }
Pointers are closer to the hardware.
    void va_ptr(int a[], int b[], int out[], int n) {
    Int i,
    for (i = 0; i < n; ++i)
    *out++ = *a++ + *b++
    }
Which produces the fastest code?
Mostly no difference          Start with Array if performance not sufficient use
Pointers
Avoid Loop Carried dependencies


Bad: Scalar dependency.
 for (i = 0; i < n; ++i) x = a[i] - x;
 Value used from previous iteration. So iterations cannot
  be overlapped.

Bad: Array dependency.
 for (i = 0; i < n; ++i) a[i] = b[i] * a[c[i]];
 Value may be from previous iteration. So iterations
  cannot be overlapped.
Avoid Loop Carried dependencies


Using Hardware Loops

Word align your data
 32-bit loads help keep compute units busy
 32-bit references must be at 4 byte boundaries
 Top-level arrays are allocated on 4 byte boundaries
 Only pass the address of first element of arrays
 Write loops that process input arrays an element at a
  time
Use of the tools “volatile” and “const”

Volatile:
 Volatile is essential for hardware or interrupt-related
  data
 Data is not changed by the Program it will be changed
  by the hardware and used by the program

Const:
 It will remove wrong access of the memory and
  changing the memory contents
Use of Circular addressing

Use of the Key word “asm”

Replace Conditionals with Min, Max and Abs

Avoid jump statements

Avoid Division Statements: Using Shift by 2
Removing Conditionals


 Duplicate small
  loops
 rather than have a
 conditional in a
 small loop.
References


www.analog.com //Analog Devices
www.dspguru.com
www.dspdesignline.com
www.dspguide.com
 The Scientist and Engineers' guide to DSP

www.dspstore.com //A very nice site which is having all
DSP updates
www.globalspec.com
Any Queries

More Related Content

What's hot

Finger print based EVM by saurabh
Finger print based EVM by saurabhFinger print based EVM by saurabh
Finger print based EVM by saurabhSaurabh Kumar
 
ARM7-ARCHITECTURE
ARM7-ARCHITECTURE ARM7-ARCHITECTURE
ARM7-ARCHITECTURE Dr.YNM
 
Projects at mega32-avr-projects-list-1197-projects
Projects   at mega32-avr-projects-list-1197-projectsProjects   at mega32-avr-projects-list-1197-projects
Projects at mega32-avr-projects-list-1197-projectsAshraf11111
 
L8 understanding-atmega328 p-1
L8 understanding-atmega328 p-1L8 understanding-atmega328 p-1
L8 understanding-atmega328 p-1rsamurti
 
Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Mahmoud Sadat
 
Introduction to Processor Design and ARM Processor
Introduction to Processor Design and ARM ProcessorIntroduction to Processor Design and ARM Processor
Introduction to Processor Design and ARM ProcessorDarling Jemima
 
Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design processRAMESHBABU311293
 
Risc cisc Difference
Risc cisc DifferenceRisc cisc Difference
Risc cisc DifferenceSehrish Asif
 
22cs201 COMPUTER ORGANIZATION AND ARCHITECTURE
22cs201 COMPUTER ORGANIZATION AND ARCHITECTURE22cs201 COMPUTER ORGANIZATION AND ARCHITECTURE
22cs201 COMPUTER ORGANIZATION AND ARCHITECTUREKathirvel Ayyaswamy
 
Evolution of Intel Processors
Evolution of Intel ProcessorsEvolution of Intel Processors
Evolution of Intel ProcessorsShad Ahmad Zaidi
 
Introduction to arm processor
Introduction to arm processorIntroduction to arm processor
Introduction to arm processorRAMPRAKASHT1
 
Unit II Study of Onchip Peripherals
Unit II Study of Onchip PeripheralsUnit II Study of Onchip Peripherals
Unit II Study of Onchip PeripheralsDr. Pankaj Zope
 
Introducion to MSP430 Microcontroller.pptx
Introducion to MSP430 Microcontroller.pptxIntroducion to MSP430 Microcontroller.pptx
Introducion to MSP430 Microcontroller.pptxDr.YNM
 
Introduction to Embedded Architecture
Introduction to Embedded Architecture Introduction to Embedded Architecture
Introduction to Embedded Architecture amrutachintawar239
 
Wave Propagation
Wave PropagationWave Propagation
Wave PropagationKavitaGiri5
 
System design techniques and networks
System design techniques and networksSystem design techniques and networks
System design techniques and networksRAMPRAKASHT1
 

What's hot (20)

Finger print based EVM by saurabh
Finger print based EVM by saurabhFinger print based EVM by saurabh
Finger print based EVM by saurabh
 
ARM7-ARCHITECTURE
ARM7-ARCHITECTURE ARM7-ARCHITECTURE
ARM7-ARCHITECTURE
 
Projects at mega32-avr-projects-list-1197-projects
Projects   at mega32-avr-projects-list-1197-projectsProjects   at mega32-avr-projects-list-1197-projects
Projects at mega32-avr-projects-list-1197-projects
 
L8 understanding-atmega328 p-1
L8 understanding-atmega328 p-1L8 understanding-atmega328 p-1
L8 understanding-atmega328 p-1
 
Linear block code
Linear block codeLinear block code
Linear block code
 
Introduction to ARM
Introduction to ARMIntroduction to ARM
Introduction to ARM
 
Introduction to AVR Microcontroller
Introduction to AVR Microcontroller Introduction to AVR Microcontroller
Introduction to AVR Microcontroller
 
Arm processor
Arm processorArm processor
Arm processor
 
Introduction to Processor Design and ARM Processor
Introduction to Processor Design and ARM ProcessorIntroduction to Processor Design and ARM Processor
Introduction to Processor Design and ARM Processor
 
Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design process
 
Risc cisc Difference
Risc cisc DifferenceRisc cisc Difference
Risc cisc Difference
 
22cs201 COMPUTER ORGANIZATION AND ARCHITECTURE
22cs201 COMPUTER ORGANIZATION AND ARCHITECTURE22cs201 COMPUTER ORGANIZATION AND ARCHITECTURE
22cs201 COMPUTER ORGANIZATION AND ARCHITECTURE
 
Evolution of Intel Processors
Evolution of Intel ProcessorsEvolution of Intel Processors
Evolution of Intel Processors
 
Introduction to arm processor
Introduction to arm processorIntroduction to arm processor
Introduction to arm processor
 
Unit II Study of Onchip Peripherals
Unit II Study of Onchip PeripheralsUnit II Study of Onchip Peripherals
Unit II Study of Onchip Peripherals
 
Arm architecture
Arm architectureArm architecture
Arm architecture
 
Introducion to MSP430 Microcontroller.pptx
Introducion to MSP430 Microcontroller.pptxIntroducion to MSP430 Microcontroller.pptx
Introducion to MSP430 Microcontroller.pptx
 
Introduction to Embedded Architecture
Introduction to Embedded Architecture Introduction to Embedded Architecture
Introduction to Embedded Architecture
 
Wave Propagation
Wave PropagationWave Propagation
Wave Propagation
 
System design techniques and networks
System design techniques and networksSystem design techniques and networks
System design techniques and networks
 

Viewers also liked

11 relación-de-docentes-de-la-unsch-registrado-en-el-dina
11 relación-de-docentes-de-la-unsch-registrado-en-el-dina11 relación-de-docentes-de-la-unsch-registrado-en-el-dina
11 relación-de-docentes-de-la-unsch-registrado-en-el-dinaRosmery Morales Montes
 
Wykad _semestr_drugi em
Wykad  _semestr_drugi emWykad  _semestr_drugi em
Wykad _semestr_drugi emSzymon Kimszal
 
Pregón mariano caballero
Pregón mariano caballeroPregón mariano caballero
Pregón mariano caballeroLuksCorso
 
Good News is No News? Effects of Positive Stories about African Americans on ...
Good News is No News? Effects of Positive Stories about African Americans on ...Good News is No News? Effects of Positive Stories about African Americans on ...
Good News is No News? Effects of Positive Stories about African Americans on ...Miglena Sternadori
 
ADC NGF-TB2BRRD4
ADC NGF-TB2BRRD4ADC NGF-TB2BRRD4
ADC NGF-TB2BRRD4savomir
 
iOS³ - Programma Elettorale
iOS³ - Programma ElettoraleiOS³ - Programma Elettorale
iOS³ - Programma ElettoraleiOS³
 
Nâng cao hiệu quả sử dụng tài sản ngắn hạn của công ty tnhh một thành viên xâ...
Nâng cao hiệu quả sử dụng tài sản ngắn hạn của công ty tnhh một thành viên xâ...Nâng cao hiệu quả sử dụng tài sản ngắn hạn của công ty tnhh một thành viên xâ...
Nâng cao hiệu quả sử dụng tài sản ngắn hạn của công ty tnhh một thành viên xâ...https://www.facebook.com/garmentspace
 
Andrew DB370
Andrew DB370Andrew DB370
Andrew DB370savomir
 
Kintu Shah+ACE13
Kintu Shah+ACE13Kintu Shah+ACE13
Kintu Shah+ACE13Kintu shah
 
Cv Plascencia Jose Jorge En
Cv Plascencia Jose Jorge EnCv Plascencia Jose Jorge En
Cv Plascencia Jose Jorge Enjorge_plascencia
 
Varun vraheja group andheri_archstones_asps_bhavik_bhatt
Varun  vraheja group   andheri_archstones_asps_bhavik_bhattVarun  vraheja group   andheri_archstones_asps_bhavik_bhatt
Varun vraheja group andheri_archstones_asps_bhavik_bhattArchstones property solutions
 

Viewers also liked (20)

Introduction to Code Composer Studio 4
Introduction to Code Composer Studio 4Introduction to Code Composer Studio 4
Introduction to Code Composer Studio 4
 
Median filter Implementation using TMS320C6745
Median filter Implementation using TMS320C6745Median filter Implementation using TMS320C6745
Median filter Implementation using TMS320C6745
 
Waveform Generation Using TMS320C6745 DSP
Waveform Generation Using TMS320C6745 DSPWaveform Generation Using TMS320C6745 DSP
Waveform Generation Using TMS320C6745 DSP
 
11 relación-de-docentes-de-la-unsch-registrado-en-el-dina
11 relación-de-docentes-de-la-unsch-registrado-en-el-dina11 relación-de-docentes-de-la-unsch-registrado-en-el-dina
11 relación-de-docentes-de-la-unsch-registrado-en-el-dina
 
Wykad _semestr_drugi em
Wykad  _semestr_drugi emWykad  _semestr_drugi em
Wykad _semestr_drugi em
 
Plant kingdom
Plant kingdomPlant kingdom
Plant kingdom
 
Pregón mariano caballero
Pregón mariano caballeroPregón mariano caballero
Pregón mariano caballero
 
2089 p2-spk-multimedia
2089 p2-spk-multimedia2089 p2-spk-multimedia
2089 p2-spk-multimedia
 
Good News is No News? Effects of Positive Stories about African Americans on ...
Good News is No News? Effects of Positive Stories about African Americans on ...Good News is No News? Effects of Positive Stories about African Americans on ...
Good News is No News? Effects of Positive Stories about African Americans on ...
 
ADC NGF-TB2BRRD4
ADC NGF-TB2BRRD4ADC NGF-TB2BRRD4
ADC NGF-TB2BRRD4
 
iOS³ - Programma Elettorale
iOS³ - Programma ElettoraleiOS³ - Programma Elettorale
iOS³ - Programma Elettorale
 
Nâng cao hiệu quả sử dụng tài sản ngắn hạn của công ty tnhh một thành viên xâ...
Nâng cao hiệu quả sử dụng tài sản ngắn hạn của công ty tnhh một thành viên xâ...Nâng cao hiệu quả sử dụng tài sản ngắn hạn của công ty tnhh một thành viên xâ...
Nâng cao hiệu quả sử dụng tài sản ngắn hạn của công ty tnhh một thành viên xâ...
 
Andrew DB370
Andrew DB370Andrew DB370
Andrew DB370
 
Lista practica inmaduros 07
Lista practica inmaduros 07Lista practica inmaduros 07
Lista practica inmaduros 07
 
Kintu Shah+ACE13
Kintu Shah+ACE13Kintu Shah+ACE13
Kintu Shah+ACE13
 
Help mijn mensen twitteren!
Help mijn mensen twitteren!Help mijn mensen twitteren!
Help mijn mensen twitteren!
 
Cv Plascencia Jose Jorge En
Cv Plascencia Jose Jorge EnCv Plascencia Jose Jorge En
Cv Plascencia Jose Jorge En
 
Kuis p kn
Kuis p knKuis p kn
Kuis p kn
 
Softskill kelompok 3 ppt [recovered]
Softskill kelompok 3 ppt [recovered]Softskill kelompok 3 ppt [recovered]
Softskill kelompok 3 ppt [recovered]
 
Varun vraheja group andheri_archstones_asps_bhavik_bhatt
Varun  vraheja group   andheri_archstones_asps_bhavik_bhattVarun  vraheja group   andheri_archstones_asps_bhavik_bhatt
Varun vraheja group andheri_archstones_asps_bhavik_bhatt
 

Similar to Introduction to Blackfin BF532 DSP

Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advancedImran Sheikh
 
Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design processRayees CK
 
Introduction to computer architecture .pptx
Introduction to computer architecture .pptxIntroduction to computer architecture .pptx
Introduction to computer architecture .pptxFatma Sayed Ibrahim
 
16-bit Microprocessor Design (2005)
16-bit Microprocessor Design (2005)16-bit Microprocessor Design (2005)
16-bit Microprocessor Design (2005)Susam Pal
 
Sudhir tms 320 f 2812
Sudhir tms 320 f 2812 Sudhir tms 320 f 2812
Sudhir tms 320 f 2812 vijaydeepakg
 
Computer Architecture – An Introduction
Computer Architecture – An IntroductionComputer Architecture – An Introduction
Computer Architecture – An IntroductionDilum Bandara
 
Nt1310 Unit 5 Algorithm
Nt1310 Unit 5 AlgorithmNt1310 Unit 5 Algorithm
Nt1310 Unit 5 AlgorithmAngie Lee
 
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...Christopher Diamantopoulos
 
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIM
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIMAn Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIM
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIMjournalBEEI
 
Low cost embedded system
Low cost embedded systemLow cost embedded system
Low cost embedded systemece svit
 
The Principle Of Ultrasound Imaging System
The Principle Of Ultrasound Imaging SystemThe Principle Of Ultrasound Imaging System
The Principle Of Ultrasound Imaging SystemMelissa Luster
 
Physical computing and iot programming final with cp sycs sem 3
Physical computing and iot programming final with cp sycs sem 3Physical computing and iot programming final with cp sycs sem 3
Physical computing and iot programming final with cp sycs sem 3WE-IT TUTORIALS
 
4bit pc report[cse 08-section-b2_group-02]
4bit pc report[cse 08-section-b2_group-02]4bit pc report[cse 08-section-b2_group-02]
4bit pc report[cse 08-section-b2_group-02]shibbirtanvin
 
4bit PC report
4bit PC report4bit PC report
4bit PC reporttanvin
 

Similar to Introduction to Blackfin BF532 DSP (20)

DSP Processor.pptx
DSP Processor.pptxDSP Processor.pptx
DSP Processor.pptx
 
Microcontroller from basic_to_advanced
Microcontroller from basic_to_advancedMicrocontroller from basic_to_advanced
Microcontroller from basic_to_advanced
 
chameleon chip
chameleon chipchameleon chip
chameleon chip
 
DSP Processor
DSP Processor DSP Processor
DSP Processor
 
EEE226a.ppt
EEE226a.pptEEE226a.ppt
EEE226a.ppt
 
Embedded system design process
Embedded system design processEmbedded system design process
Embedded system design process
 
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGSA STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
A STUDY OF AN ENTRENCHED SYSTEM USING INTERNET OF THINGS
 
Introduction to computer architecture .pptx
Introduction to computer architecture .pptxIntroduction to computer architecture .pptx
Introduction to computer architecture .pptx
 
16-bit Microprocessor Design (2005)
16-bit Microprocessor Design (2005)16-bit Microprocessor Design (2005)
16-bit Microprocessor Design (2005)
 
Sudhir tms 320 f 2812
Sudhir tms 320 f 2812 Sudhir tms 320 f 2812
Sudhir tms 320 f 2812
 
Computer Architecture – An Introduction
Computer Architecture – An IntroductionComputer Architecture – An Introduction
Computer Architecture – An Introduction
 
Nt1310 Unit 5 Algorithm
Nt1310 Unit 5 AlgorithmNt1310 Unit 5 Algorithm
Nt1310 Unit 5 Algorithm
 
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
IMAGE CAPTURE, PROCESSING AND TRANSFER VIA ETHERNET UNDER CONTROL OF MATLAB G...
 
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIM
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIMAn Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIM
An Enhanced FPGA Based Asynchronous Microprocessor Design Using VIVADO and ISIM
 
Low cost embedded system
Low cost embedded systemLow cost embedded system
Low cost embedded system
 
The Principle Of Ultrasound Imaging System
The Principle Of Ultrasound Imaging SystemThe Principle Of Ultrasound Imaging System
The Principle Of Ultrasound Imaging System
 
Physical computing and iot programming final with cp sycs sem 3
Physical computing and iot programming final with cp sycs sem 3Physical computing and iot programming final with cp sycs sem 3
Physical computing and iot programming final with cp sycs sem 3
 
Assignment
AssignmentAssignment
Assignment
 
4bit pc report[cse 08-section-b2_group-02]
4bit pc report[cse 08-section-b2_group-02]4bit pc report[cse 08-section-b2_group-02]
4bit pc report[cse 08-section-b2_group-02]
 
4bit PC report
4bit PC report4bit PC report
4bit PC report
 

More from Pantech ProLabs India Pvt Ltd

Choosing the right processor for embedded system design
Choosing the right processor for embedded system designChoosing the right processor for embedded system design
Choosing the right processor for embedded system designPantech ProLabs India Pvt Ltd
 
Brainsense -Introduction to brain computer interface
Brainsense -Introduction to brain computer interfaceBrainsense -Introduction to brain computer interface
Brainsense -Introduction to brain computer interfacePantech ProLabs India Pvt Ltd
 

More from Pantech ProLabs India Pvt Ltd (20)

Registration process
Registration processRegistration process
Registration process
 
Choosing the right processor for embedded system design
Choosing the right processor for embedded system designChoosing the right processor for embedded system design
Choosing the right processor for embedded system design
 
Brain Computer Interface
Brain Computer InterfaceBrain Computer Interface
Brain Computer Interface
 
Electric Vehicle Design using Matlab
Electric Vehicle Design using MatlabElectric Vehicle Design using Matlab
Electric Vehicle Design using Matlab
 
Image processing application
Image processing applicationImage processing application
Image processing application
 
Internet of Things using Raspberry Pi
Internet of Things using Raspberry PiInternet of Things using Raspberry Pi
Internet of Things using Raspberry Pi
 
Internet of Things Using Arduino
Internet of Things Using ArduinoInternet of Things Using Arduino
Internet of Things Using Arduino
 
Brain controlled robot
Brain controlled robotBrain controlled robot
Brain controlled robot
 
Brain Computer Interface-Webinar
Brain Computer Interface-WebinarBrain Computer Interface-Webinar
Brain Computer Interface-Webinar
 
Development of Deep Learning Architecture
Development of Deep Learning ArchitectureDevelopment of Deep Learning Architecture
Development of Deep Learning Architecture
 
Future of AI
Future of AIFuture of AI
Future of AI
 
Gate driver design and inductance fabrication
Gate driver design and inductance fabricationGate driver design and inductance fabrication
Gate driver design and inductance fabrication
 
Brainsense -Brain computer Interface
Brainsense -Brain computer InterfaceBrainsense -Brain computer Interface
Brainsense -Brain computer Interface
 
Interfacing UART with tms320C6745
Interfacing UART with tms320C6745Interfacing UART with tms320C6745
Interfacing UART with tms320C6745
 
Switch & LED using TMS320C6745 DSP
Switch & LED using TMS320C6745 DSPSwitch & LED using TMS320C6745 DSP
Switch & LED using TMS320C6745 DSP
 
Led blinking using TMS320C6745
Led blinking using TMS320C6745Led blinking using TMS320C6745
Led blinking using TMS320C6745
 
Introduction to tms320c6745 dsp
Introduction to tms320c6745 dspIntroduction to tms320c6745 dsp
Introduction to tms320c6745 dsp
 
Brainsense -Introduction to brain computer interface
Brainsense -Introduction to brain computer interfaceBrainsense -Introduction to brain computer interface
Brainsense -Introduction to brain computer interface
 
Internet of Things
Internet of ThingsInternet of Things
Internet of Things
 
Wearable Technology
Wearable TechnologyWearable Technology
Wearable Technology
 

Recently uploaded

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfakmcokerachita
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdfssuser54595a
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 

Recently uploaded (20)

“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Class 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdfClass 11 Legal Studies Ch-1 Concept of State .pdf
Class 11 Legal Studies Ch-1 Concept of State .pdf
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
18-04-UA_REPORT_MEDIALITERAСY_INDEX-DM_23-1-final-eng.pdf
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 

Introduction to Blackfin BF532 DSP

  • 1. ANALOG DEVICES BLACKFIN PROCESSOR BF 532
  • 2. Agenda Introduction to DSP Introduction to Blackfin family Getting Started with VisualDSP 5.0 Programming and Optimizing C on Blackfin Examples
  • 3. What is DSP What is [a] DSP? In brief, DSPs are processors or microcomputers whose hardware, software, and instruction sets are optimized for high- speed numeric processing applications— an essential for processing digital data representing analog signals in real time. . What a DSP does is straightforward. When acting as a digital filter, for example, the DSP receives digital values based on samples of a signal, calculates the results of a filter function operating on these values, and provides digital values that represent the filter output. The DSP’s high-speed arithmetic and logical hardware is programmed to rapidly execute algorithms modeling the filter transformation.
  • 4. EX
  • 5. Key Difference The combination of design elements—arithmetic operators, memory handling, instruction set, parallelism, data addressing—that provide this ability forms the key difference between DSPs and other kinds of processors. The real-time signal comes to the DSP as a train of individual samples from an analog-to-digital converter (ADC). To do filtering in real-time, the DSP must complete all the calculations and operations required for processing each sample (usually updating a process involving many previous samples) before the next sample arrives. To perform high-order filtering of real-world signals having significant frequency content calls for really fast processors
  • 6. General features of DSP Efficient ALU and MAC Units (Multiple) Harward or Super-Harward Architecture Extended Precision in Computational Units Hardware Looping Efficient and fast peripherals Circular Buffering High Speeds of operation
  • 7. Continued…. Fast Multipliers Multiple Execution Units Efficient Memory Access -Harward and Super Harward architectures Data Format -Fixed point and Floating point Zero Overhead Looping Streaming I/O Specialized Instruction Sets
  • 8. Introduction Blackfin processors embody a new type of 16/32-bit embedded processor designed specifically to meet the computational demands and power constraints of today’s embedded audio, video, automotive, industrial/instrumentation, and communications applications Blackfin processors combine a 32-bit RISC instruction set, dual 16-bit multiply accumulate (MAC) digital signal processing functionality, and 8-bit video processing performance.
  • 11. Characteristics of a Embedded Processor
  • 13.
  • 15. Features Up to 600Mhz High Performance Processor 2 16 bit MAC’s, 2 40-bit ALU’s, 4 8-bit Video ALU’s and a 40bit Shifter 0.85 V to 1.30 V core VDD with on-chip voltage regulation 1.8 V, 2.5 V, and 3.3 V compliant I/O Up to 148K bytes of on-chip memory which can be used as a cache or SRAM and having both data and code banks External Memory controller with glue less support for SDRAM, SRAM , flash and ROM Multiple booting Options from SPI and Parallel Flash
  • 16. Peripherals and Units Dynamic Power management Unit Direct Memory Access SPI interface Parallel Port Interface Serial Port Controllers UART Programmable Flags Timers and RTC EBIU(External Bus Interface Unit)
  • 17. Core the Blackfin processor core contains two 16-bit multipliers, two 40-bit accumulators, two 40-bit ALUs, four video ALUs, and a 40-bit shifter. The computation units process 8-bit, 16-bit, or 32-bit data from the register file. The compute register file contains eight 32-bit registers. When performing compute operations on 16-bit operand data, the register file operates as 16 independent 16-bit registers. The ALUs perform a traditional set of arithmetic and logical operations on 16-bit or 32-bit data.
  • 18. Each MAC can perform a 16-bit by 16-bit multiply in each cycle, accumulating the results into the 40-bit accumulators. Signed and unsigned formats, rounding, and saturation are supported. The 40-bit shifter can perform shifts and rotates and is used to support normalization, field extract, and field deposit instructions. The program sequencer controls the flow of instruction execu- tion, including instruction alignment and decoding. For program flow control, the sequencer supports PC relative and
  • 19. Hardware is provided to support zero-over-head looping. The architecture is fully interlocked, meaning that the programmer need not manage the pipeline when executing instructions with data dependencies.
  • 20. Operating Modes The architecture provides three modes of operation:  user mode,  supervisor mode  emulation mode. User mode has restricted access to certain system resources, thus providing a protected software environment, while supervisor mode has unrestricted access to the system and core resources Emulation Mode is used for Testing Purposes only
  • 21. Core
  • 23. Booting   The Process of loading of internal memories of the processor by using external memories by using itself is called Booting  The processor is having 2 Boot pins BMODE0,1 so, it will support 4 Boot Modes  Which are shown in side window
  • 24. Dynamic Power Management Unit The Processor has 3 Power Domains  VDDEXT(Peripherals)  VDDINT(Core)  VDDRTC(RTC)  And it has 2 CLOCK domains  Peripherals will work with SCLK and the Core will work with CCLK The Processor has Internal PLL by using which we can get multiple frequency of operations by just changing register values
  • 25. The dynamic power management feature of the ADSP- BF531/ ADSP-BF532/ADSP-BF533 processor allows both the proces-sor’s input voltage (VDDINT) and clock frequency (fCCLK) to be dynamically controlled. Different Applications require Different Clock speeds, According to the Clock speed the VDDINT will be reduced thereby reducing overall power dissipation Because of this feature Blackfin processors are used in Low Power applications
  • 26. Different Modes Available  Different applications requires different types of modes.  These power modes will offer different levels of power savings.  Hibernate Mode will be having High power saving where as Full-On will be having less power savings with more performance
  • 42. Adding Source Files to the Project
  • 44. Building and Running the Project  Build the project by performing one of these actions.  • Click the Build Project button or  • From the Project menu, choose Build Project.  Or Click the Rebuild All button ( ) to build the project.  The C source file opens in an editor window, and execution halts at the main ()  At the End we will be seeing  “Build completed successfully.”  Press F5 to run the project
  • 46. Options 1. Processor: BF532 2. Type : Loader File 3. Revision: Automatic
  • 47. Loader file Settings  Choose :  boot mode as flash/ PROM, Boot Format as ASCII and Output width as 16 bit.  Choose a folder for an output file . After changing the options again Rebuild All
  • 48.
  • 49. C Language Advantages:  C is much cheaper to develop. ( encourages experimentation )  C is much cheaper to maintain.  C is comparatively portable. Disadvantages  ANSI C is not designed for DSP.  DSP processor designs usually expect assembly in key areas.  DSP applications continue to evolve. ( faster than ANSI Standard C )
  • 50. Missing operations provided by software emulation (floating point!) C is more machine-dependent than you might think  for example: is a “short” 16 or 32 bits? Can be a poor match for DSP – accumulators? SIMD? Fractions? Not really a mathematical focus. Systems programming language
  • 51. Increasing C Performance Process of Performance Tuning is a Specialization of the program for the particular hardware Work at the Higher level first  Improve the algorithm  Make sure that algorithm suits to Architecture Look at Machine capabilities  May have specialized instructions
  • 52. Linear Profiling tools Using the compiler Optimization (Automatic Compiler Optimization) Optimizing the algorithm for the Hardware Using the Pipeline viewer Using the Compiler Libraries given which are already optimized routines for the Hardware  fractional builtins  fract types fract16 and fract32  ETSI(European Telecommunications Standards Institute's fract functions) Fractional Arithmetic is 100 times faster than floating point arithmetic
  • 53. Arrays and Pointers Arrays are easier to analyse.  void va_ind(int a[], int b[], int out[], int n) {  int i;  for (i = 0; i < n; ++i)  out[i] = a[i] + b[i];  } Pointers are closer to the hardware.  void va_ptr(int a[], int b[], int out[], int n) {  Int i,  for (i = 0; i < n; ++i)  *out++ = *a++ + *b++  } Which produces the fastest code? Mostly no difference Start with Array if performance not sufficient use Pointers
  • 54. Avoid Loop Carried dependencies Bad: Scalar dependency.  for (i = 0; i < n; ++i) x = a[i] - x;  Value used from previous iteration. So iterations cannot be overlapped. Bad: Array dependency.  for (i = 0; i < n; ++i) a[i] = b[i] * a[c[i]];  Value may be from previous iteration. So iterations cannot be overlapped.
  • 55. Avoid Loop Carried dependencies Using Hardware Loops Word align your data  32-bit loads help keep compute units busy  32-bit references must be at 4 byte boundaries  Top-level arrays are allocated on 4 byte boundaries  Only pass the address of first element of arrays  Write loops that process input arrays an element at a time
  • 56. Use of the tools “volatile” and “const” Volatile:  Volatile is essential for hardware or interrupt-related data  Data is not changed by the Program it will be changed by the hardware and used by the program Const:  It will remove wrong access of the memory and changing the memory contents
  • 57. Use of Circular addressing Use of the Key word “asm” Replace Conditionals with Min, Max and Abs Avoid jump statements Avoid Division Statements: Using Shift by 2
  • 58. Removing Conditionals  Duplicate small loops  rather than have a  conditional in a  small loop.
  • 59. References www.analog.com //Analog Devices www.dspguru.com www.dspdesignline.com www.dspguide.com  The Scientist and Engineers' guide to DSP www.dspstore.com //A very nice site which is having all DSP updates www.globalspec.com