How to test CSI camera on jetson nano 2GB

I want to test Raspberry pi CSI MIPI camera.How to test it.
Also I have USB camera from HP.Can i use that instead?

hello nisar.bukhari,

you may enable gstreamer pipeline to access camera streams.
for example, please refer to Approaches for Validating and Testing the V4L2 Driver for the sample commands.

please also check Camera Architecture Stack, libargus only support bayer sensor types (i.e. CSI MIPI camera); you should only access USB camera via v4l2src.