SlideShare a Scribd company logo
Introduction and
Architecture of
TMS320C6745
M.K.Jeevarajan .M.E,(Ph.D)
https://www.pantechsolutions.net/products/dsp-dsc-
boards/tms320c6745-tyro
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
DAY 1
Two Day Workshop on TMS320C6745
DAY 1 - 27.04.2015
Session Time Class Topics Presenter
9.30-10.15 Inauguration
I 10.15- 11.15 Introduction to Texas DSP& Architecture M.K.Jeevarajan
11.15-11.30 Break
II
11.30-12.15 Introduction to CCS M.K.Jeevarajan
12.15-12.45 Creating and Debugging a Project In CCS, LED
Blinking, Switch Interface
M.K.Jeevarajan
01.00-02.00 Lunch Break
III 02.00-03.15 Waveform Generation M.K.Jeevarajan
03.15-03.30 Break
IV 03.30-04.15 UART Interface M.K.Jeevarajan
04.15 -04.30 Wrap-up - Q&A
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
DAY 2Two Day Workshop on TMS320C6745
DAY 2 - 28.04.2015
Session Time Class Topics Presenter
I 09.30- 10.45 Image processing using TMS320C6745 -PART 1
Median Filter
M.K.Jeevarajan
10.45-11.15 Break
II
11.15-12.00 Image processing using TMS320C6745 -PART 2
Discrete Wavelet Transform
M.K.Jeevarajan
12.00-12.45 Discrete Wavelet Transform
Linear Convolution, Circular Convolution
M.K.Jeevarajan
Paul Kannan
01.00-02.00 Lunch Break
III 02.00-03.15 FIR-Low pass and High Pass Filters Paul Kannan
03.15-03.30 Break
IV 03.30-04.30 Valedictory and Feedback
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
WHAT IS DSP ?
a bit loudAnalog Computer
Digital Computer
ADC
DSP
DAC OUTPUT
1010 1001
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Digital Signal Processor is mathematics on chip.
 DSPs usually run applications with hard real-time constraints:
 DSPs usually process infinite continuous data streams.
Most of the DSP doses not have an Memory Management Unit
DSP processors are microprocessors designed for efficient
mathematical manipulation of digital signals.
Basic Features of
DSPs
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
• Microcontrollers are control oriented ,DSP are data path
oriented
• Use a GPP processor when the following are required:
– Large memory.
– Advanced operating systems.
• Use a DSP processor when the following are required:
– Precision
– Cost saving.
– Smaller size.
– Low power consumption.
– Processing of signals in real-time.
Why do we need DSP processors?
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
DSP Vs FPGA
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Power Supply
CLKCLK
CLK
custom
IF-logic
SDRAM SDRAM
SRAM SRAMSRAM
Memory
Controller
UART
L
C
Display
Controller
Interrupt
Controller
Timer
Audio
Codec
CPU
(uP / DSP) Co-
Proc.
GP I/O
Address
Decode
Unit
Ethernet
MAC
Traditional embedded system
design using DSP
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Next Step...Next Step...
FPGA
CLKCLK
CLK
custom
IF-logic
SDRAM SDRAM
SRAM SRAMSRAM
Memory
Controller
UART
Display
Controller
Timer
Power Supply
L
C
Audio
Codec
CPU
(uP / DSP) Co-
Proc.
GP I/O
Address
Decode
Unit
Ethernet
MAC
Interrupt
Controller
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Power Supply
SDRAM SDRAMSRAM SRAMSRAM
L
C
Audio
Codec EPROM
Configurable system on Chip-
CSoC
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
 Higher Performance
Parallel algorithm implementation
 Customizable Design
Optimize for speed and cost
 System Integration
Less chips could mean less system cost
When to use DSP in FPGA
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Comparison of DSP with Other
Processors and Controllers
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Processor selection Criteria
 Development tools
 Performance
 Cost
 Operating systems
 Hardware tools
 Peripherals
 Power consumption
 Supplier reputation
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
What Problem Are We Trying
To Solve?
Digital sampling of
an analog signal:
A
t
Most DSP algorithms can be
expressed with MAC:
count
i = 1
Y = Σ coeffi * xi
for (i = 0; i < count; i++){
sum += c[i] * x[i]; }
DAC
x Y
ADC DSP
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Typical DSP algorithms
• The Sum of Products (SOP) is the key element in most
DSP algorithms
• DSP’s are optimized to perform multiplication and addition
operations.
• Multiplication and addition are done in hardware and in one
cycle.
Convolution (mixing of signals)
Correlation (comparison of signals)
Transformation of signals (e.g. time to frequency domain)
 Filtering of signals
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Algorithm Equation
Finite Impulse Response Filter
Infinite Impulse Response Filter
Convolution
Discrete Fourier Transform
Discrete Cosine Transform
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Sum of Products – Flow Chart
No
Y
Requirements:
•Fast Multiply and
Accumulate(MAC)
•Pointer Update Mechanism
•Loop Counter
•Conditional Branch
x[0]
x[1]
x[i]
Acc
Yes
i≥0?
MPY
i=i-1
Add
Initial Conditions:
•*x points to x[0]
•*a points to a[0]
•Loop Counter = i-1
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
About Signal
• Bearers of information.
Examples :
speech, music, image, video, ECG, EEG, RADAR.., etc
• Function of independent variables such as time, space, position etc..,
One dimensional :
signal of time(ex: speech)
Two dimensional:
signal of space and position(ex: image)
Three dimensional
signal of space, position and time(ex:video)
Multi dimensional also
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
DSP is Everywhere
• Image processing
– Compression,segmentation,Video conferencing
• Medical
– Magnetic Resonance, Tomography, Electrocardiogram,
• Military
– Radar, Sonar, Space photographs, remote sensing,UAV
• Communication
– Modulation, coding, detection, equalization, echo cancellation,…
– Cell Phones, dial-up modem, DSL modem, Satellite Receiver,…
• Automotive
– ABS, GPS, Active Noise Cancellation, Cruise Control, Parking,…
• Mechanical
– Motor control, process control, oil and mineral prospecting,…
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Sample Application-Music System
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
DSP Leading Manufacturers
1. Texas Instruments (TI)
2. Analog Devices (ADSP)
3. Motorola
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Types of DSPs Processors
32-BIT FLOATING POINT (5% of market):
– TMS320C6000
– ANALOG DEVICES ADSP21xxx
16-BIT FIXED POINT (95% of market)
– TMS320C54XX,C2000
– ANALOG DEVICES ADSP21xx,Blackfin
Floating point DSP are meant for Precsion and accuracy
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
DSPs Evolution
• First generation (TI TMS32010)
• Second generation (Analog Dev. ADSP-2100, TI
TMS320C50)
• Third generation (TMS320C541)
• Fourth generation (TI TMS320C6201, TI
TMS320C6713, TI TMS320C6747)
23
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
First Generation (1982)
 In 1982 TI introduces its first
