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.

Confusing TCF values

Looking at uartSample.TCF from the PSP UART EDMA example.  I noticed the lines

/* ECM configuration */
bios.HWI.instance("HWI_INT7").interruptSelectNumber = 0;
bios.HWI.instance("HWI_INT8").interruptSelectNumber = 1;
bios.HWI.instance("HWI_INT9").interruptSelectNumber = 2;
bios.HWI.instance("HWI_INT10").interruptSelectNumber = 3;

When I look at the settings for HWI_INT7 using Tconf, I see the function set to _ECM_dispatch and "Use Dispatcher" set to True.  Neither of these is the default value and there are no lines in the TCF file where these values are set.  This begs the question, "How does it know?"  Where do these values come from?

  • Is your .tcf file importing any other files?    Imported files are usually named .tci by convention.  Search for importFile and/or .tci in your .tcf file.

  • it is uartSample.TCF from the UART example in the PSP installation.  you can look at it yourself.

    the TCF imports uartSample.TCI which has a few lines setting up a UART device.

    there are no other imports in the TCF file.  that is what is so weird.  Tconf is getting _ECM_dispatch from somewhere but it is NOT comming from the TCF file

  • was reading through spru403q TMS320C6000 DSP_BIOS 5.x API Reference Guide.pdf and stumbled upon the answer.  In the text under ECM_dispatch it says, "If the ECM manager is enabled, this is the default function used by any HWI objects that have an interrupt selection number from 0 to 3."  If I go to HWI_INT7 and change the interrupt selection to 39, then the function changes back to HWI_unused.  If I then re-enter 0, it changes to _ECM_dispatch.