1 - 1 Digital Signal Controller TMS320F2812 Module 1 : Architecture.

Slides:



Advertisements
Similar presentations
Cortex-M3 Implementation Overview. Chapter 6 in the reference book.
Advertisements

Microprocessors A Beginning.
1 (Review of Prerequisite Material). Processes are an abstraction of the operation of computers. So, to understand operating systems, one must have a.
Computer Organization and Architecture
EEE226 MICROPROCESSORBY DR. ZAINI ABDUL HALIM School of Electrical & Electronic Engineering USM.
Processor System Architecture
MICRO PROCESSER The micro processer is a multipurpose programmable, clock driven, register based, electronic integrated device that has computing and decision.
Texas Instruments Incorporated Module 13 : C28x BOOT – ROM 32-Bit-Digital Signal Controller TMS320F2812.
Chapter 12 CPU Structure and Function. CPU Sequence Fetch instructions Interpret instructions Fetch data Process data Write data.
Computer Organization and Architecture
Computer Organization and Architecture
Embedded Systems Programming
1 Hardware and Software Architecture Chapter 2 n The Intel Processor Architecture n History of PC Memory Usage (Real Mode)
Introduction to ARM Architecture, Programmer’s Model and Assembler Embedded Systems Programming.
Technion – Israel Institute of Technology Department of Electrical Engineering High Speed Digital Systems Lab Mid-Term Presentation Performed by: Roni.
Unit-1 PREPARED BY: PROF. HARISH I RATHOD COMPUTER ENGINEERING DEPARTMENT GUJARAT POWER ENGINEERING & RESEARCH INSTITUTE Advance Processor.
Prardiva Mangilipally
Microcontroller based system design
Chapter 17 Microprocessor Fundamentals William Kleitz Digital Electronics with VHDL, Quartus® II Version Copyright ©2006 by Pearson Education, Inc. Upper.
CH12 CPU Structure and Function
The 8051 Microcontroller architecture
The domestic refrigerator-An example A car door mechanism.
Ehsan Shams Saeed Sharifi Tehrani. What is DSP ? Digital Signal Processing (DSP) is used in a wide variety of applications, and it is hard to find a good.
Atmega32 Architectural Overview
Arduino Josh Villbrandt February 4, Digital Circuits Analog versus digital – What’s the difference? – How to represent an analog signal in a computer?
LPC2148 Programming Using BLUEBOARD
© 2009, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose:  This course provides an overview of the SH-2 32-bit RISC.
Introduction of Intel Processors
Microcontroller Presented by Hasnain Heickal (07), Sabbir Ahmed(08) and Zakia Afroze Abedin(19)
CPU Design. Introduction – The CPU must perform three main tasks: Communication with memory – Fetching Instructions – Fetching and storing data Interpretation.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This training course provides an overview of the CPU architecture.
What is µP? “An integrated circuit containing … a central processing unit (CPU) and a means to access external memory” -- (Ball 2000)
Texas Instruments Incorporated Module 10 : Flash Programming C28x 32-Bit-Digital Signal Controller TMS320F2812.
Bit-Digital Signal Controller TMS320F2812 Texas Instruments Incorporated Module 3: F28x –Digital I/O.
Computer Structure & Architecture 7b - CPU & Buses.
Different Microprocessors Tamanna Haque Nipa Lecturer Dept. of Computer Science Stamford University Bangladesh.
DIGITAL SIGNAL PROCESSORS. Von Neumann Architecture Computers to be programmed by codes residing in memory. Single Memory to store data and program.
32-Bit-Digital Signal Controller Texas Instruments Incorporated
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose:  This course provides an overview of the Direct Memory.
4 - 1 Texas Instruments Incorporated European Customer Training Center University of Applied Sciences Zwickau (FH) Module 4 : Interrupt System C28x 32-Bit-Digital.
DSP Architectures Additional Slides Professor S. Srinivasan Electrical Engineering Department I.I.T.-Madras, Chennai –
Processor Structure and Function Chapter8:. CPU Structure  CPU must:  Fetch instructions –Read instruction from memory  Interpret instructions –Instruction.
System Hardware FPU – Floating Point Unit –Handles floating point and extended integer calculations 8284/82C284 Clock Generator (clock) –Synchronizes the.
DSP C5000 Chapter 10 Understanding and Programming the Host Port Interface (EHPI) Copyright © 2003 Texas Instruments. All rights reserved.
Execution Architecture MTT CPU08 Core M CPU08 INTRODUCTION.
Different Microprocessors Tamanna Haque Nipa Lecturer Dept. of Computer Science Stamford University Bangladesh.
PART 4: (1/2) Central Processing Unit (CPU) Basics CHAPTER 12: P ROCESSOR S TRUCTURE AND F UNCTION.
MODULE 5 INTEL TODAY WE ARE GOING TO DISCUSS ABOUT, FEATURES OF 8086 LOGICAL PIN DIAGRAM INTERNAL ARCHITECTURE REGISTERS AND FLAGS OPERATING MODES.
1 Basic Processor Architecture. 2 Building Blocks of Processor Systems CPU.
Capability of processor determine the capability of the computer system. Therefore, processor is the key element or heart of a computer system. Other.
Chapter Microcontroller
Chapter 20 Computer Operations Computer Studies Today Chapter 20.
HJD Institute of Technical Education & Research- Kera(Kutch) The 8051 Microcontroller architecture PREPARED BY: RAYMA SOHIL( )
BASIC COMPUTER ARCHITECTURE HOW COMPUTER SYSTEMS WORK.
ARM7 TDMI INTRODUCTION.
Chapter 12 Processor Structure and Function. Central Processing Unit CPU architecture, Register organization, Instruction formats and addressing modes(Intel.
8085 Microprocessor Architecture
Atmega32 Architectural Overview
Interrupts and signals
Subject Name: Digital Signal Processing Algorithms & Architecture
DSP56800E System Architecture
전자의료시스템 및 실습 System Configuration/Interrupt
UNIT - VIII. DSP Introduction Digital Signal Processing: ◦ Application of mathematical operations to digitally represented signals Signals represented.
Digital Signal Processors-1
The ARM Instruction Set
ARM Introduction.
CPU Structure and Function
Presentation transcript:

1 - 1 Digital Signal Controller TMS320F2812 Module 1 : Architecture

1 - 2 C281x Block Diagram 32x32 bit Multiplier Multiplier SectoredFlashSectoredFlash A(18-0) D(15-0) Program Bus Data Bus RAMRAMBootROMBootROM bitAuxiliaryRegisters32-bitAuxiliaryRegisters 3 32 bit Timers3 Timers RealtimeJTAGRealtimeJTAG CPU Register Bus R-M-WAtomicALUR-M-WAtomicALU PIE Interrupt Manager Event Manager A Event Event Manager B Event 12-bit ADC WatchdogWatchdog McBSPMcBSP CAN2.0BCAN2.0B SCI-ASCI-A SCI-BSCI-B SPISPI GPIOGPIO

1 - 3 C28x CPU  32-bit fixed-point DSP  32 x 32 bit fixed-point MAC  Dual 16 x 16 single-cycle fixed- point MAC (DMAC)  32-/64-bit saturation  64/32 and 32/32 modulus division  Fast interrupt service time  Single cycle read-modify-write instructions  Unique real-time debugging capabilities  Upward code compatibility Data Bus 32-bitAuxiliaryRegisters32-bitAuxiliaryRegisters 3 32 bit Timers3 Timers RealtimeJTAGRealtimeJTAG CPU Register Bus R-M-WAtomicALUR-M-WAtomicALU Program Bus  MCU/DSP balancing code density & execution time.  Supports 32-bit instructions for improved execution time;  Supports 16-bit instructions for improved code efficiency PIE Interrupt Manager 32x32 bit Multiplier Multiplier

1 - 4 XT (32) or T/TL MULTIPLIER 32 x 32 or Dual 16 x 16 P (32) or PH/PL AH (16) C28x Multiplier and ALU / Shifters Data Bus Program Bus ALU (32) AL (16) /32 8/16 Shift R/L (0-16) ACC (32) AH.MSB AH.LSB AL.MSB AL.LSB 32 Shift R/L (0-16) /16/32

1 - 5 C28x Pointer, DP and Memory XAR0XAR1XAR2XAR3XAR4XAR5XAR6XAR7 ARAUMUX Data Memory MUX DP (16) Data Bus Program Bus 6 LSB from IR XARn  32-bits ARn  16-bits 22 32

1 - 6 C28x Internal Bus Structure Data-write Address Bus (32) Program Address Bus (22) Execution R-M-WAtomicALU Real-TimeEmulation&TestEngine Program-read Data Bus (32) JTAG Program Decoder PC XAR0toXAR7 SP ARAU MPY32x32 XT P ACC ALU Registers Debug Register Bus / Result Bus Data/Program-write Data Bus (32) Data-read Address Bus (32) Data-read Data Bus (32) Memory Data (4G * 16) Program (4M* 16) StandardPeripheralsExternalInterfaces

1 - 7 C28x Atomic Read/Modify/Write Registers ALU / MPY LOAD STORE WRITE READ CPU Mem  Atomic Instructions Benefits:  Simpler programming  Smaller, faster code  Uninterruptible (Atomic)  More efficient compiler AND *XAR2,#1234h 2 words / 1 cycles Atomic Read/Modify/Write MOVAL,*XAR2 ANDAL,#1234h MOV*XAR2,AL DINT EINT 6 words / 6 cycles Standard Load/Store

1 - 8 F 1 F 2 D 1 D 2 R 1 R 2 X C28x Pipeline Protected Pipeline  Order of results are as written in source code  Programmer need not worry about the pipeline 8-stage pipeline F 1 F 2 D 1 D 2 R 1 R 2 X ABC DEFG W W W W W W W W E & G Access same address R 1 R 2 X W D 2 R 1 R 2 X W F1: Instruction Address F2: Instruction Content D1: Decode Instruction D2: Resolve Operand Addr R1: Operand Address R2: Get Operand X: CPU doing “real” work W: store content to memory H

1 - 9 TMS320F2812 Memory Map MO SARAM (1K) M1 SARAM (1K) LO SARAM (4K) L1 SARAM (4K) HO SARAM (8K) Boot ROM (4K) MP/MC=0 BROM vector (32) MP/MC=0 ENPIE=0 OTP (1K) FLASH (128K) reserved PF 0 (2K) reserved PF 1 (4K) reserved PF 2 (4K) reserved PIE vector (256)ENPIE=1 XINT Zone 0 (8K) XINT Zone 1 (8K) XINT Zone 2 (0.5M) XINT Zone 6 (0.5M) XINT Zone 7 (16K) MP/MC=1 XINT Vector-RAM (32) MP/MC=1 ENPIE=0 reserved Data | Program 0x x x x00 0D00 0x x x x x x00 A000 0x3D x3D x3F x3F A000 0x3F F000 0x3F FFC0 0x3F C000 0x x x x x Data | Program 128-Bit Password CSM: LO, L1 OTP, FLASH reserved 0x3D 7C00

Code Security Module  Prevents reverse engineering and protects valuable intellectual property  128-bit user defined password is stored in Flash  128-bits = = 3.4 x possible passwords  To try 1 password every 2 cycles at 150 MHz, it would take at least 1.4 x years to try all possible combinations! LO SARAM (4K) L1 SARAM (4K) OTP (1K) FLASH (128K) reserved 0x x x00 A000 0x3D x3D Bit Password reserved 0x3D 7C00

C28x Fast Interrupt Response Manager  96 dedicated PIE vectors  No software decision making required  Direct access to RAM vectors  Auto flags update  Concurrent auto context save 28x CPU Interrupt logic 28xCPU INTM IFRIER 96 Peripheral Interrupts 12x8 = interrupts INT1 to INT12 PIERegisterMap PIE module For 96 interrupts TST0 AHAL PHPL AR1 (L)AR0 (L) DPST1 DBSTATIER PC(msw)PC(lsw) Auto Context Save

C28x / C24x Modes C24x Mode 1 1 C28x Mode 1 0 Test Mode (default) 0 0 Reserved 0 1 OBJMODE AMODE Mode Bits Compiler Option Mode Type  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 -v28 -v28 -m20 -v27

Reset – Bootloader Reset OBJMODE=0 AMODE=0 ENPIE=0 VMAP=1 Boot determined by state of GPIO pins Reset vector fetched from boot ROM 0x3F FFC0 XMPNMC=0 (microcomputer mode) Execution Execution Entry Point H0 SARAM Note: Details of the various boot options will be discussed in the Reset and Interrupts module Bootloader sets OBJMODE = 1 AMODE = 0

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