programmable DSP
 16-bit fixed-point
 Harvard architecture
 Accumulator
 Specialized instruction set
 Operating at 5 MIPS
 EXAMPLE : TMS320C10
25
5MIPS
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Second Generation (1987)
• 24-bit data, instructions
• 1988 – First Floating Point DSP
(C3X)
• 3 memory spaces (X, Y, P)
• Modulo addressing
EXAMPLE : TI- TMS320C3x,
TMS320C50
26
20MIPS
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Third Generation (1995)
• Enhanced conventional DSP architectures
• 3.0 or 3.3 volts
• More on-chip memory
• Application-specific function units in data path or as co-
processors
• More sophisticated debugging and application
development tools
EXAMPLE : TI TMS320C5416
27
160MIPS
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Fourth Generation (1998)
• 32 – Bit floating point.
• Designed for REAL TIME PROCESSing easily.
• Operating Core Voltage : 1.8V
DSC (TMS320F2812) for Motor Control Applications
• VLIW-like architectures, achieve top performance via high
parallelism and increased clock speeds
• EXAMPLE : TI TMS320C6713,
28
600MIPS
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
2 or More Independent Processors in 1 Package
Symmetric Multiprocessing
 Number of Identical Processors
 Common Shared Memory
 One Operating System
Asymmetric Multiprocessing
 Different Processors, Instruction Sets
 Different Operating Systems
 Possibly Without Shared Memory
