PCIe Pipeline Adaptation
In the previous section, you learned how to build a basic pipeline and test it on the DevKit. However, that setup does not yet allow you to transfer data from the host to the DevKit or retrieve data from the DevKit back to the host over PCIe. To enable this functionality, you will need to modify the pipeline to incorporate PCIe plugins. Here is the general concept:
Update the
gst-launchcommand in theapplication.jsonby:Replacing the
simaaisrcinput plugin with thesimaaipciesrcplugin, and including the required parameters.Swapping the
simple_overlayoutput plugin for thesimaaipciesinkplugin, and providing the necessary parameters.Make other necessary changes to
application.jsonto align with the PCIe system architecture.
Develop a host-side application using the PCIe Host Side C++ APIs or Python APIs to exchange data with the DevKit.
Alternatively, you can utilize the
pciehosthost side plugin provided by SiMa to test the pipeline without having to write any host side code.