SlideShare a Scribd company logo
1 of 20
Chapter 0 : Introduction



  Digital Signal Controller
    TMS320F2812



Technology beyond the Dreams™   Copyright © 2006 Pantech Solutions Pvt
What is a Digital Signal Controller ?
      Microprocessor (µP):
          – Central Device of a multi chip Micro Computer System
          – Two basic architectures:
              • „Von Neumann“- Architecture
              • „Harvard“ – Architecture
          – „Von Neumann“ - Architecture:
              • Shared memory space between code and data
              • Shared memory busses between code and data
              • Example: Intel‘s x86 Pentium Processor family
          – „Harvard“ – Architecture:
              • Two independent memory spaces for code and data
              • Two memory bus systems for code and data
          – A µP to operate needs additional devices

Technology beyond the Dreams™                     Copyright © 2006 Pantech Solutions Pvt
History (1984): Microprocessor
                   Intel 80x86
                                                               address
                                          Bus-Unit
               Address-Unit                                    status /
                                       - bus control
           - Memory Manager                                    control
                                  - address & databus-
           - logical / physical
                                          Interface
                 address
                                    -Instruction queue
                                                               data




                                      Instruction - Unit
              Execution-Unit
                                  - Instruction - Decode
                  - CPU
                                     - Operation queue
                   - ALU
               - Register




Technology beyond the Dreams™                   Copyright © 2006 Pantech Solutions Pvt
Micro Computer
 Micro Computer
     – Micro Computer = Microprocessor(µP) + Memory +
       Peripherals
     – Example: your Desktop –PC

        Code - Memory                 Data - Memory


         Clock         MICROPROCESSOR         Timer/Counter


                 Digital I/O    Analog I/O
Technology beyond the Dreams™           Copyright © 2006 Pantech Solutions Pvt
Computer Peripherals
  • Peripherals include:
     – Digital Input / Output Lines
     – Analogue to Digital Converter (ADC)
     – Digital to Analogue Converter (DAC)
     – Timer / Counter units
     – PWM Output Lines
     – Digital Capture Input Lines
     – Network Interface Units:
         • Serial Communication Interface (SCI) - UART
         • Serial Peripheral Interface ( SPI)
         • Inter Integrated Circuit ( I2C) – Bus
         • Controller Area Network (CAN)


Technology beyond the Dreams™                       Copyright © 2006 Pantech Solutions Pvt
Continue...,
      Network interface unit
             - Local Interconnect Network (LIN)
             - Universal Serial Bus (USB)
             - Local / Wide Area Networks (LAN, WAN)
         Graphical Output Devices
         and more …




Technology beyond the Dreams™                     Copyright © 2006 Pantech Solutions Pvt
System on Chip
     Microcontroller (µC)
         – Nothing more than a Micro Computer as a single silicon chip!
         – All computing power AND input/output channels that are required
            to design a real time control system are „on chip“
         – Guarantee cost efficient and powerful solutions for embedded
            control applications
         – Backbone for almost every type of modern product
         – Over 200 independent families of µC
         – Both µP – Architectures („Von Neumann“ and „Harvard“) are used
            inside Microcontrollers




Technology beyond the Dreams™                      Copyright © 2006 Pantech Solutions Pvt
Digital Signal Processor
     Digital Signal Processor (DSP)
          – Similar to a Microprocessor(µP), e.g. core of a computing system
          – Additional Hardware Units to speed up computing of sophisticated
              mathematical operations:
               • Additional Hardware Multiply Unit(s)
               • Additional Pointer Arithmetic Unit(s)
               • Additional Bus Systems for parallel access
               • Additional Hardware Shifter for scaling and/or multiply/divide
                  by 2n




Technology beyond the Dreams™                         Copyright © 2006 Pantech Solutions Pvt
What are the typical DSP algorithms?
     •   The Sum of Products (SOP) is the key element in most DSP
         algorithms:

            Algorithm                          Equation
            Finite Impulse Response Filter                 M

                                                        ∑
                                                 y ( n)= ak x ( n −k )
                                                         k=0



            Infinite Impulse Response Filter           M                   N
                                                y (n) =∑a k x (n − k )+∑bk y (n − k )
                                                      k =0                k =1




            Convolution                                    N

                                                        ∑
                                                y ( n) = x ( k ) h( n −k )
                                                        k=0




            Discrete Fourier Transform                  N −1
                                               X ( k ) = ∑ x ( n) exp[− j ( 2π / N ) nk ]
                                                        n =0




