DSPRelated.com
Forums

image processing problem

Started by Phaisit Chewputtanagul September 25, 2003
I'm currently working on dsk6711 dsp board with code composer studio 2.0. I
would like to input image file into dsp board for image processing purpose. are
there any efficeint way to do it?
sincerely,



 
The easiest and highest speed method is to write a MS VC++ program that uses the Win32 API of the DSK.  If you can get your 'video image' into a 'memory image' format, the code to send it to the DSK is fairly simple.  Refer to DSK Help file and \ti\examples\dsk6711\board_util\ directory.
 
mikedunn

Phaisit Chewputtanagul <y...@yahoo.com> wrote:
I'm currently working on dsk6711 dsp board with code composer studio 2.0. I would like to input image file into dsp board for image processing purpose. are there any efficeint way to do it?
sincerely,
_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join: Send an email to c...@yahoogroups.com

To Post: Send an email to c...@yahoogroups.com

To Leave: Send an email to c...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com




Dear All!<br>
<br>
I would like to use EDMA to write to McBSP on a 6711 DSK. Furthermore, I would
like the frame sync pulse to be present only when data is being transferred, I
don't want a continuous frame sync. <br>
I can set up McBsp to operate in this mode and everything is OK when <br>
I write to McBSP from the CPU, but as soon as I write using EDMA, <br>
the frame sync signal becomes continuous! And it stays so until I reset the
board.<br>
<br>
If anybody knows the solution, please tell me.<br>
<br>
Michael Kapralov<br



Hi
 
You can check FPER which and the receive and transmitt  control registers values where frame width goes low it means the start of receiveng/transmitting the data bits but similarly when u set appropriate bits in FPER which is nothing but the period at which data transfer can take place ,then u check out the index  and counter values in EDMA and set appropriately u may avoid the continueous transmission.Also use XEVT,REVT instead of XINT,RINT so that u can reduce the traffic at the bus.
hope this work out
-manie

"Michael Kapralov" <m...@mail.ru> wrote:
Dear All!
I would like to use EDMA to write to McBSP on a 6711 DSK. Furthermore, I would like the frame sync pulse to be present only when data is being transferred, I don't want a continuous frame sync.

I can set up McBsp to operate in this mode and everything is OK when

I write to McBSP from the CPU, but as soon as I write using EDMA,

the frame sync signal becomes continuous! And it stays so until I reset the board.
If anybody knows the solution, please tell me.
Michael Kapralov

_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join: Send an email to c...@yahoogroups.com

To Post: Send an email to c...@yahoogroups.com

To Leave: Send an email to c...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com



Hi!

> You can check FPER which and the receive and transmitt control >registers
values where frame width goes low it means the start of >receiveng/transmitting
the data bits but similarly when u set >appropriate bits in FPER which is
nothing but the period at which >data transfer can take place ,then u check out
the index and >counter values in EDMA and set appropriately u may avoid the
>continueous transmission.

Maybe I did not state it correctly - there is no continuous transmission (DX is
inactive), but the FRAME SYNC becomes continuous,
although I want it to appear only together with the data bits.

Michael Kapralov




Hi!

DX is in active may be bcos u dont have data bits to transmitt from EDMA to DXR
registers like which u want(i think u are doing this properly) but when u come
to FSR where period and width of frame synchronisation signals u are not
matching with how many bits u want to transmitt/receive from EDMA ,if u can give
me code i may look into that ,but bfor that u verify all the things for the data
transmission(in RCR,XCR registers are properly configured.and one thing in which
mode u r doing this in master/slave(SPi) or normal communication....?

hope something may help u!

Manie

"Michael Kapralov" <> wrote:
Hi!

> You can check FPER which and the receive and transmitt control >registers
values where frame width goes low it means the start of >receiveng/transmitting
the data bits but similarly when u set >appropriate bits in FPER which is
nothing but the period at which >data transfer can take place ,then u check out
the index and >counter values in EDMA and set appropriately u may avoid the
>continueous transmission.

Maybe I did not state it correctly - there is no continuous transmission (DX is
inactive), but the FRAME SYNC becomes continuous,
although I want it to appear only together with the data bits.

Michael Kapralov
---------------------------------



Hi Mike,
 
I am also developing MPEG 4 Simple Profile Video Encoder/Decoder (concurrent implementation) on TMS320C67x using DSKC6711. Could I use the method below for testing the encoder and what should I do to test the decoder ?
 
I would be deeply obliged if you can help me.
 
Regards,
Nalin Pithwa
-----Original Message-----
From: Mike Dunn [mailto:m...@sbcglobal.net]
Sent: Friday, September 26, 2003 4:55 PM
To: Phaisit Chewputtanagul; C...@yahoogroups.com
Subject: Re: [c6x] image processing problem

 
The easiest and highest speed method is to write a MS VC++ program that uses the Win32 API of the DSK.  If you can get your 'video image' into a 'memory image' format, the code to send it to the DSK is fairly simple.  Refer to DSK Help file and \ti\examples\dsk6711\board_util\ directory.
 
mikedunn

Phaisit Chewputtanagul <y...@yahoo.com> wrote:
I'm currently working on dsk6711 dsp board with code composer studio 2.0. I would like to input image file into dsp board for image processing purpose. are there any efficeint way to do it?
sincerely,
_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join: Send an email to c...@yahoogroups.com

To Post: Send an email to c...@yahoogroups.com

To Leave: Send an email to c...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com


_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer.  You need to do a "reply all" if you want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:  Send an email to c...@yahoogroups.com

To Post:  Send an email to c...@yahoogroups.com

To Leave: Send an email to c...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com


">Yahoo! Terms of Service.



Hello Nalin,
 
It is sometimes difficult to give "the best answers" to questions.  Sometimes it is a student needing to prove that a simple project works - in which case loading an image into an input buffer, and then processing it to an output buffer is all that is required.  Since the message lacked any concrete technical information, this was the scenario that I answered.
 
If you are trying to do some "real image processing", then I would agree with Jeff that TI's IDK card would be the way to go.
 
mikedunn

Nalin Pithwa <n...@rediffmail.com> wrote:
Hi Mike,
 
I am also developing MPEG 4 Simple Profile Video Encoder/Decoder (concurrent implementation) on TMS320C67x using DSKC6711. Could I use the method below for testing the encoder and what should I do to test the decoder ?
 
I would be deeply obliged if you can help me.
 
Regards,
Nalin Pithwa
-----Original Message-----
From: Mike Dunn [mailto:m...@sbcglobal.net]
Sent: Friday, September 26, 2003 4:55 PM
To: Phaisit Chewputtanagul; C...@yahoogroups.com
Subject: Re: [c6x] image processing problem

 
The easiest and highest speed method is to write a MS VC++ program that uses the Win32 API of the DSK.  If you can get your 'video image' into a 'memory image' format, the code to send it to the DSK is fairly simple.  Refer to DSK Help file and \ti\examples\dsk6711\board_util\ directory.
 
mikedunn

Phaisit Chewputtanagul <y...@yahoo.com> wrote:
I'm currently working on dsk6711 dsp board with code composer studio 2.0. I would like to input image file into dsp board for image processing purpose. are there any efficeint way to do it?
sincerely,
_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer. You need to do a "reply all" if you want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join: Send an email to c...@yahoogroups.com

To Post: Send an email to c...@yahoogroups.com

To Leave: Send an email to c...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com


_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer.  You need to do a "reply all" if you want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:  Send an email to c...@yahoogroups.com

To Post:  Send an email to c...@yahoogroups.com

To Leave: Send an email to c...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com


">Yahoo! Terms of Service.