SlideShare ist ein Scribd-Unternehmen logo
1 von 14
Chapter 1 : Architecture



  Digital Signal Controller
    TMS320F2812



Technology beyond the Dreams™   Copyright © 2006 Pantech Solutions Pvt
C281x Block Diagram                     Program Bus                                   Event
                                                                                       Event
                                                                                     Manager A
                                                                                     Manager A
                                                                                      Event
                                                                                       Event
                                                           Boot
                                                            Boot                     Manager B
                                                                                     Manager B
                        Sectored
                         Sectored                          ROM
                                                            ROM
                                                 RAM
                                                  RAM
                          Flash
                           Flash
                22                                                                  12-bit ADC
                                                                                     12-bit ADC
  A(18-0)
                32                                                                   Watchdog
                                                                                     Watchdog
                32
  D(15-0)
                32                                                                     McBSP
                                                                                       McBSP
                                                           PIE
                      32-bit                   R-M-W
                                                R-M-W    Interrupt                   CAN2.0B
                       32-bit      32x32 bit
                                    32x32 bit Atomic                                  CAN2.0B
                     Auxiliary
                      Auxiliary                 Atomic   Manager
                     Registers     Multiplier
                                    Multiplier ALU
                      Registers                  ALU                                   SCI-A
                                                                                        SCI-A
                                                            33
                                                         32 bit                        SCI-B
                                                                                        SCI-B
    Realtime                                              32 bit
     Realtime                     Register Bus           Timers
                                                          Timers
     JTAG
      JTAG                                                                               SPI
                                                                                          SPI
                                      CPU


                                          Data Bus                                      GPIO
                                                                                         GPIO

Technology beyond the Dreams™                                        Copyright © 2006 Pantech Solutions Pvt
 MCU/DSP balancing code               density
              C28x CPU                              & execution time.
                                                      Supports 32-bit instructions for
                     Program Bus                        improved execution time;
                                                      Supports 16-bit instructions for
                                                        improved code efficiency
                                                 32-bit fixed-point DSP
                                      PIE        32 x 32 bit fixed-point MAC
    32-bit
     32-bit               R-M-W
                           R-M-W    Interrupt
              32x32 bit
               32x32 bit Atomic                  Dual 16 x 16 single-cycle fixed-point
   Auxiliary
    Auxiliary Multiplier   Atomic   Manager
   Registers   Multiplier ALU                       MAC (DMAC)
    Registers               ALU
                                       33
                                                   32-/64-bit saturation
                                    32 bit         64/32 and 32/32 modulus division
                                     32 bit
              Register Bus          Timers
                                     Timers
                                                   Fast interrupt service time
  Realtime
   Realtime                                        Single cycle read-modify-write
   JTAG           CPU
    JTAG                                            instructions
                                                   Unique real-time debugging
                      Data Bus
                                                    capabilities
                                                   Upward code compatibility



Technology beyond the Dreams™                             Copyright © 2006 Pantech Solutions Pvt
C28x Multiplier and ALU / Shifters
     Program Bus
                              32
    Data Bus
                                                XT (32) or T/TL     16/32
                        16                                                             8/16/32
                                                 MULTIPLIER
                                     32            32 x 32 or
           Shift R/L (0-16)                       Dual 16 x 16
                                                P (32) or PH/PL                8/16
                         32
                                                           32
                                                                                  32
                               32                Shift R/L (0-16)


                   32

                                       ALU (32)
                                                32
                                       ACC (32)
                                   AH (16)        AL (16)
                               AH.MSB AH.LSB    AL.MSB   AL.LSB


                                               • 32
                                   Shift R/L (0-16)
                                                32
       Data Bus
Technology beyond the Dreams™                                          Copyright © 2006 Pantech Solutions Pvt
C28x Pointer, DP and Memory
                                 Data Bus
                                                           Program Bus

                                                             6 LSB
                                                             from IR
                        XAR0                DP (16)
                        XAR1
                        XAR2
                        XAR3        32            22
                        XAR4
                                            MUX
                        XAR5
                        XAR6
                        XAR7
                                              MUX

                        ARAU



                                            Data Memory
                XARn → 32-bits
                 ARn → 16-bits



Technology beyond the Dreams™                             Copyright © 2006 Pantech Solutions Pvt
C28x Internal Bus Structure
 Program                         Program Address Bus (22)
      PC                                                                               Program
                                Program-read Data Bus (32)
   Decoder                                                                            (4M* 16)
                                 Data-read Address Bus (32)

                              Data-read Data Bus (32)                                   Data
                                                                                      (4G * 16)
     Registers          Execution                       Debug
        ARAU             MPY32x32                                                      Memory
                                                        Real-Time
               SP                         R-M-W         Emulation
                             ALU
          DP @X                           Atomic            &
                              XT                                          JTAG
        XAR0                               ALU            Test                        Standard
           to                  P
                             ACC                         Engine                      Peripherals
        XAR7

                    Register Bus / Result Bus                                          External
                                                                                      Interfaces
                       Data/Program-write Data Bus (32)
                       Data-write Address Bus (32)
Technology beyond the Dreams™                               Copyright © 2006 Pantech Solutions Pvt
C28x Atomic Read/Modify/Write
                                                 Atomic      Instructions Benefits:
                       LOAD                         Simpler        programming
                                   READ

                                                    Smaller,        faster code
  Registers      CPU   ALU / MPY           Mem
                                   WRITE            Uninterruptible           (Atomic)
                       STORE
                                                    More        efficient compiler

       Standard Load/Store                   Atomic Read/Modify/Write
         DINT
                                                 AND       *XAR2,#1234h
         MOV       AL,*XAR2
         AND       AL,#1234h                        2 words / 1 cycles
         MOV       *XAR2,AL
         EINT
              6 words / 6 cycles