Technology beyond the Dreams™                                       Copyright © 2006 Pantech Solutions Pvt
Doing a SOP with a µP
     Task : use a Desktop - PC and code the equation into a common C-
           compiler system, e.g. Microsoft Visual Studio.Net3
                                                      y = ∑data[i ] * coeff [i ]
     A C-Code Solution could look like this:              i =0




                    #include <stdio.h>
                    int data[4]={1,2,3,4};
                    int coeff[4]={8,6,4,2};
                    int main(void)
                    {
                       int i;
                       int result =0;
                       for (i=0;i<4;i++)
                               result += data[i]*coeff[i];
                       printf("%i",result);
                       return 0;
                    }

Technology beyond the Dreams™                                Copyright © 2006 Pantech Solutions Pvt
Basic Operations of a SOP
     •   What will a Pentium be forced to do?
           1. Set a Pointer1 to point to data[0]
           2. Set a second Pointer2 to point to coeff[0]
           3. Read data[i] into core
           4. Read coeff[i] into core
           5. Multiply data[i]*coeff[i]
           6. Add the latest product to the previous ones
           7. Modify Pointer1
           8. Modify Pointer2
           9. Increment I;
           10.If i<3 , then go back to step 3 and continue
     •   Steps 3 to 8 are called “6 Basic Operations of a DSP”
     •   A DSP is able to execute all 6 steps in one single machine cycle!

Technology beyond the Dreams™                          Copyright © 2006 Pantech Solutions Pvt
SOP machine code of a µP
     Address    M-Code                          Assembly - Instruction
     10:        for (i=0;i<4;i++)
     00411960   C7 45 FC 00 00 00 00 mov        dword ptr [i],0
     00411967   EB 09                           jmp    main+22h (411972h)
     00411969   8B 45 FC                        mov eax,dword ptr [i]
     0041196C   83 C0 01                        add   eax,1
     0041196F   89 45 FC                        mov dword ptr [i],eax
     00411972   83 7D FC 04            cmp dword ptr [i],4
     00411976   7D 1F                           jge   main+47h (411997h)
     11:        result += data[i]*coeff[i];
     00411978   8B 45 FC                        mov eax,dword ptr [i]
     0041197B   8B 4D FC                        mov ecx,dword ptr [i]
     0041197E   8B 14 85 40 5B 42 00 mov edx,dword ptr[eax*4+425B40h]
     00411985   0F AF 14 8D 50 5B 42 00 imul edx,dword ptr[ecx*4+425B50h]
     0041198D   8B 45 F8                        mov eax,dword ptr [result]
     00411990   03 C2                           add eax,edx
     00411992   89 45 F8                        mov dword ptr [result],eax
     00411995   EB D2                           jmp main+19h (411969h)


Technology beyond the Dreams™                                   Copyright © 2006 Pantech Solutions Pvt
Doing a SOP with a DSP
     •   Now: use a DSP-Development System and code the equation into a
         DSP C-compiler system, e.g. Texas Instruments Code Composer
         Studio                                  3
                                           y = ∑data[i ] * coeff [i ]
     •   C-Code Solution is identical:         i =0




                  int data[4]={1,2,3,4};
                  int coeff[4]={8,6,4,2};
                  int main(void)
                  {
                     int i;
                     int result =0;
                     for (i=0;i<4;i++)
                             result += data[i]*coeff[i];
                     printf("%i",result);
                     return 0;
                  }

Technology beyond the Dreams™                          Copyright © 2006 Pantech Solutions Pvt
DSP-Translation into machine code
   Address                MCode              Assembly Instruction
   0x8000                       FF69         SPM    0
   0x8001                       8D04 0000R   MOVL XAR1,#data
   0x8003      76C0 0000R MOVL XAR7,#coeff
   0x8005                       5633         ZAPA
   0x8006                       F601         RPT    #1
   0x8007                       564B 8781 || DMAC ACC:P,*XAR1+
                          +,*XAR7++
   0x8009                       10AC         ADDL ACC,P<<PM
   0x800A                       8D04 0000R   MOVL XAR1,#y
   0x800B                       1E81         MOVL *XAR1,ACC
        Example: Texas Instruments TMS320F2812
        Space : 12 Code Memory ; 9 Data Memory
        Execution Cycles : 10 @ 150MHz = 66 ns

