<?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: iMX8M Plus ISP on Android - how to enable AutoFocus function ? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1761745#M216166</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218876"&gt;@DVideray&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You must be using quite old version of isp-imx.&lt;BR /&gt;In newer version (I believe from v18 on. Current version is v22 if I am not wrong) these functions are implemented.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;For example, if you download and deploy (simply execute *.bin file on Ubuntu host), you will see that all above function are filled with life.&lt;BR /&gt;isp-imx v20 (in link bellow, you can replace 20 with other numbers to download the version u want):&lt;BR /&gt;&lt;A href="https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-4.2.2.20.0.bin" target="_blank"&gt;https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-4.2.2.20.0.bin&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 22 Nov 2023 08:48:04 GMT</pubDate>
    <dc:creator>malik_cisse</dc:creator>
    <dc:date>2023-11-22T08:48:04Z</dc:date>
    <item>
      <title>iMX8M Plus ISP on Android - how to enable AutoFocus function ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1760984#M216116</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I'm working on implementing auto focus function of ISP on iMX8M Plus under Android for AR1335 camera with DW9790 focus lens driver.&lt;/P&gt;&lt;P&gt;I was able to compile libar1335.so for ISP-IMX and getting image and even see ISP trying to set focus (based on TRACE/DEBUG output). DW9790 driver inserted successfully too, but where are no IOCTL calls to it to set/change focus. Now I noticed that all ISI focus related methods are empty for the only sources code example available to public, specifically OS08A20.c&lt;/P&gt;&lt;P&gt;So, my question, do I have to implement them and if so, where I can get an example ?&lt;/P&gt;&lt;P&gt;Or I'm on the wrong path ?&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;static RESULT AR1335_IsiFocusSetupIss(IsiSensorHandle_t handle)
{
    TRACE(AR1335_INFO, "%s (enter)\n", __func__);
    TRACE(AR1335_INFO, "%s: (exit)\n", __func__);
    return RET_SUCCESS;
}

static RESULT AR1335_IsiFocusReleaseIss(IsiSensorHandle_t handle)
{
    TRACE(AR1335_INFO, "%s (enter)\n", __func__);
    TRACE(AR1335_INFO, "%s: (exit)\n", __func__);
    return RET_SUCCESS;
}

static RESULT AR1335_IsiFocusGetIss(IsiSensorHandle_t handle, IsiFocusPos_t *pPos)
{
    TRACE(AR1335_INFO, "%s (enter)\n", __func__);
    TRACE(AR1335_INFO, "%s: (exit)\n", __func__);
    return RET_SUCCESS;
}

static RESULT AR1335_IsiFocusSetIss(IsiSensorHandle_t handle, IsiFocusPos_t *pPos)
{
    TRACE(AR1335_INFO, "%s (enter)\n", __func__);
    TRACE(AR1335_INFO, "%s: (exit)\n", __func__);
    return RET_SUCCESS;
}

