DSPRelated.com
Forums

RTDX problem

Started by ajs_edwards_uk February 28, 2002
I am using DSP/BIOS with the RTDX LOG module to transfer debug
messages. No stdio / breakpoints are in use.

Presently the main functionality of my program is to take 64 samples
from the codec and perform an FFT. The problem is that part of the
way into the sampling, something is interrupting the process and
samples are being missed.

If the RTDX enable box is unchecked, then the sampling is not
interrupted. I have adjusted the host refresh rates in the RTA
control properties in CCS but this has no effect.

I am not sure what could be causing the problem, I have tried putting
a delay(1000) just before the sampling loop but the delay does not
happen!

Anyone experienced this?

Andrew



Andrew-

You need to find out where enabling RTDX is changing your source code. Identify

that and you will probably be able to see what is going on. Another suggestion
is to re-enable interrupts inside your sampling ISR, if you have not already
done so. This *may* allow RTDX and your analog I/O to co-exist, depending on
amount of data being transferred, how often, etc.

Jeff Brower
DSP sw/hw engineer
Signalogic On Thu, 28 Feb 2002, "ajs_edwards_uk" <> wrote:
>I am using DSP/BIOS with the RTDX LOG module to transfer debug
>messages. No stdio / breakpoints are in use.
>
>Presently the main functionality of my program is to take 64 samples
>from the codec and perform an FFT. The problem is that part of the
>way into the sampling, something is interrupting the process and
>samples are being missed.
>
>If the RTDX enable box is unchecked, then the sampling is not
>interrupted. I have adjusted the host refresh rates in the RTA
>control properties in CCS but this has no effect.
>
>I am not sure what could be causing the problem, I have tried putting
>a delay(1000) just before the sampling loop but the delay does not
>happen!
>
>Anyone experienced this?
>
>Andrew