Multicore Processor
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
•Identical Cores
•Identical access to all System Resources
•Memory, Disk, UARTs, Communication Controllers
•Examples: Analog Devices Blackfin 561
SMP-BF561
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Processors Need Not be Identical
Processor Specialization May Increase Performance.
T.I.’s OMAP•General Purpose Processor+Digital Signal Processor(“DSP”)
AMP-TI OMAP
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Lowest Cost
Control Systems
• Storage
• Motor Control
Highest
Efficiency
Best MIPS per:
Watt / Dollar/ Size
• Wireless Clients
• Modems / Telephony
• VoIP
Highest
Performance
Multi Channel,
Multi Function
• Comm Infrastructure
• xDSL
• Imaging, Video
C6000
(C62x,C67x,C64x)
C3x C4x C8x
’C2000
(C20x,C24x,C28x)
C1x C2x
C5000
(C54x, C55x)
C5x
Different needs, ManyDifferent needs, Many
familiesfamilies
6
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
INSIDE A DSP ENGINE?
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Architecture of the Digital Signal Processor
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Features of c6745
• * Eight 32-Bit Instructions/Cycle
* 32/64-Bit Data Word
* 600-MHz Clock Rates
* 4.4-, 6.7-ns Instruction Cycle Time
* 1800 MIPS/1350 MFLOPS
* Rich Peripheral Set, Optimized for Audio
* Highly Optimized C/C++ Compiler
• Highest-Performance Floating-Point Digital
Signal Processor
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
TMS320C674x Architecture - Overview
Performance & Memory
Communications
• Up to 300MHz
• 256K L2 (up to 64K cache)
• 32K L1P & L1D Cache/SRAM
• 32-bit DDR2-266
• 16-bit EMIF (NAND Flash)
• 64-Channel EDMA 3.0
• 10/100 EMAC
• USB 1.1 & 2.0
• SATA
Power/Packaging
• 13x13mm nPBGA & 16x16mm
PBGA
• Pin-to-pin compatible w/OMAP
L138 (+ARM9), 361-pin pkg
• Dynamic voltage/freq scaling
• Total Power < 420mW
128K L3
16-bit EMIF
DDR2
mDDR
McASP
MMC/SD
EMAC
HPI
SATA
I2C, SPI,
SwitchedCentralResource(SCR)
256K
L2
EDMA3
C674x+ DSP Core
Floating-Pt CPU
32KB L1P Cache/SRAM
32KB L1D Cache/SRAM
4-32x
PLL
TMS320C674x
128
128
256
256
128
128
USB
Timers
LCD, PWM, eCAP
Fixed-Pt CPU
uPP
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
QFP
SOLDERING
IRON
SOLDERING
STATION
OVEN
Selection of DSP Packages
DIP SOIC
BGA
PLCC
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
C6745 Boot Modes - Overview
BOOT Modes
• NAND
• NOR
• HPI
• I2C
• SPI
• UART
ROM Code
0x11700000
0
1
2
3
BOOT[x]
On RESET:
• BOOT[x] pins are sampled
• Corresponding boot routine
is executed
Boot Loader (ARM or DSP):
• Runs out of L2 ROM
• Copies FLASH → RAM
• Execution begins at specified
“entry point” (reset vector)
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Clock Cycle
What is a clock cycle?
C6000C6000
CLKIN
CLKOUT2 (½, ¼, or 1/6 CLKOUT1)
CLKOUT1 (C6000 clock cycle)
PLL
When we talk about
cycles ...
The time between successive instructions
CLKIN (MHz) PLL Rate CPU Clock Frequency CPU Clock Cycle
Time
MIPs (max)
60 x12 720 MHz 1.39 ns 5760
30 x10 300 MHz 3.33 ns 2400
50 x4 200 MHz 5 ns 1600
25 x4 100 MHz 10 ns 800
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
DSP
EDMA/USB/McASP/UART
/SPI/MMC/SD
EMIFA
I2C/GPIO
EMIFB
EMAC
OBSERVATION
CLOCK SOURCE
24 1
24+1
1+1
24 600
133
133
300
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
The C6000 Block Diagram
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
The C6000 DSP CPU Core
• The heart of the C6000 is the Central Processing
Unit (CPU).
• This is where the computations are carried out.
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
The C67x Data Paths
• The C67x CPU is
divided into two parallel
parts, Data path A and
Data path B.
• It is stereo.
• With this architecture, it
is possible to process
both left and right
channels of an audio
signal at the same time.
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
The Units
• Within the CPU are four units per data path:
– the L. Unit. Used for logical operations .
– the M. Unit. Used for carrying out multiplications.
– the S. Unit. Used for carrying out shifts.
– the D. Unit. Used to move data.
• At any time, it is possible to carry out an
operation in each of the L. M. S. and D. units.
• This means the processor can do up to 8 things
at once!
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Functional Units and Operations
Performed
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Register Files
• The C67x contains two sets of
16 ,32-bit registers.
• Operations within the C6000 are carried out
in two groups of 16 registers called
A0 to A15 and B0 to B15.
• All computations are done directly using these
registers.
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
C6000 Interfaces
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
The DSP interfaces are on the left in the
block diagram.
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
External Memory Interface (EMIF)
• The C6000 contains a limited amount of memory (RAM) on chip.
• The External Memory Interface (EMIF) allows access to external
memory (RAM).
• EMIFA is used to interface with SDRAM and Other Memories
• EMIFB is used to interface only with SDRAM
External RAM EMIF CPU
EMIF
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
EMIFA
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
EMIFA
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
EMIFB
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Direct Memory Access (DMA)
• Direct Memory Access (DMA) provides an
efficient way to transfer data without using the
CPU.
• It is very useful for transferring large blocks of
data, for example video and audio.
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Data Transfer without DMA
• Without Direct Memory Access (DMA), any data
transfer has to be handled by the CPU.
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Data Transfer with DMA
• With DMA, data values are transferred directly to
memory.
• This enables the CPU to allocates its resources
for other tasks.
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
The McBSP
• The multi-channel
buffered serial peripheral
interfaces (McBSP) are
simple serial interfaces.
• They can be used as a
simple interface, in
particular to audio
ADCs/DACs.
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
The Timers
• The C6000 contains two
32-bit timer/counters
which can:
– transfer data at regular
intervals.
– generate physical outputs
(TOUT pin) to start
processes e.g. a robot.
– measure the timing of
external events via a
physical input (TINP pin).
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
How does an interrupt work?
• An everyday example of an interrupt is the
telephone.
• Imagine you are working at your desk.
– the phone rings
– you choose to answer the phone
– you then continue with your work.
• Short telephone conversation – slight delay to work.
• Long telephone conversation – can miss deadline!
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Interrupts
• The C6000 CPU has a
range of interrupts.
• With interrupts you can
automatically send /
receive data, while
carrying out another
task.
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Interrupt Priorities
• In the real world, there will be several interrupts
– telephone, fax, e-mail, pager, visitors.
• However, you can only do one thing at a time.
• Interrupts must therefore have a priority level:
– important tasks – high priority e.g. customer calls.
– less important tasks – low priority e.g. junk e-mails.
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
CPU Interrupt Priority
• Reset has highest
priority. It is equivalent to
“Ctl-Alt-Del” on a PC.
• NMI (non-maskable
interrupt) is next. You
might use this for an
emergency shutdown.
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Instruction Set Features
* Single- and Double-Precision Instructions
* Byte-Addressable (8-, 16-, 32-Bit Data)
* 8-Bit Overflow Protection
* Saturation; Bit-Field Extract, Set, Clear; Bit-
Counting; Normalization
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
C67x Instruction Set
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
Summary
• What is DSP
• Basic features of DSP
• Need for DSP Processor,Diff between DSP,GPP,uController
• When to use DSP in FPGA
• Comparison
• Sum of Products
• Generation of DSP
• Multi core processors
• TI Variations-c2000,c5000,c6000
• Inside a DSP
• Diff between Von neumann,Harvard and Super Harvard
• TMS320C6746 Architecture
• Selection of DSP Packages
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
• Boot Modes
• Clock
• Configuring PLL
• Block diagram
• CPU core
• Data Paths
• Registers
• Units
• EMIF
• DMA
• Timers
• Interrupts
• Instruction set
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
?
Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
For more details
– www.pantechsolutions.net
– http://www.slideshare.net/pantechsolutions
– http://www.scribd.com/pantechsolutions
– http://www.youtube.com/user/pantechsolutions