Technology beyond the Dreams™                          Copyright © 2006 Pantech Solutions Pvt
C28x Pipeline
   F F D D R R X
 A 1 2 1 2 1 2           W                           8-stage pipeline
 B   F1 F2 D1 D2 R1 R2 X    W
 C      F1 F2 D1 D2 R1 R2 X   W
                    F1 F2 D1 D2 R1 R2 X              W                  E & G Access
 D
 E                       F1 F2 D1 D2 R1 R2 X              W             same address
 F                            F1 F2 D1 D2 R1 R2 X              W
 G                                 F1 F2 D1 D2 R1 1 R2 X 2 X W
                                                R      R   W
  H                                    F1 F2 D1 D2 2 R1 R2 1 X 2 X W
                                                 D       R R W
 F1: Instruction Address
 F2: Instruction Content      Protected Pipeline
 D1: Decode Instruction
                                  Order of results are as written in source
 D2: Resolve Operand Addr
 R1: Operand Address               code
 R2: Get Operand
                                  Programmer need not worry about the
 X: CPU doing “real” work
 W: store content to memory        pipeline
Technology beyond the Dreams™                      Copyright © 2006 Pantech Solutions Pvt
TMS320F2812 Memory Map
                        Data      | Program       Data      | Program
          0x00 0000   MO SARAM (1K)
          0x00 0400   M1 SARAM (1K)
          0x00 0800 PF 0 (2K)                        reserved
                                     reserved
          0x00 0D00 PIE vector
                      (256)
                    ENPIE=1
                                     reserved
                                                  XINT Zone 0 (8K)          0x00 2000
          0x00 1000         reserved
          0x00 6000 PF 2 (4K)     reserved        XINT Zone 1 (8K)          0x00 4000
          0x00 7000 PF 1 (4K)     reserved
          0x00 8000 LO SARAM (4K)                     reserved
          0x00 9000   L1 SARAM (4K)
                                                 XINT Zone 2 (0.5M)         0x08 0000
         0x00 A000             reserved
                                                 XINT Zone 6 (0.5M)         0x10 0000
         0x3D 7800         OTP (1K)
         0x3D 7C00             reserved                                     0x18 0000
         0x3D 8000      FLASH (128K)
                                                         reserved
                          128-Bit Password
          0x3F 8000   HO SARAM (8K)
         0x3F A000         reserved               XINT Zone 7 (16K)
                       Boot ROM (4K)                 MP/MC=1                0x3F C000
         0x3F F000       MP/MC=0
                      BROM vector (32)          XINT Vector-RAM (32)               CSM: LO, L1
         0x3F FFC0    MP/MC=0 ENPIE=0            MP/MC=1 ENPIE=0
                                                                                   OTP, FLASH
Technology beyond the Dreams™                                Copyright © 2006 Pantech Solutions Pvt
Code Security Module
    • Prevents reverse engineering and protects valuable
      intellectual property
                     0x00 8000   LO SARAM (4K)
                     0x00 9000   L1 SARAM (4K)
                    0x00 A000        reserved
                    0x3D 7800       OTP (1K)
                    0x3D 7C00        reserved
                    0x3D 8000     FLASH (128K)
                                   128-Bit Password


• 128-bit user defined password is stored in Flash
• 128-bits = 2128 = 3.4 x 1038 possible passwords
• To try 1 password every 2 cycles at 150 MHz, it would take at
  least 1.4 x 1023 years to try all possible combinations!
Technology beyond the Dreams™                         Copyright © 2006 Pantech Solutions Pvt
C28x Fast Interrupt Response Manager
     96 dedicated PIE vectors
     No software decision
      making required
     Direct access to RAM                                                      PIE module For                        28x CPU Interrupt logic
                                                                                 96 interrupts
      vectors
     Auto flags update                                                                            INT1 to
                                                                                                     INT12                                 28x
     Concurrent auto context                                                                                       IFR   IER   INTM       CPU
                                                                           96
                                                                                                 12 interrupts
      save                                                                           PIE
                                                                                   Register
                                                                                    Map

      Auto Context Save
      T          ST0
                                 69 = 8x21 st purr et nI l ar e hp r e P




      AH         AL
                                                                  i




      PH         PL
      AR1 (L)    AR0 (L)
      DP         ST1
      DBSTAT IER
      PC(msw) PC(lsw)

Technology beyond the Dreams™                                                                           Copyright © 2006 Pantech Solutions Pvt
C28x / C24x Modes
          Mode Type                  Mode Bits                  Compiler
                               OBJMODE AMODE                     Option

       C24x Mode                    1            1           -v28 -m20

       C28x Mode                    1            0           -v28
       Test Mode (default)          0            0           -v27

       Reserved                     0            1

      C24x source-compatible mode:
          Allows you to run C24x source code which has been reassembled using the

           C28x code generation tools (need new vectors)
      C28x mode:
          Can take advantage of all the C28x native features




Technology beyond the Dreams™                               Copyright © 2006 Pantech Solutions Pvt
Reset – Bootloader
                Reset
      OBJMODE=0 AMODE=0
        ENPIE=0 VMAP=1

                                                       Bootloader sets
                                XMPNMC=0                OBJMODE = 1
                            (microcomputer mode)         AMODE = 0

                         Reset vector fetched from
                                                     Boot determined by
                                boot ROM
                                                     state of GPIO pins
                                0x3F FFC0


                                                       Execution
                                                       Entry Point
                                                       H0 SARAM
   Note:
   Details of the various boot options will be
   discussed in the Reset and Interrupts module

