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

Switched capacitor
Switched capacitorSwitched capacitor
Switched capacitorGur Kan
 
Digital Systems Design
Digital Systems DesignDigital Systems Design
Digital Systems DesignReza Sameni
 
IC Design of Power Management Circuits (II)
IC Design of Power Management Circuits (II)IC Design of Power Management Circuits (II)
IC Design of Power Management Circuits (II)Claudia Sin
 
Design and implementation of qpsk modulator using digital subcarrier
Design and implementation of qpsk modulator using digital subcarrierDesign and implementation of qpsk modulator using digital subcarrier
Design and implementation of qpsk modulator using digital subcarrierGongadi Nagaraju
 
CMOS Analog IC design by Dr GS Javed - Refresher Course - Batch 1
CMOS Analog IC design by Dr GS Javed - Refresher Course - Batch 1CMOS Analog IC design by Dr GS Javed - Refresher Course - Batch 1
CMOS Analog IC design by Dr GS Javed - Refresher Course - Batch 1Javed G S, PhD
 
PLC Programming Languages
PLC Programming LanguagesPLC Programming Languages
PLC Programming LanguagesLIJU. G. CHACKO
 
Z trasnform & Inverse Z-transform in matlab
Z trasnform & Inverse Z-transform in matlabZ trasnform & Inverse Z-transform in matlab
Z trasnform & Inverse Z-transform in matlabHasnain Yaseen
 
Traditional vs. SoC FPGA Design Flow A Video Pipeline Case Study
Traditional vs. SoC FPGA Design Flow A Video Pipeline Case StudyTraditional vs. SoC FPGA Design Flow A Video Pipeline Case Study
Traditional vs. SoC FPGA Design Flow A Video Pipeline Case StudyAltera Corporation
 
Ofdm tutorial fuyun_ling_rev1
Ofdm tutorial fuyun_ling_rev1Ofdm tutorial fuyun_ling_rev1
Ofdm tutorial fuyun_ling_rev1Fuyun Ling
 
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulationAhmed Diaa
 
Vlsi design main ppt 1
Vlsi design main ppt 1Vlsi design main ppt 1
Vlsi design main ppt 1Semi Design
 
Introduction to pll
Introduction to pllIntroduction to pll
Introduction to pllsartaj ahmed
 
Sequential cmos logic circuits
Sequential cmos logic circuitsSequential cmos logic circuits
Sequential cmos logic circuitsSakshi Bhargava
 
Low Power Design and Verification
Low Power Design and VerificationLow Power Design and Verification
Low Power Design and VerificationDVClub
 

What's hot (20)

Switched capacitor
Switched capacitorSwitched capacitor
Switched capacitor
 
Digital Systems Design
Digital Systems DesignDigital Systems Design
Digital Systems Design
 
IC Design of Power Management Circuits (II)
IC Design of Power Management Circuits (II)IC Design of Power Management Circuits (II)
IC Design of Power Management Circuits (II)
 
Design and implementation of qpsk modulator using digital subcarrier
Design and implementation of qpsk modulator using digital subcarrierDesign and implementation of qpsk modulator using digital subcarrier
Design and implementation of qpsk modulator using digital subcarrier
 
Lect01 flow
Lect01 flowLect01 flow
Lect01 flow
 
CMOS Analog IC design by Dr GS Javed - Refresher Course - Batch 1
CMOS Analog IC design by Dr GS Javed - Refresher Course - Batch 1CMOS Analog IC design by Dr GS Javed - Refresher Course - Batch 1
CMOS Analog IC design by Dr GS Javed - Refresher Course - Batch 1
 
PLC Programming Languages
PLC Programming LanguagesPLC Programming Languages
PLC Programming Languages
 
Z trasnform & Inverse Z-transform in matlab
Z trasnform & Inverse Z-transform in matlabZ trasnform & Inverse Z-transform in matlab
Z trasnform & Inverse Z-transform in matlab
 
Traditional vs. SoC FPGA Design Flow A Video Pipeline Case Study
Traditional vs. SoC FPGA Design Flow A Video Pipeline Case StudyTraditional vs. SoC FPGA Design Flow A Video Pipeline Case Study
Traditional vs. SoC FPGA Design Flow A Video Pipeline Case Study
 
Ofdm tutorial fuyun_ling_rev1
Ofdm tutorial fuyun_ling_rev1Ofdm tutorial fuyun_ling_rev1
Ofdm tutorial fuyun_ling_rev1
 
What is POR,LVD,WDT ?
What is POR,LVD,WDT ?What is POR,LVD,WDT ?
What is POR,LVD,WDT ?
 
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulation
 
Vlsi design main ppt 1
Vlsi design main ppt 1Vlsi design main ppt 1
Vlsi design main ppt 1
 
Eca unit 6
Eca unit 6Eca unit 6
Eca unit 6
 
Introduction to pll
Introduction to pllIntroduction to pll
Introduction to pll
 
Fpaa 1
Fpaa 1Fpaa 1
Fpaa 1
 
Sequential cmos logic circuits
Sequential cmos logic circuitsSequential cmos logic circuits
Sequential cmos logic circuits
 
CMOS Logic Circuits
CMOS Logic CircuitsCMOS Logic Circuits
CMOS Logic Circuits
 
Switched capacitor circuits_shish
Switched capacitor circuits_shishSwitched capacitor circuits_shish
Switched capacitor circuits_shish
 
Low Power Design and Verification
Low Power Design and VerificationLow Power Design and Verification
Low Power Design and Verification
 

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
 
Introduction to Digital Signal processors
Introduction to Digital Signal processorsIntroduction to Digital Signal processors
Introduction to Digital Signal processorsPeriyanayagiS
 

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
 
Introduction to Digital Signal processors
Introduction to Digital Signal processorsIntroduction to Digital Signal processors
Introduction to Digital Signal processors
 
EEDC Programming Models
EEDC Programming ModelsEEDC Programming Models
EEDC Programming Models
 

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

Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon AUnboundStockton
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfUmakantAnnand
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxRoyAbrique
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docxPoojaSen20
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 

Recently uploaded (20)

Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Crayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon ACrayon Activity Handout For the Crayon A
Crayon Activity Handout For the Crayon A
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Concept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.CompdfConcept of Vouching. B.Com(Hons) /B.Compdf
Concept of Vouching. B.Com(Hons) /B.Compdf
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
9953330565 Low Rate Call Girls In Rohini Delhi NCR
9953330565 Low Rate Call Girls In Rohini  Delhi NCR9953330565 Low Rate Call Girls In Rohini  Delhi NCR
9953330565 Low Rate Call Girls In Rohini Delhi NCR
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptxContemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
Contemporary philippine arts from the regions_PPT_Module_12 [Autosaved] (1).pptx
 
MENTAL STATUS EXAMINATION format.docx
MENTAL     STATUS EXAMINATION format.docxMENTAL     STATUS EXAMINATION format.docx
MENTAL STATUS EXAMINATION format.docx
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 

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