More Related Content

PPT
8051 block diagram
PPTX
8051 Microcontroller PPT's By Er. Swapnil Kaware
PPTX
Programmable logic devices
PPT
Memory & I/O interfacing
PPT
8085 interrupts
PDF
Bias compensation
8051 block diagram
8051 Microcontroller PPT's By Er. Swapnil Kaware
Programmable logic devices
Memory & I/O interfacing
8085 interrupts
Bias compensation

What's hot (20)

PPT
PPTX
Microcontroller 8051 and its interfacing
PPTX
Memory Segmentation of 8086
PDF
Programmable Peripheral Interface 8255
PPTX
8259 Programmable Interrupt Controller by vijay
PPTX
PPTX
8086 signals
PPT
microcontroller basics
PPTX
Digital signal processor architecture
PPTX
Direct Memory Access
PDF
ARM Architecture Instruction Set
PPTX
Lecture Notes: EEEC6440315 Communication Systems - Inter Symbol Interference...
PPTX
Architecture of 8051
PPTX
3.programmable interrupt controller 8259
PPTX
Arm cortex-m4 programmer model
PDF
Communication Protocols (UART, SPI,I2C)
PPTX
Pic ppt 13104022(4th_year)
PPTX
Microcontroller 8096
Microcontroller 8051 and its interfacing
Memory Segmentation of 8086
Programmable Peripheral Interface 8255
8259 Programmable Interrupt Controller by vijay
8086 signals
microcontroller basics
Digital signal processor architecture
Direct Memory Access
ARM Architecture Instruction Set
Lecture Notes: EEEC6440315 Communication Systems - Inter Symbol Interference...
Architecture of 8051
3.programmable interrupt controller 8259
Arm cortex-m4 programmer model
Communication Protocols (UART, SPI,I2C)
Pic ppt 13104022(4th_year)
Microcontroller 8096
Ad

Similar to Introduction to tms320c6745 dsp (20)

PPTX
Choosing the right processor for embedded system design
PPT
Yg hvuihbijbh itf ygcinbjbiojbfhuujh.ppt
PPT
Chapter1
PDF
DSP Processor
PPT
Dsp ajal
PPTX
Lect1_ DSP.pptx
PPTX
Introduction_to_DSPforengineersforstudy.pptx
PPT
DIGITAL SIGNAL PROCESSOR OVERVIEW
PDF
Full download Real Time Digital Signal Processing Implementation and Applicat...
PPTX
Digital signal processors
PPTX
Introduction to Digital Signal processors
PDF
Realtime Digital Signal Processing Implementations And Applications 2nd Editi...
PPT
dsp-processor-ppt.ppt
PPT
The evolution of TMS, family of DSP\'s
PPTX
Digital Signal Processors - DSP's
PDF
Lec09-DSP.pdf
PPTX
Sudhir tms 320 f 2812
PPT
Digital Signal Processor
PDF
Digital signal processors architecture programming and applications 2nd Editi...
PDF
Introduction to DSP - Digital Signal Processing
Choosing the right processor for embedded system design
Yg hvuihbijbh itf ygcinbjbiojbfhuujh.ppt
Chapter1
DSP Processor
Dsp ajal
Lect1_ DSP.pptx
Introduction_to_DSPforengineersforstudy.pptx
DIGITAL SIGNAL PROCESSOR OVERVIEW
Full download Real Time Digital Signal Processing Implementation and Applicat...
Digital signal processors
Introduction to Digital Signal processors
Realtime Digital Signal Processing Implementations And Applications 2nd Editi...
dsp-processor-ppt.ppt
The evolution of TMS, family of DSP\'s
Digital Signal Processors - DSP's
Lec09-DSP.pdf
Sudhir tms 320 f 2812
Digital Signal Processor
Digital signal processors architecture programming and applications 2nd Editi...
Introduction to DSP - Digital Signal Processing
Ad

More from Pantech ProLabs India Pvt Ltd (20)