Technology beyond the Dreams™                          Copyright © 2006 Pantech Solutions Pvt
Summary
     •   High performance 32-bit DSP
     •   32 x 32 bit or dual 16 x 16 bit MAC
     •   Atomic read-modify-write instructions
     •   8-stage fully protected pipeline
     •   Fast interrupt response manager
     •   128Kw on-chip flash memory
     •   Code security module (CSM)
     •   Two event managers
     •   12-bit ADC module
     •   56 shared GPIO pins
     •   Watchdog timer
     •   Communications peripherals

Technology beyond the Dreams™                    Copyright © 2006 Pantech Solutions Pvt

Weitere ähnliche Inhalte

Was ist angesagt?

Verilog operators.pptx
Verilog  operators.pptxVerilog  operators.pptx
Verilog operators.pptxVandanaPagar1
 
Delays in verilog
Delays in verilogDelays in verilog
Delays in verilogJITU MISTRY
 
Introduction to pic microcontroller
Introduction to pic microcontrollerIntroduction to pic microcontroller
Introduction to pic microcontrollerSiva Kumar
 
System verilog coverage
System verilog coverageSystem verilog coverage
System verilog coveragePushpa Yakkala
 
Functions and tasks in verilog
Functions and tasks in verilogFunctions and tasks in verilog
Functions and tasks in verilogNallapati Anindra
 
LOGIC GATES VIDEO LECTURE IN HINDI|OR GATE,AND GATE &NOT GATE|LOGIC DIAGRAM &...
LOGIC GATES VIDEO LECTURE IN HINDI|OR GATE,AND GATE &NOT GATE|LOGIC DIAGRAM &...LOGIC GATES VIDEO LECTURE IN HINDI|OR GATE,AND GATE &NOT GATE|LOGIC DIAGRAM &...
LOGIC GATES VIDEO LECTURE IN HINDI|OR GATE,AND GATE &NOT GATE|LOGIC DIAGRAM &...Prasant Kumar
 
Router 1X3 – RTL Design and Verification
Router 1X3 – RTL Design and VerificationRouter 1X3 – RTL Design and Verification
Router 1X3 – RTL Design and VerificationIJERD Editor
 
PIC-18 Microcontroller
PIC-18 MicrocontrollerPIC-18 Microcontroller
PIC-18 MicrocontrollerASHISH RANJAN
 
8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )
8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )
8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )Tarun Khaneja
 
Pin configuration of 8085
Pin configuration of 8085Pin configuration of 8085
Pin configuration of 808582338476
 
Day2 Verilog HDL Basic
Day2 Verilog HDL BasicDay2 Verilog HDL Basic
Day2 Verilog HDL BasicRon Liu
 
8085 data transfer instruction set
8085 data transfer instruction set8085 data transfer instruction set
8085 data transfer instruction setprashant1271
 
Pin Description Of Intel 80386 DX Microprocessor
Pin Description Of Intel 80386 DX MicroprocessorPin Description Of Intel 80386 DX Microprocessor
Pin Description Of Intel 80386 DX MicroprocessorRaunaq Sahni
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessorjhcid
 

Was ist angesagt? (20)

ARM Fundamentals
ARM FundamentalsARM Fundamentals
ARM Fundamentals
 
Verilog operators.pptx
Verilog  operators.pptxVerilog  operators.pptx
Verilog operators.pptx
 
Delays in verilog
Delays in verilogDelays in verilog
Delays in verilog
 
Introduction to pic microcontroller
Introduction to pic microcontrollerIntroduction to pic microcontroller
Introduction to pic microcontroller
 
Interfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 MicrocontrollerInterfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 Microcontroller
 
ARM- Programmer's Model
ARM- Programmer's ModelARM- Programmer's Model
ARM- Programmer's Model
 
System verilog coverage
System verilog coverageSystem verilog coverage
System verilog coverage
 
8155 PPI
8155 PPI8155 PPI
8155 PPI
 
Functions and tasks in verilog
Functions and tasks in verilogFunctions and tasks in verilog
Functions and tasks in verilog
 
LOGIC GATES VIDEO LECTURE IN HINDI|OR GATE,AND GATE &NOT GATE|LOGIC DIAGRAM &...
LOGIC GATES VIDEO LECTURE IN HINDI|OR GATE,AND GATE &NOT GATE|LOGIC DIAGRAM &...LOGIC GATES VIDEO LECTURE IN HINDI|OR GATE,AND GATE &NOT GATE|LOGIC DIAGRAM &...
LOGIC GATES VIDEO LECTURE IN HINDI|OR GATE,AND GATE &NOT GATE|LOGIC DIAGRAM &...
 
Router 1X3 – RTL Design and Verification
Router 1X3 – RTL Design and VerificationRouter 1X3 – RTL Design and Verification
Router 1X3 – RTL Design and Verification
 
PIC-18 Microcontroller
PIC-18 MicrocontrollerPIC-18 Microcontroller
PIC-18 Microcontroller
 
8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )
8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )
8051 microcontroller lecture ppt by Tarun Khaneja ( 9034406598 )
 
Pin configuration of 8085
Pin configuration of 8085Pin configuration of 8085
Pin configuration of 8085
 
Day2 Verilog HDL Basic
Day2 Verilog HDL BasicDay2 Verilog HDL Basic
Day2 Verilog HDL Basic
 
dual-port RAM (DPRAM)
dual-port RAM (DPRAM)dual-port RAM (DPRAM)
dual-port RAM (DPRAM)
 
