Texas Instruments TMS320DM643x Bedienungsanleitung

Stöbern Sie online oder laden Sie Bedienungsanleitung nach Nein Texas Instruments TMS320DM643x herunter. Texas Instruments TMS320DM643x User's Manual Benutzerhandbuch

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 98
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 0
TMS320DM643x DMP
DSP Subsystem
Reference Guide
Literature Number: SPRU978E
March 2008
Seitenansicht 0
1 2 3 4 5 6 ... 97 98

Inhaltsverzeichnis

Seite 1 - Reference Guide

TMS320DM643x DMPDSP SubsystemReference GuideLiterature Number: SPRU978EMarch 2008

Seite 2 - 2 SPRU978E – March 2008

TMS320C6000, C6000 are trademarks of Texas Instruments.Read This First10 SPRU978E – March 2008Submit Documentation Feedback

Seite 3 - Contents

Chapter 1SPRU978E – March 2008IntroductionTopic ... Pag

Seite 4

www.ti.com1.1 Introduction1.2 Block DiagramJTAG InterfaceSystem ControlPLLs/Clock GeneratorInputClock(s)Power/Sleep ControllerPin MultiplexingDSP Subs

Seite 5

www.ti.com1.3 DSP Subsystem in TMS320DM643x DMP1.3.1 Components of the DSP SubsystemDSP Subsystem in TMS320DM643x DMPIn the DM643x DMP, the DSP subsys

Seite 6

Introduction 14 SPRU978E – March 2008Submit Documentation Feedback

Seite 7

Chapter 2SPRU978E – March 2008TMS320C64x+ MegamoduleTopic ...

Seite 8

www.ti.com2.1 Introduction2.2 TMS320C64x+ CPUIntroductionThe C64x+ Megamodule (Figure 2-1 ) consists of the following components:• TMS320C64x+ CPU• In

Seite 9 - Read This First

www.ti.comCache controlMemory protectBandwidth mgmtL1PRAM/cache256Bandwidth mgmtMemory protectCache control256L2256RAM/CacheROM256Instruction fetchfil

Seite 10 - Submit Documentation Feedback

www.ti.com2.3 Memory Controllers2.3.1 L1P ControllerMemory ControllersThe C64x+ Megamodule implements a two-level internal cache-based memory architec

Seite 11 - Introduction

www.ti.comC64x+ CPUFetch Path Data PathWriteBufferL1DCacheL1DSRAML1 DataL1PCacheL1PSRAML1 ProgramL2 CacheL2 SRAML2 Unified Data/Program MemoryExternal

Seite 12 - 1.2 Block Diagram

2 SPRU978E – March 2008Submit Documentation Feedback

Seite 13

