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: PCIe Root Complex linux device driver code to read/write data over PCIe using EDMA

Part Number: AM5728

Hi,

We are using AM5728 in our custom board. The board is based on AM572xEVM schematics.

The AM5728 is connected to one FPGA device via PCIe. Here, ARM is PCIe Root Complex and FPGA is PCIe Endpoint.

I want to write a simple linux character device driver on AM5728 which has to transfer some bytes to/fro to FPGA via PCIe using EDMA.

So, can I please get some example code or links on how to start writing this driver.

Kindly help me on how to start this.

Thanks & Regards

Vijay H.S

  • Vijay, 

    sorry for the delayed response. you can find PCIe example code at:

    <pdk_install>\packages\ti\drv\pcie\example\sample

    the sample can be built at top level build directly level, with the build target "PCIE_sample_ExampleProject".

    regards

    Jian