8085 data transfer instruction set
8085 data transfer instruction set8085 data transfer instruction set
8085 data transfer instruction set
 
Pin Description Of Intel 80386 DX Microprocessor
Pin Description Of Intel 80386 DX MicroprocessorPin Description Of Intel 80386 DX Microprocessor
Pin Description Of Intel 80386 DX Microprocessor
 
8085-microprocessor
8085-microprocessor8085-microprocessor
8085-microprocessor
 
Parallel adder
Parallel adderParallel adder
Parallel adder
 

Andere mochten auch (16)

One day-workshop on tms320 f2812
One day-workshop on tms320 f2812One day-workshop on tms320 f2812
One day-workshop on tms320 f2812
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
8051 ram org
8051 ram org8051 ram org
8051 ram org
 
Dsp lab seminar
Dsp lab seminarDsp lab seminar
Dsp lab seminar
 
8051 presentation
8051 presentation8051 presentation
8051 presentation
 
Data base security and injection
Data base security and injectionData base security and injection
Data base security and injection
 
8051 timer counter
8051 timer counter8051 timer counter
8051 timer counter
 
Introduction to tms320c6745 dsp
Introduction to tms320c6745 dspIntroduction to tms320c6745 dsp
Introduction to tms320c6745 dsp
 
Interfacing Bluetooth Modules with 8051 Microcontroller
Interfacing Bluetooth Modules with 8051 MicrocontrollerInterfacing Bluetooth Modules with 8051 Microcontroller
Interfacing Bluetooth Modules with 8051 Microcontroller
 
Arithmatic pipline
Arithmatic piplineArithmatic pipline
Arithmatic pipline
 
Floating point units
Floating point unitsFloating point units
Floating point units
 
8051 serial communication
8051 serial communication8051 serial communication
8051 serial communication
 
8051 Presentation
8051 Presentation8051 Presentation
8051 Presentation
 
8051 serial communication-UART
8051 serial communication-UART8051 serial communication-UART
8051 serial communication-UART
 
Microcontroller 8051
Microcontroller 8051Microcontroller 8051
Microcontroller 8051
 
Offshore Structures Presentation
Offshore Structures PresentationOffshore Structures Presentation
Offshore Structures Presentation
 

Ähnlich wie Architecture of tms320 f2812

Introducing the ADSP BF609 Blackfin Processors
Introducing the ADSP BF609 Blackfin ProcessorsIntroducing the ADSP BF609 Blackfin Processors
Introducing the ADSP BF609 Blackfin ProcessorsAnalog Devices, Inc.
 
Image Access by PrintLAT
Image Access by PrintLATImage Access by PrintLAT
Image Access by PrintLATPrintLAT
 
Microchip's 16-bit and 32-bit PIC MCUs
Microchip's 16-bit and 32-bit PIC MCUsMicrochip's 16-bit and 32-bit PIC MCUs
Microchip's 16-bit and 32-bit PIC MCUsPremier Farnell
 
Embedded Solutions 2010 : ARM-Cortex Based MCU's , by ARROW-ISRAEL
Embedded Solutions 2010 : ARM-Cortex Based MCU's , by ARROW-ISRAEL Embedded Solutions 2010 : ARM-Cortex Based MCU's , by ARROW-ISRAEL
Embedded Solutions 2010 : ARM-Cortex Based MCU's , by ARROW-ISRAEL New-Tech Magazine
 
CAST BA22 32-bit Processor Design Seminar, 2/1/12
CAST BA22 32-bit Processor Design Seminar, 2/1/12CAST BA22 32-bit Processor Design Seminar, 2/1/12
CAST BA22 32-bit Processor Design Seminar, 2/1/12CAST, Inc.
 
Introduction to Vortex86DX2 Motion-Control Evaluation Board
Introduction to Vortex86DX2 Motion-Control Evaluation BoardIntroduction to Vortex86DX2 Motion-Control Evaluation Board
Introduction to Vortex86DX2 Motion-Control Evaluation Boardroboard
 
AMD PGA 452 Processor VIA KT333/ VT8233A-CE Chipset Winbond 8369 HF-VF LPC I/O
AMD PGA 452 Processor VIA KT333/ VT8233A-CE Chipset Winbond 8369 HF-VF LPC I/OAMD PGA 452 Processor VIA KT333/ VT8233A-CE Chipset Winbond 8369 HF-VF LPC I/O
AMD PGA 452 Processor VIA KT333/ VT8233A-CE Chipset Winbond 8369 HF-VF LPC I/OWrath Of Dragon
 
Sears Point Racetrack
Sears Point RacetrackSears Point Racetrack
Sears Point RacetrackDino, llc
 
Mpc5121 econfs
Mpc5121 econfsMpc5121 econfs
Mpc5121 econfsDino, llc
 
หน่วยเรียนที่ 1
หน่วยเรียนที่ 1หน่วยเรียนที่ 1
หน่วยเรียนที่ 1kaiwasan
 
Tablet in 2012
Tablet in 2012Tablet in 2012
Tablet in 2012JJ Wu
 
ADVANCED DVB-C,DVB-S STB DEMOD
ADVANCED DVB-C,DVB-S STB DEMODADVANCED DVB-C,DVB-S STB DEMOD
ADVANCED DVB-C,DVB-S STB DEMODaniruddh Tyagi
 
ADVANCED DVB-C,DVB-S STB DEMOD
ADVANCED DVB-C,DVB-S STB DEMODADVANCED DVB-C,DVB-S STB DEMOD
ADVANCED DVB-C,DVB-S STB DEMODAniruddh Tyagi
 
