DSPRelated.com
Forums

Help w/ RTDX on TI DSK6713

Started by Bill Foote June 18, 2008
I'm expert-level C/C++ programmer, but new to Code Composer Studio...

Using the TI DSK6713, I am trying to use RTDX to exchange relatively small 
amount of data between PC host and the DSK, while also running DSP filter 
algorithm.

My problem is that I'm running my filter in a separate task, and RTDX 
handling in main() as shown in TI examples.  However, my filter task does 
not start executing until main( ) exits, which of course, stops handling 
RTDX...

I've tried running a task for RTDX handling, but the task never gets 
executed.

How can I do both  tasks?  Am I doing something really dumb?

Any help greatly appreciated.

B. Foote
bfoote@visionmetrics.com 


Bill Foote wrote:
> I'm expert-level C/C++ programmer, but new to Code Composer Studio... > > Using the TI DSK6713, I am trying to use RTDX to exchange relatively small > amount of data between PC host and the DSK, while also running DSP filter > algorithm. > > My problem is that I'm running my filter in a separate task, and RTDX > handling in main() as shown in TI examples. However, my filter task does > not start executing until main( ) exits, which of course, stops handling > RTDX... > > I've tried running a task for RTDX handling, but the task never gets > executed. > > How can I do both tasks? Am I doing something really dumb? > > Any help greatly appreciated. > > B. Foote > bfoote@visionmetrics.com > >
Not enough detail here... Are you experienced with embedded? What RTOS are you using? I assume TI's? I'm not conversant with the details of that one, but _all_ RTOSs share some common features. I'd start by making sure that I can get two tasks to run at all, to make sure I understood the peculiarities of the particular RTOS that I was using. If I had a pair of LEDs to blink I'd put one in charge of each task, and watch for them blinking asynchronously (I'm easy to please at the head end of a project). Then I'd make sure that my RTDX task was at the proper priority, and that my filter task is blocking correctly when it runs out of data. -- Tim Wescott Wescott Design Services http://www.wescottdesign.com Do you need to implement control loops in software? "Applied Control Theory for Embedded Systems" gives you just what it says. See details at http://www.wescottdesign.com/actfes/actfes.html