DSPRelated.com
Forums

6711

Started by "M.E.Deepak Babu" December 21, 2009
Hi people
the book Mr.William referred to me was Communication System Design Using DSP Algorithms: With Laboratory Experiments for the TMS320C6701 and TMS320C6711 by Steven A.Trett.
The book contained details about complex DSP algorithms for comm sys design as the title suggests
but i need references for Image Processing, like, as i am a novice i am unable to find how to capture a frame from a running video. I need to capture two frames at a time interval of 5 secscross correlate those two frames. Can you people tell me how to implement this with Code Composer studio. I get the algorithm but i am unaware of the codings.
Thanks in advance
Deepak M E


Honour the gods
Love your woman
Defend your country
Deepak,

have you researched the T.I. web site?
have you communicated with the T.I. online help persons?

do you have enough knowledge about the format of a video signal?

Have you studied how to perform timing operations?

You will need a timing operation that triggers the algorithm once every 5 seconds
You will need a function for recognizing the vertical retrace blanking portion of the video signal.
You will need a function for recognizing the horizontal retrace blanking portion of the video signal.
You will need to know if the video signal is single scan or interleaved.
You will need to determine how often to sample the video signal data.
You will need to calculate the amount of RAM needed to capture one frame of the video (and double that for two frames)
If the video signal is in a digital format, then you will need to know the pixel bit rate You will need to decide if the captured video signal is to be 'lossless' (one data capture per pixel) or not.
You will need to determine if the blanking time data is to be kept. (I would say NO as the data would be worthless)
You will need a function to recognize the 'sync' portion of the signal.
if the signal is coming into the DSP via a ADC, then you will need to know everything about the DACs, including how to program/trigger/read the results.
If the signal is comming into the DSP via a McBSP, then you will need to know everything about the McBSPs, including how to program/trigger/read the results.
Life will be much easier if you use the T.I. provided libraries for accessing the DSP peripherals.
You will need to determine which peripheral timers to use and for what purposes.
You will need to determine which interrupts to use and for what purposes.
You will need to determine if you are going to use the RTOS provided by T.I.

If you have not previously programed the 6711 DSP, you have a steep learing curve ahead of you as you will have learn both the DSP architecture and the details of the target Video signal.

T.I. has many many many sample applications available online.
There is probably a sample application for video signal capture that you can tweak for your specific application.

If not, then you could go to DSPrelated.com, search the archives, and ask specific questions.

I doubt anyone will write the program for you, but many will be glad to help you with problems you encounter. You just have to be specific about each problem.

I'm assuming you will write the application in 'C' or 'C++'.
Note: don't even think of trying to write it in assembly if you do not already know all the details of the 6711 DSP instruction set and how to use each instruction to accompolish a task. (and using 'C' is MUCH faster to design/write/debug).

You state you need help with the 'codings'
Perhaps you could post the algorithm and request comments on it.
then, perhaps request assistance on how to implement it in 'C'.

I would suggest:
determine exactly what you are going to do, especially the suggested points of interest I discussed earlier in this post.
then, code the basic algorithm
then add the :
--initialization functions,
--data stores,
--I/O functions,
--timing functions,
--interrupt handlers.
Note: you may want to determine/code the data stores first, as their implementation will affect almost all the other code.

We would be glad to assist with specific problems.

BTW:
Code Composer Studio (CCS) is just a tool, (an Integrated Desktop Environment -IDE) not the implementation of the algorithm. CCS allows you to perform all needed steps within the one tool.
You will need to create a 'project'
You will need to set the 'build options' within the project.
You will need to create files that contain the source code. (.c files)
You will need to create files that contain the headers for the source code. (.h files)
You will need to create a .cmd file to guide the linker operation.
You will need the appropriate libraries.
You will need to properly add all those files to the 'project'.
You will need to determine where the .text, .data, etc segments will be stored in the 6711 DSP address space and place that location information into the .cmd file.

There are example projects, with the related source and header and .cmd files that come with the CCS. These projects contain examples of using the BIOS and of not using the BIOS. They should greatly help to clarify what is needed to produce an application to run on the 6711 DSP.

Then there is the matter of actually loading the application into the DSP memory and using the CCS to run/debug the application.

I would strongly suggest using one of the supplied example applications to learn the steps needed, before trying to implement and run a new application.

R. Williams

---------- Original Message -----------
From: "M.E.Deepak Babu"
To: processor group
Sent: Mon, 21 Dec 2009 00:39:02 -0800 (PST)
Subject: [c6x] 6711

>

> Hi people
> the book Mr.William referred to me was Communication System Design Using DSP Algorithms: With Laboratory Experiments for the TMS320C6701 and TMS320C6711 by Steven A.Trett.
> The book contained details about complex DSP algorithms for comm sys design as the title suggests
> but i need references for Image Processing, like, as i am a novice i am unable to find how to capture a frame from a running video. I need to capture two frames at a time interval of 5 secscross correlate those two frames. Can you people tell me how to implement this with Code Composer studio. I get the algorithm but i am unaware of the codings.
> Thanks in advance
>
> Deepak M E
>
>
> Honour the gods
> Love your woman
> Defend your country

------- End of Original Message -------