DSPRelated.com
Forums

RTDX with DSK6416

Started by bhar...@gmail.com October 14, 2008
Hello All,

I am trying to do RTDX with a DSK6416 board. My ultimate objective is to be able to transfer a very large number of samples ( ~ 10 million ) of a time series signal to a computer and process the information.

I ran into a few issues in this quest.

Firstly:

I envisioned that I could attain my objective by doing many small transfers.

( I gave up on the idea of doing sample by sample transfer as the RTDX call slows down the execution enough that my ADC sampling is affected and I start losing samples! )

To this end, I created a buffer of size 10000 samples and the idea is to do the RTDX transfer periodically through a loop. For this process to work I need the RTDX data to be appended to the already existing (previously transfered) data and make one giant rtd file which I can be process in the end.

However, each time I make the transfer, my previous data is getting overwritten. I have made sure that I checked the "open file in append mode" in the rtdx configuration tool. Despite this, it overwrites my data. Is the anything more that I should be doing besides checking the append mode? Is there anything that can fix this problem?

Secondly:

Is there an alternative way to transfer a very long time trace in a single go (like 10 M samples)?. I have tried this but the program just breaks down. I figure it has to do something with my memory allocation but I am sure I am putting the data in SDRAM which is available in plenty! (16MB).

Help will be greatly appreciated!

Thank you so much.

Bhargava

PS: My ADC sampling rate is 96 KHz if you wish to know.