DSP
This presentation is the property of its rightful owner.
Sponsored Links
1 / 188

信息工程学通信工程系 PowerPoint PPT Presentation


  • 146 Views
  • Uploaded on
  • Presentation posted in: General

DSP 技术 及应用. D igital S ignal P rocessor 数字信号处理器. 陈金鹰 教授. 信息工程学通信工程系. 第一节 基本性能 第二节 CPU 结构 第三节 内部总线结构 第四节 存储器结构 第五节 在片外围电路. 第六节 串行口 第七节 与外设的接口 第八节 复位与省电 第九节 中断 第十节 自举加载. 第二章 DSP 芯片结构介绍. 第一节 C54x 芯片的基本性能. 1 )多总线结构 2 ) 40 位算术逻辑单元( ALU ) 3 ) 17×17 位并行乘法器

Download Presentation

信息工程学通信工程系

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


4605972

DSP

Digital Signal Processor


4605972

CPU

DSP


4605972

C54x

1

240ALU

31717

4CSSU

5

6


4605972

7

8

9

10

11

1232

13


4605972

14PLL

15McBSP

16DMA

17HPI

18

19

20JTAG

21


4605972

TMS320C54x DSP


4605972

C54xCPU

40ALU

240AB

-1630

/

CSSU

CPU


4605972

C542


4605972

CPU


4605972

ALU

ALU

16

1.

X

Y

40AB


4605972

ALUALUX3216DB

YABCBT

1640ALUST1SXM=00SXM=1


4605972

ALU

ALU

16

ST1OVM


4605972

ALUST1OVM=13200 7FFFFFFFhFF 80000000h

OVAOVB1SATOVM

OVM=0


4605972

ALU

ALU

16

CNC


4605972

ALU

ALU

16

ST1C16ALU161616


2 a b

8

AL

9

AH

AG

BL

BH

D

BG

3932

3116

150

AL

AH

AG

O

2. AB


4605972

31~16


4605972

STHSTLSTLMSACCD

AGBGAHBHALBLAHBH0


4605972

A=FF 4321 1234hSTHSTLTEMP

STH A 8TEMP A8

TEMP

TEMP=2112h

STH A-8TEMP A8

TEMP

TEMP=FF43h

STL A 8TEMP A8

TEMP TEMP=3400h

STL A-8TEMP A8

TEMPTEMP=2112h


4605972

B

A

C

D

40

S

ALU

/

E

3


4605972

0~16


4605972


4605972

ALU:

ADD A -4 B A4

B

ADD A ASM B AASM

B

NORM A T


4605972

4/

17X17

40


4605972

/MAC


4605972

160

1617

1601617

ST1FRCT=11


4605972

MACMASR215160LMS


4605972

XMTA32~16DB

YMA32~16DBCBPB

XAABAB


4605972

A

B

S

MUX

MSW/LSW

COMP

TRN

16

TC

EB15EB0

CSSU

5

CSSUViterbi//ACS


4605972

D1

N1

J

2*J

M1(1)

D2

2*J+1

D2

N2

J+8

M2(2)

D1

If (M1+D1)>(M2+D2)

then N1= M1+D1

Else

N1= M2+D2

CMPS A*AR1

A3116>A150

A3116->*AR1

TRN10->TRN00->TC

A150->*AR1TRN1

1->TRN01->TC


4605972

A

B

EXP

T

6


4605972

EXP2-8~31T

=-832

A=FF FFFF FFCB

EXP A -8->T

T=33-8=25

d=0019H


7 cpu

3

bit

6

ST0

7

ST1

1D

PMST

O

7CPU

ST0ST1PMST


4605972

1513

80

12

11

10

9

ARP

DP

TC

C

OVA

OVB

10ST0

/ALUTC

ARP


4605972

1513

80

12

11

10

9

ARP

DP

TC

C

OVA

OVB

9716

10


4605972

HOLDHM(0)(1)

14

13

CPL

XF

15

12

11

10

9

8

7

6

5

4 0

BRAF

HM

INTM

0

OVM

SXM

C16

FRCT

CMPT

ASM

21ST1

(1)(0)

DP(0)SP(1)

XFXF


4605972

14

13

CPL

XF

15

12

11

10

9

8

7

6

5

4 0

BRAF

HM

INTM

0

OVM

SXM

C16

FRCT

CMPT

ASM

(1)(0)

(0)(1)

(1)(0)


4605972

14

13

CPL

XF

15

12

