RAW-MIPI-SC132, Orin-NX custom carrier-board
-
Hi, I have tested CSI-0 and CSI-1.
I'm using WeAct carrierBoard (N_002) with jetson orin nx(16GB)
I share the results with you to get to the solution faster.
thanks in advance for your consideration.1. Version
sudo ./mv_mipi_i2c.sh -r -f version -b 9 Executing: ./mv_mipi_i2c_new.sh -r version -b 9 version is C 01.04 and L 00.00
2. I2C-detect:
i2cdetect -y -r 9 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- UU -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- -- -- -- -- --
3. Trigg mode
sudo ./mv_mipi_i2c.sh -r -f trgmode -b 9 Executing: ./mv_mipi_i2c_new.sh -r trgmode -b 9 r trigger mode is 0
4. v4l2-ctl
doesnt work and I get the following messages indmesg
WIDTH=1080 export HEIGHT=1280 export FPS=50 v4l2-ctl --set-ctrl roi_x=0 v4l2-ctl --set-ctrl roi_y=0 v4l2-ctl --set-fmt-video=width=$WIDTH,height=$HEIGHT,pixelformat=GREY v4l2-ctl --set-ctrl frame_rate=$FPS v4l2-ctl --set-fmt-video=width=$WIDTH,height=$HEIGHT,pixelformat=GREY --stream-mmap --stream-count=-1 --stream-to=/dev/null
5. DMESG:
[ 36.404093] mvcam 9-003b: csi2_try format [ 36.404109] mvcam 9-003b: mvcam_csi2_get_fmt_idx_by_code success [ 36.484983] mvcam 9-003b: csi2_try format [ 36.484996] mvcam 9-003b: mvcam_csi2_get_fmt_idx_by_code success [ 36.566999] mvcam 9-003b: camera_common_mclk_enable: no device power rail [ 36.567010] mvcam 9-003b: camera_common_s_power: failed to enable mclk [ 39.903309] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms [ 39.903335] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel [ 39.905050] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel [ 42.463311] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms [ 42.463338] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel [ 42.464861] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel [ 45.023322] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms [ 45.023351] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel [ 45.024651] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel [ 47.583304] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms [ 47.583330] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel [ 47.584733] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel [ 50.143315] tegra-camrtc-capture-vi tegra-capture-vi: uncorr_err: request timed out after 2500 ms [ 50.143348] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: attempting to reset the capture channel [ 50.144429] tegra-camrtc-capture-vi tegra-capture-vi: err_rec: successfully reset the capture channel
6. sudo dmesg | grep -i mvcam
[ 11.240305] mvcam 9-003b: veye mv series camera driver version: 01.01.06 [ 11.941759] mvcam 9-003b: camera is: RAW-MIPI-SC132M [ 11.942058] mvcam 9-003b: firmware version: 0x1040000 [ 11.950629] tegra-camrtc-capture-vi tegra-capture-vi: subdev mvcam 9-003b bound [ 11.982952] mvcam 10-003b: veye mv series camera driver version: 01.01.06 [ 12.686081] veye_mvcam: mvcam_read: Reading register 0x04 failed [ 12.686095] mvcam 10-003b: failed to read chip id [ 12.686098] mvcam 10-003b: mvcam_identify_module failed. [ 36.404093] mvcam 9-003b: csi2_try format [ 36.404109] mvcam 9-003b: mvcam_csi2_get_fmt_idx_by_code success [ 36.484983] mvcam 9-003b: csi2_try format [ 36.484996] mvcam 9-003b: mvcam_csi2_get_fmt_idx_by_code success [ 36.566999] mvcam 9-003b: camera_common_mclk_enable: no device power rail [ 36.567010] mvcam 9-003b: camera_common_s_power: failed to enable mclk
7. V4l2-ctl
v4l2-ctl --list-formats-ext ioctl: VIDIOC_ENUM_FMT Type: Video Capture [0]: 'GREY' (8-bit Greyscale) Size: Discrete 1080x1280 Interval: Discrete 0.020s (50.000 fps) [1]: 'XY10' (XAVIER 10-bit/16-bit Greyscale) Size: Discrete 1080x1280 Interval: Discrete 0.020s (50.000 fps)
8. Jetson Info
jtop 4.3.2 - (c) 2024, Raffaello Bonghi [raffaello@rnext.it] Website: https://rnext.it/jetson_stats Platform Serial Number: [s|XX CLICK TO READ XXX] Machine: aarch64 Hardware System: Linux Model: NVIDIA Jetson Orin NX Engineering Reference Developer Kit Distribution: Ubuntu 22.04 Jammy Jellyfish 699-level Part Number: 699-13767-0000-300 M.1 Release: 5.15.148-tegra P-Number: p3767-0000 Python: 3.10.12 Module: NVIDIA Jetson Orin NX (16GB ram) SoC: tegra234 Libraries CUDA Arch BIN: 8.7 CUDA: 12.6.68 L4T: 36.4.3 cuDNN: 9.3.0.75 Jetpack: 6.2 TensorRT: 10.3.0.30 VPI: 3.2.4 Hostname: jetson Vulkan: 1.3.204 Interfaces OpenCV: 4.8.0 with CUDA: NO eno1: 192.168.0.113 docker0: 172.17.0.1
-
based on https://wiki.veye.cc/index.php/RAW-MIPI-SC132M_Data_Sheet
11 ENABLE Camera Power Enable
The Voltage of PIN-11 is 1.74v