<?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>i.MX ProcessorsのトピックRe: Autofocus not working Android 11 imx8m mini</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Autofocus-not-working-Android-11-imx8m-mini/m-p/1556431#M197701</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Camera autofocus is a feature only available in Boundary Devices BSP you will not get help here.&lt;/P&gt;&lt;P&gt;And as mentioned on another thread, the feature is working properly on our platform, please check on a Nitrogen8M Mini SBC.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
    <pubDate>Fri, 18 Nov 2022 10:25:39 GMT</pubDate>
    <dc:creator>gary_bisson</dc:creator>
    <dc:date>2022-11-18T10:25:39Z</dc:date>
    <item>
      <title>Autofocus not working Android 11 imx8m mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Autofocus-not-working-Android-11-imx8m-mini/m-p/1553183#M197518</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;We are working on a project using an i.MX8M Mini Processor SOM that runs on Android 11 and uses an OV5640-1b camera with Auto Focus support connected over MIPI-CSI. Currently we are using&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://github.com/boundarydevices/linux/blob/boundary-android-11.0.0_2.2.0/drivers/media/platform/mxc/capture/ov5640_mipi_v2.c" target="_blank" rel="noopener nofollow noreferrer"&gt;https://github.com/boundarydevices/linux/blob/boundary-android-11.0.0_2.2.0/drivers/media/platform/mxc/capture/ov5640_mipi_v2.c&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; driver in our implementation. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The autofocus functionality for capture of a single focused image is not working with this driver. We have debugged further and these are the observations made:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;1. The init and probe functions are getting called and the firmware is getting downloaded.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2. The init sequence for single focus as mentioned in the OV5640 Application notes&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; a. Write 0x03 to register 0x3022 to start single focus&lt;BR /&gt;&amp;nbsp; &amp;nbsp; b. read back register 0x3029, if the read back value is 0x10, then focus is finished.&lt;BR /&gt;&amp;nbsp; &amp;nbsp; c. Write 0x06 to register 0x3022 to pause auto focus. Lens will stay in current focus position.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and the&amp;nbsp;ov5640_af_start_single function are not getting called by the driver.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. When pressed on autofocus it is calling&amp;nbsp;OV5640_stream_off and going into software power down mode.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The custom logacat and dmesg logs, OV5640 application notes and the driver codes are attached with this mail.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please can you suggest to us as to how we can trigger single focus and further steps to be taken to debug this issue.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks and Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Bhavani S&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 14 Nov 2022 10:06:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Autofocus-not-working-Android-11-imx8m-mini/m-p/1553183#M197518</guid>
      <dc:creator>BHAVANI_S</dc:creator>
      <dc:date>2022-11-14T10:06:45Z</dc:date>
    </item>
    <item>
      <title>Re: Autofocus not working Android 11 imx8m mini</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Autofocus-not-working-Android-11-imx8m-mini/m-p/1556431#M197701</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Camera autofocus is a feature only available in Boundary Devices BSP you will not get help here.&lt;/P&gt;&lt;P&gt;And as mentioned on another thread, the feature is working properly on our platform, please check on a Nitrogen8M Mini SBC.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 18 Nov 2022 10:25:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Autofocus-not-working-Android-11-imx8m-mini/m-p/1556431#M197701</guid>
      <dc:creator>gary_bisson</dc:creator>
      <dc:date>2022-11-18T10:25:39Z</dc:date>
    </item>
  </channel>
</rss>

