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.

How we can distinguish the c6654 and c6657 architecture via PCI

Dear all, is any way to  get information about the number of cores in a keystone architecture via PCI?

We need to recognize if the a C6654 DSP is running in the system or a C6657 DSP ?

Thank you 

George

  • Hi
    read the description of devices
    thank
  • Hello,
    Can you please specify which document ?
    We have already gone through the documents we did not find these information
    Thanks
  • Hi,
    I do not think keystone devices has unique identification register to find running DSP.

    The below things may help you to implement,

    1. How about using the MAC Address(efused)? It's unique for each device.

    2. How about using the speed of the DSPs (i.e. C6654 & C6657)? The C6654 operates between 750-850MHz and C6657 operates between (1-1.25GHz).

    3. How about dedicated 1MB L2 memory/core? Write and read back pattern on core 1 dedicated L2 using global address space. (C6654 has only 1 core whereas C6657 has 2 cores)

    4. How about 1MB MSMC memory? Write and read back pattern on MSMC memory using global address space. (C6654 has no MSMC memory whereas C6657 has 1MB shared)

    Thank you.
  • Hi,

    The JTAG ID register is a read-only register that identifies to the customer the JTAG/Device ID. For the device, the JTAG ID register resides at address location 0x0262 0018. Base on this JTAG/Device ID register field user can identify the keystone devices(C6678, C6670, C6655), But it is common for C6654/5/7 devices architecture.

    Thanks,

  • Ganapathi-

    How ? In looking at the c6678 and c6672 data sheets as two examples, in both cases the manufacturer is 0x17, the part number is 0x9E, and LSB is 1.

    Do you guys have a code example showing how to do it ? Thanks.

    -Jeff

  • Hi,

    I think you can use PCIe device ID to distinguish C6674/8 (0xB005) and C6654/5/7 (0xB006).
    Then you can read the PSC Power Domain Status Registers (PDSTATx) and PSC Module Status Registers (MDSTATy) over PCIe to see how many cores are available, by checking if each CorePac is enabled or not.
    You may also check the PSC status of MSMC RAM to distinguish C6655 and C6654, MSMC RAM is only available on C6655.

    Regards,
    Sei Kato

  • Kato-san-

    That's an excellent answer, thanks.  So far I used the JTAGID register "Part Number" field to distinguish 6678, 6670, and 6657, but beyond that, your methods are required.

    -Jeff
    Signalogic