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.

AM5728: DDR access from PCIe peripheral

Part Number: AM5728
Other Parts Discussed in Thread: XIO2001,

Hi,

 

My customer is now developing their own board based on AM5728. AM5728 as root complex is connected with ASIC as end-point via XIO2001 PCI-PCIe bridge.

AM5728 (RC) – PCIe – XIO2001(Bridge) – PCI – ASIC (EP)

    |

 DDR3

 

ASIC can read data in specific address of DDR3 connected with AM5728, right ? In this case, MMU2 should be used ? or needless to use it ?

Could you tell them how to set up and use PCIe ?

 

 

They tried to read the address 0x8000_000 (DDR3) and the address 0x4881e000 (L4_PER3) from ASIC (via XIO2001), but couldn’t read expected data and couldn’t write too.

They set the same address to both the base address (PCI register offset: 20h, 22h) of XIO2001 and the base address (PCIECTRL_RC_DBICS_PREF_MEM_BASE_LIMIT) of AM5728 as RC in PCIe configuration memory space.

And, set PCIECTRL_PL_IATU_INDEX as INBOUND (bit31 = 0b1), then confirmed REGION_ENAGE (bit31) in PCIECTRL_PL_IATU_REG_CTRL_2 to “0” in every index (bit3:0).

For now, MMU for PCIe inbound was not used. (as default)

Could you provide any your advice ?

Best regards,

Hideaki Matsumoto