static RESULT AR1335_IsiGetFocusCalibrateIss(IsiSensorHandle_t handle, IsiFoucsCalibAttr_t *pFocusCalib)
{
    TRACE(AR1335_INFO, "%s (enter)\n", __func__);
    TRACE(AR1335_INFO, "%s: (exit)\n", __func__);
    return RET_SUCCESS;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2023 18:17:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1760984#M216116</guid>
      <dc:creator>DVideray</dc:creator>
      <dc:date>2023-11-21T18:17:57Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus ISP on Android - how to enable AutoFocus function ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1761745#M216166</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/218876"&gt;@DVideray&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;You must be using quite old version of isp-imx.&lt;BR /&gt;In newer version (I believe from v18 on. Current version is v22 if I am not wrong) these functions are implemented.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;For example, if you download and deploy (simply execute *.bin file on Ubuntu host), you will see that all above function are filled with life.&lt;BR /&gt;isp-imx v20 (in link bellow, you can replace 20 with other numbers to download the version u want):&lt;BR /&gt;&lt;A href="https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-4.2.2.20.0.bin" target="_blank"&gt;https://www.nxp.com/lgfiles/NMG/MAD/YOCTO/isp-imx-4.2.2.20.0.bin&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 08:48:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1761745#M216166</guid>
      <dc:creator>malik_cisse</dc:creator>
      <dc:date>2023-11-22T08:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus ISP on Android - how to enable AutoFocus function ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1762008#M216196</link>
      <description>&lt;P&gt;I just downloaded it again and where is no ar1335.c at all and os08a20.c example have empty autofocus&amp;nbsp; related methods. I believe, NXP removed those from the package for some reason.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2023 15:01:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1762008#M216196</guid>
      <dc:creator>DVideray</dc:creator>
      <dc:date>2023-11-22T15:01:57Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus ISP on Android - how to enable AutoFocus function ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1762573#M216255</link>
      <description>&lt;P&gt;current bsp doesn't support ar1335 as default, for os08a20, pls find the path as below&lt;/P&gt;
&lt;P&gt;isp-imx-4.2.2.22.0/units/isi/drv/OS08a20/source/&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 09:23:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1762573#M216255</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2023-11-23T09:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus ISP on Android - how to enable AutoFocus function ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1762585#M216257</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/39586" target="_blank"&gt;@joanxie&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What is actually the point of adding drivers in earlier versions and removing them afterwards?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 09:33:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1762585#M216257</guid>
      <dc:creator>malik_cisse</dc:creator>
      <dc:date>2023-11-23T09:33:23Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus ISP on Android - how to enable AutoFocus function ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1762802#M216282</link>
      <description>&lt;P&gt;It's worse! Support for ar1335 and Auto-Focus removed from all releases, including 4.2.2p18 and p19.&lt;/P&gt;&lt;P&gt;I hope to get some explanation and future release plans, so we can plan HW/SW development on our end.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2023 14:50:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1762802#M216282</guid>
      <dc:creator>DVideray</dc:creator>
      <dc:date>2023-11-23T14:50:36Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus ISP on Android - how to enable AutoFocus function ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1765455#M216512</link>
      <description>&lt;P&gt;what kind of driver adding you mean？ could you give me a copy of what you need from old version? let me double check it, I only have 6.1 bsp version right now&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 07:22:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1765455#M216512</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2023-11-29T07:22:21Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus ISP on Android - how to enable AutoFocus function ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1765707#M216553</link>
      <description>&lt;P&gt;AR1335.c (with implemented AutoFocus fuctions) and dewarp XML and JSON files from ISP-IMX/units/isi/drv directory present in original 4.2.2p18 release, but deleted afterwards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also interested in reasons why it was removed after releasing. It doesn't work properly? Some kind of NDA violations? or what ?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2023 13:15:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1765707#M216553</guid>
      <dc:creator>DVideray</dc:creator>
      <dc:date>2023-11-29T13:15:30Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus ISP on Android - how to enable AutoFocus function ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1766165#M216605</link>
      <description>&lt;P&gt;I don't think we have tested this driver(ar1335_mipi_v3.c) since current nxp imx8mp board doesn't support ar1335 as default, but I found internal team tested ar1335 on nxp converter board, but I couldn't share the patches here, if you need it, let me check how you can get it&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="joanxie_0-1701322792850.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/252221iEB59EF8E302A0B13/image-size/medium?v=v2&amp;amp;px=400" role="button" title="joanxie_0-1701322792850.png" alt="joanxie_0-1701322792850.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 05:41:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1766165#M216605</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2023-11-30T05:41:30Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus ISP on Android - how to enable AutoFocus function ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1769260#M216905</link>
      <description>&lt;P&gt;The piece I'm missing is AutoFocus functions/methods implementation example for OS08A20.c&lt;/P&gt;&lt;P&gt;Best regards!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 Dec 2023 20:11:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1769260#M216905</guid>
      <dc:creator>DVideray</dc:creator>
      <dc:date>2023-12-05T20:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus ISP on Android - how to enable AutoFocus function ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1770575#M217010</link>
      <description>&lt;P&gt;function of IsiFocusSetIss, which is called by AF algorithm and then set focus position to Driver under vvcam/v4l2/focus/vcm_dw9790/dw9790.c&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 08:57:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1770575#M217010</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2023-12-07T08:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus ISP on Android - how to enable AutoFocus function ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1770809#M217029</link>
      <description>&lt;P&gt;Correct. Current example of sensor driver for OS08A20.c for ISP looks like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;static RESULT OS08A20_IsiFocusSetupIss(IsiSensorHandle_t handle)
{
    TRACE(OS08A20_INFO, "%s (enter)\n", __func__);
    TRACE(OS08A20_INFO, "%s: (exit)\n", __func__);
    return RET_NOTSUPP;
}

static RESULT OS08A20_IsiFocusReleaseIss(IsiSensorHandle_t handle)
{
    TRACE(OS08A20_INFO, "%s (enter)\n", __func__);
    TRACE(OS08A20_INFO, "%s: (exit)\n", __func__);
    return RET_SUCCESS;
}

static RESULT OS08A20_IsiFocusGetIss(IsiSensorHandle_t handle, IsiFocusPos_t *pPos)
{
    TRACE(OS08A20_INFO, "%s (enter)\n", __func__);
    TRACE(OS08A20_INFO, "%s: (exit)\n", __func__);
    return RET_SUCCESS;
}

static RESULT OS08A20_IsiFocusSetIss(IsiSensorHandle_t handle, IsiFocusPos_t *pPos)
{
    TRACE(OS08A20_INFO, "%s (enter)\n", __func__);
    TRACE(OS08A20_INFO, "%s: (exit)\n", __func__);
    return RET_SUCCESS;
}

static RESULT OS08A20_IsiGetFocusCalibrateIss(IsiSensorHandle_t handle, IsiFoucsCalibAttr_t *pFocusCalib)
{
    TRACE(OS08A20_INFO, "%s (enter)\n", __func__);
    TRACE(OS08A20_INFO, "%s: (exit)\n", __func__);
    return RET_SUCCESS;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Dec 2023 13:49:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1770809#M217029</guid>
      <dc:creator>DVideray</dc:creator>
      <dc:date>2023-12-07T13:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus ISP on Android - how to enable AutoFocus function ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1821268#M220777</link>
      <description>&lt;P&gt;Would it be possible for you to share the patches? We have also have a customer that has developed a camera module based on the ar1335 and has found the support missing now.&amp;nbsp; Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 05 Mar 2024 08:06:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/1821268#M220777</guid>
      <dc:creator>jnettlet</dc:creator>
      <dc:date>2024-03-05T08:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: iMX8M Plus ISP on Android - how to enable AutoFocus function ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/2040837#M233807</link>
      <description>&lt;P&gt;The latest version of the OS08a20 driver for the ISP still simply returns "RET_NOTSUPP". Are there any examples of how to drive a lens using the IMX8M ISP?&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 10:13:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX8M-Plus-ISP-on-Android-how-to-enable-AutoFocus-function/m-p/2040837#M233807</guid>
      <dc:creator>jheaffey</dc:creator>
      <dc:date>2025-02-10T10:13:36Z</dc:date>
    </item>
  </channel>
</rss>

