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-launch
command in theapplication.json
by:Replacing the
simaaisrc
input plugin with thesimaaipciesrc
plugin, and including the required parameters.Swapping the
simple_overlay
output plugin for thesimaaipciesink
plugin, and providing the necessary parameters.Make other necessary changes to
application.json
to 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
pciehost
host side plugin provided by SiMa to test the pipeline without having to write any host side code.