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.

C6670 FFTC Simple test Project

Hi,

I am trying to understand the FFT Coprocessor on 6670(EVM). So I started with the FFTC simple test example project from the below path.

C:\ti\pdk_C6670_1_1_2_6\packages\ti\drv\exampleProjects\FFTC_Simple_testProject

Procedure :

1. EVM is in No Boot mode.

2. Compiled the project and loaded the same output file to all the cores.

3. Grouped all the cores and executed the group.

I don't see any output on the console and the program seems to be running forever.  I did not do any modifications to the example code. Is there any specific procedure I need to follow to execute this project ? Can I get some help in executing this project ?

Thanks

Hari

  • Hi Hari,

    Make sure to initialize the core with gel file while connecting the core0 before loading and running the test application. Many customers able to run without any issue. Please refer below thread,

    Please refer the readme.txt file for the test and example project usage in below path.

    PATH: ..\ti\pdk_C6670_1_1_2_6\packages\ti\drv\fftc\test & ..\ti\pdk_C6670_1_1_2_6\packages\ti\drv\fftc\example\multicore

    Thank you.

  • Thank you Raja. I had some issues with my imported project.  When  I delete the project from CCS and re-import, the test runs fine.  

    Test runs to the end successfully with 2 of the tests failed. Fftc_clearErrorIntEnableReg() test failed for testing instance A and B. Here are the results. Is this the expected test result ?

    Using FFTC Driver version: 0x1000010 Version Info: FFTC Driver Revision: 01.00.00.16:Sep 15 2015:16:26:23

    Core 2 : L1D cache size 7. L2 cache size 0.

    [C66xx_3] **************************************************

    *************** FFTC Testing Start ***************

    **************************************************

    Using FFTC Driver version: 0x1000010 Version Info: FFTC Driver Revision: 01.00.00.16:Sep 15 2015:16:26:23

    Core 3 : L1D cache size 7. L2 cache size 0.

    [C66xx_0] **************************************************

    [C66xx_1] **************************************************

    [C66xx_0] *************** FFTC Testing Start ***************

    [C66xx_1] *************** FFTC Testing Start ***************

    [C66xx_0] **************************************************

    [C66xx_1] **************************************************

    [C66xx_0] Using FFTC Driver version: 0x1000010 Version Info: FFTC Driver Revision: 01.00.00.16:Sep 15 2015:16:26:23

    [C66xx_1] Using FFTC Driver version: 0x1000010 Version Info: FFTC Driver Revision: 01.00.00.16:Sep 15 2015:16:26:23

    [C66xx_0] Core 0 : L1D cache size 7. L2 cache size 0.

    [C66xx_1] Core 1 : L1D cache size 7. L2 cache size 0.

    Waiting for Sys Init to be completed ...

    [C66xx_0] [Core 0]: FFTC instance 0 successfully initialized

    [C66xx_2] Waiting for Sys Init to be completed ...

    [C66xx_3] Waiting for Sys Init to be completed ...

    [C66xx_0] [Core 0]: FFTC instance 1 successfully initialized

    Free descriptor queue 878 successfully setup. Descriptors allocated of type (2): 4

    Free descriptor queue 882 successfully setup. Descriptors allocated of type (0): 4

    [Core 0]: FFTC successfully opened

    **************************************************

    ************* FFTC LLD Testing Start *************

    **************************************************

    *************** Testing Instance A ***************

    --------------------------------------------

    FFTC LLD Test - MMR Testing START!

    --------------------------------------------

    Fftc_readPidReg() test                           PASSED

    Fftc_readGlobalConfigReg() test                  PASSED

    Fftc_writeGlobalConfigReg() test                 PASSED

    Fftc_doSoftwareReset() test                      PASSED

    Fftc_doSoftwareContinue() test                   PASSED

    Fftc_isHalted() test                             PASSED

    Fftc_readEmulationControlReg() test              PASSED

    Fftc_writeEmulationControlReg() test             PASSED

    Fftc_readErrorIntRawStatusReg() test             PASSED

    Fftc_clearErrorIntRawStatusReg() test            PASSED

    Fftc_readErrorIntEnableSetReg() test             PASSED

    Fftc_writeErrorIntEnableSetReg() test            PASSED

    Fftc_clearErrorIntEnableReg() test               FAILED

    Fftc_writeHaltOnErrorReg() test                  PASSED

    Fftc_readHaltOnErrorReg() test                   PASSED

    Fftc_readEoiReg() test                           PASSED

    Fftc_writeEoiReg() test                          PASSED

    Fftc_readQueueClippingDetectReg() test           PASSED

    Fftc_clearQueueClippingDetectReg() test          PASSED

    Fftc_readQueueConfigRegs() test                  PASSED

    Fftc_writeQueueConfigRegs() test                 PASSED

    Fftc_readDftSizeListGroupReg() test              PASSED

    Fftc_writeDftSizeListGroupReg() test             PASSED

    fftc_read_blockDestQStatusReg() test             PASSED

    fftc_read_blockShiftStatusReg() test             PASSED

    fftc_read_blockCyclicPrefixStatusReg() test      PASSED

    fftc_read_blockControlStatusReg() test           PASSED

    fftc_read_blockFreqShiftStatusReg() test         PASSED

    fftc_read_blockPktSizeStatusReg() test           PASSED

    fftc_read_blockTagStatusReg() test               PASSED

    --------------------------------------------

    FFTC LLD Test - MMR Testing DONE!

    --------------------------------------------

    *************** Testing Instance B ***************

    --------------------------------------------

    FFTC LLD Test - MMR Testing START!

    --------------------------------------------

    Fftc_readPidReg() test                           PASSED

    Fftc_readGlobalConfigReg() test                  PASSED

    Fftc_writeGlobalConfigReg() test                 PASSED

    Fftc_doSoftwareReset() test                      PASSED

    Fftc_doSoftwareContinue() test                   PASSED

    Fftc_isHalted() test                             PASSED

    Fftc_readEmulationControlReg() test              PASSED

    Fftc_writeEmulationControlReg() test             PASSED

    Fftc_readErrorIntRawStatusReg() test             PASSED

    Fftc_clearErrorIntRawStatusReg() test            PASSED

    Fftc_readErrorIntEnableSetReg() test             PASSED

    Fftc_writeErrorIntEnableSetReg() test            PASSED

    Fftc_clearErrorIntEnableReg() test               FAILED

    Fftc_writeHaltOnErrorReg() test                  PASSED

    Fftc_readHaltOnErrorReg() test                   PASSED

    Fftc_readEoiReg() test                           PASSED

    Fftc_writeEoiReg() test                          PASSED

    Fftc_readQueueClippingDetectReg() test           PASSED

    Fftc_clearQueueClippingDetectReg() test          PASSED

    Fftc_readQueueConfigRegs() test                  PASSED

    Fftc_writeQueueConfigRegs() test                 PASSED

    Fftc_readDftSizeListGroupReg() test              PASSED

    Fftc_writeDftSizeListGroupReg() test             PASSED

    fftc_read_blockDestQStatusReg() test             PASSED

    fftc_read_blockShiftStatusReg() test             PASSED

    fftc_read_blockCyclicPrefixStatusReg() test      PASSED

    fftc_read_blockControlStatusReg() test           PASSED

    fftc_read_blockFreqShiftStatusReg() test         PASSED

    fftc_read_blockPktSizeStatusReg() test           PASSED

    fftc_read_blockTagStatusReg() test               PASSED

    --------------------------------------------

    FFTC LLD Test - MMR Testing DONE!

    --------------------------------------------

    --------------------------------------------

    FFTC LLD Test - Helper APIs Testing START!

    --------------------------------------------

    Fftc_compileQueueLocalConfigParams() test        PASSED

    fftc_recompile_queueLocalDFTParams() test        PASSED

    Fftc_recompileQueueLocalCyclicPrefixParams()     PASSED

    Fftc_createDftSizeList() test                    PASSED

    Fftc_createControlHeader() test                  PASSED

    Fftc_modifyLocalCfgPresentControlHeader()        PASSED

    --------------------------------------------

    FFTC LLD Test - Helper APIs Testing DONE!

  • Looks like it is expected, please refer below thread.
    e2e.ti.com/.../695579
  • Hi Hari,
    I have checked with FFTC expert and he confirmed that there is a bug in the example. I will file an IR to resolve it next release.
    Thank you.