Technology beyond the Dreams™                 Copyright © 2006 Pantech Solutions Pvt
Digital Signal Controller (DSC)
 Digital Signal Controller (DSC)

     – recall: a Microcontroller(µC) is a single chip Microcomputer with a
       Microprocessor(µP) as core unit.

     – Now: a Digital Signal Controller(DSC) is a single chip Microcomputer with a
       Digital Signal Processor(DSP) as core unit.

     – By combining the computing power of a DSP with memory and peripherals
       in one single device we derive the most effective solution for embedded
       real time control solutions that require lots of math operations.

     – DSC –Example: Texas Instruments C2000 family.



Technology beyond the Dreams™                         Copyright © 2006 Pantech Solutions Pvt
Texas Instruments DSP/DSC -
      TMS320 – Family
      Branches        Portfolio

                                                         C6000
                                C5000
                                                      High Performance
                                                      ‘C’ Efficiency
         C2000                  Power Efficient       DSP
                                Performance
                                DSP
    Efficient Integration
    for Control
    DSC
Technology beyond the Dreams™                     Copyright © 2006 Pantech Solutions Pvt
Texas Instruments’ TMS320 family
      •     Different families and sub-families exist to support different
            markets.

      C2000                       C5000                              C6000


  Lowest Cost                 Efficiency                      Performance &
  Control Systems             Best MIPS per                   Best Ease-of-Use
   Motor Control           Watt / Dollar / Size
   Storage                  Wireless phones
                                                             Multi Channel and Multi
   Digital Ctrl Systems     Internet audio players
                                                              Function App's
                             Digital still cameras
                                                             Comm Infrastructure
                             Modems
                                                             Wireless Base-stations
                             Telephony
                                                             DSL
                             VoIP
                                                             Imaging
                                                             Multi-media Servers
                                                             Video
Technology beyond the Dreams™                                Copyright © 2006 Pantech Solutions Pvt
Roadmap of
                                     TMS320C2000™ DSC’s
                                    Software Compatible
                       Future of Control: Improved
                       Industrial Drive, Improved                                              Higher performance
                       System Density for ONET, etc.                                           Greater integration
 Control Performance




                       High-Precision Uni-processor
                       Control for Applications from                           F2812
                                                                               F2812    R2812
                                                                                        R2812
                       Industrial Drives to Automotive                         150 MIPS 150 MIPS C2812
                                                                               150 MIPS 150 MIPS
                                                                    F2811
                                                                    F2811                           150 MIPS
                                                                    150 MIPS
                                                                    150 MIPS    R2811
                                                                                R2811
                                                         F2810
                                                         F2810                  150 MIPS
                                                                                150 MIPS    C2811
                                                         150 MIPS
                                                         150 MIPS                           150 MIPS
                                                                                    C2810
                                                                                    150 MIPS         F2808
                       Multi-Function, Appliance                                                     100 MIPS
                       & Consumer Control                                                      F2801       F2806
                                                                                               100 MIPS 100 MIPS

                        F24x
                        F24x         LF240xA
                                     LF240xA                                                            Samples December
                                                                                                        04
                        C24x
                        C24x         LC240xA
                                     LC240xA

                                   In Silicon                  Announced

Technology beyond the Dreams™                                                        Copyright © 2006 Pantech Solutions Pvt
Broad C28x™ Application Base
                                Optical Networking
                                Control of laser diode



 Digital Power Supply                                    Printer
 Provides control, sensing,                              Print head control
 PFC, and other functions
                                                         Paper path motor control


Evaluating
Other Segments                                                 Non-traditional
e.g.. Musical                                                  Motor Control
Instruments
                                                               Many new cool
                                                               applications to
                                                               come




