CS-MIPI-SC132双相机配置
-
-
@jyang 你这个是第三方底板,先尝试一下执行下面的脚本,然后试试i2c-10。
raspi-gpio set 44 ip raspi-gpio set 45 ip # i2c on these pins raspi-gpio set 0 ip raspi-gpio set 0 a0 raspi-gpio set 1 ip raspi-gpio set 1 a0如果不行,确认一下camera使用的i2c是否跟官方底板一致。
-
@veye_xumm
换了个扩展板也是一样

-
@jyang
part 7.5 你执行了吗 -
@veye_xumm 执行了,没变化
-
@jyang 建议你查一下你用的底板跟官方cm4底板,camera i2c部分的原理图是否一致。
-
@jyang 我们github上更新了一下camera_i2c_config,您可以尝试一下
-
@veye_xumm 更新了。我这边$kernel值是5,实际上没做任何配置,按照$kernel=4配置,没什么效果。两种厂家的板子问题是一样的,不太可能是板子的问题,我再买块官方的板子试下,不行就放弃了。
另外RaspiCamControl.h里的函数怎么用,参数是MMAL_COMPONENT_T类型,这个要输入的是什么。我试了DCAMERA_S里面encoder_component和capture_component还有veye_camera_isp_state里面的几个MMAL_COMPONENT_T都不对。
D_start_yuv_stream里面userdata根本就没用。还有编码模式,我只想拿12801080的RAW数据,还要从19201632里面裁剪。用起来太痛苦了 -
@jyang
我也觉得一般情况下第三方的板子会遵循官方板子的设计。
i2c-10,也就是camera1在cm4上是标准的csi口,跟rpi 4b是一样的。
按理说,只要打开了/dev/i2c-10,有了设备文件,什么都不操作都可以访问的。
建议你把板子寄过来我们帮你看一下。关于摄像头参数:
RaspiCamControl.h 这里面的内容是针对标准树莓派自带的集中camera有效的,对我们这种camera,无效。所以不用去研究。
调参数直接使用脚本控制摄像头寄存器就可以:
http://wiki.veye.cc/index.php/VEYE-MIPI-290/327_i2c/zh@jyang said in CS-MIPI-SC132双相机配置:
还有编码模式,我只想拿12801080的RAW数据,还要从19201632里面裁剪。用起来太痛苦了
132这颗现在受限于方案,输出的是UYVY格式,的确是比较麻烦。
-
全部重来以后正常了,估计是旧版的配置GPIO的问题
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