ADVANCED DVB-C,DVB-S STB DEMOD
ADVANCED DVB-C,DVB-S STB DEMODADVANCED DVB-C,DVB-S STB DEMOD
ADVANCED DVB-C,DVB-S STB DEMODaniruddh Tyagi
 
Qtractor - An Audio/MIDI multi-track sequencer
Qtractor - An Audio/MIDI multi-track sequencerQtractor - An Audio/MIDI multi-track sequencer
Qtractor - An Audio/MIDI multi-track sequencercodebits
 
Pu200 series
Pu200 seriesPu200 series
Pu200 seriescnokia
 

Ähnlich wie Architecture of tms320 f2812 (20)

Tms320F2812 Digital I/0
Tms320F2812 Digital I/0Tms320F2812 Digital I/0
Tms320F2812 Digital I/0
 
Introducing the ADSP BF609 Blackfin Processors
Introducing the ADSP BF609 Blackfin ProcessorsIntroducing the ADSP BF609 Blackfin Processors
Introducing the ADSP BF609 Blackfin Processors
 
Image Access by PrintLAT
Image Access by PrintLATImage Access by PrintLAT
Image Access by PrintLAT
 
Microchip's 16-bit and 32-bit PIC MCUs
Microchip's 16-bit and 32-bit PIC MCUsMicrochip's 16-bit and 32-bit PIC MCUs
Microchip's 16-bit and 32-bit PIC MCUs
 
Embedded Solutions 2010 : ARM-Cortex Based MCU's , by ARROW-ISRAEL
Embedded Solutions 2010 : ARM-Cortex Based MCU's , by ARROW-ISRAEL Embedded Solutions 2010 : ARM-Cortex Based MCU's , by ARROW-ISRAEL
Embedded Solutions 2010 : ARM-Cortex Based MCU's , by ARROW-ISRAEL
 
CAST BA22 32-bit Processor Design Seminar, 2/1/12
CAST BA22 32-bit Processor Design Seminar, 2/1/12CAST BA22 32-bit Processor Design Seminar, 2/1/12
CAST BA22 32-bit Processor Design Seminar, 2/1/12
 
Introduction to Vortex86DX2 Motion-Control Evaluation Board
Introduction to Vortex86DX2 Motion-Control Evaluation BoardIntroduction to Vortex86DX2 Motion-Control Evaluation Board
Introduction to Vortex86DX2 Motion-Control Evaluation Board
 
AMD PGA 452 Processor VIA KT333/ VT8233A-CE Chipset Winbond 8369 HF-VF LPC I/O
AMD PGA 452 Processor VIA KT333/ VT8233A-CE Chipset Winbond 8369 HF-VF LPC I/OAMD PGA 452 Processor VIA KT333/ VT8233A-CE Chipset Winbond 8369 HF-VF LPC I/O
AMD PGA 452 Processor VIA KT333/ VT8233A-CE Chipset Winbond 8369 HF-VF LPC I/O
 
Sears Point Racetrack
Sears Point RacetrackSears Point Racetrack
Sears Point Racetrack
 
Mpc5121 econfs
Mpc5121 econfsMpc5121 econfs
Mpc5121 econfs
 
หน่วยเรียนที่ 1
หน่วยเรียนที่ 1หน่วยเรียนที่ 1
หน่วยเรียนที่ 1
 
Arm 7 nxp
Arm 7 nxpArm 7 nxp
Arm 7 nxp
 
Tablet in 2012
Tablet in 2012Tablet in 2012
Tablet in 2012
 
ADVANCED DVB-C,DVB-S STB DEMOD
ADVANCED DVB-C,DVB-S STB DEMODADVANCED DVB-C,DVB-S STB DEMOD
ADVANCED DVB-C,DVB-S STB DEMOD
 
ADVANCED DVB-C,DVB-S STB DEMOD
ADVANCED DVB-C,DVB-S STB DEMODADVANCED DVB-C,DVB-S STB DEMOD
ADVANCED DVB-C,DVB-S STB DEMOD
 
ADVANCED DVB-C,DVB-S STB DEMOD
ADVANCED DVB-C,DVB-S STB DEMODADVANCED DVB-C,DVB-S STB DEMOD
ADVANCED DVB-C,DVB-S STB DEMOD
 
Qtractor - An Audio/MIDI multi-track sequencer
Qtractor - An Audio/MIDI multi-track sequencerQtractor - An Audio/MIDI multi-track sequencer
Qtractor - An Audio/MIDI multi-track sequencer
 
Uint3 vtu format
Uint3 vtu formatUint3 vtu format
Uint3 vtu format
 
Pu200 series
Pu200 seriesPu200 series
Pu200 series
 
Lesson 18
Lesson 18Lesson 18
Lesson 18
 

Mehr von Pantech ProLabs India Pvt Ltd

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

Mehr von Pantech ProLabs India Pvt Ltd (20)

Registration process
Registration processRegistration process
Registration process
 
Choosing the right processor for embedded system design
Choosing the right processor for embedded system designChoosing the right processor for embedded system design
Choosing the right processor for embedded system design
 
Brain Computer Interface
Brain Computer InterfaceBrain Computer Interface
Brain Computer Interface
 
Electric Vehicle Design using Matlab
Electric Vehicle Design using MatlabElectric Vehicle Design using Matlab
Electric Vehicle Design using Matlab
 
Image processing application
Image processing applicationImage processing application
Image processing application
 
Internet of Things using Raspberry Pi
Internet of Things using Raspberry PiInternet of Things using Raspberry Pi
Internet of Things using Raspberry Pi
 