Technology beyond the Dreams™                  Copyright © 2006 Pantech Solutions Pvt
For more details
         – www.pantechsolutions.net
         – http://www.slideshare.net/pantechsolutions
         – http://www.scribd.com/pantechsolutions
         – http://www.youtube.com/pantechsolutions




Technology beyond the Dreams™        Copyright © 2006 Pantech Solutions Pvt

More Related Content

What's hot

AMPLITUDE MODULATION & DEMODULATION TECHNIQUE
AMPLITUDE MODULATION & DEMODULATION TECHNIQUEAMPLITUDE MODULATION & DEMODULATION TECHNIQUE
AMPLITUDE MODULATION & DEMODULATION TECHNIQUEIMTIAZ ALI AHMED
 
Diversity Techniques in mobile communications
Diversity Techniques in mobile communicationsDiversity Techniques in mobile communications
Diversity Techniques in mobile communicationsDiwaker Pant
 
Small scale fading and multipath measurements
Small scale fading and multipath measurementsSmall scale fading and multipath measurements
Small scale fading and multipath measurementsVrince Vimal
 
M ary psk and m ary qam ppt
M ary psk and m ary qam pptM ary psk and m ary qam ppt
M ary psk and m ary qam pptDANISHAMIN950
 
OKUMURA, HATA and COST231 Propagation Models
OKUMURA, HATA and COST231 Propagation ModelsOKUMURA, HATA and COST231 Propagation Models
OKUMURA, HATA and COST231 Propagation ModelsMohammed Abuibaid
 
Wireless communication
Wireless communicationWireless communication
Wireless communicationMukesh Chinta
 
System On Chip
System On ChipSystem On Chip
System On Chipanishgoel
 
Digital Modulation Unit 3
Digital Modulation Unit 3Digital Modulation Unit 3
Digital Modulation Unit 3Anil Nigam
 
100 Technical Interview Questions on Wireless communication, LTE and 5G.
100 Technical Interview Questions on Wireless communication, LTE and 5G.100 Technical Interview Questions on Wireless communication, LTE and 5G.
100 Technical Interview Questions on Wireless communication, LTE and 5G.Pavithra Nagaraj
 
Introduction to embedded systems
Introduction to embedded systemsIntroduction to embedded systems
Introduction to embedded systemsApurva Zope
 
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulationAhmed Diaa
 
Introduction to Digital Signal processors
Introduction to Digital Signal processorsIntroduction to Digital Signal processors
Introduction to Digital Signal processorsPeriyanayagiS
 

What's hot (20)

AMPLITUDE MODULATION & DEMODULATION TECHNIQUE
AMPLITUDE MODULATION & DEMODULATION TECHNIQUEAMPLITUDE MODULATION & DEMODULATION TECHNIQUE
AMPLITUDE MODULATION & DEMODULATION TECHNIQUE
 
Diversity Techniques in mobile communications
Diversity Techniques in mobile communicationsDiversity Techniques in mobile communications
Diversity Techniques in mobile communications
 
Small scale fading and multipath measurements
Small scale fading and multipath measurementsSmall scale fading and multipath measurements
Small scale fading and multipath measurements
 
Windowing ofdm
Windowing ofdmWindowing ofdm
Windowing ofdm
 
M ary psk and m ary qam ppt
M ary psk and m ary qam pptM ary psk and m ary qam ppt
M ary psk and m ary qam ppt
 
OKUMURA, HATA and COST231 Propagation Models
OKUMURA, HATA and COST231 Propagation ModelsOKUMURA, HATA and COST231 Propagation Models
OKUMURA, HATA and COST231 Propagation Models
 
Wireless communication
Wireless communicationWireless communication
Wireless communication
 
Microcontroller 8096
Microcontroller 8096Microcontroller 8096
Microcontroller 8096
 
System On Chip
System On ChipSystem On Chip
System On Chip
 
Quadrature amplitude modulation
Quadrature amplitude modulationQuadrature amplitude modulation
Quadrature amplitude modulation
 
Digital Modulation Unit 3
Digital Modulation Unit 3Digital Modulation Unit 3
Digital Modulation Unit 3
 
MicroC/OS-II
MicroC/OS-IIMicroC/OS-II
MicroC/OS-II
 
Software defined radio
Software defined radioSoftware defined radio
Software defined radio
 