PDF
Registration process
PPT
Brain Computer Interface
PPTX
Electric Vehicle Design using Matlab
PPTX
Image processing application
PPTX
Internet of Things using Raspberry Pi
PPTX
Internet of Things Using Arduino
PPTX
Brain controlled robot
PPTX
Brain Computer Interface-Webinar
PPTX
Development of Deep Learning Architecture
PPTX
Gate driver design and inductance fabrication
PPTX
Brainsense -Brain computer Interface
PPT
Median filter Implementation using TMS320C6745
PPT
Introduction to Code Composer Studio 4
PPT
Waveform Generation Using TMS320C6745 DSP
PPT
Interfacing UART with tms320C6745
PPT
Switch & LED using TMS320C6745 DSP
PPT
Led blinking using TMS320C6745
PPT
Brainsense -Introduction to brain computer interface
PPTX
Internet of Things
Registration process
Brain Computer Interface
Electric Vehicle Design using Matlab
Image processing application
Internet of Things using Raspberry Pi
Internet of Things Using Arduino
Brain controlled robot
Brain Computer Interface-Webinar
Development of Deep Learning Architecture
Gate driver design and inductance fabrication
Brainsense -Brain computer Interface
Median filter Implementation using TMS320C6745
Introduction to Code Composer Studio 4
Waveform Generation Using TMS320C6745 DSP
Interfacing UART with tms320C6745
Switch & LED using TMS320C6745 DSP
Led blinking using TMS320C6745
Brainsense -Introduction to brain computer interface
Internet of Things

Recently uploaded (20)

PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PDF
VCE English Exam - Section C Student Revision Booklet
PDF
STATICS OF THE RIGID BODIES Hibbelers.pdf
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
PDF
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
Computing-Curriculum for Schools in Ghana
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
PDF
Complications of Minimal Access Surgery at WLH
PPTX
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
PDF
01-Introduction-to-Information-Management.pdf
PPTX
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
PDF
A systematic review of self-coping strategies used by university students to ...
PDF
Chinmaya Tiranga quiz Grand Finale.pdf
PPTX
Lesson notes of climatology university.
PDF
Classroom Observation Tools for Teachers
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Supply Chain Operations Speaking Notes -ICLT Program
Microbial diseases, their pathogenesis and prophylaxis
VCE English Exam - Section C Student Revision Booklet
STATICS OF THE RIGID BODIES Hibbelers.pdf
102 student loan defaulters named and shamed – Is someone you know on the list?
A GUIDE TO GENETICS FOR UNDERGRADUATE MEDICAL STUDENTS
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
Computing-Curriculum for Schools in Ghana
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Black Hat USA 2025 - Micro ICS Summit - ICS/OT Threat Landscape
Complications of Minimal Access Surgery at WLH
school management -TNTEU- B.Ed., Semester II Unit 1.pptx
01-Introduction-to-Information-Management.pdf
Introduction-to-Literarature-and-Literary-Studies-week-Prelim-coverage.pptx
A systematic review of self-coping strategies used by university students to ...
Chinmaya Tiranga quiz Grand Finale.pdf
Lesson notes of climatology university.
Classroom Observation Tools for Teachers

