0% found this document useful (0 votes)
16 views1 page

DSP Project Setup and Signal Processing

The document outlines the steps to create and debug a CCS project for a C674x DSP using an XDS100v3 connection. It includes instructions for writing code, building the project, connecting the DSP kit, running the program, and viewing output. Additionally, it provides MATLAB code for designing low-pass, high-pass, and bandpass filters using the Butterworth filter design method.

Uploaded by

divire1470
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views1 page

DSP Project Setup and Signal Processing

The document outlines the steps to create and debug a CCS project for a C674x DSP using an XDS100v3 connection. It includes instructions for writing code, building the project, connecting the DSP kit, running the program, and viewing output. Additionally, it provides MATLAB code for designing low-pass, high-pass, and bandpass filters using the Butterworth filter design method.

Uploaded by

divire1470
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Create Project:

File → New → CCS Project →


Target: C674x DSP, Connection: XDS100v3 → Empty project (with main.c)
2. Write Code:
Open main.c → write program → save.
3. Build Project:
Project → Build → check for errors.
4. Connect DSP Kit:
Connect USB → CCS detects XDS100v3.
5. Debug & Run:
Click Debug → program loads → press Run (F8).
6. View Output:
Check Console or view Graph (Tools → Graph).
7. Terminate:
Stop/Terminate → return to edit mode

clc;
clear;
close all
fc = 100;
fs = 1000;
order = 10;
fn = fc/(fs/2);
[bl, al] = butter(order, fn, 'low');
figure;
freqz(bl, al, [], fs);
title('Low Pass')
[bh, ah] = butter(order, fn, 'high');
figure;
freqz(bh, ah, [], fs);
title('High Pass')
clc; close; clear all
fs=1000; N=4;
fc=[200 300];

Wn=fc/(fs/2);
[b, a]=butter(N, Wn,'bandpass');
figure;
freqz(b,a,1024,fs);

You might also like