nvsipl_camera#
The nvsipl_camera sample application demonstrates how to use the SIPL API to select and initialize a camera platform configuration. You can use it to confirm that the drivers for your new camera module are functioning correctly.
nvsipl_camera is usually located at:
samples/nvmedia/nvsipl/test/camera/
If nvsipl_camera cannot be found on your device, copy it from the SDK directory on your host system.
To run nvsipl_camera, enter one of these commands:
With display:
$ ./nvsipl_camera --platform-config "<platform>" \
--link-enable-masks "<masks>" -d <display_id> -w <window_id>
Without display:
$ ./nvsipl_camera --platform-config "<platform>" \
--link-enable-masks "<masks>"
Where:
* `<platform>` is the platform configuration name.
* `<masks>` are the masks for links on each deserializer.
* `<display_id>` is the display ID of the display to use.
* `<window_id>` is the ID of the display window.
This example shows how to run a SmartLead IMX728 B2 camera in four lane CPHY mode on camera group D, link0, using display 0:
$ ./nvsipl_camera --platform-config "R0SIM728S3RU2120NB2_5Des_CPHY_x4" \
--link-enable-masks "0x0000 0x0000 0x0000 0x0001 0x0000" -d 0
If you do not need to use the NVIDIA ISP with your sensor (if you just want raw output from sensor), you can use these parameters to enable raw output and disable ISP:
--enableRawOutput --disableISP0Output --disableISP1Output --disableISP2Output
If you run nvsipl_camera with the -l switch, it displays help information and lists all available platform configurations. You can use the command this way to check the module and platform information you added to the new query driver.