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.

TMS320C6657: 关于PCIE inbound的问题

Part Number: TMS320C6657


您好,

现在有个应用,C6657作为RC,EP端的bar空间是64位的,EP端需要主动发起对RC的读写,应该是通过Keystone的inbound方式访问RC,

通过文档知道,RC只有bar1用来做inbound,那么EP的tlp包目的地址是64位的,RC端只有bar1来匹配,请问这样能实现吗?

另外,在官方文档看到这么一段描述,没太看懂,这个描述,具体是怎么做inbound地址转换,能举个例子吗,谢谢,帮忙解答一下。

2.7.2.3 Using BAR1 Value As Start Address


The inbound address translation for BAR1 has additional capability of using the value
of BAR1 register (from PCIe configuration space) as the start address for inbound
address translation. This feature can be activated by leaving the start address of the
corresponding inbound translation region (one of the four regions associated to BAR1)
programmed with zero. When an incoming read/write access matches BAR1 and the
inbound region's BAR match (IB_BARn) is set to 1 with start address programmed to
zero, the BAR1 value is used to compute the translated address.

Note—If this feature is used, only one inbound translation window is available
and it will be relative to BAR1 programmed value. No other BARs or inbound
translation windows can be used if BAR1 is designated as the reference for
inbound address translation.