Sign in

username:

password:



Not a member?

Search c54x



Search tips

Subscribe to c54x



c54x by Keywords

5409 | 5416 | AD5 | ADC | BIOS | Boot | Booting | Bootloader | C540 | C5402 | C5409 | C5416 | CCS | Codec | DMA | Dmad | DSK | DSKPlus | Dsplib | EVM | FFT | FIR | Flash | GPIO | HPI | Initialization | Interrupt | JTAG | LOG_printf | MCBSP | RFFT | RTDX | Sampling | STLM | UART | VC540

Ads

Discussion Groups

Discussion Groups | TMS320C54x | Sending real-time data from target to PC

Technical discussions about the TI C54x DSPs (including the c5401, c5402, c5402a, c5404, c5407, c5409, c5409a, c5410, c5410a, c5416, c5420, c5421, c5441, c549, c5470 and c5471).

  

Post a new Thread

Sending real-time data from target to PC - vikrham - May 13 12:33:00 2005



Hi,

I am a student working on an audio project with the C5416. Just wanted
to check if anyone had any ideas with one problem i am facing.

I am trying to send real-time data from my C5416 DSP to a PC. FileIO
doesn't work because it interferes with the program. I tried using
RTDX but this too seems to slow down my program.

What I am doing: For every frame of 8words received via McBSP, an
interrupt is triggered and here i try to send the data to the PC.

Is there any other way for me to record my data to the PC without
interrupting my program?

Any help would be deeply appreciated

Regards

- Vikrham




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

RE: Sending real-time data from target to PC - Derk van de Velde - May 15 6:03:00 2005

vikrham, i had a simular situation:
you can setup a so-called softuart.
you can setup a timer interrupt and toggle an i/o pin an make rs232 in this
way.
with a level converter, you can put it in to a serial terminal on a pc.
set up a ring uffer that is emptied by the interrupt, and is filld by info
from your program.
the interrupt only needs to take one byte, and toggle the pin for hi/low
bits.
the interupt don't!!! have to wait , with one extra start/stop bit, this can
work opto 115200, depending on the amount of info you need to exchagne.
this is only a from dsp to pc connection, without any data check.
i used this for debug only.

if this is not clear and you need mor details, let me konw

regards,
derk

> -----Oorspronkelijk bericht-----
> Van: c54x@c54x... [mailto:c54x@c54x...]Namens vikrham
> Verzonden: vrijdag 13 mei 2005 18:34
> Aan: c54x@c54x...
> Onderwerp: [c54x] Sending real-time data from target to PC > Hi,
>
> I am a student working on an audio project with the C5416. Just wanted
> to check if anyone had any ideas with one problem i am facing.
>
> I am trying to send real-time data from my C5416 DSP to a PC. FileIO
> doesn't work because it interferes with the program. I tried using
> RTDX but this too seems to slow down my program.
>
> What I am doing: For every frame of 8words received via McBSP, an
> interrupt is triggered and here i try to send the data to the PC.
>
> Is there any other way for me to record my data to the PC without
> interrupting my program?
>
> Any help would be deeply appreciated
>
> Regards
>
> - Vikrham





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