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.

About C6670 PCIe Device ID

Guru 15520 points

Hi,

I have a question about C6670 PCIe.

I'm searching for PCIe Device ID.
In Keystone PCIe User Guide(sprugs6d) page.140 Table 3-104,
it's written as follow:
//////////////////////////////////////////////////////////////
PCIe Device ID. Writable from internal bus interface.
See the device-specific data sheet for the value.
//////////////////////////////////////////////////////////////

But I can't find the Device ID from C6670 Datasheet.
What is the value for C6670 PCIe Device ID?

best regards,
g.f.

  • g.f.:

    VENDOR_ID is 0x104C

    We used DEVICE_ID  0xB005 in C:\ti\mcsdk_2_01_02_06\tools\boot_loader\ibl\src\device\c66x\c66xinit.c:    DEVICE_REG32_W ((PCIE_BASE_ADDR + PCIE_VENDER_DEVICE_ID), 0xb005104c);  /* Vendor and Device ID */

    Regards, Eric

  • Hi Eric,

    Thank you for the reply.

    I checked the Vendor and Device Identification Register(VENDOR_DEVICE_ID)
    from CCS Memory Browser by connecting C6670EVM.

    The value of DEVICE ID was 0x8888 which I think is reset value .
    So, do you mean that the user need to configure DEVICE ID to 0xB005 during
    PCIe initialization?

    best regards,
    g.f.

  • g.f,

    Not sure if you use IBL or not, in eariler version of IBL, it was programed to 0x8888. Later IBL programed it to 0xB005. What value used there is not important. 

    Regards, Eric

     

  • Hi Eric,

    Thank you for the reply.

    Actually this question was from our customer.
    Their system boot from SPI NOR Flash and they aren't using IBL.

    So, user can customize their own PCIe Device ID and it could be any value.
    Is this understanding correct?

    best regards,
    g.f.

  • Device ID contains information about device classes, if they don't care, they can program it to any value.

    Regards, Eric

     

  • I'm so sorry, but let me ask again to make me sure.

    If they care, do they need to program particular Device ID?
    And in this case what value should be used for Device ID? Is it 0xB005 for C6670?

    By the way, I understood that if they don't care any value can be programmed.

    best regards,
    g.f.

  • Yes, they can program 0xB005 to it.

    Regards, Eric

     

  • Hi Eric,

    Thank you for the reply.
    And sorry for taking your time.

    I understood.

    best regards,
    g.f.