Introduction to tms320c6745 dsp

  • 1. Introduction and Architecture of TMS320C6745 M.K.Jeevarajan .M.E,(Ph.D) https://www.pantechsolutions.net/products/dsp-dsc- boards/tms320c6745-tyro
  • 2. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. DAY 1 Two Day Workshop on TMS320C6745 DAY 1 - 27.04.2015 Session Time Class Topics Presenter 9.30-10.15 Inauguration I 10.15- 11.15 Introduction to Texas DSP& Architecture M.K.Jeevarajan 11.15-11.30 Break II 11.30-12.15 Introduction to CCS M.K.Jeevarajan 12.15-12.45 Creating and Debugging a Project In CCS, LED Blinking, Switch Interface M.K.Jeevarajan 01.00-02.00 Lunch Break III 02.00-03.15 Waveform Generation M.K.Jeevarajan 03.15-03.30 Break IV 03.30-04.15 UART Interface M.K.Jeevarajan 04.15 -04.30 Wrap-up - Q&A
  • 3. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. DAY 2Two Day Workshop on TMS320C6745 DAY 2 - 28.04.2015 Session Time Class Topics Presenter I 09.30- 10.45 Image processing using TMS320C6745 -PART 1 Median Filter M.K.Jeevarajan 10.45-11.15 Break II 11.15-12.00 Image processing using TMS320C6745 -PART 2 Discrete Wavelet Transform M.K.Jeevarajan 12.00-12.45 Discrete Wavelet Transform Linear Convolution, Circular Convolution M.K.Jeevarajan Paul Kannan 01.00-02.00 Lunch Break III 02.00-03.15 FIR-Low pass and High Pass Filters Paul Kannan 03.15-03.30 Break IV 03.30-04.30 Valedictory and Feedback
  • 4. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. WHAT IS DSP ? a bit loudAnalog Computer Digital Computer ADC DSP DAC OUTPUT 1010 1001
  • 5. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Digital Signal Processor is mathematics on chip.  DSPs usually run applications with hard real-time constraints:  DSPs usually process infinite continuous data streams. Most of the DSP doses not have an Memory Management Unit DSP processors are microprocessors designed for efficient mathematical manipulation of digital signals. Basic Features of DSPs
  • 6. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. • Microcontrollers are control oriented ,DSP are data path oriented • Use a GPP processor when the following are required: – Large memory. – Advanced operating systems. • Use a DSP processor when the following are required: – Precision – Cost saving. – Smaller size. – Low power consumption. – Processing of signals in real-time. Why do we need DSP processors?
  • 7. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. DSP Vs FPGA
  • 8. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Power Supply CLKCLK CLK custom IF-logic SDRAM SDRAM SRAM SRAMSRAM Memory Controller UART L C Display Controller Interrupt Controller Timer Audio Codec CPU (uP / DSP) Co- Proc. GP I/O Address Decode Unit Ethernet MAC Traditional embedded system design using DSP
  • 9. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Next Step...Next Step... FPGA CLKCLK CLK custom IF-logic SDRAM SDRAM SRAM SRAMSRAM Memory Controller UART Display Controller Timer Power Supply L C Audio Codec CPU (uP / DSP) Co- Proc. GP I/O Address Decode Unit Ethernet MAC Interrupt Controller
  • 10. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Power Supply SDRAM SDRAMSRAM SRAMSRAM L C Audio Codec EPROM Configurable system on Chip- CSoC
  • 11. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.  Higher Performance Parallel algorithm implementation  Customizable Design Optimize for speed and cost  System Integration Less chips could mean less system cost When to use DSP in FPGA
  • 12. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Comparison of DSP with Other Processors and Controllers
  • 13. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Processor selection Criteria  Development tools  Performance  Cost  Operating systems  Hardware tools  Peripherals  Power consumption  Supplier reputation
  • 14. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. What Problem Are We Trying To Solve? Digital sampling of an analog signal: A t Most DSP algorithms can be expressed with MAC: count i = 1 Y = Σ coeffi * xi for (i = 0; i < count; i++){ sum += c[i] * x[i]; } DAC x Y ADC DSP
  • 15. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Typical DSP algorithms • The Sum of Products (SOP) is the key element in most DSP algorithms • DSP’s are optimized to perform multiplication and addition operations. • Multiplication and addition are done in hardware and in one cycle. Convolution (mixing of signals) Correlation (comparison of signals) Transformation of signals (e.g. time to frequency domain)  Filtering of signals
  • 16. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Algorithm Equation Finite Impulse Response Filter Infinite Impulse Response Filter Convolution Discrete Fourier Transform Discrete Cosine Transform
  • 17. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Sum of Products – Flow Chart No Y Requirements: •Fast Multiply and Accumulate(MAC) •Pointer Update Mechanism •Loop Counter •Conditional Branch x[0] x[1] x[i] Acc Yes i≥0? MPY i=i-1 Add Initial Conditions: •*x points to x[0] •*a points to a[0] •Loop Counter = i-1
  • 18. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. About Signal • Bearers of information. Examples : speech, music, image, video, ECG, EEG, RADAR.., etc • Function of independent variables such as time, space, position etc.., One dimensional : signal of time(ex: speech) Two dimensional: signal of space and position(ex: image) Three dimensional signal of space, position and time(ex:video) Multi dimensional also
  • 19. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. DSP is Everywhere • Image processing – Compression,segmentation,Video conferencing • Medical – Magnetic Resonance, Tomography, Electrocardiogram, • Military – Radar, Sonar, Space photographs, remote sensing,UAV • Communication – Modulation, coding, detection, equalization, echo cancellation,… – Cell Phones, dial-up modem, DSL modem, Satellite Receiver,… • Automotive – ABS, GPS, Active Noise Cancellation, Cruise Control, Parking,… • Mechanical – Motor control, process control, oil and mineral prospecting,…
  • 20. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Sample Application-Music System
  • 21. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. DSP Leading Manufacturers 1. Texas Instruments (TI) 2. Analog Devices (ADSP) 3. Motorola
  • 22. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Types of DSPs Processors 32-BIT FLOATING POINT (5% of market): – TMS320C6000 – ANALOG DEVICES ADSP21xxx 16-BIT FIXED POINT (95% of market) – TMS320C54XX,C2000 – ANALOG DEVICES ADSP21xx,Blackfin Floating point DSP are meant for Precsion and accuracy
  • 23. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. DSPs Evolution • First generation (TI TMS32010) • Second generation (Analog Dev. ADSP-2100, TI TMS320C50) • Third generation (TMS320C541) • Fourth generation (TI TMS320C6201, TI TMS320C6713, TI TMS320C6747) 23
  • 24. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
  • 25. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. First Generation (1982)  In 1982 TI introduces its first programmable DSP  16-bit fixed-point  Harvard architecture  Accumulator  Specialized instruction set  Operating at 5 MIPS  EXAMPLE : TMS320C10 25 5MIPS
  • 26. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Second Generation (1987) • 24-bit data, instructions • 1988 – First Floating Point DSP (C3X) • 3 memory spaces (X, Y, P) • Modulo addressing EXAMPLE : TI- TMS320C3x, TMS320C50 26 20MIPS
  • 27. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Third Generation (1995) • Enhanced conventional DSP architectures • 3.0 or 3.3 volts • More on-chip memory • Application-specific function units in data path or as co- processors • More sophisticated debugging and application development tools EXAMPLE : TI TMS320C5416 27 160MIPS
  • 28. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Fourth Generation (1998) • 32 – Bit floating point. • Designed for REAL TIME PROCESSing easily. • Operating Core Voltage : 1.8V DSC (TMS320F2812) for Motor Control Applications • VLIW-like architectures, achieve top performance via high parallelism and increased clock speeds • EXAMPLE : TI TMS320C6713, 28 600MIPS
  • 29. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. 2 or More Independent Processors in 1 Package Symmetric Multiprocessing  Number of Identical Processors  Common Shared Memory  One Operating System Asymmetric Multiprocessing  Different Processors, Instruction Sets  Different Operating Systems  Possibly Without Shared Memory Multicore Processor
  • 30. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. •Identical Cores •Identical access to all System Resources •Memory, Disk, UARTs, Communication Controllers •Examples: Analog Devices Blackfin 561 SMP-BF561
  • 31. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Processors Need Not be Identical Processor Specialization May Increase Performance. T.I.’s OMAP•General Purpose Processor+Digital Signal Processor(“DSP”) AMP-TI OMAP
  • 32. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Lowest Cost Control Systems • Storage • Motor Control Highest Efficiency Best MIPS per: Watt / Dollar/ Size • Wireless Clients • Modems / Telephony • VoIP Highest Performance Multi Channel, Multi Function • Comm Infrastructure • xDSL • Imaging, Video C6000 (C62x,C67x,C64x) C3x C4x C8x ’C2000 (C20x,C24x,C28x) C1x C2x C5000 (C54x, C55x) C5x Different needs, ManyDifferent needs, Many familiesfamilies 6
  • 33. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. INSIDE A DSP ENGINE?
  • 34. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Architecture of the Digital Signal Processor
  • 35. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Features of c6745 • * Eight 32-Bit Instructions/Cycle * 32/64-Bit Data Word * 600-MHz Clock Rates * 4.4-, 6.7-ns Instruction Cycle Time * 1800 MIPS/1350 MFLOPS * Rich Peripheral Set, Optimized for Audio * Highly Optimized C/C++ Compiler • Highest-Performance Floating-Point Digital Signal Processor
  • 36. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. TMS320C674x Architecture - Overview Performance & Memory Communications • Up to 300MHz • 256K L2 (up to 64K cache) • 32K L1P & L1D Cache/SRAM • 32-bit DDR2-266 • 16-bit EMIF (NAND Flash) • 64-Channel EDMA 3.0 • 10/100 EMAC • USB 1.1 & 2.0 • SATA Power/Packaging • 13x13mm nPBGA & 16x16mm PBGA • Pin-to-pin compatible w/OMAP L138 (+ARM9), 361-pin pkg • Dynamic voltage/freq scaling • Total Power < 420mW 128K L3 16-bit EMIF DDR2 mDDR McASP MMC/SD EMAC HPI SATA I2C, SPI, SwitchedCentralResource(SCR) 256K L2 EDMA3 C674x+ DSP Core Floating-Pt CPU 32KB L1P Cache/SRAM 32KB L1D Cache/SRAM 4-32x PLL TMS320C674x 128 128 256 256 128 128 USB Timers LCD, PWM, eCAP Fixed-Pt CPU uPP
  • 37. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. QFP SOLDERING IRON SOLDERING STATION OVEN Selection of DSP Packages DIP SOIC BGA PLCC
  • 38. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. C6745 Boot Modes - Overview BOOT Modes • NAND • NOR • HPI • I2C • SPI • UART ROM Code 0x11700000 0 1 2 3 BOOT[x] On RESET: • BOOT[x] pins are sampled • Corresponding boot routine is executed Boot Loader (ARM or DSP): • Runs out of L2 ROM • Copies FLASH → RAM • Execution begins at specified “entry point” (reset vector)
  • 39. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Clock Cycle What is a clock cycle? C6000C6000 CLKIN CLKOUT2 (½, ¼, or 1/6 CLKOUT1) CLKOUT1 (C6000 clock cycle) PLL When we talk about cycles ... The time between successive instructions CLKIN (MHz) PLL Rate CPU Clock Frequency CPU Clock Cycle Time MIPs (max) 60 x12 720 MHz 1.39 ns 5760 30 x10 300 MHz 3.33 ns 2400 50 x4 200 MHz 5 ns 1600 25 x4 100 MHz 10 ns 800
  • 40. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. DSP EDMA/USB/McASP/UART /SPI/MMC/SD EMIFA I2C/GPIO EMIFB EMAC OBSERVATION CLOCK SOURCE 24 1 24+1 1+1 24 600 133 133 300
  • 41. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
  • 42. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd.
  • 43. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. The C6000 Block Diagram
  • 44. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. The C6000 DSP CPU Core • The heart of the C6000 is the Central Processing Unit (CPU). • This is where the computations are carried out.
  • 45. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. The C67x Data Paths • The C67x CPU is divided into two parallel parts, Data path A and Data path B. • It is stereo. • With this architecture, it is possible to process both left and right channels of an audio signal at the same time.
  • 46. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. The Units • Within the CPU are four units per data path: – the L. Unit. Used for logical operations . – the M. Unit. Used for carrying out multiplications. – the S. Unit. Used for carrying out shifts. – the D. Unit. Used to move data. • At any time, it is possible to carry out an operation in each of the L. M. S. and D. units. • This means the processor can do up to 8 things at once!
  • 47. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Functional Units and Operations Performed
  • 48. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Register Files • The C67x contains two sets of 16 ,32-bit registers. • Operations within the C6000 are carried out in two groups of 16 registers called A0 to A15 and B0 to B15. • All computations are done directly using these registers.
  • 49. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. C6000 Interfaces
  • 50. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. The DSP interfaces are on the left in the block diagram.
  • 51. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. External Memory Interface (EMIF) • The C6000 contains a limited amount of memory (RAM) on chip. • The External Memory Interface (EMIF) allows access to external memory (RAM). • EMIFA is used to interface with SDRAM and Other Memories • EMIFB is used to interface only with SDRAM External RAM EMIF CPU EMIF
  • 52. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. EMIFA
  • 53. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. EMIFA
  • 54. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. EMIFB
  • 55. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Direct Memory Access (DMA) • Direct Memory Access (DMA) provides an efficient way to transfer data without using the CPU. • It is very useful for transferring large blocks of data, for example video and audio.
  • 56. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Data Transfer without DMA • Without Direct Memory Access (DMA), any data transfer has to be handled by the CPU.
  • 57. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Data Transfer with DMA • With DMA, data values are transferred directly to memory. • This enables the CPU to allocates its resources for other tasks.
  • 58. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. The McBSP • The multi-channel buffered serial peripheral interfaces (McBSP) are simple serial interfaces. • They can be used as a simple interface, in particular to audio ADCs/DACs.
  • 59. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. The Timers • The C6000 contains two 32-bit timer/counters which can: – transfer data at regular intervals. – generate physical outputs (TOUT pin) to start processes e.g. a robot. – measure the timing of external events via a physical input (TINP pin).
  • 60. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. How does an interrupt work? • An everyday example of an interrupt is the telephone. • Imagine you are working at your desk. – the phone rings – you choose to answer the phone – you then continue with your work. • Short telephone conversation – slight delay to work. • Long telephone conversation – can miss deadline!
  • 61. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Interrupts • The C6000 CPU has a range of interrupts. • With interrupts you can automatically send / receive data, while carrying out another task.
  • 62. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Interrupt Priorities • In the real world, there will be several interrupts – telephone, fax, e-mail, pager, visitors. • However, you can only do one thing at a time. • Interrupts must therefore have a priority level: – important tasks – high priority e.g. customer calls. – less important tasks – low priority e.g. junk e-mails.
  • 63. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. CPU Interrupt Priority • Reset has highest priority. It is equivalent to “Ctl-Alt-Del” on a PC. • NMI (non-maskable interrupt) is next. You might use this for an emergency shutdown.
  • 64. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Instruction Set Features * Single- and Double-Precision Instructions * Byte-Addressable (8-, 16-, 32-Bit Data) * 8-Bit Overflow Protection * Saturation; Bit-Field Extract, Set, Clear; Bit- Counting; Normalization
  • 65. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. C67x Instruction Set
  • 66. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. Summary • What is DSP • Basic features of DSP • Need for DSP Processor,Diff between DSP,GPP,uController • When to use DSP in FPGA • Comparison • Sum of Products • Generation of DSP • Multi core processors • TI Variations-c2000,c5000,c6000 • Inside a DSP • Diff between Von neumann,Harvard and Super Harvard • TMS320C6746 Architecture • Selection of DSP Packages
  • 67. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. • Boot Modes • Clock • Configuring PLL • Block diagram • CPU core • Data Paths • Registers • Units • EMIF • DMA • Timers • Interrupts • Instruction set
  • 68. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. ?
  • 69. Technology beyond the Dreams™ Copyright © 2014 Pantech Prolabs India Pvt Ltd. For more details – www.pantechsolutions.net – http://www.slideshare.net/pantechsolutions – http://www.scribd.com/pantechsolutions – http://www.youtube.com/user/pantechsolutions

