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/TMS320C6672: C667x Register Containing the Number of Cores

Part Number: TMS320C6672

Tool/software: Code Composer Studio

Hi,

we are developing with different C667x variants. Is there any way to detect the number of device cores in software?

The MM_REVID is unfortunately always x00080001, regardless of the number of cores available. I also did not find any documentation what the 8 means.

Best regards,

Stefan

  • Hello!

    I don't know about core count register, however, there is JTAG ID register at 0x02620018. Then you may pick up part number there and deduct number of cores available in lookup table. Perhaps number of cores can be derived indirectly from other registers, but you'd better wait till TI specialist respond.

  • Hi,

    thank you for you reply. I already checked the JTAG ID register and it seems to hold x1009E02F‬ regardless of the device's core count (I checked it for c6678 and c6672).

  • Hello,

    Sorry for suggesting wrong way. I had 6670 and 6678 data manuals, and for this pair JTAG ID is different.

    As JTAG ID can't be used for this purpose, could you try reading some registers, which come in number of cores? Say, DSP_BOOT_ADDR0 through DSP_BOOT_ADDR7, which are 8 locations 4 bytes each at 0x02620040 through 0x0262005C. I expect that in 6678 all 8 locations would return meaningful values, but in 6672 - only 2 will read, while other would return some illegal value like all zeros or all ones. I have no C66x at my hands now, interested to hear is this way could work.

  • Hi,

    Can you check L2CFG register (0x0184_0000) bit 27-24 to see if any difference? This field is number of C66x cores - 1.

    Regards, Eric

  • lding said:

    Hi,

    Can you check L2CFG register (0x0184_0000) bit 27-24 to see if any difference? This field is number of C66x cores - 1.

    Regards, Eric

    Thank you, this is exactly what I was looking for. The bits 27-24 indeed indicate the number of C66x cores - 1.

    The DSP_BOOT_ADDRx registers at 0x02620040 through 0x0262005C are the same for C6678 and C6672 in my setup.