11

10

9

8

7

6

5

4 0

BRAF

HM

INTM

0

OVM

SXM

C16

FRCT

CMPT

ASM

16(1)/(0)ALU

-16~152

11

CMPTARP(1)(0)


4605972

157

6

5

4

3

2

1

0

IPTR

MP/MC

OVLY

AVIS

DROM

CLKOFF

SMUL

SST

3PMST

(1)/(0)

128

/0ROM1ROM

1RAM


4605972

157

6

5

4

3

2

1

0

IPTR

MP/MC

OVLY

AVIS

DROM

CLKOFF

SMUL

SST

0DROMROM

1MACMAS

1

CLKOUT1CLKOUT


4605972

  • PB

  • CBDBEB

  • PABCABDABEAB

CBDBEB


4605972

/

PAB

CAB

DAB

EAB

PB

CB

DB

EB

(32)

hw

lw

(hw)

lw

/

/


4605972

121

  • 3

CDP


4605972

/

CPU

C54x

/

/


4605972

CPU

/


4605972

DARAM

SARAM

ROM

64K64K

64KI/O

/

RAM

/


4605972

C541

C542

C543

C545

C546

C548

C549

ROM

28K

2K

2K

48K

48K

2K

16K

20K

2K

2K

32K

32K

2K

16K

/

8K

0

0

16K

16K

0

0

DARAM

5K

10K

10K

6K

6K

8K

8K

SARAM

0

0

0

0

0

24K

24K


4605972

1

  • DARAM

  • SARAM

  • ROM

MP/MCOVLY

DROM

PMST


4605972

C54xDARAMSARAMROM

RAM

ROM

C54xPMST3


4605972

MP/ MC

MP/ MC =0ROM

MP/ MC =1ROM

OVLY

OVLY=0RAM

OVLY=1RAM

DROM

DROM=0ROM

DROM=1ROM

DROMMP/ MC C54xTMS320C549


4605972

TMS320C549


4605972

C54C548C5498192K23XPC6C548C54912864K

C548C549

RAM

32K

32K

32KROMMP/ MC=00


4605972

XPC

  • C548C549


4605972

ROM

MP/MC=0

DARAM

OVLY=1

SARAM

OVLY=1

C541

28K

5K

-

C542

2K

10K

-

C543

2K

10K

-

C545

48K

6K

-

C546

48K

6K

-

C548

2K

8K

24K

C549

16K

8K

24K

2

2-3


4605972

ROM

MP/ MC0ROMOVLY1RAM

DROM=0


4605972

PAGEN2-3C54x

ROMROMROM


4605972

FF80h

128ROM

C54xROM28K48K2KROM2KROMTI


4605972

2K


4605972

3

RAMSARAM

RAMDARAM

ROM()

/

OVLY DROM


4605972

RAMROMROM

DARAM


4605972

/ROM

DROM=1

DARAM

SARAM

C541

8K

5K

-

C542

-

10K

-

C543

-

10K

-

C545

16K

6K

-

C546

16K

6K

-

C548

-

8K

24K

C549

16K

8K

24K

2-4


4605972

RAM


4605972

21

RAM

DARAMDARAM


Daram 1k

DARAM1K

0000h~001Fh

0020h~005Fh

32SPRAM0060h~007Fh

896DARAM

0080h~03FFh


4605972

4

0000h~001Fh

CPU

CPU

2


4605972

CPU

CPU

0

IMR

12

AR22

1

IFR

13

AR33

2~5

14

AR44

6

ST00

15

AR55

7

ST11

16

AR66

8

ALA

17

AR77

9

AHA

18

SP

A

AGA

19

BK

B

BLB

1A

BRC

C

BHB

1B

RSA

D

BGB

1C

REA

E

T

1D

PMST

F

TRN

1E

XPC

10

AR00

11

AR11

1E~1F


4605972

20

DRR0

0

21

DXR0

0

22

SPC0

0

23

-

24

TIM

25

PRD

26

TCR

27

-

28

SWWSR

29

BSCR

2A~2F

-

30

DRR1

1

31

DXR1

1

32

SPC1

1

33~5F

-


4605972

2XFBIO

I/O

C54xx


4605972

BIO 122NOP

SSBX XF

RSBX XF

XF

XC 2BIO

BIO BIO

I/O


4605972


4605972

1512

30

11

10

TDDR

soft

free

9 6

5

4

00

010

1x

PSC

TSS

TRB

TIM

PRD