100 Technical Interview Questions on Wireless communication, LTE and 5G.
100 Technical Interview Questions on Wireless communication, LTE and 5G.100 Technical Interview Questions on Wireless communication, LTE and 5G.
100 Technical Interview Questions on Wireless communication, LTE and 5G.
 
DPCM
DPCMDPCM
DPCM
 
Introduction to embedded systems
Introduction to embedded systemsIntroduction to embedded systems
Introduction to embedded systems
 
GSM channels
GSM channelsGSM channels
GSM channels
 
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulation
 
Introduction to Digital Signal processors
Introduction to Digital Signal processorsIntroduction to Digital Signal processors
Introduction to Digital Signal processors
 
WCDMA
WCDMAWCDMA
WCDMA
 

Similar to Tms320 f2812

Sudhir tms 320 f 2812
Sudhir tms 320 f 2812 Sudhir tms 320 f 2812
Sudhir tms 320 f 2812 vijaydeepakg
 
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
 
Pysense: wireless sensor computing in Python?
Pysense: wireless sensor computing in Python?Pysense: wireless sensor computing in Python?
Pysense: wireless sensor computing in Python?Davide Carboni
 
CST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic DesignCST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic Designoudesign
 
IoT and connected devices
IoT and connected devicesIoT and connected devices
IoT and connected devicesPascal Bodin
 
AXONIM 2018 industrial automation technical support
AXONIM 2018 industrial automation technical supportAXONIM 2018 industrial automation technical support
AXONIM 2018 industrial automation technical supportVitaliy Bozhkov ✔
 
資工人為什麼需要學習數位電路?
資工人為什麼需要學習數位電路?資工人為什麼需要學習數位電路?
資工人為什麼需要學習數位電路?Murphy Chen
 
Scaling Python to CPUs and GPUs
Scaling Python to CPUs and GPUsScaling Python to CPUs and GPUs
Scaling Python to CPUs and GPUsTravis Oliphant
 
MicroEJ OS and Edje: the software foundation for IoT devices
MicroEJ OS and Edje: the software foundation for IoT devicesMicroEJ OS and Edje: the software foundation for IoT devices
MicroEJ OS and Edje: the software foundation for IoT devicesMicroEJ
 
FPGA_prototyping proccesing with conclusion
FPGA_prototyping proccesing with conclusionFPGA_prototyping proccesing with conclusion
FPGA_prototyping proccesing with conclusionPersiPersi1
 
MCA-I-COA- overview of register transfer, micro operations and basic computer...
MCA-I-COA- overview of register transfer, micro operations and basic computer...MCA-I-COA- overview of register transfer, micro operations and basic computer...
MCA-I-COA- overview of register transfer, micro operations and basic computer...Rai University
 
Embedded system design using arduino
Embedded system design using arduinoEmbedded system design using arduino
Embedded system design using arduinoSantosh Verma
 
Overview Of Parallel Development - Ericnel
Overview Of Parallel Development -  EricnelOverview Of Parallel Development -  Ericnel
Overview Of Parallel Development - Ericnelukdpe
 

Similar to Tms320 f2812 (20)

Module_01.ppt
Module_01.pptModule_01.ppt
Module_01.ppt
 
Sudhir tms 320 f 2812
Sudhir tms 320 f 2812 Sudhir tms 320 f 2812
Sudhir tms 320 f 2812
 
Introduction to tms320c6745 dsp
Introduction to tms320c6745 dspIntroduction to tms320c6745 dsp
Introduction to tms320c6745 dsp
 
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
 
Pysense: wireless sensor computing in Python?
Pysense: wireless sensor computing in Python?Pysense: wireless sensor computing in Python?
Pysense: wireless sensor computing in Python?
 
CST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic DesignCST 20363 Session 4 Computer Logic Design
CST 20363 Session 4 Computer Logic Design
 
IoT and connected devices
IoT and connected devicesIoT and connected devices
IoT and connected devices
 
AXONIM 2018 industrial automation technical support
AXONIM 2018 industrial automation technical supportAXONIM 2018 industrial automation technical support
AXONIM 2018 industrial automation technical support
 
資工人為什麼需要學習數位電路?
資工人為什麼需要學習數位電路?資工人為什麼需要學習數位電路?
資工人為什麼需要學習數位電路?
 