www.ti.com2.3.2 L1D Controller2.3.3 L2 ControllerMemory ControllersThe L1D controller is the hardware interface between level 1 data memory (L1D memor

Seite 14

www.ti.com2.3.4 External Memory Controller (EMC)2.3.5 Internal DMA (IDMA)Memory ControllersThe external memory controller (EMC) is the hardware interf

Seite 15 - TMS320C64x+ Megamodule

www.ti.com2.4 Internal Peripherals2.4.1 Interrupt Controller (INTC)2.4.2 Power-Down Controller (PDC)Internal PeripheralsThis C64x+ Megamodule includes

Seite 16 - 2.2 TMS320C64x+ CPU

www.ti.com2.4.3 Bandwidth ManagerInternal PeripheralsThe bandwidth manager provides a programmable interface for optimizing bandwidth among therequest

Seite 17 - TMS320C64x+ CPU

TMS320C64x+ Megamodule24 SPRU978E – March 2008Submit Documentation Feedback

Seite 18 - 2.3.1 L1P Controller

Chapter 3SPRU978E – March 2008System MemoryTopic ... Pa

Seite 19 - Memory Controllers

www.ti.com3.1 Memory Map3.1.1 DSP Internal Memory (L1P, L1D, L2)3.1.2 External Memory3.1.3 Internal Peripherals3.1.4 Device PeripheralsMemory MapRefer

Seite 20 - 2.3.3 L2 Controller

www.ti.com3.2 Memory Interfaces Overview3.2.1 DDR2 External Memory Interface3.2.2 External Memory Interface3.2.2.1 Asynchronous EMIF Interface3.2.2.2

Seite 21 - 2.3.5 Internal DMA (IDMA)

System Memory28 SPRU978E – March 2008Submit Documentation Feedback

Seite 22 - 2.4 Internal Peripherals

Chapter 4SPRU978E – March 2008Device ClockingTopic ...

Seite 23 - 2.4.3 Bandwidth Manager

ContentsPreface ... 91 Int

Seite 24

www.ti.com4.1 Overview4.2 Clock Domains4.2.1 Core DomainsOverviewThe DM643x DMP requires one primary reference clock. The primary reference clock can

Seite 25 - System Memory

www.ti.comDSP SubsystemSYSCLK1SYSCLK3SCREDMAVPFEVPBEDACsDDR2 PHYDDR2 VTPDDR2 MemorycontrollerPLLDIV2 (/10)PLLDIV1 (/2)BPDIVPLL Controller 2PLL Control

Seite 26 - 3.1.4 Device Peripherals

www.ti.com4.2.2 Core Frequency FlexibilityClock DomainsThe core frequency domain clocks are supplied by the PLL controller 1 (PLLC1). These domain clo

Seite 27 - Memory Interfaces Overview

www.ti.com4.2.3 DDR2/EMIF ClockClock DomainsThe DDR2 interface has a dedicated clock driven from PLL2. This is a separate clock system from thePLL1 cl

Seite 28

www.ti.com4.2.4 I/O DomainsClock DomainsThe I/O domains refer to the frequencies of the peripherals that communicate through device pins. Inmany cases

Seite 29 - Device Clocking

www.ti.com4.2.5 Video Processing Back End3201012PLLDIV2CLK54PLL2DDR_CLKx2PCLKVPBECLKMXICLK_VENCCLK_DAC10venc_sclk_encCG OSDVENCDACsvenc_div2venc_sclk_

Seite 30 - 4.2.1 Core Domains

www.ti.comClock DomainsTable 4-6. Possible Clocking ModesVPSS_CLKCTL.MUXSEL Bit Clocking Mode Description0 MXI mode Both the VENC and the DAC get thei

Seite 31 - Clock Domains

Chapter 5SPRU978E – March 2008PLL ControllerTopic ... P

Seite 32

www.ti.com5.1 PLL Module5.2 PLL1 ControlPLL ModuleThe DM643x DMP has two PLLs (PLL1 and PLL2) that provide clocks to different parts of the system.PLL

Seite 33 - 4.2.3 DDR2/EMIF Clock

www.ti.comPLLDIV1(/1)PLLDIV3(/6)PLLDIV2(/3)SYSCLK1(CLKDIV1Domain)SYSCLK3(CLKDIV6Domain)SYSCLK2(CLKDIV3Domain)10PLLMPLL01BPDIVCLKMODECLKINOSCINPL

Seite 34 - 4.2.4 I/O Domains

5.3.2 Steps for Changing PLL2 Frequency ... 445.4 PLL Controller Registers ...

Seite 35

www.ti.com5.2.2.1 Initialization to PLL Mode from PLL Power DownPLL1 ControlIf the PLL is powered down (PLLPWRDN bit in PLLCTL is set to 1), you must

Seite 36

www.ti.com5.2.2.2 Changing PLL MultiplierPLL1 ControlIf the PLL is not powered down (PLLPWRDN bit in PLLCTL is cleared to 0) and the PLL stabilization

Seite 37 - PLL Controller

www.ti.com5.2.2.3 Changing SYSCLK DividersPLL1 ControlThis section discusses the software sequence to change the SYSCLK dividers. The SYSCLK dividerch

Seite 38 - 5.2 PLL1 Control

www.ti.com5.3 PLL2 ControlPLLDIV2 (/10)PLLDIV1 (/2)10PLLMPLL01BPDIVCLKMODECLKINOSCINPLLENPLL2_SYSCLK2(VPSS−VPBE)PLL2_SYSCLK1(DDR2 PHY)PLL2_SYSCLKBP(DD

Seite 39 - 5.2.1 Device Clock Generation

www.ti.com5.3.2 Steps for Changing PLL2 Frequency5.3.2.1 DDR2 Considerations When Modifying PLL2 Frequency5.3.2.1.1 PLL2 Frequency Change Steps When D

Seite 40 - PLL1 Control

www.ti.com5.3.2.2 Initialization to PLL Mode from PLL Power DownPLL2 ControlIf the PLL is powered down (PLLPWRDN bit in PLLCTL is set to 1), you must

Seite 41

www.ti.com5.3.2.3 Changing PLL MultiplierPLL2 ControlIf the PLL is not powered down (PLLPWRDN bit in PLLCTL is cleared to 0) and the PLL stabilization

Seite 42

www.ti.com5.3.2.4 Changing SYSCLK DividersPLL2 ControlThis section discusses the software sequence to change the SYSCLK dividers. The SYSCLK dividerch

Seite 43 - 5.3.1 Device Clock Generation

www.ti.com5.4 PLL Controller RegistersPLL Controller RegistersTable 5-3 lists the base address and end address for the PLL controllers. Table 5-4 list

Seite 44 - PLL2 Control

www.ti.com5.4.1 Peripheral ID Register (PID)5.4.2 Reset Type Status Register (RSTYPE)PLL Controller RegistersThe peripheral ID register (PID) is shown

Seite 45

7.3.1 Module Clock ON/OFF ... 797.3.2 Module Clock Frequency Scaling ..

Seite 46

www.ti.com5.4.3 PLL Control Register (PLLCTL)PLL Controller RegistersThe PLL control register (PLLCTL) is shown in Figure 5-5 and described in Table 5

Seite 47

www.ti.com5.4.4 PLL Multiplier Control Register (PLLM)5.4.5 PLL Controller Divider 1 Register (PLLDIV1)PLL Controller RegistersThe PLL multiplier cont

Seite 48 - 5.4 PLL Controller Registers

www.ti.com5.4.6 PLL Controller Divider 2 Register (PLLDIV2)5.4.7 PLL Controller Divider 3 Register (PLLDIV3)PLL Controller RegistersThe PLL controller

Seite 49 - PLL Controller Registers

www.ti.com5.4.8 Oscillator Divider 1 Register (OSCDIV1)PLL Controller RegistersThe oscillator divider 1 register (OSCDIV1) is shown in Figure 5-10 and

Seite 50

www.ti.com5.4.9 Bypass Divider Register (BPDIV)PLL Controller RegistersThe bypass divider register (BPDIV) is shown in Figure 5-11 and described in Ta

Seite 51

www.ti.com5.4.10 PLL Controller Command Register (PLLCMD)5.4.11 PLL Controller Status Register (PLLSTAT)PLL Controller RegistersThe PLL controller com

Seite 52

www.ti.com5.4.12 PLL Controller Clock Align Control Register (ALNCTL)PLL Controller RegistersThe PLL controller clock align control register (ALNCTL)

Seite 53

www.ti.com5.4.13 PLLDIV Ratio Change Status Register (DCHANGE)PLL Controller RegistersThe PLLDIV ratio change status register (DCHANGE) is shown in Fi

Seite 54

www.ti.com5.4.14 Clock Enable Control Register (CKEN)PLL Controller RegistersThe clock enable control register (CKEN) is shown in Figure 5-16 and desc

Seite 55

www.ti.com5.4.15 Clock Status Register (CKSTAT)PLL Controller RegistersThe clock status register (CKSTAT) is shown in Figure 5-17 and described in Tab

Seite 56

List of Figures1-1 TMS320DM643x DMP Block Diagram ... 122-1 TMS320C64x+

Seite 57

www.ti.com5.4.16 SYSCLK Status Register (SYSTAT)PLL Controller RegistersThe SYSCLK status register (SYSTAT) is shown in Figure 5-18 and described in T

Seite 58

Chapter 6SPRU978E – March 2008Power and Sleep ControllerTopic ...

Seite 59

www.ti.com6.1 Introductiondsp local resetdsp module resetdsp clockDSPdsp powerperipheral powerperipheral module resetMODxperipheral clockAlways ondoma

Seite 60

www.ti.com6.2 Power Domain and Module TopologyPower Domain and Module TopologyThe DM643x DMP includes one power domain--the AlwaysOn power domain. The

Seite 61 - Power and Sleep Controller

www.ti.com6.3 Power Domain and Module States6.3.1 Power Domain States6.3.2 Module StatesPower Domain and Module StatesNote: The effects of DSP local r

Seite 62 - 6.1 Introduction

www.ti.com6.3.3 Local Reset6.4 Executing State Transitions6.4.1 Power Domain State Transitions6.4.2 Module State TransitionsExecuting State Transition

Seite 63

www.ti.com6.5 IcePick Emulation Support in the PSC6.6 PSC Interrupts6.6.1 Interrupt EventsIcePick Emulation Support in the PSCThe PSC supports IcePick

Seite 64 - 6.3.2 Module States

www.ti.com6.6.1.1 Module State Emulation Events6.6.1.2 Local Reset Emulation Events6.6.2 Interrupt RegistersPSC InterruptsThe DM643x DMP is a single-p

Seite 65 - 6.3.3 Local Reset

www.ti.com6.6.3 Interrupt Handling6.7 PSC RegistersPSC RegistersHandle the PSC interrupts as described in the following procedure:First, enable the in

Seite 66 - 6.6.1 Interrupt Events

www.ti.com6.7.1 Peripheral Revision and Class Information Register (PID)6.7.2 Interrupt Evaluation Register (INTEVAL)PSC RegistersThe peripheral revis

Seite 67 - 6.6.2 Interrupt Registers

List of Tables4-1 System Clock Modes and Fixed Ratios for Core Clock Domains... 304-2 Example PLL1 Fr

Seite 68 - 6.7 PSC Registers

www.ti.com6.7.3 Module Error Pending Register 1 (MERRPR1)6.7.4 Module Error Clear Register 1 (MERRCR1)PSC RegistersThe module error pending register 1

Seite 69 - PSC Registers

www.ti.com6.7.5 Power Domain Transition Command Register (PTCMD)6.7.6 Power Domain Transition Status Register (PTSTAT)PSC RegistersThe power domain tr

Seite 70

www.ti.com6.7.7 Power Domain Status 0 Register (PDSTAT0)PSC RegistersThe power domain status n register (PDSTAT0) is shown in Figure 6-8 and described

Seite 71

www.ti.com6.7.8 Power Domain Control 0 Register (PDCTL0)PSC RegistersThe power domain control n register (PDCTL0) is shown in Figure 6-9 and described

Seite 72

www.ti.com6.7.9 Module Status n Register (MDSTATn)PSC RegistersThe module status n register (MDSTAT0-MDSTAT39) is shown in Figure 6-10 and described i

Seite 73

www.ti.com6.7.10 Module Control n Register (MDCTLn)PSC RegistersThe module control n register (MDCTL0-MDCTL39) is shown in Figure 6-11 and described i

Seite 74 - Table 6-14

Power and Sleep Controller76 SPRU978E – March 2008Submit Documentation Feedback

Seite 75

Chapter 7SPRU978E – March 2008Power ManagementTopic ...

Seite 76

www.ti.com7.1 Overview7.2 PSC and PLLC OverviewOverviewIn many applications, there may be specific requirements to minimize power consumption for both

Seite 77 - Power Management

www.ti.com7.3 Clock Management7.3.1 Module Clock ON/OFF7.3.2 Module Clock Frequency Scaling7.3.3 PLL Bypass and Power DownClock ManagementThe module c

Seite 78 - 7.2 PSC and PLLC Overview

List of Tables8 SPRU978E – March 2008Submit Documentation Feedback

Seite 79 - 7.3.1 Module Clock ON/OFF

www.ti.com7.4 DSP Sleep Mode Management7.4.1 DSP Sleep Modes7.4.2 DSP Module Clock ON/OFF7.4.2.1 DSP Module Clock ONDSP Sleep Mode ManagementThe C64x+

Seite 80 - 7.4.2 DSP Module Clock ON/OFF

www.ti.com7.4.2.2 DSP Module Clock Off7.5 3.3 V I/O Power Down7.6 Video DAC Power Down3.3 V I/O Power DownIn the clock Disable state, the DSP’s module

Seite 81 - 7.6 Video DAC Power Down

Power Management82 SPRU978E – March 2008Submit Documentation Feedback

Seite 82

Chapter 8SPRU978E – March 2008Interrupt ControllerThe C64x+ Megamodule includes an interrupt controller (INTC) to manage CPU interrupts. The interrupt

Seite 83 - Interrupt Controller

Interrupt Controller84 SPRU978E – March 2008Submit Documentation Feedback

Seite 84

Chapter 9SPRU978E – March 2008System ModuleTopic ... Pa

Seite 85 - System Module

www.ti.com9.1 Overview9.2 Device Identification9.3 Device Configuration9.3.1 Pin Multiplexing Control9.3.2 Device Boot Configuration StatusOverviewThe

Seite 86 - 9.3 Device Configuration

www.ti.com9.4 3.3 V I/O Power-Down Control9.5 Peripheral Status and Control9.5.1 Timer Control9.5.2 VPSS Clock and DAC Control9.5.3 DDR2 VTP Control9.

Seite 87 - 3.3 V I/O Power-Down Control

www.ti.com9.6 Bandwidth Management9.6.1 Bus Master DMA Priority ControlBandwidth ManagementIn order to determine allowed connections between masters a

Seite 88 - 9.6 Bandwidth Management

www.ti.com9.6.2 EDMA Transfer Controller Configuration9.7 Boot ControlBoot ControlEach switched central resource (SCR) performs prioritization based o

Seite 89 - 9.7 Boot Control

PrefaceSPRU978E – March 2008Read This FirstAbout This ManualThis document describes the DSP subsystem in the TMS320DM643x Digital Media Processor (DMP

Seite 90

System Module90 SPRU978E – March 2008Submit Documentation Feedback

Seite 91 - Chapter 10

Chapter 10SPRU978E – March 2008ResetTopic ... Page10.1

Seite 92 - 10.2 Reset Pins

www.ti.com10.1 Overview10.2 Reset Pins10.3 Device Configurations at ResetOverviewThere are different types of reset in the TMS320DM643x DMP. The types

Seite 93 - 10.4.2 DSP Module Reset

www.ti.com10.4 DSP Reset10.4.1 DSP Local Reset10.4.2 DSP Module Reset10.4.2.1 Software Reset Disable (SwRstDisable)DSP ResetNote: The effects of DSP l

Seite 94 - DSP Reset

www.ti.com10.4.2.2 Synchronous Reset (SyncReset)DSP Reset• Host: Assert the DSP local reset (Optional)– Clear the LRST bit in MDCTL39 to 0. This step

Seite 95 - Boot Modes

Chapter 11SPRU978E – March 2008Boot ModesThe TMS320DM643x DMP can boot from either asynchronous EMIF/NOR Flash directly or from internalboot ROM, as d

Seite 96

Boot Modes96 SPRU978E – March 2008Submit Documentation Feedback

Seite 97 - Revision History

Appendix ASPRU978E – March 2008Revision HistoryTable A-1 lists the changes made since the previous version of this document.Table A-1. Document Revisi

Seite 98 - IMPORTANT NOTICE

IMPORTANT NOTICETexas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improveme

Kommentare zu diesen Handbüchern

Keine Kommentare