Andre,
Interrupts do affect RTDX. Your code looks similar to the "RTDX
Target Code for Section 1, Lesson 2" of the tutorial. I suggest the
following:
1. Check out the TI tutorials.
2. Read the RTDX chapter in the Help file.
3. Search the 'ti' directory [and subdirectories] for all
'.c' files containing "RTDX_write".
mikedunn
jaleitao2003 <j...@clix.pt> wrote:
Hi,
I am building a program which captures data from the
PCM3003 audio card, by means of HWIs, and sends it to a PC, via JTAG, when
512 samples are available. I am using the TMSC6711 DSP.
Do the
HWI interfere with the RTDX? When I try to use interrupt- driven RTDX, the
program freezes. If I disable the HWI, RTDX works fine. I tried RTDX
polling but I do not get the timings right, since I have to transmit 512
samples.
Below is an attempt to send the data using RTDX, all at once
(1 vector). I also thoughy of sending samples 1-by-1, generating a RTDX_write() for each one, but I guess the performance will be not so
good...RTDX_enableOutput(&ochan);
for (i=0; i<512; i++) { //message[] is a size 512 buffer
RTDX_write(&ochan,
message, sizeof(message));
while ( RTDX_writing != NULL
) { #if RTDX_POLLING_IMPLEMENTATION RTDX_Poll(); #endif } }
Can anyone give me a help on this?
Thank
you!
Regards,
Andre _____________________________________ 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
|