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.

Commands to specify input output ports



I am trying to simulate a Sine wave on ccs, which I am able to do. But now I want to show the generated Sine wave on CRO. What changes should i make to my code accomplish this? I have attached my C code.

And also tell me how in general can we do it? Any reference material and links are welcome. I am working on dsk6713

Thanks.

  • Hi Arora,

    You can search in e2e forum for this and I hope its already could be answered.

    Please refer the following e2e post.

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/t/241993.aspx

  • Here(attached) is an example code which code comes with ccsv3.1. Please see it let me know if it's enough to take input from signal generator using line in and direct output to CRO using line out. I am able to load program to my target(dsk6713) but nothing seems to happen on CRO. no output is coming. So, please tell if this code is able to direct the output to CRO and take input from Signal Generator.


    Thanks for your help.

  • Arora,

    If you load this test program on your dsk6713 and run it, then do not get the expected results, I do not expect to see different results if I were to try it. And I am not good enough to look at code and tell you if it works. That is what the debugger is for, which is what you can do to figure out what is wrong.

    My recommendation is to go to the TI Wiki Pages and search for "c6713 training" (no quotes). One of the first matches will be a DSP Integration Workshop that covers the C6713 and the C6416T, so it has labs and solutions and text that discuss use of the DSK6713. The labs progress through the workshop with the primary application being moving audio data from a music input source to headphones or speakers. This is the same as what you are trying to do, so starting from a known good example is a great place to being. And it will be good if you go through the training material from the beginning to learn from the hard work that was put into it by our Technical Training Organization.

    Regards,
    RandyP

  • How do i direct my data to line out, please help me out. I can't happen to figure it out.

    Thanks a lot for your help.

  • Arora,

    Please follow my previous post and get the labs and solutions from the archived training class. Once you have run those examples, you will have your answers since some of the labs do exactly what you want to do.

    We have posted these materials for your convenience and to save you the $1000 or more charge for attending these multi-day workshops in person. You can get that same set of files from the TI Wiki Pages and learn to do what you are asking to do, for free. If you prefer to take the class in person, you can look into availability, but I think this class is no longer offered other than as a part of many college courses.

    Regards,
    RandyP

  • When I supply power to my dsk and connect it to pc Power on self test does not run, that is none of the four led's next to dip switches blink or flash. What does that mean? What can in conclude from it? is my dsk board fine?

  • Arora,

    Did this just start or has this been the case since you started this thread?

    Follow the instructions in the Quick Start Guide that came with the DSK6713 or is available from the board manufacturer's website. Also follow the TechRef document to determine the proper switch settings for the board.

    Have you or anyone else re-programmed the Flash on this board?

    What is the boot mode selected by the switches? See the TechRef for documentation on the switches. Identify all switches and note their settings and what those settings affect on the board and its operation.

    Regards,
    RandyP