Hello all,
I am interfacing FCB-EV9500M with imx8mm..
The problem i am facing is FCB-EV9500M is visca protocol and its mipi sensor.
FCB-EV9500 is not i2c communication protocol.
Does anyone has any idea how to interface this mipi camera with imx8mm?
解決済! 解決策の投稿を見る。
I have already mailed to you , pls check it
Hi @joanxie
As you mentioned on the mail,
For FCB EV9500m I followed the https://community.nxp.com/t5/i-MX-Processors/Integrating-iMX8M-with-SONY-FCB-Camera/m-p/1457718 link which says to disable all the i2c related stuff the tc358743 driver is registered successfully and I am also getting the supported formats but unable to get the data from mip and thus, unable to stream giving me the following error.
v4l2-ctl -d /dev/video0 --verbose --set-fmt-video=width=1920,height=1080,pixelformat=BA81 --stream-mmap --stream-count=1 --stream-to=raw10.raw
VIDIOC_QUERYCAP: ok
VIDIOC_G_FMT: ok
VIDIOC_S_FMT: ok
Format Video Capture:
Width/Height [ 93.477643] mxc_mipi-csi.0: MIPI_CSIS_ISPCONFIG_CH0: 0x000010a8
: 1/2
Pixel Format : 'BA81' (8-bit Bayer BGBG/GRGR)
Field : None
Bytes per Line : 1
Size Image : 2
Colorspace : sRGB
Transfer Function : Default (maps to sRGB)
YCbCr/HSV Encoding: ITU-R 601
Quantization : Full Range
Flags :
VIDIOC_REQBUFS returned 0 (Success)
VIDIOC_QUERYBUF returned 0 (Success)
VIDIOC_QUERYBUF returned 0 (Success)
VIDIOC_QUERYBUF returned 0 (Success)
VIDIOC_QUERYBUF returned 0 (Success)
VIDIOC_QBUF returned 0 (Success)
VIDIOC_QBUF returned 0 (Success)
VIDIOC_QBUF returned 0 (Success)
VIDIOC_QBUF returned 0 (Success)
VIDIOC_STREAMON returned 0 (Success)
Can you please guide us how the streaming takes place in case of VISCA / RS232 protocol supported camera sensors. Do we have any specific driver supporting VISCA protocol or we have some specific hardware configurations please let me know.
Here I am attaching my sensor node :
ov5640_mipi: ov5640_mipi@3c {
compatible = "toshiba,tc358743";
reg = <0x0f>;
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_csi_pwn>, <&pinctrl_csi_rst>;
clocks = <&hdmi_osc>;
clock-names = "refclk";
assigned-clocks = <&clk IMX8MM_CLK_CLKO1>;
assigned-clock-parents = <&clk IMX8MM_CLK_24M>;
assigned-clock-rates = <24000000>;
csi_id = <0>;
pwn-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>;
mclk = <27000000>;
mclk_source = <0>;
port {
ov5640_mipi1_ep: endpoint {
remote-endpoint = <&mipi1_sensor_ep>;
data-lanes = <1 2 3 4>;
link-frequencies = /bits/ 64 <297000000>;
};
};
};
Looking forward for your reply,
Thanks & Regards,
Udhay moorthi
pls check the mail and follow there