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.
Hi Tain,
In the MCSDK PCIe sample example, two DSP EVMs are used to test the PCIe driver. DSP 1 is configured as a Root Complex and DSP 2 is configured as End Point.
Once the PCIe link is established, the following sequence of actions will happen:
1. DSP 1 sends data to DSP 2 - DSP 2 waits to receive all the data
2. DSP 2 sends the data back to DSP 1
3. DSP 1 waits to receive all the data
4. DSP 1 verifies if the received data matches the sent data and declares test pass or fail.
MCSDK PCIe example is not directly support for your requirement. Please refer section "2.11.2 PCIe as End Point" on PCIe user guide and modified the example code for your requirement. PCIe End Point initialization setps are clearly explained in PCIe user guide document.
Thanks,