Current Trends in HPC
Current Trends in HPCCurrent Trends in HPC
Current Trends in HPC
 
Scaling Python to CPUs and GPUs
Scaling Python to CPUs and GPUsScaling Python to CPUs and GPUs
Scaling Python to CPUs and GPUs
 
Getting started with image processing using Matlab
Getting started with image processing using MatlabGetting started with image processing using Matlab
Getting started with image processing using Matlab
 
MicroEJ OS and Edje: the software foundation for IoT devices
MicroEJ OS and Edje: the software foundation for IoT devicesMicroEJ OS and Edje: the software foundation for IoT devices
MicroEJ OS and Edje: the software foundation for IoT devices
 
FPGA_prototyping proccesing with conclusion
FPGA_prototyping proccesing with conclusionFPGA_prototyping proccesing with conclusion
FPGA_prototyping proccesing with conclusion
 
MCA-I-COA- overview of register transfer, micro operations and basic computer...
MCA-I-COA- overview of register transfer, micro operations and basic computer...MCA-I-COA- overview of register transfer, micro operations and basic computer...
MCA-I-COA- overview of register transfer, micro operations and basic computer...
 
Information technology
Information technologyInformation technology
Information technology
 
Lec09-DSP.pdf
Lec09-DSP.pdfLec09-DSP.pdf
Lec09-DSP.pdf
 
Embedded system design using arduino
Embedded system design using arduinoEmbedded system design using arduino
Embedded system design using arduino
 
EEDC Programming Models
EEDC Programming ModelsEEDC Programming Models
EEDC Programming Models
 
Overview Of Parallel Development - Ericnel
Overview Of Parallel Development -  EricnelOverview Of Parallel Development -  Ericnel
Overview Of Parallel Development - Ericnel
 

More from Pantech 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
 
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
 
Median filter Implementation using TMS320C6745
Median filter Implementation using TMS320C6745Median filter Implementation using TMS320C6745
Median filter Implementation using TMS320C6745
 
Introduction to Code Composer Studio 4
Introduction to Code Composer Studio 4Introduction to Code Composer Studio 4
Introduction to Code Composer Studio 4
 
Waveform Generation Using TMS320C6745 DSP
Waveform Generation Using TMS320C6745 DSPWaveform Generation Using TMS320C6745 DSP
Waveform Generation Using TMS320C6745 DSP
 
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
 
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
 

Recently uploaded

Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfPatidar M
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmStan Meyer
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...JojoEDelaCruz
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
TEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxTEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxruthvilladarez
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Dust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEDust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEaurabinda banchhor
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptshraddhaparab530
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 

Recently uploaded (20)

Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Active Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdfActive Learning Strategies (in short ALS).pdf
Active Learning Strategies (in short ALS).pdf
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
Oppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and FilmOppenheimer Film Discussion for Philosophy and Film
Oppenheimer Film Discussion for Philosophy and Film
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptxINCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
INCLUSIVE EDUCATION PRACTICES FOR TEACHERS AND TRAINERS.pptx
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
TEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxTEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docx
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Dust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSEDust Of Snow By Robert Frost Class-X English CBSE
Dust Of Snow By Robert Frost Class-X English CBSE
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Integumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.pptIntegumentary System SMP B. Pharm Sem I.ppt
Integumentary System SMP B. Pharm Sem I.ppt
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 

