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.

AM5726: Inbound and outbound connection in PCIe

Part Number: AM5726

Dear Champs,

My customer is trying to set-up additional outbound memory to share another memory region while set-up Inbound Memory at the initial time?

e.g. My customer connect AM5726 to PC through PCIe as below and AM5726 was used as EP Mode.

AM5726(PCIe) -- PCIe/PCI bridge -- PC(PCI)

They set-up inbound memory region with PC and want to set-up additional outbound memory with PC  at the same time for another memory regions in same PCIe channel.

Is this possible?

Their SW SDK is Linux Processor SDK v5.3.

Thanks and Best Regards,

SI.

  • SI, 

    So I understand the intention here - customer like to share multiple memory regions in the EP to the RC. 

    Yes it is possible. The EP just need to setup its BAR (there are up to 5 BARs) mask registers, then the RC will probe EP and setup inbound memory windows for each BAR. If address translation is needed in the EP, then the iATU registers need to be configured. The iATU registers support up to 16 inbound and outbound translation regions. The iATU registers are not initially mapped to the standard PCIe configure space, so they can be either setup by the EP software by itself, or RC need to specifically copy the iATU register content to the EP. 

    regards

    Jian