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.

TMS 3206713 and PADK

hello,

I wanted to generate a waveform from the PADK.

I have been using a program has been working correctly on the TMS 320 C6713 via CCS. However, when I load the same program on the PADK C6727, it does not give the desired output.

Is there particular difference between the PADK and TMS 320 C6713 that will cause this problem? do we need a reconstruction filter at the output of the PADK?

Thanks,

  • The c672x is a later version of the CPU used in c671x.  They are object code compatible.  That means if you have a compiled library for the 6713 (i.e. a *.lib file) you can reuse that same library on the c672x.  You would not have to recompile the source code.

    You are NOT able to simply take your out file from a 6713 and run it on the 6727.  The memory maps are different in the device.  The boards have different data converters, etc.  You need to have an app that is built for the appropriate board.

  • Hi Brad,

    Thanks very much for help and prompt response.

    In fact, what I have done is that I have modified the existing analog loopback program for the PADK by including a function that generates a sine wave. That function was used for the 6713 and it works properly.

    when I run the program, it does seem to load in the PADK but im not getting the desired output.. I have defined the output of the function as a pointer and included it in the memcpy function at the end of the analog loopback program. im not sure if what ive done is correct.

    Grateful for your help

    Thanks,

    Sajaad

  • I recommend starting with something that works (e.g. an example project for the 6727 PADK).  Find one that looks closest to what you're trying to accomplish, i.e. something that just outputs a buffer would be ideal.  Once you have something working you want to try to take very incremental steps toward your end goal.  Sometimes it is challenging to come up with some good intermediate steps to use between the starting point and the ending point, but doing so is critical.  By reducing the amount of things that have changed you can reduce the amount of things to closely inspect.

  • Hi Brad,

    Thanks for the help.

    I have been starting with a simple program and modifying the existing analog loopback program. The output obtained is not a pure sine wave but a truncated square wave.

    But one thing, I need to know : is there a reconstruction filter incorporated in the PADK, or do we have to put an external one at the output?

    Is the output obtained as a truncated square wave a reason for the absence of a reconstruction filter in the PADK?

    Thanks,

    Sajaad

  • Yes, the PADK has high end data converters on board.  So most certainly they contain the necessary filters!  If you cannot properly output a sine wave then it would seem there's something fundamentally wrong with the data you're outputting.  For example, did you not properly convert floating point data back to the necessary integer representation for the DACs?  Maybe you're sending 32-bit data instead of 24-bit data and that's why it's being truncated?  (I don't know the "real" format off the top of my head, so that's something you should investigate, i.e. which DAC is on the board and what data format is expected by that DAC).