Internet of Things Using Arduino
Internet of Things Using ArduinoInternet of Things Using Arduino
Internet of Things Using Arduino
 
Brain controlled robot
Brain controlled robotBrain controlled robot
Brain controlled robot
 
Brain Computer Interface-Webinar
Brain Computer Interface-WebinarBrain Computer Interface-Webinar
Brain Computer Interface-Webinar
 
Development of Deep Learning Architecture
Development of Deep Learning ArchitectureDevelopment of Deep Learning Architecture
Development of Deep Learning Architecture
 
Future of AI
Future of AIFuture of AI
Future of AI
 
Gate driver design and inductance fabrication
Gate driver design and inductance fabricationGate driver design and inductance fabrication
Gate driver design and inductance fabrication
 
Brainsense -Brain computer Interface
Brainsense -Brain computer InterfaceBrainsense -Brain computer Interface
Brainsense -Brain computer Interface
 
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
 

Kürzlich hochgeladen

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
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
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
 
TEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxTEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxruthvilladarez
 
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
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
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
 
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.
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
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
 
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
 
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
 

Kürzlich hochgeladen (20)

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...
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
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
 
TEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docxTEACHER REFLECTION FORM (NEW SET........).docx
TEACHER REFLECTION FORM (NEW SET........).docx
 
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
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
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
 
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...
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
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
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
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
 
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
 
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
 

Architecture of tms320 f2812

  • 1. Chapter 1 : Architecture Digital Signal Controller TMS320F2812 Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 2. C281x Block Diagram Program Bus Event Event Manager A Manager A Event Event Boot Boot Manager B Manager B Sectored Sectored ROM ROM RAM RAM Flash Flash 22 12-bit ADC 12-bit ADC A(18-0) 32 Watchdog Watchdog 32 D(15-0) 32 McBSP McBSP PIE 32-bit R-M-W R-M-W Interrupt CAN2.0B 32-bit 32x32 bit 32x32 bit Atomic CAN2.0B Auxiliary Auxiliary Atomic Manager Registers Multiplier Multiplier ALU Registers ALU SCI-A SCI-A 33 32 bit SCI-B SCI-B Realtime 32 bit Realtime Register Bus Timers Timers JTAG JTAG SPI SPI CPU Data Bus GPIO GPIO Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 3.  MCU/DSP balancing code density C28x CPU & execution time.  Supports 32-bit instructions for Program Bus improved execution time;  Supports 16-bit instructions for improved code efficiency  32-bit fixed-point DSP PIE  32 x 32 bit fixed-point MAC 32-bit 32-bit R-M-W R-M-W Interrupt 32x32 bit 32x32 bit Atomic  Dual 16 x 16 single-cycle fixed-point Auxiliary Auxiliary Multiplier Atomic Manager Registers Multiplier ALU MAC (DMAC) Registers ALU 33  32-/64-bit saturation 32 bit  64/32 and 32/32 modulus division 32 bit Register Bus Timers Timers  Fast interrupt service time Realtime Realtime  Single cycle read-modify-write JTAG CPU JTAG instructions  Unique real-time debugging Data Bus capabilities  Upward code compatibility Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 4. C28x Multiplier and ALU / Shifters Program Bus 32 Data Bus XT (32) or T/TL 16/32 16 8/16/32 MULTIPLIER 32 32 x 32 or Shift R/L (0-16) Dual 16 x 16 P (32) or PH/PL 8/16 32 32 32 32 Shift R/L (0-16) 32 ALU (32) 32 ACC (32) AH (16) AL (16) AH.MSB AH.LSB AL.MSB AL.LSB • 32 Shift R/L (0-16) 32 Data Bus Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 5. C28x Pointer, DP and Memory Data Bus Program Bus 6 LSB from IR XAR0 DP (16) XAR1 XAR2 XAR3 32 22 XAR4 MUX XAR5 XAR6 XAR7 MUX ARAU Data Memory XARn → 32-bits ARn → 16-bits Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 6. C28x Internal Bus Structure Program Program Address Bus (22) PC Program Program-read Data Bus (32) Decoder (4M* 16) Data-read Address Bus (32) Data-read Data Bus (32) Data (4G * 16) Registers Execution Debug ARAU MPY32x32 Memory Real-Time SP R-M-W Emulation ALU DP @X Atomic & XT JTAG XAR0 ALU Test Standard to P ACC Engine Peripherals XAR7 Register Bus / Result Bus External Interfaces Data/Program-write Data Bus (32) Data-write Address Bus (32) Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 7. C28x Atomic Read/Modify/Write Atomic Instructions Benefits: LOAD Simpler programming READ Smaller, faster code Registers CPU ALU / MPY Mem WRITE Uninterruptible (Atomic) STORE More efficient compiler Standard Load/Store Atomic Read/Modify/Write DINT AND *XAR2,#1234h MOV AL,*XAR2 AND AL,#1234h 2 words / 1 cycles MOV *XAR2,AL EINT 6 words / 6 cycles Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 8. C28x Pipeline F F D D R R X A 1 2 1 2 1 2 W 8-stage pipeline B F1 F2 D1 D2 R1 R2 X W C F1 F2 D1 D2 R1 R2 X W F1 F2 D1 D2 R1 R2 X W E & G Access D E F1 F2 D1 D2 R1 R2 X W same address F F1 F2 D1 D2 R1 R2 X W G F1 F2 D1 D2 R1 1 R2 X 2 X W R R W H F1 F2 D1 D2 2 R1 R2 1 X 2 X W D R R W F1: Instruction Address F2: Instruction Content Protected Pipeline D1: Decode Instruction  Order of results are as written in source D2: Resolve Operand Addr R1: Operand Address code R2: Get Operand  Programmer need not worry about the X: CPU doing “real” work W: store content to memory pipeline Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 9. TMS320F2812 Memory Map Data | Program Data | Program 0x00 0000 MO SARAM (1K) 0x00 0400 M1 SARAM (1K) 0x00 0800 PF 0 (2K) reserved reserved 0x00 0D00 PIE vector (256) ENPIE=1 reserved XINT Zone 0 (8K) 0x00 2000 0x00 1000 reserved 0x00 6000 PF 2 (4K) reserved XINT Zone 1 (8K) 0x00 4000 0x00 7000 PF 1 (4K) reserved 0x00 8000 LO SARAM (4K) reserved 0x00 9000 L1 SARAM (4K) XINT Zone 2 (0.5M) 0x08 0000 0x00 A000 reserved XINT Zone 6 (0.5M) 0x10 0000 0x3D 7800 OTP (1K) 0x3D 7C00 reserved 0x18 0000 0x3D 8000 FLASH (128K) reserved 128-Bit Password 0x3F 8000 HO SARAM (8K) 0x3F A000 reserved XINT Zone 7 (16K) Boot ROM (4K) MP/MC=1 0x3F C000 0x3F F000 MP/MC=0 BROM vector (32) XINT Vector-RAM (32) CSM: LO, L1 0x3F FFC0 MP/MC=0 ENPIE=0 MP/MC=1 ENPIE=0 OTP, FLASH Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 10. Code Security Module • Prevents reverse engineering and protects valuable intellectual property 0x00 8000 LO SARAM (4K) 0x00 9000 L1 SARAM (4K) 0x00 A000 reserved 0x3D 7800 OTP (1K) 0x3D 7C00 reserved 0x3D 8000 FLASH (128K) 128-Bit Password • 128-bit user defined password is stored in Flash • 128-bits = 2128 = 3.4 x 1038 possible passwords • To try 1 password every 2 cycles at 150 MHz, it would take at least 1.4 x 1023 years to try all possible combinations! Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 11. C28x Fast Interrupt Response Manager  96 dedicated PIE vectors  No software decision making required  Direct access to RAM PIE module For 28x CPU Interrupt logic 96 interrupts vectors  Auto flags update INT1 to INT12 28x  Concurrent auto context IFR IER INTM CPU 96 12 interrupts save PIE Register Map Auto Context Save T ST0 69 = 8x21 st purr et nI l ar e hp r e P AH AL i PH PL AR1 (L) AR0 (L) DP ST1 DBSTAT IER PC(msw) PC(lsw) Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 12. C28x / C24x Modes Mode Type Mode Bits Compiler OBJMODE AMODE Option C24x Mode 1 1 -v28 -m20 C28x Mode 1 0 -v28 Test Mode (default) 0 0 -v27 Reserved 0 1  C24x source-compatible mode:  Allows you to run C24x source code which has been reassembled using the C28x code generation tools (need new vectors)  C28x mode:  Can take advantage of all the C28x native features Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 13. Reset – Bootloader Reset OBJMODE=0 AMODE=0 ENPIE=0 VMAP=1 Bootloader sets XMPNMC=0 OBJMODE = 1 (microcomputer mode) AMODE = 0 Reset vector fetched from Boot determined by boot ROM state of GPIO pins 0x3F FFC0 Execution Entry Point H0 SARAM Note: Details of the various boot options will be discussed in the Reset and Interrupts module Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt
  • 14. Summary • High performance 32-bit DSP • 32 x 32 bit or dual 16 x 16 bit MAC • Atomic read-modify-write instructions • 8-stage fully protected pipeline • Fast interrupt response manager • 128Kw on-chip flash memory • Code security module (CSM) • Two event managers • 12-bit ADC module • 56 shared GPIO pins • Watchdog timer • Communications peripherals Technology beyond the Dreams™ Copyright © 2006 Pantech Solutions Pvt