Tms320 f2812

  • 1. Chapter 0 : Introduction Digital Signal Controller TMS320F2812 Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 2. What is a Digital Signal Controller ? Microprocessor (µP): – Central Device of a multi chip Micro Computer System – Two basic architectures: • „Von Neumann“- Architecture • „Harvard“ – Architecture – „Von Neumann“ - Architecture: • Shared memory space between code and data • Shared memory busses between code and data • Example: Intel‘s x86 Pentium Processor family – „Harvard“ – Architecture: • Two independent memory spaces for code and data • Two memory bus systems for code and data – A µP to operate needs additional devices Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 3. History (1984): Microprocessor Intel 80x86 address Bus-Unit Address-Unit status / - bus control - Memory Manager control - address & databus- - logical / physical Interface address -Instruction queue data Instruction - Unit Execution-Unit - Instruction - Decode - CPU - Operation queue - ALU - Register Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 4. Micro Computer Micro Computer – Micro Computer = Microprocessor(µP) + Memory + Peripherals – Example: your Desktop –PC Code - Memory Data - Memory Clock MICROPROCESSOR Timer/Counter Digital I/O Analog I/O Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 5. Computer Peripherals • Peripherals include: – Digital Input / Output Lines – Analogue to Digital Converter (ADC) – Digital to Analogue Converter (DAC) – Timer / Counter units – PWM Output Lines – Digital Capture Input Lines – Network Interface Units: • Serial Communication Interface (SCI) - UART • Serial Peripheral Interface ( SPI) • Inter Integrated Circuit ( I2C) – Bus • Controller Area Network (CAN) Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 6. Continue..., Network interface unit - Local Interconnect Network (LIN) - Universal Serial Bus (USB) - Local / Wide Area Networks (LAN, WAN) Graphical Output Devices and more … Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 7. System on Chip Microcontroller (µC) – Nothing more than a Micro Computer as a single silicon chip! – All computing power AND input/output channels that are required to design a real time control system are „on chip“ – Guarantee cost efficient and powerful solutions for embedded control applications – Backbone for almost every type of modern product – Over 200 independent families of µC – Both µP – Architectures („Von Neumann“ and „Harvard“) are used inside Microcontrollers Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 8. Digital Signal Processor Digital Signal Processor (DSP) – Similar to a Microprocessor(µP), e.g. core of a computing system – Additional Hardware Units to speed up computing of sophisticated mathematical operations: • Additional Hardware Multiply Unit(s) • Additional Pointer Arithmetic Unit(s) • Additional Bus Systems for parallel access • Additional Hardware Shifter for scaling and/or multiply/divide by 2n Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 9. What are the typical DSP algorithms? • The Sum of Products (SOP) is the key element in most DSP algorithms: Algorithm Equation Finite Impulse Response Filter M ∑ y ( n)= ak x ( n −k ) k=0 Infinite Impulse Response Filter M N y (n) =∑a k x (n − k )+∑bk y (n − k ) k =0 k =1 Convolution N ∑ y ( n) = x ( k ) h( n −k ) k=0 Discrete Fourier Transform N −1 X ( k ) = ∑ x ( n) exp[− j ( 2π / N ) nk ] n =0 Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 10. Doing a SOP with a µP Task : use a Desktop - PC and code the equation into a common C- compiler system, e.g. Microsoft Visual Studio.Net3 y = ∑data[i ] * coeff [i ] A C-Code Solution could look like this: i =0 #include <stdio.h> int data[4]={1,2,3,4}; int coeff[4]={8,6,4,2}; int main(void) { int i; int result =0; for (i=0;i<4;i++) result += data[i]*coeff[i]; printf("%i",result); return 0; } Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 11. Basic Operations of a SOP • What will a Pentium be forced to do? 1. Set a Pointer1 to point to data[0] 2. Set a second Pointer2 to point to coeff[0] 3. Read data[i] into core 4. Read coeff[i] into core 5. Multiply data[i]*coeff[i] 6. Add the latest product to the previous ones 7. Modify Pointer1 8. Modify Pointer2 9. Increment I; 10.If i<3 , then go back to step 3 and continue • Steps 3 to 8 are called “6 Basic Operations of a DSP” • A DSP is able to execute all 6 steps in one single machine cycle! Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 12. SOP machine code of a µP Address M-Code Assembly - Instruction 10: for (i=0;i<4;i++) 00411960 C7 45 FC 00 00 00 00 mov dword ptr [i],0 00411967 EB 09 jmp main+22h (411972h) 00411969 8B 45 FC mov eax,dword ptr [i] 0041196C 83 C0 01 add eax,1 0041196F 89 45 FC mov dword ptr [i],eax 00411972 83 7D FC 04 cmp dword ptr [i],4 00411976 7D 1F jge main+47h (411997h) 11: result += data[i]*coeff[i]; 00411978 8B 45 FC mov eax,dword ptr [i] 0041197B 8B 4D FC mov ecx,dword ptr [i] 0041197E 8B 14 85 40 5B 42 00 mov edx,dword ptr[eax*4+425B40h] 00411985 0F AF 14 8D 50 5B 42 00 imul edx,dword ptr[ecx*4+425B50h] 0041198D 8B 45 F8 mov eax,dword ptr [result] 00411990 03 C2 add eax,edx 00411992 89 45 F8 mov dword ptr [result],eax 00411995 EB D2 jmp main+19h (411969h) Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 13. Doing a SOP with a DSP • Now: use a DSP-Development System and code the equation into a DSP C-compiler system, e.g. Texas Instruments Code Composer Studio 3 y = ∑data[i ] * coeff [i ] • C-Code Solution is identical: i =0 int data[4]={1,2,3,4}; int coeff[4]={8,6,4,2}; int main(void) { int i; int result =0; for (i=0;i<4;i++) result += data[i]*coeff[i]; printf("%i",result); return 0; } Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 14. DSP-Translation into machine code Address MCode Assembly Instruction 0x8000 FF69 SPM 0 0x8001 8D04 0000R MOVL XAR1,#data 0x8003 76C0 0000R MOVL XAR7,#coeff 0x8005 5633 ZAPA 0x8006 F601 RPT #1 0x8007 564B 8781 || DMAC ACC:P,*XAR1+ +,*XAR7++ 0x8009 10AC ADDL ACC,P<<PM 0x800A 8D04 0000R MOVL XAR1,#y 0x800B 1E81 MOVL *XAR1,ACC Example: Texas Instruments TMS320F2812 Space : 12 Code Memory ; 9 Data Memory Execution Cycles : 10 @ 150MHz = 66 ns Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 15. Digital Signal Controller (DSC) Digital Signal Controller (DSC) – recall: a Microcontroller(µC) is a single chip Microcomputer with a Microprocessor(µP) as core unit. – Now: a Digital Signal Controller(DSC) is a single chip Microcomputer with a Digital Signal Processor(DSP) as core unit. – By combining the computing power of a DSP with memory and peripherals in one single device we derive the most effective solution for embedded real time control solutions that require lots of math operations. – DSC –Example: Texas Instruments C2000 family. Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 16. Texas Instruments DSP/DSC - TMS320 – Family Branches Portfolio C6000 C5000 High Performance ‘C’ Efficiency C2000 Power Efficient DSP Performance DSP Efficient Integration for Control DSC Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 17. Texas Instruments’ TMS320 family • Different families and sub-families exist to support different markets. C2000 C5000 C6000 Lowest Cost Efficiency Performance & Control Systems Best MIPS per Best Ease-of-Use  Motor Control Watt / Dollar / Size  Storage  Wireless phones  Multi Channel and Multi  Digital Ctrl Systems  Internet audio players Function App's  Digital still cameras  Comm Infrastructure  Modems  Wireless Base-stations  Telephony  DSL  VoIP  Imaging  Multi-media Servers  Video Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 18. Roadmap of TMS320C2000™ DSC’s Software Compatible Future of Control: Improved Industrial Drive, Improved Higher performance System Density for ONET, etc. Greater integration Control Performance High-Precision Uni-processor Control for Applications from F2812 F2812 R2812 R2812 Industrial Drives to Automotive 150 MIPS 150 MIPS C2812 150 MIPS 150 MIPS F2811 F2811 150 MIPS 150 MIPS 150 MIPS R2811 R2811 F2810 F2810 150 MIPS 150 MIPS C2811 150 MIPS 150 MIPS 150 MIPS C2810 150 MIPS F2808 Multi-Function, Appliance 100 MIPS & Consumer Control F2801 F2806 100 MIPS 100 MIPS F24x F24x LF240xA LF240xA Samples December 04 C24x C24x LC240xA LC240xA In Silicon Announced Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 19. Broad C28x™ Application Base Optical Networking Control of laser diode Digital Power Supply Printer Provides control, sensing, Print head control PFC, and other functions Paper path motor control Evaluating Other Segments Non-traditional e.g.. Musical Motor Control Instruments Many new cool applications to come Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 20. For more details – www.pantechsolutions.net – http://www.slideshare.net/pantechsolutions – http://www.scribd.com/pantechsolutions – http://www.youtube.com/pantechsolutions Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt

Editor's Notes

  1. 1