Editor's Notes

  • #33: Here is the obligatory platform road map slide. We added the C55 to the middle box. Below is the marketing explanation: Given that different applications have different system requirements and therefore different sets of tradeoffs, no one Processor architecture could possibly meet the needs of all of your products and applications. So to provide the most compelling portfolio, TI has worked to build the right DSP architectures to solve unique problems in unique applications . . NOTE TO SPEAKERS: You will be reviewing each platform in just a moment, so the purpose of this foil is to focus on why we have the three platforms...Need to communicate: 1. This answers your need for “tradeoffs.” 2. Highlight what you would sacrifice with only one architecture... and why it’s critical that you have architectures optimized for fundamental application needs 3. Need to instill doubt re: any competitor that does NOT have these optimizations (i.e. why ADI’s single architecture WON’T give you what you need.) Also, this is not a C6000/2000 class, so don’t spend too much time on these devices in terms of details.
  • #37: Ecap-ENHANCED CAPTURE MODULE Upp-Micro Parallel port
  • #39: The key points are as follows: Stand alone, the EVM will boot from FLASH if set up in the default configuration. The default program is a demo routine that just loops to itself. When connected to CCS the emulator takes over control of the DSP A GEL file executes whenever CCS connects to a target. A “smart” loader in CCS knows how to take the sections from the .out file and place them at their correct locations in memory. The default configuration (a combination of what happens at reset and what happens in the demo program) has L1s configured as cache and L2 configured as SRAM. Interrupts are off at this point. During load of the .out file the program counter is initialized. 7) CCS then tells the DSP to run (when the run button is pressed)
  • #43: Eqep-enhanced quadratuature encoder pulse,enhamced high resolution PWM
  • #55: Mask signal for write data operations (LDQM corresponds to DQ[7:0], while UDQM corresponds to DQ[15:8]).
  • #65: single precision (32-bit) and double precision (64-bit) floating point numbers.