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.

CCS/TMDSEVM6657: TMDSEVM6657 - missing ccsl_error.h header file

Part Number: TMDSEVM6657
Other Parts Discussed in Thread: DAC80504EVM

Tool/software: Code Composer Studio

Hello everyone,

I am working with TMDSEVM6657 and I am trying to execute the edma_test.c from the example folder. However after building I am getting the error: could not open source file "ti/csl/ccsl_error.h" 
When I try searching for ccsl_error.h in the ti folder I cannot find it. There is csl_error.h, but it is not a suitable substitute. 

So, I am trying to build examples for the DSP that I have and somehow it doesn't have all the files it needs. It is not a problem with including, because this header file is not present on my C drive at all. Does somebody know how is this possible?

I would very much appreciate any comment, advice or suggestion.

Kind regards,

Dejana

  • Hi,

    Please clarify what the Processor SDK RTOS release for this and where the edma_test example is? Or, you referred to pdk_c665x_2_0_15\packages\ti\csl\example\edma\edma_test? I don't think we have file name like ccsl_error.h, but we do have csl_error.h. If you used MCSDK, please migrate to PRSDK.

    When you have compilation error, please show the build error log, I need to see how this header file is included.

    Regards, Eric   

  • Hi Eric,

    Yes, you are right, I referred to pdk_c665x_2_0_15\packages\ti\csl\example\edma\edma_test.

    I had MCSDK 2.1.1.4. but I also have PRSDK 6.1.0.8.

    Here is how build error log looks like:

    Kind regards,

    Dejana

  • Hi,

    The pdk_c665x_2_0_15\packages\ti\csl\example\edma\edma_test is intended for AM57x device, if you look at the makefile. It is not been tested for C6657. As you have MCSDK package, you will find that there is no edma_test under pdk_C6657_1_1_2_6\packages\ti\csl\example. But there is one under pdk_C6678_1_1_2_6\packages\ti\csl\example\edma.

    Given AM57x, C6657 and C6678 EDMA IP the same, but may with different number of instance or TC and base address. You may try to use the code here for the testing with necessary adaption expected. As there is no CCS project available, I saw you tried to create one and met header inclusion issue. I looked at csl\csl.h line 46 is: #include <ti/csl/csl_error.h>. How you have ccsl_error.h?

    Maybe you can send me the CCS project and tell me which PDK you tried and I try to resolve here?

    Regards, Eric

  • Hi Eric,

    In the meantime I tried different things, so now I don't get this error and after checking the csl.h files I also see only csl_error.h so I am not sure what happened. 

    Anyways, I am trying to connect my DSP to DAC via SPI and DMA and I was just trying to execute some of the examples so that I can start from somewhere and build up on it. But I am pretty lost with this protocol. Do I use SPI and DMA or DMA and MCBSP? I know it's a question for another forum post, but I already tried and didn't get that much help.

    If you have a suggestion of what example code from the provided packages should I start, I would very much appreciate it. :)

    P.S. I am using TMDSEVM6657 and DAC80504EVM.

    Kind regards,

    Dejana

  • Dejana,

    There is Processor SDK RTOS for C6657 can be download from http://software-dl.ti.com/processor-sdk-rtos/esd/C665x/latest/index_FDS.html. The EDMA, SPI, MCBSP user guide is under: 

    The MCBSP example uses the EDMA already. The SPI example doesn't use EDMA, you need to develop.

    Regards, Eric

  • Hi Eric,

    Thanks a lot for your help. After installing the newer version 9.1 of CCS and once again psdk 6.1.0.8 now I can easily execute the MCBSP digital loopback example and now I am trying to adjust the MCBSP example to use it with ADC and DAC.

    Thanks once again!

    Kind regards,

    Dejana