Sign in

username:

password:



Not a member?

Search c6x



Search tips

Subscribe to c6x



c6x by Keywords

AD535 | BIOS | Booting | Bootloader | C621 | C6211 | C6415 | C671 | C6711 | C6711DSK | C6713 | CCS | Chassaing | COFF | DAT | DM64 | DM642 | DMA | DSK671 | DSK6711 | EDM | EDMA | EMIF | Emulator | EVM | EVM620 | FFT | FIR | GPIO | Halting | HPI | HWI | IDK | JTAG | LDB | LDH | LDW | Linker | LMS | LOG_printf | Matlab | McBSP | MEM_alloc | MIPS | PCI | PCM3003 | Pipeline | Profiling | QDM | Reset | ROM | RTDX | Sampling | SDRAM | Stack | TEB | THS1206 | TMS320C621 | TMS320C6416 | TMS320C6711 | TMS320C6713 | UART | Vector Table | XBUS | XDS560

Sponsor

Industry's highest performing at the lowest power DSPs now as low as $5.00*
Start development today!
*volume pricing for 10ku

Discussion Groups

See Also

Embedded SystemsFPGAElectronics

Discussion Groups | TMS320C6x | RTDX with HWI

Technical discussions about the TI C6000 DSPs (including the c62x, c64x and c67x DSPs).

  

Post a new Thread

RTDX with HWI - jaleitao2003 - Jul 18 16:43:00 2003

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



______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )

Re: RTDX with HWI - Mike Dunn - Jul 19 0:04:00 2003

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
_____________________________________


______________________________
New Code Sharing Section now Live on DSPRelated.com. Learn about the Reward Program for Contributors here.



(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )

RTDX with HWI - jaleitao2003 - Oct 15 11:05:00 2003

Hi,

I am using the c6711 with PCM3003 audio daughter card, cc2.2.
I am having some problems with RTDX (XDS510PP): if I enable HWI to
get the samples from the daughtercard then I must use the polling
implementation on RTDX, which is far much poorer that the interrupt
implementation. The data rate is too low and I can't get real-time
analysis in good conditions. Moreover, I can't use input from RTDX.
All these problems vanish if I disable the HWI for the
daughtercard...

Can anyone help on this? If anyone has a simple program I would
appreciate it very much. I am stuck on this problem from some time
now...

Regards,

Andre Leitao


______________________________
Start your Android Ice Cream Sandwich development on TI's AM35x Sitara ARM Cortex-A8 processor today.



(You need to be a member of c6x -- send a blank email to c6x-subscribe@yahoogroups.com )