<?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 RT Crossover MCUsのトピックRe: MIPI DSI Read data Problem</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIPI-DSI-Read-data-Problem/m-p/1410399#M18256</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/190340"&gt;@nxf77486&lt;/a&gt;&amp;nbsp;and thanks for your reply,&lt;/P&gt;&lt;P&gt;I've tried the sdk example "crank_storyboard_ebike" with&amp;nbsp;RT1170 Evaluation Kit and&amp;nbsp;RK055HDMIPI4M display, it works and I receive a 0x9C response from command 0x0A.&lt;/P&gt;&lt;P&gt;I've tried the same example with my board and ST7797 display, but I have the same problem: the program get stucked inside "DSI_TransferBlocking()" function in the same loop:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;    /* Wait for transfer finished. */
    while (true)
    {
        /* Transfer completed. */
        if (0U == (apb-&amp;gt;PKT_STATUS &amp;amp; (uint32_t)kDSI_ApbNotIdle))
        {
            break;
        }

        /* Time out. */
        if (0U != (base-&amp;gt;host-&amp;gt;RX_ERROR_STATUS &amp;amp;
                   ((uint32_t)kDSI_RxErrorHtxTo | (uint32_t)kDSI_RxErrorLrxTo | (uint32_t)kDSI_RxErrorBtaTo)))
        {
            DSI_GetAndClearInterruptStatus(base, &amp;amp;intFlags1New, &amp;amp;intFlags2New);
            return kStatus_Timeout;
        }
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you think that this is a display problem? Maybe It's a BTA problem?&lt;/P&gt;&lt;P&gt;Do you have any suggestion?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Tue, 08 Feb 2022 16:12:06 GMT</pubDate>
    <dc:creator>LucaFerrario1978</dc:creator>
    <dc:date>2022-02-08T16:12:06Z</dc:date>
    <item>
      <title>MIPI DSI Read data Problem</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIPI-DSI-Read-data-Problem/m-p/1406992#M18171</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a problem with Mipi Dsi driver for MX RT 1170, The system works fine when I need just to write to the display, but I can't receive data from the display. I create the dsi command in this way:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;status_t MIPI_DSI_DCS_GetPowerMode(mipi_dsi_device_t *device, uint8_t *rxDataBuffer)
{
    dsi_transfer_t dsiXfer = {0};
    uint8_t txData;
    dsiXfer.virtualChannel = device-&amp;gt;virtualChannel;
    dsiXfer.txDataType     = kDSI_TxDataGenShortRdOneParam;
    dsiXfer.txDataSize     = 1;
    dsiXfer.rxDataSize     = 1;
    dsiXfer.txData         = &amp;amp;txData;
    txData = (uint8_t)kMIPI_DCS_GetPowerMode;

    dsiXfer.rxDataSize     = 1;
    dsiXfer.rxData         = rxDataBuffer;

    return device-&amp;gt;xferFunc(&amp;amp;dsiXfer);
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But the system get stuck in status_t &lt;STRONG&gt;DSI_TransferBlocking&lt;/STRONG&gt;(MIPI_DSI_Type *base, dsi_transfer_t *xfer), in the while (true):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;    /* Wait for transfer finished. */
    while (true)
    {
        /* Transfer completed. */
        if (0U == (apb-&amp;gt;PKT_STATUS &amp;amp; (uint32_t)kDSI_ApbNotIdle))
        {
            break;
        }

        /* Time out. */
        if (0U != (base-&amp;gt;host-&amp;gt;RX_ERROR_STATUS &amp;amp;
                   ((uint32_t)kDSI_RxErrorHtxTo | (uint32_t)kDSI_RxErrorLrxTo | (uint32_t)kDSI_RxErrorBtaTo)))
        {
            DSI_GetAndClearInterruptStatus(base, &amp;amp;intFlags1New, &amp;amp;intFlags2New);
            return kStatus_Timeout;
        }
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;apb-&amp;gt;PKT_STATUS&lt;/STRONG&gt; is always equal to 1 (&lt;STRONG&gt;kDSI_ApbNotIdle&lt;/STRONG&gt;) and&amp;nbsp;&lt;STRONG&gt;base-&amp;gt;host-&amp;gt;RX_ERROR_STATUS&lt;/STRONG&gt; is always equal to 0.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to read the&amp;nbsp;RDDPM "Read Display Power".&lt;BR /&gt;There is something wrong in the command or maybe the configuration of the device?&lt;/P&gt;&lt;P&gt;Attached the debug data, thanks for your help!&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 31 Jan 2022 09:48:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIPI-DSI-Read-data-Problem/m-p/1406992#M18171</guid>
      <dc:creator>LucaFerrario1978</dc:creator>
      <dc:date>2022-01-31T09:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: MIPI DSI Read data Problem</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIPI-DSI-Read-data-Problem/m-p/1408803#M18208</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196362"&gt;@LucaFerrario1978&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;We have some SDK examples for the DSI RT1170 can you please try in you EVK (evaluation board) this in order to evaluate if this is a configuration problem.&lt;/P&gt;
&lt;P&gt;&lt;A title="MIMXRT1170-EVK" href="https://mcuxpresso.nxp.com/en/builder?hw=MIMXRT1170-EVK" target="_blank" rel="noopener"&gt;MIMXRT1170-EVK&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please let me know if it works and if this work please use as a guidance for configuration the SDK example.&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 00:41:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIPI-DSI-Read-data-Problem/m-p/1408803#M18208</guid>
      <dc:creator>nxf77486</dc:creator>
      <dc:date>2022-02-04T00:41:00Z</dc:date>
    </item>
    <item>
      <title>Re: MIPI DSI Read data Problem</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIPI-DSI-Read-data-Problem/m-p/1410399#M18256</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/190340"&gt;@nxf77486&lt;/a&gt;&amp;nbsp;and thanks for your reply,&lt;/P&gt;&lt;P&gt;I've tried the sdk example "crank_storyboard_ebike" with&amp;nbsp;RT1170 Evaluation Kit and&amp;nbsp;RK055HDMIPI4M display, it works and I receive a 0x9C response from command 0x0A.&lt;/P&gt;&lt;P&gt;I've tried the same example with my board and ST7797 display, but I have the same problem: the program get stucked inside "DSI_TransferBlocking()" function in the same loop:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;    /* Wait for transfer finished. */
    while (true)
    {
        /* Transfer completed. */
        if (0U == (apb-&amp;gt;PKT_STATUS &amp;amp; (uint32_t)kDSI_ApbNotIdle))
        {
            break;
        }

        /* Time out. */
        if (0U != (base-&amp;gt;host-&amp;gt;RX_ERROR_STATUS &amp;amp;
                   ((uint32_t)kDSI_RxErrorHtxTo | (uint32_t)kDSI_RxErrorLrxTo | (uint32_t)kDSI_RxErrorBtaTo)))
        {
            DSI_GetAndClearInterruptStatus(base, &amp;amp;intFlags1New, &amp;amp;intFlags2New);
            return kStatus_Timeout;
        }
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you think that this is a display problem? Maybe It's a BTA problem?&lt;/P&gt;&lt;P&gt;Do you have any suggestion?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Tue, 08 Feb 2022 16:12:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIPI-DSI-Read-data-Problem/m-p/1410399#M18256</guid>
      <dc:creator>LucaFerrario1978</dc:creator>
      <dc:date>2022-02-08T16:12:06Z</dc:date>
    </item>
    <item>
      <title>Re: MIPI DSI Read data Problem</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIPI-DSI-Read-data-Problem/m-p/1413876#M18352</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/196362"&gt;@LucaFerrario1978&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;I'm glad to hear that you were able to use the RT1170 EVK with the RK055HDMIPI4M display. The problem could be on the display please verify that the example settings that we have on the SDK example are good with the ST product. But as it works with the RK055HDMIPI4M this could be related with the other non NXP product. Please let me know if you have any other question.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Feb 2022 19:49:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIPI-DSI-Read-data-Problem/m-p/1413876#M18352</guid>
      <dc:creator>nxf77486</dc:creator>
      <dc:date>2022-02-15T19:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: MIPI DSI Read data Problem</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIPI-DSI-Read-data-Problem/m-p/1428322#M18762</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have solved the problem!&lt;/P&gt;&lt;P&gt;The issue was inside the MPI DSI Low Power configuration: "BOARD_InitMipiDsiClock()" function inside display_support.c.&lt;/P&gt;&lt;P&gt;The clock configuration for "RxClkEsc" was wrong for my display, so I could transmit the DSI command but I could not receive.&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 08:44:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/MIPI-DSI-Read-data-Problem/m-p/1428322#M18762</guid>
      <dc:creator>LucaFerrario1978</dc:creator>
      <dc:date>2022-03-15T08:44:07Z</dc:date>
    </item>
  </channel>
</rss>

