I want to check mipi state like crc_err with c/c++ code, Is there an example here?
If you are using v4l2-ctl, then you can check the TRM to read the status in csi5_fops.c
Thanks for your reply, it likes NVCSI_STREAM_0_PH_WC_0…。
now i want to set cil_settletime/numlanes in driver, i see a struct sensor_signal_properties in tegra-v4l2-camera.h, can i update it?
You should modify the device tree to apply it instead of hard code it.
Thanks
I mean like this tpoic question: How to change nvcsi setting (such as cil_settletime,lane num) after kernel boot? - Jetson & Embedded Systems / Jetson AGX Orin - NVIDIA Developer Forums
If you are using v4l2-ctl then you can do that but Argus base APP.
Thanks
yes, i use v4l2-ctl, but sensor_signal_properties is readonly.
other properties like bypassmode, sensor_mode i can set.
I want to set cil_settletime 、num_lanes、discontinuous_clk..
this csi properties in code
You can set it in csi5_fops.c
How to call a function after adding it in csi5_fop
You can set the cil_settle time by your define instead of read from the device tree in csi5_fops.c
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.