<?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: i. MX8M Mini MIPI-DSI Issue Send DCS Command to Panel with CMD 35h - wait pkthdr tx done time ou</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-MIPI-DSI-Issue-Send-DCS-Command-to-Panel-with-CMD/m-p/1986632#M230399</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;This is a hardware mechanism and cannot be interrupted.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
    <pubDate>Mon, 04 Nov 2024 02:02:30 GMT</pubDate>
    <dc:creator>Zhiming_Liu</dc:creator>
    <dc:date>2024-11-04T02:02:30Z</dc:date>
    <item>
      <title>i. MX8M Mini MIPI-DSI Issue Send DCS Command to Panel with CMD 35h - wait pkthdr tx done time out</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-MIPI-DSI-Issue-Send-DCS-Command-to-Panel-with-CMD/m-p/1985318#M230323</link>
      <description>&lt;P&gt;We have a Panel that requires init commands to be sent.&lt;/P&gt;&lt;P&gt;We have modified the panel-raydium-rm67191.c to send our command list.&lt;/P&gt;&lt;P&gt;As with similar questions, we moved sending the command list from the 'prepare' function to the 'enable' function.&lt;/P&gt;&lt;P&gt;Using the 'generic_write' will successfully send all commands. But if we use the 'dcs_write' functions it fails after over 100 commands are sent.&lt;/P&gt;&lt;P&gt;From testing, it appears to be due to sending a command with 0x35 as the cmd field, eg:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;mipi_dsi_dcs_write_seq(dsi, 0xFF,0x30);  // set target to config page 3
mipi_dsi_dcs_write_seq(dsi, 0xFF,0x52);
mipi_dsi_dcs_write_seq(dsi, 0xFF,0x03);
...
mipi_dsi_dcs_write_seq(dsi, 0x35,0x00);  // After this command D0+ &amp;amp; D0- held low
mipi_dsi_dcs_write_seq(dsi, 0x36,0x00);  // This command fails with wait pkthdr tx done time out because it can't transmit while lines held&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(commenting out any 0x35 commands successfully completes sending all commands).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;From digging, it appears that the IMX8MM MIPI-DSI controller sees the 0x35 command as the "MIPI_DCS_SET_TEAR_ON = 0x35" command and automatically sets the lines in BTA mode. From the datasheet DSI_ESCMODE register:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mharg_0-1730356220965.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/307857i142D37A892FCDB55/image-size/medium?v=v2&amp;amp;px=400" role="button" title="mharg_0-1730356220965.png" alt="mharg_0-1730356220965.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;But we're sending this as a custom register configuration request to the panel, not a SET_TEAR_ON request.&lt;/P&gt;&lt;P&gt;Note: That this issue occurs exactly the same with or without a panel connected.&lt;/P&gt;&lt;P&gt;Is there a way to disable the automatic BTA request when the controller sees a 0x35 command?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2024 06:40:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-MIPI-DSI-Issue-Send-DCS-Command-to-Panel-with-CMD/m-p/1985318#M230323</guid>
      <dc:creator>mharg</dc:creator>
      <dc:date>2024-10-31T06:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: i. MX8M Mini MIPI-DSI Issue Send DCS Command to Panel with CMD 35h - wait pkthdr tx done time ou</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-MIPI-DSI-Issue-Send-DCS-Command-to-Panel-with-CMD/m-p/1986065#M230367</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205035"&gt;@mharg&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Referring the MIPI DCS spec, the command 0x35 is set_tear_on.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zhiming_Liu_0-1730443988446.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/308096iCB1AF5AF7B00ABFF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zhiming_Liu_0-1730443988446.png" alt="Zhiming_Liu_0-1730443988446.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And referring the RM,&amp;nbsp;set_tear_on will set BTA&amp;nbsp;automatically.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Zhiming_Liu_1-1730444059846.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/308098i174C9EF99DFA88F0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Zhiming_Liu_1-1730444059846.png" alt="Zhiming_Liu_1-1730444059846.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is there a way to disable the automatic BTA request when the controller sees a 0x35 command?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;--&amp;gt;So we can't disable BTA when&amp;nbsp;&lt;SPAN&gt;the controller sees a 0x35 command&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 06:56:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-MIPI-DSI-Issue-Send-DCS-Command-to-Panel-with-CMD/m-p/1986065#M230367</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2024-11-01T06:56:02Z</dc:date>
    </item>
    <item>
      <title>Re: i. MX8M Mini MIPI-DSI Issue Send DCS Command to Panel with CMD 35h - wait pkthdr tx done time ou</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-MIPI-DSI-Issue-Send-DCS-Command-to-Panel-with-CMD/m-p/1986072#M230368</link>
      <description>Is there a way to cancel or abort the BTA ?</description>
      <pubDate>Fri, 01 Nov 2024 07:08:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-MIPI-DSI-Issue-Send-DCS-Command-to-Panel-with-CMD/m-p/1986072#M230368</guid>
      <dc:creator>mharg</dc:creator>
      <dc:date>2024-11-01T07:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: i. MX8M Mini MIPI-DSI Issue Send DCS Command to Panel with CMD 35h - wait pkthdr tx done time ou</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-MIPI-DSI-Issue-Send-DCS-Command-to-Panel-with-CMD/m-p/1986632#M230399</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;This is a hardware mechanism and cannot be interrupted.&lt;BR /&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Zhiming&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2024 02:02:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/i-MX8M-Mini-MIPI-DSI-Issue-Send-DCS-Command-to-Panel-with-CMD/m-p/1986632#M230399</guid>
      <dc:creator>Zhiming_Liu</dc:creator>
      <dc:date>2024-11-04T02:02:30Z</dc:date>
    </item>
  </channel>
</rss>

