相机采集图像阻塞
-
@veye_xumm 相机型号:raw-mipi-ar0234m,使用的抓图命令是:v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1200,pixelformat=GREY --stream-mmap --stream-count=1 --stream-to=y8.raw
-
@veye_xumm said in 相机采集图像阻塞:
我已经全部按照您说的进行了修改,但是相机还是无法出图,内核打印信息2.txt ,
这和这个有关系吗?
应该跟这个没关系。
相机型号:raw-mipi-ar0234m,使用的抓图命令是:v4l2-ctl -d /dev/video0 --set-fmt-video=width=1920,height=1200,pixelformat=GREY --stream-mmap --stream-count=1 --stream-to=y8.raw
你这个命令也没有问题。
很奇怪,按理说应该不会有这些mipi协议上的错误,请拍一下你的硬件系统图给我看看。
-
@veye_xumm OK3588开发板mipi接口

自己画的转接板

[图片]
[图片]
[图片] -
确认下这个3.3V是否稳定输出(幅值>3.2V)。100mA@1.2V(或1.5V)看起来功率是不够用的。
-
@veye_xumm电源测量结果:
[图片]
功率不够需要怎么解决,外加电源吗?功率需达到多少可以呢? -
@lin
功耗是657mW
https://wiki.veye.cc/index.php/RAW-MIPI-AR0234M_Data_Sheet/zh你这个是带负载测量的吗?使能取图之后再测。
-
@veye_xumm 代码:v4l2-ctl --verbose -d /dev/video0 --set-fmt-video=width=1920,height=1200,pixelformat='NV12' --stream-mmap=4
电源测量结果:
[图片] -
@lin 那就明确了问题所在。你可以先从主板上飞线一个3.3V先测着看看。
-
@veye_xumm 现在不阻塞了,但是采集后保存的图像文件是0字节??

-
-
@veye_xumm 可以采集了,能否请教一下两者的区别在哪里呢?
-
@lin v4l2-ctl这个命令可能在这个板子的版本有bug。
-
@veye_xumm 您是说,其他相机连上去,v4l2-ctl这个命令采集图像也是会出现问题是吗?是这块板本身的内核缺陷吗?还是其他原因
-
@veye_xumm 请问相机电流能上到360+mA吗,目前有一个可飞线引脚
-
-
@veye_xumm 请问FPGA和RK3588直连,没有I2C,怎么在设备树里添加相机?相机驱动又该怎样处理?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login