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.

CIC module on C6670

Dear support,

I am referencing the following information found on the E2E where Chad provided a very good answer. http://e2e.ti.com/support/dsp/c6000_multi-core_dsps/f/639/p/189169/678701.aspx#678701

I have a very similar question on another infrastructure. Chad refers to example in the C6678 PDK library. Can this example be used on the C6670. I am asking because there is no available example in c:\ti\pdk_C6670_1_1_0_3\packages\ti\csl\example.

It seems that on  the C6670, there is not one CIC per core. It seems that one CIC (CIC0) reduces the number of secondary events down to 18 for each core. These events are added to the primary events and can be mapped individually or combined to generate a physical interupt to the CPU.

CIC1 and CiC2 are used to generate events o other peripherals like the EDMA. Do you also have examples using the EDMA inside the SDK?

Aymeric

  • It would require a minor modifications.  There are comments in the code that indicate which Event ID's need to be changed to support the different devices.  Also, make sure sure you're using the correct PDK (C6670.)  I'd suggest copying the example files over the the C6670 PDK directory structure and modifying it there.

    Here's the portion that should be changed.

    /* Open the INTC Module for Vector ID: 4 and Event ID: 63 (C6678) 59 (C6670)
         *     Refer to the interrupt architecture and mapping document for the Event ID  (INTC0_OUT3)*/
        vectId = CSL_INTC_VECTID_4;
        hTest = CSL_intcOpen (&intcObj, 63, &vectId , NULL);
        if (hTest == NULL)
        {
            printf("Error: GEM-INTC Open failed\n");
            return;
        }

    Best Regards,

    Chad