TCR

1

TCR

1PRDTIMTDDR

PSC

01

0TDDRPSC


4605972

TIM0PRDTIM

SRESET1TRB1PRDTIM

TCRTSS=0CLKOUTPSC

PSC10TDDRPSCPSCCLKOUT1PSC0TIM1

TIM0TINTCPUTOUT


4605972

=CLKOUTTDDR+1PRD+1

TCRTSS1

TOUT

TINT


4605972

1TCRTSS1

2PRD

3TCR

TDDR

TSS0

TRB1


4605972

INTM=1

1IFRTINT1

2IMRTINT1

3ST1INTM0


4605972

STM #0000hSWWSR

0

STM #0010hTCR TSS=1TCR5TSS1

STM #0100hPRD PRD

=CLKOUTTDDR+1PRD+1

STM #0C20hTCR TDDR0

TSS=0

TRB=1TIM0PRD

Soft=1Free=1

STM #0008hIFR

STM #0008hIMR

RSBX INTM ST1INTM


4605972

  • C54x

PLL


4605972

?

CLKIN

CPU

CLKOUT

NPLLN

PLL


1 pll

CLKMD1

CLKMD2

CLKMD3

1

2

0

0

0

=3

=5

1

1

0

=2

=4

1

0

0

=3

=5

0

1

0

=1.5

=4.5

0

0

1

=/2

=/2

1

1

1

=/2

=/2

1

0

1

=1

=1

0

1

1

IDLE3

1PLL


2 pll

1512

11

10 3

2

1

0

PLL

MUL

PLL

DIV

PLL

COUNT

PLL

ON/OFF

PLL

NDIV

PLL

STATUS

/

2PLL

(CLKMD)

PLL

PLL

161


4605972

CLKIN0.25~1531

CLKIN24

  • PLL

  • DIV

CLKOUT=CLKIN

CLKOUT

PLL

DIV


4605972

PLL

2-10

PLLNDIV

PLLDIV

PLLMUL

0

X

014

0.5

0

X

15

0.25

1

0

014

PLLMUL1

1

0

15

1

1

1

0

PLLMUL12

1

1

PLLMUL 4


4605972

CLKMD

CLKMD1

CLKMD2

CLKMD3

2-11

0

0

0

0000h

=/2

0

0

1

1000h

=/2

0

1

0

2000h

=/2

1

0

0

4000h

=/2

1

1

0

6000h

=/2

1

1

1

7000h

=/2

1

0

1

0007h

=1

0

1

1

-


4605972

PLLCOUNT

DIV

PLL

DIV


4605972

PLLCLKOUTC54x

CLKMDPLLCOUNTPLL

PLLPLLCOUNT0~25516CLKIN10

0~25516CLKINPLLCLKOUT


4605972

DIVPLL3CLKIN13MHzPLLCOUNT=41

STM #0010 0001 0100 1111 bCLKMD

PLLMUL=0010PLLDIV=0PLLNDIV=12-103PLLON/OFF=12-9PLLPLLCOUNT=0010100141


4605972

DSP100ms~200ms


4605972

Watchdog


4605972


4605972

HPIA

HPID

CPU

  • 1HPIDARAM

  • 2HPIHPIA

  • 3HPIPHID

  • 4PHIHPIC

  • 5PHI


4605972

HPIDARAMHPI RAM C54xRAMRAM

HPIHPIAHPI

HPIPHIDPHIDPHIPHIDPHI


4605972

PHIHPICC54x

PHIPHI

C54xPHIPHI8HD7~0C54xPHI816C54x


4605972

1SAM

HPI

CPU

HPI

CPU

HPIC54xC54x

HPI

C54xIDLE2

2HOM


4605972

SAMHPI5CLKOUTFd*n/5FdC54xCLKOUTnn43C54xCLKOUT40MHz3224MHzHOM50ns160MbpsC54x

C54xHPI8HPI


4605972

HPI


4605972

HPIDDARAM

HPIA

HPIC

C54xHPI2K16DARAM1000h~17FFhPMSTOVLY1


4605972

HPIDDARAM

HPIA

HPIC

HPIA162K0~7FFhHPIHPIHPIA1HPIA1HPIA2KHPI11HPIA/HPIA16


4605972

HPIDDARAM

HPIA

HPIC


4605972

HPI

