Are there any demo about endpoint side to accept date

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Are there any demo about endpoint side to accept date

Jump to solution
944 Views
muaxi8
Contributor V

Hello,i have two LX2080A, one as RC device and the other as EP device.

Rc side I used "linux/tools/pci/ pCI-endpoint-test" can pass the test.

How do I accept data on the EP side? Are there any test demo on the ep side to refer to?

0 Kudos
1 Solution
892 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to Documentation/PCI/endpoint/pci-test-function.rst for details.

View solution in original post

3 Replies
932 Views
yipingwang
NXP TechSupport
NXP TechSupport

We don't have this kind of demo.

PCIe EP is only a framework, it cannot initiate a request, allocate buffers, to set up PCIe transmission environment.

RC is always request initiator in the system.

You could refer to drivers/pci/endpoint/functions/pci-epf-test.c for PCI Endpoint test driver.

0 Kudos
906 Views
muaxi8
Contributor V

Do you have the register manual for these endpoint registers ?

muaxi8_0-1640267617880.png

 

0 Kudos
893 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to Documentation/PCI/endpoint/pci-test-function.rst for details.