Technical discussions about the TI C3x DSPs (including the C31, C32 and C33 DSPs).
|
hello,
I am quite a beginner in DSP programming. I am working with a
DSK31 kit. I need to acquire analog signal thru the ADC. The signal is a continious waveform of
this shape :
-----||||||||------|||||||-------||||||||------||||||------||---
I use line XF0 to drive the external device that send me
the signal, this way :
____|-----|___|-----|___|-----|___|-----|___|--|_
I have to acquire the data in the gap between each "packet".
Using the examples provided by TI (dsk_osc, dsk_scan) I managed to do it but too slowly because
the host trigger the acquisition and I cannot make a loop shorter than 1000ms. And I need to
read the packet of data every 1ms ! I would like to know :
How to program the DSP (in asm) to be abble to drive the line
XF0 and to read data alternatively, and continiously and in the same loop send the data
to the host when it asks for it and send a digital word thru the parallel port to the device to
command the processing of the next packet. Each packet is about 20 to 200microsec
long.
Thank you if you can help me.
Robin Barthes
The host is a PC Windows with BorlandC/C++ compiler.
|