You are on page 1of 39

DSP

:
.
, &


DSP
TI TMS320C6711 DSK
FSK
Hardware
Software
&

... -

DSP
Digital Signal Processing

Digital Signal Processor





,
,

... -

DSP

.

.

.


/
-
... -

DSP
DSP ,
,

.
:

&

&


.

... -

DSP .
/ .
... -

DSP

& /

Modem

& ,
,
, ,

, & Video

Mp3, mpeg, surround, 3D Graphics

, Sonar

... -

ECU, ABS, ESP, TCS


7

TI TMS320C6711 DSK

... -

TI TMS320C6711 DSK
1.8V Power Supply

16M SDRAM

128K FLASH

Daughter Card I/F


(EMIF Connector)

Parallel
Port I/F
TMS320C6711
Power
Jack

C6711
DSP
D. Card I/F
(Periph Con.)

Power
LED

User DIP
switches
3.3V Power Supply
JTAG Header

... -

Reset
Emulation
JTAG Header

Three User LEDs


16-bit codec (A/D & D/A)
Line Level Input (microphone)
Line Level Output (speakers)

TMS320C6711
CPU
C6711 150MHz, 900

- 8

8
6
2

32 32bit
Cache Memory 2 :
L1 8Kb(LD1 & LP2)
L2 64Kb.

CPU

EDMA (Enhanced Direct Memory Access)


CPU ( L2)

... -

10

TMS320C6711
EMIF External Memory Interface, ,
100MHz ( connector)
16MB / 100MHz SDRAM
ROM 128KB
2 32bit (Timers)
15 Interrupts
6 (LEDs) & 4 dip,

(PPC)

(host PC)

... -

11

TMS320C6711
/:

16bit
(ADC/DAC) TLC320AD535

8KHz

2 (McBSP
Multichannel Buffered Serial Ports)

JTAG (Joint Test Action Group) & Host Port Interface


(HPI) `
Host /

... -

12

Functional block & CPU diagram

... -

13


() ,

, :
ASK
FSK
PSK
- FSK
:

2 f1 (bit1) & f2 (bit0)
... -


()
14

Hardware

... -

16


EMIF
DSK

14bit DAC 904 TI


OPA690 TI

... -

17

EMIF
DSP
0x80000000;

b=10;


0xb0040000,
,
DSP EMIF.
DAC.
#define a 0xb0040000;
*(unsigned volatile int *) a = fsk_signal[i];

... -

18

EMIF
EMIF (80pins):
32 bit Data Bus (DB_D0 31)

D0 D13: bit1 (LSB) bit14


DAC
D23 D31: bit24 bit32 (MSB)

19bit Address Bus (DB_A2 21)


DB_A17:
(0xb0040000)

Chip Enable (DB_CE1# - 3#) DB_CE3#:



0xb0000000 0xbfffffff (0xb0040000)

... -

19

EMIF
,
a=5;

data bus EMIF

DAC

, :
CE3
To 17
AWE
DAC CLK

F
... -

20

... -

21


Buffer LS244

... -

22


EMIF


buffer
EMIF Data Bus,
CE3
To 18
AE
ARE

... -

23

&

:

S3 register
buffer
... -

24

+3,3 & +/-5V

Regulators &

regulators

-5V
switchedcapacitor voltage inverter

... -

25

... -

26

Software

Software
TI Code Composer Studio (CCS)

( C)

DSP

MS Visual Studio
Matlab & Simulink

Embedded Target for the TI TMS320C6000 DSP


Platform Simulink

... -

28

Code Composer Studio

... -

29

CCS

... -

30


DSP Code Composer
Studio

DSP ( EMIF)

FSK

5
... -




31

Fsk_mod()
Sin Lookup-Table
void fsk_mod(FSK_Obj *obj, unsigned char *input_bits, int num_of_bits, short *fsk_signal)
{
int i,j;
int step_fc1, step_fc0, step;
step_fc1 = STEP_CALL_1; step_fc0 = STEP_CALL_0; /* 2 */

for(i=0; i<num_of_bits; i++)

if ((input_bits[i]) == 1)
else
step = step_fc0;

step = step_fc1; /* bit */

for(j=0; j<SAMPLES_PER_BIT ; j++){


/* software timer */
fsk_signal[i*SAMPLES_PER_BIT +j] =
(FSK_SCALE*sin_tbl[obj->offset_idx])>>15;
obj->offset_idx += step; /* LookupTable */
if(obj->offset_idx>=SINE_TABLE_SIZE) obj->offset_idx -= SINE_TABLE_SIZE; /*
*/
}
Return;

Lookup Table 512 (step) 16


32 . .

... -

33


20000

10

15000

9
8

10000

7
6

-5000

1
10
19
28
37
46
55
64
73
82
91
100
109
118
127
136
145
154
163
172
181
190
199
208
217
226
235
244
253
262
271
280
289
298
307
316
325

5000

4
3

-10000

:
1
2

0,0,1,0,1,1,0,0,1,0,

-15000

-20000

CCS


. Excel

20000
15000
10000

20000

5000

15000
1

0
-5000

100

200

-10000
-15000

300

400

500

600
10
000

5000
0

-20000

-50 0 0

100

-10 0 0 0
-15 0 0 0

... -

-20 0 0 0

35

DSK
(
6,8KHz


1,1,1,

0,0,0,

:

, ,

... -

36

:
1,1,0,1,1,0,1,1,0,1,1,1,1,
:
f1 625z

f2 325KHz

fi
(


lookup table)

... -

37

Hardware


daughtercard
Drivers

... -

38

???

... -

39