<?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: imx6ull tw9990 camera driver issue in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/imx6ull-tw9990-camera-driver-issue/m-p/2031106#M233167</link>
    <description>&lt;P&gt;how about setting&amp;nbsp; BASEADDR_SWITCH_SEL =0 and&amp;nbsp;&amp;nbsp; BASEADDR_SWITCH_EN =0 ? I had another customer who has similar error message, fixed it after change to 0, but normally we suggest customer to set 1&lt;/P&gt;</description>
    <pubDate>Tue, 21 Jan 2025 05:43:50 GMT</pubDate>
    <dc:creator>joanxie</dc:creator>
    <dc:date>2025-01-21T05:43:50Z</dc:date>
    <item>
      <title>imx6ull tw9990 camera driver issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ull-tw9990-camera-driver-issue/m-p/2019481#M232379</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;I encountered a problem where the camera data I obtained was messy. I used imx6ull, version 4.1.15 of the kernel, modified the driver based on this issue: imx6ul tw9990 issue(&lt;A href="https://community.nxp.com/t5/i-MX-Processors/imx6ul-tw9990-issue/m-p/709933" target="_blank"&gt;https://community.nxp.com/t5/i-MX-Processors/imx6ul-tw9990-issue/m-p/709933&lt;/A&gt;), and tested it using the luvcview tool. The resulting data is as follows, and the image will shake:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 872px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/317324iF465AA2384B13ADB/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; Frequently reporting address switching errors:&lt;/P&gt;&lt;P&gt;root@ATK-IMX6U:~# ./luvcview -d /dev/video0 -f yuv -s 720x576&lt;BR /&gt;luvcview version v0.1 [ 18.398201] func--&amp;gt;csi_init_interface&lt;/P&gt;&lt;P&gt;size width: 720 height: 576&lt;BR /&gt;[ 18.403123] func---&amp;gt;ioctl_s_parm,type:1&lt;BR /&gt;video /dev/video0&lt;BR /&gt;length: 829440 offset: 0&lt;BR /&gt;Buffer mapped at address 0x76ebb000.&lt;BR /&gt;length: 829440 offset: 831488&lt;BR /&gt;Buffer mapped at address 0x76df0000.&lt;BR /&gt;vinfo: xoffset:0 yoffset:0 bits_per_pixel:16 xres:480 yres:272&lt;BR /&gt;[ 18.432852] func-&amp;gt;csi_tvdec_enable --------------------&lt;BR /&gt;[ 18.438105] func-&amp;gt;csi_tvdec_enable cr18 set--------------------&lt;BR /&gt;get picture !&lt;BR /&gt;[ 18.785755] base address switching Change Err.&lt;BR /&gt;[ 18.825751] base address switching Change Err.&lt;BR /&gt;[ 19.105738] base address switching Change Err.&lt;BR /&gt;[ 19.145735] base address switching Change Err.&lt;BR /&gt;[ 19.545713] base address switching Change Err.&lt;BR /&gt;[ 19.624180] mx6s-csi 21c4000.csi: 9a200000 != 9a100000 2&lt;BR /&gt;[ 19.664193] mx6s-csi 21c4000.csi: 9a100000 != 9a200000 1&lt;BR /&gt;[ 20.185676] base address switching Change Err.&lt;BR /&gt;[ 20.264144] mx6s-csi 21c4000.csi: 9a200000 != 9a100000 2&lt;BR /&gt;[ 20.304158] mx6s-csi 21c4000.csi: 9a100000 != 9a200000 1&lt;BR /&gt;[ 20.505663] base address switching Change Err.&lt;BR /&gt;[ 20.584124] mx6s-csi 21c4000.csi: 9a100000 != 9a300000 2&lt;BR /&gt;[ 20.589578] base address switching Change Err.&lt;BR /&gt;[ 20.704119] mx6s-csi 21c4000.csi: 9a200000 != 9a100000 1&lt;BR /&gt;[ 22.105566] base address switching Change Err.&lt;BR /&gt;[ 22.184037] mx6s-csi 21c4000.csi: 9a200000 != 9a100000 2&lt;BR /&gt;[ 22.224036] mx6s-csi 21c4000.csi: 9a100000 != 9a200000 1&lt;BR /&gt;[ 22.265557] base address switching Change Err.&lt;BR /&gt;[ 24.665418] base address switching Change Err.&lt;BR /&gt;[ 25.025403] base address switching Change Err.&lt;BR /&gt;[ 25.065397] base address switching Change Err.&lt;BR /&gt;[ 25.305382] base address switching Change Err.&lt;BR /&gt;[ 25.825352] base address switching Change Err.&lt;BR /&gt;[ 25.865349] base address switching Change Err.&lt;BR /&gt;[ 26.185335] base address switching Change Err.&lt;BR /&gt;[ 26.263803] mx6s-csi 21c4000.csi: 9a100000 != 9a300000 2&lt;BR /&gt;[ 26.545312] base address switching Change Err.&lt;BR /&gt;[ 26.585308] base address switching Change Err.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; The attachment is the drivers/media/platform/mxc/subdev/mx6s_capture.c and the CSI register viewed during luvcview tool runtime.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;Can someone help me check what problem? Thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2024 03:21:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ull-tw9990-camera-driver-issue/m-p/2019481#M232379</guid>
      <dc:creator>zhufeng</dc:creator>
      <dc:date>2024-12-26T03:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ull tw9990 camera driver issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ull-tw9990-camera-driver-issue/m-p/2023715#M232757</link>
      <description>&lt;P&gt;you can refer to the link as below&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-Processors-Knowledge-Base/How-to-enable-i-MX6UL-CSI-port-support-BT-656-deinterlace-mode/ta-p/1110764" target="_blank"&gt;How to enable i.MX6UL&amp;nbsp; CSI port support BT.656 deinterlace mode and PXP preview - NXP Community&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;for&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;base address switching Change Err, pls check&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&amp;nbsp;BASEADDR_SWITCH_SEL&amp;nbsp; and&amp;nbsp; BASEADDR_SWITCH_EN, try to set them to 1&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jan 2025 05:34:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ull-tw9990-camera-driver-issue/m-p/2023715#M232757</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2025-01-08T05:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ull tw9990 camera driver issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ull-tw9990-camera-driver-issue/m-p/2026430#M232920</link>
      <description>Hi joanxie,&lt;BR /&gt;Thank you for your reply.&lt;BR /&gt;The link address for this issue is the same patch as the one mentioned above, but the problem still exists.&lt;BR /&gt;Do you have any other suggestions?</description>
      <pubDate>Mon, 13 Jan 2025 06:17:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ull-tw9990-camera-driver-issue/m-p/2026430#M232920</guid>
      <dc:creator>zhufeng</dc:creator>
      <dc:date>2025-01-13T06:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ull tw9990 camera driver issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ull-tw9990-camera-driver-issue/m-p/2027276#M232969</link>
      <description>&lt;P&gt;for your error message, I gave the suggestion, pls check the register&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;BASEADDR_SWITCH_SEL&amp;nbsp; and&amp;nbsp; BASEADDR_SWITCH_EN, try to set them to 1&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2025 05:39:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ull-tw9990-camera-driver-issue/m-p/2027276#M232969</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2025-01-14T05:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ull tw9990 camera driver issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ull-tw9990-camera-driver-issue/m-p/2028003#M233006</link>
      <description>Thinks!&lt;BR /&gt;When initializing, these two have already been set to 1 (see attachment mx6s_capture. c --&amp;gt;csi_tvdec_mable), and during runtime, the value read from the register is also 1 (see attachment CSI-REG.txt)</description>
      <pubDate>Wed, 15 Jan 2025 05:51:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ull-tw9990-camera-driver-issue/m-p/2028003#M233006</guid>
      <dc:creator>zhufeng</dc:creator>
      <dc:date>2025-01-15T05:51:01Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ull tw9990 camera driver issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ull-tw9990-camera-driver-issue/m-p/2031106#M233167</link>
      <description>&lt;P&gt;how about setting&amp;nbsp; BASEADDR_SWITCH_SEL =0 and&amp;nbsp;&amp;nbsp; BASEADDR_SWITCH_EN =0 ? I had another customer who has similar error message, fixed it after change to 0, but normally we suggest customer to set 1&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jan 2025 05:43:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ull-tw9990-camera-driver-issue/m-p/2031106#M233167</guid>
      <dc:creator>joanxie</dc:creator>
      <dc:date>2025-01-21T05:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: imx6ull tw9990 camera driver issue</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/imx6ull-tw9990-camera-driver-issue/m-p/2032701#M233265</link>
      <description>Think you!&lt;BR /&gt;I tried to set BASEADDR_SWITCH_SEL and BASEADDR_SWITCH_EN to 0, there was no “base address switching Change Err” during runtime. However, the screen still flickered and the application died shortly after. The serial terminal was unable to exit the program and had to restart the system.&lt;BR /&gt;Do you have any other suggestions?</description>
      <pubDate>Thu, 23 Jan 2025 01:36:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/imx6ull-tw9990-camera-driver-issue/m-p/2032701#M233265</guid>
      <dc:creator>zhufeng</dc:creator>
      <dc:date>2025-01-23T01:36:00Z</dc:date>
    </item>
  </channel>
</rss>

