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.

求助!请问TMS320C6416GLZ的部分PCI配置寄存器无法访问?

您好,

我最近使用TMS320C6416GLZ的PCI接口开发一款通信设备,调试中发现部分PCI配置寄存器,如PCI Command Register,PCI Status Register等,虽然在手册中(SPRU581B)给出了寄存器描述,但是在C6416的datasheet中(SPRS146L)却没有给出寄存器的地址,请问这些寄存器在C6416中是否可访问?可以的话地址是多少,谢谢!

  • 这些属于配置寄存器,DSP不能访问,由主机端访问:

    15.1 Configuration Registers
    The DSP supports all standard PCI configuration registers. These registers,
    which can be accessed only by the external PCI host, contain the standard PCI
    configuration information (vendor identification, device identification, class
    code, revision number, base addresses, power management, etc.).
    Depending on the boot and device configuration settings at device reset, the
    PCI configuration registers can be autoloaded from an EEPROM at power-on
    reset or can be initialized with default values at power-on reset.

  • 这些内容我也注意到。问题在于,由PCI host可访问的内容只有BAR0,BAR1和BAR2三部分。其中,BAR0和BAR1为DSP内存映射,访问到的全部为DSP内部空间。BAR1位IO寄存器,只包含HSR HDCR和DSPP 3个寄存器。而文中提到的PCI配置寄存器,如PCI status reg,手册中没有给出具体的访问地址,但是又标明是可通过host读写的。所以,请具体解释下,这些PCI配置寄存器在主机侧到底能否访问,以stauts 为例可访问的话地址又是多少。谢谢。