Sign in

username:

password:



Not a member?

Search c3x



Search tips

Subscribe to c3x



c3x by Keywords

Boot | C31 | TMS320VC33 | VC33


Discussion Groups

Discussion Groups | TMS320C3x | How to control data acquisition timing from host ?

Technical discussions about the TI C3x DSPs (including the C31, C32 and C33 DSPs).

  

Post a new Thread

How to control data acquisition timing from host ? - Robin Barthes - Jan 11 8:29:00 2001



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.




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