Hinweis der Redaktion

  1. This is a top level architecture of the C28x. The instruction set example is used to introduce the architecture. Use the animation to tell the story. Here is an example how I would teach this slide: The C28x was design to address the need of an effective uni-processor architecture that supports the needs describe in previous slides before. There are 4 major block to the architecture: Program block, Register block, Execution block, and Test & Emulation block. To introduce the data flow we shall take examples from the instruction set. click - ADD: Here we show a stack relative addressing as a single source operand instruction with the Accumulator as the destination. As the students leading question as you introduce the architecture flow. Here is an example how I may use to teach: -Q: How does the processor get this instruction? -A: Instruction fetch …, -Q: The instruction address is generate by...? -A: Program Counter …; -click: now talk about the animated flow. Instruction is fetch from the memory and interpreted by the decoder (some processor call this the Instruction Register IR). This is the brain of the processor which generates all the control signals through out the processor based on the instructions coming in. -Q: After the instruction is decoded what does the CPU needs to get? -A: Data operand …; -click: There are several addressing methods which the programmers can specified for the CPU to use: stack relative, indirect, direct, immediate, and register addressing jut to name a few. We sill cover the addressing modes in details later. -click: what is important is the data flow comes back to the processor, the programmer can also specified the destination either to the register block or the execution block. Although this is a Harvard architecture, the C environment see memory as a unified memory space with “functions and variables”. The Harvard architecture helps improve in performance. The large address space allow different physical spaces to map as a single unified logical space. (Instructor note: void using references to Program memory and Data memory in the traditional TI DSP. This helps us and the students to think easier in the C environment. -click: The CPU also supports single cycle dual operand instruction. This requires 2 operands read simultaneously. The processor make use of the program and data buses to archive the high throughput. We will cover more in a later chapter. Internally the data flow back in forth between the Execution and Register blocks using the Register Bus. This tightly couple register block with execution block allow the C28x to be more flexible than the traditional DSP architecture. The multiple on chip buses allow the C28x to be superior than the traditional CISC and RISC architectures. -click: The C28x also supports various atomic instructions which enable this processor to run a multitask OS efficiently in an embedded environment. -click: In a complex embedded environment, real time debugging is becoming more important. The C28x is designed with hardware debugging capability built in. This debugger block non intrusively query all internal bus activities and selectively reports the CPU status via the JTAG interface. Instructors note: This is an example how we can make use of questioning techniques to teach this slide. Hopefully this example would trigger how you could develop your method to teach this slide as well as all the slides the workshop.
  2. The slide’s purpose is to re-iterate the C28x flexibility architecture which supports the flexibility in the instruction set. It also high light the compact code using the C28x Atomic type instructions.
  3. Show the C28x pipe is deeper by breaking into smaller stages. Show how these smaller stages helps speed up the processor throughput. Then show how the protected pipe automatically resolve pipeline conflict. This is how I may teach this slide: -click: -Q: What phase in the pipeline does the CPU doing the intended work? -A: The “real” intended work done by CPU is in the execution phase. This is when the data flows through the execution “math” channel. Its limitation is the speed of light, how fast can electrons charged move through the silicon. The speed of light is the upper limit that the CPU throughput can archive. The memory devices are slower than the CPU execution speed. Thus the faster the architecture can constantly provide data to the execution phase, the faster the throughput, hence the faster the device. -click: Looking at the C28x pipeline, all the F, D, R phases are overhead - what it takes to get the data to the execution phase. If one of these phases is slow, the CPU throughput is limited by the slowest pipeline phase. Breaking these phases into smaller function allows them to keep up with the execution phase speed. Thus improve the pipeline efficiency. -Q: what happen to write phase? Which hardware resources does write phase uses? -A: write data bus: -click: In general most write are hidden from the pipeline delay as long as there is no immediate read from the written address. Write hold off until there is a free cycle in the operand memory read phase. This is when there is an instruction operates on only registers. Data memory bus is free to perform a write. Multiple write can be queue up in a 3 deep FIFO. -click: -Q: what happen when read to the same address of a queue up write? -A: Pipeline automatically stalled so the operand order are preserved. -click: The main point in the pipeline stall is the software does not need to manage the pipeline. A protected pipeline make ease of programming use, debugging, and maintaining.
  4. We make claim that this enable faster interrupt response. We want to introduce this notion in chapter 1. Rather than making claim with out reasoning to back up the claim, I have decide to show some technical detail on mechanism that supports this claim. Here is how I would teach this slide: We will have a chapter dedicated to understanding the interrupts structure. The intention of this slide is to give you a quick glimpse into what is available that supports a faster interrupt response. -Q: When you get an interrupt, how quickly do you want to response? How much jitter, and how much response delayed can you tolerate? -A: It depends on what kind of interrupt. -click: The CPU supports 256 vector locations allowing multiple interrupts vectors to be directly services without a software look up table. The intention is to allow quickly service the interrupts without software overhead and time delay via branch instructions. -Q: When the interrupt is serviced, software or hardware manages the flags and context saved & restored? Can these be done with no performance degradation? -A: …. -click: Along with minimizing software overhead, the CPU also automatically manages the flags and context saved while the interrupt ISR instruction filling up the pipeline. We will go into the interrupt structure and its hardware assisted support in a later chapter.
  5. 1.1.1 Compatibility with other Fixed-Point TMS320 Cores: The C28x DSP features compatibility modes that minimize the migration effort from the C27x and C2xLP cores. The operating mode of the device is determined by a combination of the OBJMODE and AMODE bits in status register 1 (ST1) as shown in Table 1-1. The OBJMODE bit allows you to select between code compiled for a C28x (OBJMODE == 1) and code compiled for a C27x (OBJMODE == 0). The AMODE bit allows you to select between C28x/C27x instruction addressing modes (AMODE == 0) and C2xLP compatible instruction addressing modes (AMODE == 1). OBJMODE AMODE C28x Mode 1 0 C2xLP Source-Compatible Mode 1 1 C27x Object-Compatible Mode+ 0 0 + The C28x is in C27x compatible mode at reset. * C28x Mode: In C28x mode you can take advantage of all the C28x native features, addressing modes and instructions. To operate in C28x mode from reset, your code must first set the OBJMODE bit by using the "C28OBJ" (or "SETC OBJMODE") instruction. This book assumes you are operating in C28x mode unless stated otherwise. * C2xLP Source-Compatible Mode: C2xLP source-compatible mode allows you to run C2xLP source code which has been reassembled using the C28x code generation tools. For more information on operating in this mode and migration from a C2xLP core, refer to Appendices C, D and E. * C27x Object-Compatible Mode: At reset, the C28x core operates in C27x object-compatible mode. In this mode, the C28x is 100% object-code and cycle-count compatible with the C27x core. For detailed information on operating in C27x object-compatible mode and migrating from the C27x, see Appendix F. 1.1.2 Switching to C28x Mode From Reset At reset, the C28x core is in C27x Object-Compatible Mode (OBJMODE == 0, AMODE == 0) and is 100% compatible with the C27x core. To take advantage of the enhanced C28x instruction set, you must instead operate the device in C28x mode. To do this, after a reset your code must first set the OBJMODE bit in ST1 by using the "C28OBJ" (or "SETC OBJMODE") instruction.