{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Chapter2 TMS 32C5X - Texas Instruments TMS 32C5x DSP...

Info iconThis preview shows pages 1–10. Sign up to view the full content.

View Full Document Right Arrow Icon
Texas Instruments TMS 32C5x DSP
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Characteristics of TI ‘C5x DSPs
Background image of page 2
TI ‘C5x DSP CPU Instruction Fetch Data Processing
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Key DSP Instructions MAC pma,dma – multiply/accumulate ACC + P -> ACC pma x dma -> P (repeatable with pma+1) MACD pma,dma -multiply/accumulate/delay ACC + P -> ACC pma x dma -> P dma -> dma+1 (move data for delay) (repeatable with pma+1)
Background image of page 4
Other key instructions T register used with multiplier LT dma/ind : mem -> TREG0 LTA dma/ind : load T, ACC=ACC+P LTD dma/ind : load T, ACC=ACC+P,move data LTP dma/ind : load T, P->ACC
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Low-Pass Filter IN Xn,PA0 ;read x(n) ZAP ;A=P=0 MAC B,Yn MAC C,Xn APAC ;A=A+P SACH Yn ;save LSB OUT Yn,PA1 ;out y(n) ) ( ) 1 ( ) 1 ( ) ( ) ( ) 1 ( ) ( ) ( 1 ) 1 ( ) 1 ( ) ( ) ( ) ( 1 1 n x b n by n y z X b z Y bz z Y bz b b z z b z X z Y z H + = + = = = =
Background image of page 6
Finite Impulse Response (FIR) Filter LARP AR3 ;AR3 active pointer LAR AR3,#X0 ;point to X(n) ZAP ;A=P=0 MAC C0,*- ;c0*x(n) MAC C1,*- ;+c1*x(n-1) MAC C2,*- ;+c2*x(n-2) APAC ;final A=A+P SACH Y ;save LSB ) 2 ( ) 1 ( ) ( ) ( ) ( ) ( ) ( 2 1 0 2 1 1 0 2 + + = + + = = n x c n x c n x c n y z c z c c z X z Y z H Prog. Mem Data Mem. C0 X(n) C1 X(n-1) C2 X(n-2)
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
PID Controller IN E0,PA0 ;new error e(n) LARP AR3
Background image of page 8
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Background image of page 10
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}