This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DSK C6416 Echo_control example issue

Hi,

     This semester we got DSK C6416 as new addition to our DSP processors. I have used C6713 and now I am tasked to modify the lab manual for the use of C6416. 

     I am using CCS v3.3. I have installed the board using the disk provided in the box. was able to successfully upload and run program called Sine8_LED provided by disk in the book "Digital Signal Processing and Applications with the C6713 and C6416 DSK". But when I try to run the example of Echo_control, I find no output.

I added all the required  C files (namely dsk6416init.C, echo_control.C, Vector_poll.C) library files(rts6400, csl6416, dsk6416bsl, dsk64xx) & header files (dskc6416.h, dsk6416_aic23.h).

Changed the input to Mic_IN.

Changed the build options similar to C6713 making one change as to name it 'CHIP_6416'. 

When I build the project I do not get any errors just a warning about stack size.

but after I load the program to the board it does not work.

Please help me to solve this issue.

  • Saurabh,

    Welcome to the TI E2E forum. I hope you will find many good answers here and in the TI.com documents and in the TI Wiki Pages. Be sure to search those for helpful information and to browse for the questions others may have asked on similar topics.

    Do you have the latest version of the book? There is a 2008 edition updating the 2004 edition. I do not have either of these, but have seen many references on the forum, generally directed toward the DSK6713.

    Since the book is written specifically for the DSK you have, I would assume that following the exact instructions in book should get your example running. Does it say that the Echo_control example should run on the C6416 DSK?

    Someone on the forum recently had trouble with his DSK6713 when he switched to MIC_IN instead of LINE_IN, but it sounded like his issues were mostly with getting a compatible signal to the A/D.

    You should have changed a -mv switch so you are building the code for the right processor. Did you do that?

    Get rid of warnings. Fix the stack size message by defining a reasonably large stack. There should be recommended value in the book, and there should have been one in the DSK6713's project.

    After these suggestions, especially noting whatever the book says or does not say about the DSK6416, you may want to show us your .pjt file.

    And I recommend that you migrate this to CCSv5 after you get your first example working on CCS 3.3. The latest release does not require a license fee for use with the DSKs with on-board emulators. And CCSv5 is fully supported and feature rich.

    Regards,
    RandyP

  • Hi,

     Thank you for replying. 

    I followed all the instructions but still the issue persists.

    the files that i have used came with the board in a disk.

    I am attaching the screenshot of my project.

    My lab will be moving to CCSv5 towards the end of this month. let me know how I can send you my project file so that you can have a look.

    regards,

    Saurabh Tophkhane

  • Saurabh,

    Does the book give you instructions to get this example running on the C6416 DSK?

    I do not have the book and can only recommend that you follow the usual steps for debugging a problem with any program. Load and step and observe the operation of the program, comparing it to what you expect to occur. Repeat with more examination on the code that you find has caused incorrect results.

    Regards,
    RandyP