HCNTL0HCNTL1HD0~HD7HPIAHPIDHPICHCNTL0HCNTL1=00HPICHPI HCNTL0HCNTL1=10HPIAHPIA HCNTL0HCNTL1=11HPIDHPIADARAMHBIL=01HBIL=12HPICBOB=0BOB=1HR/W=1HPI1HR/W=01DMA


4605972

HPI

HCNTL0

HCNTL1

001011

DSPHINT

HPIC

HPI


4605972

HPI

C54xHPIHPICDSPHINTHCNTL0HCNTL1=00C54xHPIC HCNTL0HCNTL1=10002Ch(PHIC)C54xHPIA HCNTL0HCNTL1=11C54XHPICC54x

C54x C54xHPICHINT C54xHINT HPICHINTHCNTL0HCNTL1=00C54xHPICC54xHINT


4605972

  • SP

  • BSP

  • McBSP

  • TDM


4605972

C54xDSP


4605972

SP


4605972

16DRR

DXR

RSR

XSR

1.


4605972

2

816

CLKOUT1/4

SP


4605972


4605972

DXRXSRDXDXRXSR

FSXCLKXXSRDXDXRXSRDXR

DXRXSRSPCXRDY01XINT CPUDXR


4605972

DRFSRCLKRRSRDRRCPUDRRRSRDRRSPCRRDY01RINTCPUDRR

DXRDRR


4605972

1

CLKXCLKR

00

01

1X

0

2


4605972

FSX1FSX0FSXFSR

CLKX0CLKX1CLKX


4605972

0/SX/FSR

/016,18


4605972

STM #0038H SPC

STM #00C0H IFR

AND #00C0H IMR

RSBX INTM

STM #00F8H SPC

STM DATA1DXR DXR

3. SP


4605972

BSP

BSPSPABU BSPABUCPU/C54x

6

BDRR

BDXR

BSC

BSPCE

BRSR

BXSR


4605972

C54x

11

ABU

XRDY RRDY BXINT BMINT BRINT

16

C54xCPU

BCLKX

BFSX

BDX

BDXR

BSPCE

BXINT

BMINT

BXSR

BDR

BCLKR

BFSR

BRSR

BRINT

BSPC

BDRR

1


4605972

1(2-16)

2

2

  • 1012


3 abu

3ABU

CPU

AXR

BKX

ARR

BKR

BSPCE

CPU


4605972

ABUABU


4605972

BKX/RARX/R2KBKX/R1NARX/RARHARLTBAARHN+10BBAARHBKL-1ARX/RARX/RARX/R


4605972

TBA

ARH

00

ARH

ARL

ARX/R

ARH

BKL>>1

00

1

BKX/R

BBA

ARH

BKL


4605972

5(BKX=5)8(BKR=8)

8

0000H0008H0010H0018H007FH

16

0008H0010HAXR0008H000CHARR00010017HAXRARR


4605972

TDM

TDM =

TDM TSPCTDM=1

TDMTDRR

TDMTDXR

TDMTSPC

TDMTCSR

TDM/TRTA

TDMTRAD

TDMTRSR

TDMTXSR


4605972

0

1

7

C54x

TDX TDR TFSX TFSR TCLKX TCLKR

TDM


4605972

C54x TDM8TDM

8TDM


4605972

1

I/O


4605972

1


4605972

1

2

I/O

3

4

5

6


4605972

1231

CPU1

2


4605972

R/

3

1


4605972

2


4605972

I/O/2

I/O


4605972

1

60%

C54x


4605972

ta/ ns

ta15

0

15ta40

1

40ta65

2

65ta90

3

90ta115

4

115ta140

5

TMS320C54x-40DSP


4605972

2

7,

SWWSR


4605972

I/O3

C54x


4605972

SWWSR=7FFFhI/O7STMSWWSR

STM #349BSWWSR

SWWSR= 0 011 010 010 011 011


4605972

SWWSR0READYCPUWAIT

2CPUCLKOUTREADYMSC


4605972

2-1 TMS320C54x-40

EPROM 8K16 ta=70ns

SRAM 8K16 ta=12ns

A/DD/A 16=120ns

3.


4605972


4605972

C54x25ns40MHz15nsA/DD/A375ns5125nsSWWSR

0

101

000

000

011

000

STM #5018SWWSR


4605972

4

7

MSCREADY

5

C54x-40SRAM12 nsEPROM200 ns


4605972

STM #1278SWWSR


4605972

2-31C54x-40SRAM12 nsEPROM200 ns8825=200 ns7

SWWSR01READY

SWWSR

