@veye_xumm Okay, thank you very much for the replies.
Latest posts made by etale_cohomology
-
RE: IMX-287M: How to synchronize video frame capture with an LED?
-
RE: IMX-287M: How to synchronize video frame capture with an LED?
I'm now trying to change the strobe duration, but I'm unable to.
The strobe is synced with the framerate and the strobe duty cycle is about 4%, but I'd like to increase it.
I'm trying to do:./mv_mipi_i2c.sh -r -f trgexp_delay -b 6
./mv_mipi_i2c.sh -r -f trginterval -b 6and I'm reading back those values to verify that they have changed, but the strobe duration doesn't seem to be changing.
-
RE: IMX-287M: How to synchronize video frame capture with an LED?
Hi. Thank you very much for your reply.
It worked.
(Edited to add answers.)-
I downloaded the bin file, but how do I use/run/apply it?
Answer. This explains it: https://wiki.veye.cc/index.php/Mvcam_firmware_update_manual -
What is stream mode?
Do you mean the result you get when you run: ./mv_mipi_i2c.sh -r -f trgmode -b 6
In that case, I'm in mode 0 (Video streaming mode). Is this what you were asking?
I'm configuring the camera using: v4l2-ctl --set-ctrl frame_rate={framerate} -d {subdevice}
And I'm reading frames in C using v4l2_open(), v4l2_mmap(), etc. -
Do I need to turn some strobe setting using the I2C interface in order to activate the strobe?
Answer. No, I think. I think you only need to make sure you're in streaming mode, but that's the default I think.
-
-
IMX-287M: How to synchronize video frame capture with an LED?
I'm using an IMX-287M on the Raspberry Pi 5 to record video at over 500 FPS.
I'm using an LED PCB to light the scene.
The LED PCB is controlled by the Raspberry Pi 5.
The LED PCB can be turned on by setting a Pi 5 GPIO pin to 1 and it can be turned off by setting the GPIO pin to 0.How can I synchronize the video capture on the IMX-287M to the GPIO pin of the Pi 5 so that the LED PCB turns on when the IMX-287M is capturing a video frame (during exposure) and turns off the rest of the time?
That it, how can I turn on/off the LED PCB in sync with the video capture of the IMX-287M?
-
RE: How to set exposure for IMX-287M?
I think something is still missing, because I still can't run ./mv_mipi_i2c.sh successfully.
For example,
./mv_mipi_i2c.sh -r -f manufacturer
returns
Manufacturer 0 not recognized
./mv_mipi_i2c.sh -r -f model
returns
model 0 not recognized
EDIT
It turns out you must manually select the I2C bus number (I also enabled I2C on raspi-config). Since I'm using CAM0 on RPI5, the bus is 6. Example:
./mv_mipi_i2c.sh -r -f manufacturer -b 6
This works.
-
RE: How to set exposure for IMX-287M?
Thank you for your reply.
I'm using the files here:
and, according to the docs, before running mv_mipi_i2c.sh I must run
./enable_i2c_vc.sh
./camera_i2c_configbut ./camera_i2c_config is failing with:
setting GPIO for board revsion: d04170
Failed: don't know how to set GPIO for this board! Type is 17
Use i2c-10 for the sensor (-y 10)(I'm running a Raspberry Pi 5.)
I also tried the files here: https://github.com/veyeimaging/raspberrypi_v4l2/tree/c782fc464d76c5ed2a7f8f31df72eaaa51e0dceb/mv_tools_rpi
but same error. -
How to set exposure for IMX-287M?
How do I set the exposure for the IMX-287M?
I don't find anything about exposure here: https://wiki.veye.cc/index.php/Mv_series_camera_appnotes_4_rpi
I also tried:
v4l2-ctl --set-ctrl exposure=10000 -d /dev/v4l-subdev2
but it says:
unknown control 'exposure'
Maybe there's a media-ctl command?
I'm on the Raspberry Pi 5 on Bookworm with kernel 6.1.0-rpi7-rpi-2712
-
IMX287M on CM4 Bullseye 11 Linux 6.1.21
Hi, I'm trying to run the IMX287M camera on a Compute Module 4 running Bullseye 11 and Linux 6.1.21v8+.
I'm following the instructions in the Wiki:
https://wiki.veye.cc/index.php/Mv_series_camera_appnotes_4_rpiI enabled I2C on the CM4, connected the power DuPont cables and installed the driver, but when running
dmesg | grep mvcam
I get the error
pi@raspberrypi:~ $ dmesg | grep mvcam [ 0.071124] platform fe801000.csi: Fixed dependency cycle(s) with /soc/i2c0mux/i2c@1/veyemvcam@3b [ 8.791147] veye_mvcam: loading out-of-tree module taints kernel. [ 8.800226] mvcam 10-003b: veye mv series camera driver version: 01.01.04 [ 8.806688] mvcam 10-003b: Unable to load veye_vbyone driver,will go on [ 9.310786] mvcam: mvcam_read: Reading register 0x04 failed [ 9.310817] mvcam 10-003b: failed to read chip id
And I get no device on
/dev/video0
(so I can't use thev4l2-ctl
commands).