Title: EQ24302440 Lecture 16309
1EQ2430/2440Lecture 16/3-09
2Agenda
- Project management.
- DSP programming
- PC programming.
- In Lab
- Hand out (literature) and equipment.
- Short description of equipment.
- Information from computer support.
- Meet with your project assistant.
3Project Management
- Project plan due March 24 at 15.00!
- on web-page
4Project plan shall contain
- Background
- Specification
- Sketch of solution.
- Description of tasks.
- Allocation of people to tasks.
- Time-plan.
- See
- www.s3.kth.se/signal/edu/projekt/examination.shtml
5Bottom up versus top-down
- Top down
- Divide into subtasks.
- Divide subtasks into sub-sub tasks.
- Design
- Implement
- Bottom Up
- Learn how to compile.
- Send a pulse.
- Receive the pulse.
- Synchronize to the pulse
- ..
6Recommendations
-
- Follow bottom and top-down approaches
simultaneously. - Dedicate (must)
- DSP programmers.
- PC programmers.
- Algorithm/simulation/theory experts.
- Project leader.
- Let tasks run in parallel e.g. learning DSP and
testing algorithm.
7Weekly meetings and progress report
- Weekly meetings lead by the group leader on
Monday or Tuesdays. - The project assistant(s) will also attend.
- Progress reports are minutes of meeting.
- Action items assigned.
- Follow up against time-plan and old "action
items. - Who has done what the past week
- Shall be posted on the group web-site shortly
after the meeting. - www.s3.kth.se/signal/edu/projekt/examination.shtml
8Progress reports due
- 31March.
- 7 April.
- 14 April
- 21 April.
- 28 April
- 5 May
- 12 May
- 19 May
www.s3.kth.se/signal/edu/projekt/schedule.shtml
9Mid-Term Evaluation
- DSP assignment. Handed out 10 April.
- Handed in by April 29.
- Matlab prototype deadline April 29.
- System working on real-data but using matlab for
processing. - Use EDMA_RTDX_GPIO_31 or QUAD_DAC_ADC_31 to
send/receive data from the DSP. - More details in the project specification.
10Miscellaneous
- Do not contact Texas Instruments directly. Send
your enquires to perz_at_ee.kth.se. - Do not contact support_at_s3.kth.se directly. Send
your enquires to me perz_at_ee.kth.se. - Awards
- All groups shall do a literature search.
- Tell if you need some document printed.
11Lectures
- DSP lecture March 23, 15.15. (CCS, EDMA, Loading
of data, comparison with matlab, cache, good
advices). - DSP lecture March 30. 15.15. C6000 architecture
and pipelining. By Matthias Kassner from Texas
Instruments. -
12Since 2008 Grades
- If the prototype is successful, the final-report
is well written and contains adequate analysis
and all the other deliverables are in good shape
then all members who have made significant
contributions will receive the highest grade. If
this is not the case, the achievements of the
individual group members will be scrutinized.
This can be done by examining the
progress-reports and other documents produced and
from observations done during the course of the
project
Will be decided shortly after the grand-final
13Conclusion
- Get started NOW.
- Do literature search.
- Get started with the DSP (and PC) reading.
- Sketch a solution
- Write project plan.
- See also project homepage
- http//www.s3.kth.se/signal/edu/projekt/
14DSP Programming
Setup in the project course
DSP or target (or DSK)
PC or host
15What is a DSP ?
- A CPU which is optimized for signal processing
- Special instructions for common signal processing
operations, e.g. multiply and accumulate. - Often on-chip circuits that handle input/output
(IO). - Low power consumption.
- Cheap (compared to processors in e.g. desktop
computers).
16Project Prototype DSP versus PC
- Concurrently running programs at both the DSP and
the PC. - DSP-card used for
- Signal processing
- IO (sampling/playback)
- PC used for
- Graphical User Interface (GUI)
- Controlling the application, receiving results.
17The DSP in the project course
- You will use a Texas Instruments C6713 floating
point digital signal processor. - Massively parallel architecture (VLIW) - up to
eight 32 bit instructions are executed
simultaneously. - Running at 225 MHz, giving 1.2 GFlops peak
performance. -
Belongs to the TI C6x family of DSPs
Widely used in industry
18Development Tools
- Matlab
- Algorithm development.
- Prototype verification.
- User interface development (GUI)
- Control of DSP card
- Control of code profiling.
- DSP Code Composer Studio
- Algorithm implementation in C/Assembler
- Debugging in conjunction with Matlab
implementation - Code profiling.
19Code Development flow
20Technical Requirements of Prototype
- Real-time functionality
- DSP-card signal processing,
- PC user interface
- User interface through a GUI (windows style)
implemented in matlab. - No unnecessary use of processor time on the PC
- Well structured and adequately commented source
code - For more details see
- www.s3.kth.se/signal/edu/projekt/examination.shtml
21How to learn
- How to Quickly Learn DSP Programming
- http//www.s3.kth.se/signal/edu/projekt/DSPsupport
/getting_started.shtml - Our web-pages
- http//www.s3.kth.se/signal/edu/projekt/DSPsupport
/ - Ask me
- perz_at_ee.kth.se
- Search on the net, newsgroups, .
We give you two DSP lectures, but basically it is
up to you!
22PC programming (GUI)
- Two methods
- Using a GUIDE (a GUI for creating a GUI ?)
- Programmatically.
23Conclusion