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.

"input_left_sample()" in CCS v4.2.5 with C6713 DSK

Dear Sir,

We have installed CCS v4.2.5 for C6713 DSK. The configuration setting is "Spectrum Digital DSK-EVM-eZdsp on board USB Emulator" for connection and "DSK6713" for Device. Now, we can output sample through "out_left_sample()". And we can control LEDs and switches on the DSK board. However, when we try to read sample from functional generator, it gets nothing. Any advise is truly appreciated.

Best,

Alex

  • Alex,

    What is a "functional generator"?

    Did you start from example files supplied with the DSK?

    Regards,
    RandyP

  • Hi RandyP,

    It's function generator, http://en.wikipedia.org/wiki/Function_generator, which can generate a sine wave with specific frequency, such as 1 kHz. 

    We need to run examples built in CCS v3.1 before. Therefore, we import those examples from CCS v3.1 to CCS v4.2.5. And we found we cannot read the input sine wave signal from "line in". I guess it might be the configuration settings problem or drivers or library problem.

    Best,

    Alex

  • Alex,

    input_left_sample is a function that you wrote or from a TI library?

    Have you run examples supplied with the DSK? There is usually an example that will read from an input like LineIn and write to the output.like LineOut. These may also need to be imported into CCSv4.

    Regards,
    RandyP

  • Hi RandyP,

    input_left_sample() is a function from a TI library, c6713dskinit.c.

    I did try some examples supplied with the DSK but with CCS v3.1. 

    Best,

    Alex

  • Alex,

    I do not have that file, but it has been a long time since I used CCS 3.x. You do not need to forward the file, I will not be in a position to do anything with it.

    The most likely scenario is that you need to try the same code on CCS 3.1, and if it works, figure out what has become different in CCSv4.2. Since we have not updated those examples to CCSv4 or CCSv5, that support is not currently available.

    The other possibility is to check with the board vendor to see if this file is from their BSL (Board Support Library) and if they have updated anything to CCSv4.

    The same .out file created on CCS 3.1 should execute in CCSv4, but the same source might compile into a different .out file because of library or compiler release changes.

    Please let us know if you can narrow down the failure to more detailed information, and if you can compare this with the CCS 3.1 version.

    Regards,
    RandyP

  • Hi RandyP,

    input_left_sample() is a function from a TI library, c6713dskinit.c.

    I did try some examples supplied with the DSK but with CCS v3.1. 

    Best,

    Alex

  • Alex,

    I am not sure that the same information will move you forward on this project.

    Please compare the results between  CCS 3.1 and CCSv4 and report those back to this thread.

    Regards,
    RandyP