R I/O Hi Data Low Data Hi Prog Low Prog


4605972

BSCR

1512

11

102

1

0

//

BNKCMP

PS DS

BH

0

EXO


4605972

BNKCMP

16

15

14

13

12

0

0

0

0

-

64K

1

0

0

0

15

32K

1

1

0

0

1514

16K

1

1

1

0

1513

8K

1

1

1

1

1512

4K


4605972

  • C54x

  • 2

  • MP/MC=0ROM

RS

IDLE3

1


4605972

1)IPTR1FFh

2)MP/MCMP/MC

3)PCFF80h

4)FF80hPA

5)

6)IACK

7)ST1INTM1

8)IFR0

9)


4605972

2


3 idle3

3IDLE3


4605972

IDLE3:IDLE3

PLL

IDLE3

IDLE3:

PLLCPU


Clkout 40mhz

CLKOUT40MHz

10ns

PLL50s

  • PLL

  • 0

  • PLLCPU

  • C54xIDLE3


4605972

PLL

N

s

CLKOUT40MHz

2048

1

2048

51.2

2048

1.5

3072

76.8

1024

2

2048

51.2

1024

2.5

2560

64

1024

3

3072

76.8

512

4

2048

51.2

512

4.5

2304

57.6

512

5

2560

64


4605972

50sPLL50s

IDLE3

PLL


4605972

I/ODMA


4605972

1

2DMA

C54x

ST1HM

HM=1 HM=0DMAROMRAM


4605972

1

  • INTRTRAPRESET


4605972

C54xRSNMI

2

SINT15SINT0


Ifr imr

IFRIMR

IFR=1

IMR=1


4605972

1

2

3

1


4605972

1IPTR

2225

32

413


4605972

INT0=10H

2=40H


4605972

IPTR=1 1 1 1 1 1 1 1 1

+ K= 0 0 0 0 0 0 0

1 1 1 11 1 1 11 0 0 0 0 0 0 0

F F 8 0 h

0FF80h

RS=0

IPTR=0 0 0 0 0 0 0 0 1

+ K= 0 0 0 0 0 0 0

0 0 0 00 0 0 01 0 0 0 0 0 0 0

0 0 8 0 h

00080h


4605972

123

38

2

CPU

3

CPU


4605972

816EPROM

HPI

816I/O


4605972

C54xMP/MC

MP/MC

ROM

0FF80h

INT2ROM0FFFFh

ROM


4605972


4605972

ROM

1.

(1)

INTM=1

OVLY=1RAMRAM

/

SWWSR=7FFFh

7

BSCR=0FFFFh4K


4605972

(2)INT2

(3)IS

HPI

INT2HPIHPIRAM

0FFFFhI/OBRS

BRS8


4605972

1.BRS

(1)EPROM816

816EPROM

0FFFFhBRSSRCBRS726EPROM16


4605972

EPROMEPROMEPROM2-25

EPROMEPROM


4605972

8

16

=N-1

=N-1

=N-1

1

1

1

N

N

N

2-25 EPROM


4605972

(2)

RESETC54x

C54xBRS

C54xPCBRS72100


4605972

HPIC54x8C54x

HPIHINTINT2HINTC54xIFRbit2INT220IFRbit2

(3)HPI


4605972

INT2HPI RAM1000h

IFRbit2HPI0FFFFh I/OBRS8

HPI


4605972

(4)I/O

I/OI/O0h/


4605972

I/O168

C54xBIOXF

BIOC54xBIOI/O0hXFBIOXFXFC54x


4605972

8I/O0h88C54x2816

C54x16

C54x


4605972

(5)

C54x

BRSFSX/CLKX

C54x


4605972

1. TSM320C54X

2 TSM320C54X

3. TSM320C54X

4. DSP

5. TSM320C54XCPU

6. AB

7. ST0ST1PMSTDSP

8.00H7FH

9. TSM320C54x3


4605972

10. TSM320C54xRAM

11.

12. RAMROM

13. DARAM

14.

15.

16.

17. RSCLKOUTDSP

18. HPI

19. HPIDSP816

20. C54x?,?


4605972

21. CLKXCLKR816

22. C54xI/O

23. C54x

24. SWWSRREADY

25. DSP

26.

27. IO/3

28. RSC54x

29. IDLE3


4605972

30. HOLDHOLDACPU

31

32CPU

33

34DSP

35C54x-40SRAM10 nsEPROM200 nsSWWSR

36


4605972


  • Login