<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Capture RGB Image using OV5640 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Capture-RGB-Image-using-OV5640/m-p/2165841#M240618</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using OV5640 in my project. But I am unable to configure the OV5640 to capture an image and send via the DVP data lines. Even when I tried to generate a test pattern from the same I am facing issues, I am not getting the correct image. I am trying to to this for qvga in RGB888. Can someone help on hoe to configure the sensor to get the things mentioned? If there are any driver please do share it would be a great help.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
    <pubDate>Tue, 09 Sep 2025 10:26:04 GMT</pubDate>
    <dc:creator>Surya1</dc:creator>
    <dc:date>2025-09-09T10:26:04Z</dc:date>
    <item>
      <title>Capture RGB Image using OV5640</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-RGB-Image-using-OV5640/m-p/314267#M41273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using Linux kernel 3.0.35 on the i.MX6 dual core processor with an OV5640 camera sensor on the MIPI CSI-2 port.&amp;nbsp; I can receive still images and video from the sensor in YUV format using all of the modes and expected frame rates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have examined the ov5640_mipi.c file and note that V4L2_PIX_FMT_RGB565 is, or should be, supported.&amp;nbsp; However, it appears that the pixelformat value is only used to configure the csi-2 driver.&amp;nbsp; I do not see where the pixelformat parameter is used to configure the sensor output mode.&amp;nbsp; In fact, changing the pixelformat from V4L2_PIX_FMT_UYVY to V4L2_PIX_FMT_RGB565 gives me a very poor image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone tell me what changes I need to make to the driver(s) in order to capture RGB still images? Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 15:19:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-RGB-Image-using-OV5640/m-p/314267#M41273</guid>
      <dc:creator>r2</dc:creator>
      <dc:date>2014-06-04T15:19:32Z</dc:date>
    </item>
    <item>
      <title>Re: Capture RGB Image using OV5640</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-RGB-Image-using-OV5640/m-p/314268#M41274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer to the linux Reference Manual,&lt;/P&gt;&lt;P&gt;The supported picture formats for OV5640 Using MIPI CSI-2 interface are:&lt;/P&gt;&lt;P&gt;• YUV422P&lt;/P&gt;&lt;P&gt;• UYVY&lt;/P&gt;&lt;P&gt;• YUV420&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Jun 2014 04:21:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-RGB-Image-using-OV5640/m-p/314268#M41274</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2014-06-25T04:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Capture RGB Image using OV5640</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-RGB-Image-using-OV5640/m-p/314269#M41275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;may i know where can i download the linux Reference Manual?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 15:10:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-RGB-Image-using-OV5640/m-p/314269#M41275</guid>
      <dc:creator>kimlim</dc:creator>
      <dc:date>2014-08-27T15:10:13Z</dc:date>
    </item>
    <item>
      <title>Re: Capture RGB Image using OV5640</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-RGB-Image-using-OV5640/m-p/314270#M41276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/Download?colCode=L3.0.35_4.1.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product" title="http://www.freescale.com/webapp/Download?colCode=L3.0.35_4.1.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pageType=product"&gt;http://www.freescale.com/webapp/Download?colCode=L3.0.35_4.1.0_LINUX_DOCS&amp;amp;Parent_nodeId=1337699481071706174845&amp;amp;Parent_pa…&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX6_SW" title="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX6_SW"&gt;&lt;BR /&gt;i.MX 6 Series Software and Development Tool R|Freescale&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 01:12:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-RGB-Image-using-OV5640/m-p/314270#M41276</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-08-28T01:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Capture RGB Image using OV5640</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-RGB-Image-using-OV5640/m-p/314271#M41277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;From i.MX 6Solo/6DualLite Linux Reference Manual, Rev. L3.0.35_4.1.0, 09/2013:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;17.3 Driver Features&lt;/P&gt;&lt;P&gt;• Supporting 1-4 lanes&lt;/P&gt;&lt;P&gt;• Supporting IPU(0,1) and CSI(0,1)&lt;/P&gt;&lt;P&gt;• Supporting 0-3 virtual channels&lt;/P&gt;&lt;P&gt;• Supporting the following date types:&lt;/P&gt;&lt;P&gt;• RGB formats: RGB888, RGB666, RGB565, RGB555, RGB444&lt;/P&gt;&lt;P&gt;• YUV formats: YUV422 8bit, YUV422 10bit, YUV420 8bit, YUV420 10bit&lt;/P&gt;&lt;P&gt;• RAW data: RAW6, RAW7, RAW8, RAW10, RAW12, RAW14&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the implemented V4L2 capture interface over the MIPI driver only support:&lt;/P&gt;&lt;P&gt;16.1.2 Software Operation&lt;/P&gt;&lt;P&gt;The camera driver implements the V4L2 capture interface and applications and uses the V4L2 capture interface to operate the camera.&lt;/P&gt;&lt;P&gt;The supported operations of V4L2 capture are:&lt;/P&gt;&lt;P&gt;• Capture stream mode&lt;/P&gt;&lt;P&gt;The supported picture formats are:&lt;/P&gt;&lt;P&gt;• YUV422P&lt;/P&gt;&lt;P&gt;• UYVY&lt;/P&gt;&lt;P&gt;• YUV420&lt;/P&gt;&lt;P&gt;The supported picture sizes are:&lt;/P&gt;&lt;P&gt;• QVGA&lt;/P&gt;&lt;P&gt;• VGA&lt;/P&gt;&lt;P&gt;• 720P&lt;/P&gt;&lt;P&gt;• 1080P&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully we could get the support for RGB soon (save the GPU resources to convert from YUV to RGB for subsequent image processing).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 02:47:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-RGB-Image-using-OV5640/m-p/314271#M41277</guid>
      <dc:creator>kimlim</dc:creator>
      <dc:date>2014-08-28T02:47:44Z</dc:date>
    </item>
    <item>
      <title>Re: Capture RGB Image using OV5640</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-RGB-Image-using-OV5640/m-p/314272#M41278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Kim.&amp;nbsp; This is exactly the information that I had gathered while reviewing the Linux documentation prior to posting my question.&amp;nbsp; I know that both the OV5640 and the V4L2 software can support RGB but the drivers provided by Freescale do not implement this format.&amp;nbsp; My original question solicited help in modifying the driver(s).&amp;nbsp; So, while someone put "Assumed Answered" on my posting, my question remains unanswered.&amp;nbsp; I take the liberty of reiterating your aspiration:&amp;nbsp; "Hopefully we could get the support for RGB soon ..."&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 19:50:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-RGB-Image-using-OV5640/m-p/314272#M41278</guid>
      <dc:creator>r2</dc:creator>
      <dc:date>2014-09-05T19:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Capture RGB Image using OV5640</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-RGB-Image-using-OV5640/m-p/314273#M41279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can only stick with DMA enabled GPU UYVY to RGB conversion for the time being. :smileyhappy:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://events.linuxfoundation.org/sites/events/files/slides/slides_4.pdf" title="http://events.linuxfoundation.org/sites/events/files/slides/slides_4.pdf"&gt;http://events.linuxfoundation.org/sites/events/files/slides/slides_4.pdf&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2014 00:13:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-RGB-Image-using-OV5640/m-p/314273#M41279</guid>
      <dc:creator>kimlim</dc:creator>
      <dc:date>2014-09-06T00:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: Capture RGB Image using OV5640</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-RGB-Image-using-OV5640/m-p/1513918#M194456</link>
      <description>&lt;P&gt;i am working on imx8mn (part no:-&lt;STRONG&gt;MIMX8MN1CVTIZAA&lt;/STRONG&gt;) processor. and camera sensor ar0521&lt;/P&gt;&lt;P&gt;i am successfully captured black and white image from sensor.&lt;/P&gt;&lt;P&gt;but now i want to captured color image from&amp;nbsp; sensor&lt;/P&gt;&lt;P&gt;i change the imx8-isi-cap.c file function,&lt;/P&gt;&lt;P&gt;mxc_isi_subdev_get_fmt(struct v4l2_subdev *sd,&lt;BR /&gt;struct v4l2_subdev_pad_config *cfg,&lt;BR /&gt;struct v4l2_subdev_format *fmt)&lt;/P&gt;&lt;P&gt;and&lt;/P&gt;&lt;P&gt;other function&lt;/P&gt;&lt;P&gt;static int mxc_isi_cap_g_fmt_mplane(struct file *file, void *fh,&lt;BR /&gt;struct v4l2_format *f)&lt;/P&gt;&lt;P&gt;give a color format&lt;BR /&gt;&amp;nbsp;pix-&amp;gt;colorspace = V4L2_COLORSPACE_SRGB;&lt;/P&gt;&lt;P&gt;but i new for v4l2 and camera sensor driver so help me whar are change required (imx8-isi-cap.c or imx8-mipi-csi2-sam.c or other file) need to change for capture colour image from camera sensor ar0521&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 12:40:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-RGB-Image-using-OV5640/m-p/1513918#M194456</guid>
      <dc:creator>khodifadlalit</dc:creator>
      <dc:date>2022-08-30T12:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Capture RGB Image using OV5640</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Capture-RGB-Image-using-OV5640/m-p/2165841#M240618</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using OV5640 in my project. But I am unable to configure the OV5640 to capture an image and send via the DVP data lines. Even when I tried to generate a test pattern from the same I am facing issues, I am not getting the correct image. I am trying to to this for qvga in RGB888. Can someone help on hoe to configure the sensor to get the things mentioned? If there are any driver please do share it would be a great help.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 09 Sep 2025 10:26:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Capture-RGB-Image-using-OV5640/m-p/2165841#M240618</guid>
      <dc:creator>Surya1</dc:creator>
      <dc:date>2025-09-09T10:26:04Z</dc:date>
    </item>
  </channel>
</rss>

