<?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: FLEXSPI_Init (mostly FLEXSPI_SoftwareReset) causes a hardfault while trying to initialize FlexSP in i.MX RT Crossover MCUs</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503634#M20968</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200688"&gt;@Lukaz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;flexspi_nor_polling_transfer &lt;/STRONG&gt;is used to the external flash is QSPI flash, in fact, it is for:&amp;nbsp;IS25WP064AJBLE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; So, in your own RT1061 board, which detail flash you are using now? Different external flash have different configuration.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Even you use the same qspi flash&amp;nbsp;IS25WP064AJBLE, in the first time, as your QSPI flash is new, and QE bit is not enabled, you need to run it from internal flash, otherwise, you will meet the boot issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If you use other flash, you also meet issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; So, at first, please let us know your used external flash, and the connection to the RT1061 board.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 Aug 2022 03:11:56 GMT</pubDate>
    <dc:creator>kerryzhou</dc:creator>
    <dc:date>2022-08-10T03:11:56Z</dc:date>
    <item>
      <title>FLEXSPI_Init (mostly FLEXSPI_SoftwareReset) causes a hardfault while trying to initialize FlexSPI</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503404#M20955</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;I am building my own module to access an external flash memory using a &lt;STRONG&gt;MIMXRT1061CVL5B&lt;/STRONG&gt; controller. It is built on the example in the SDK&amp;nbsp;&lt;STRONG&gt;flexspi_nor_polling_transfer&lt;/STRONG&gt;, I keep running into a hardfault that is caused by the&amp;nbsp;&lt;STRONG&gt;FLEXSPI_Init&lt;/STRONG&gt;, and I am almost sure it is from the function call &lt;STRONG&gt;FLEXSPI_SoftwareReset&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;I tried to add the object files to the RAM in the .icf file as it is in the SDK example but that didn't help&lt;BR /&gt;Can anybody help me?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 09 Aug 2022 15:34:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503404#M20955</guid>
      <dc:creator>Lukaz</dc:creator>
      <dc:date>2022-08-09T15:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXSPI_Init (mostly FLEXSPI_SoftwareReset) causes a hardfault while trying to initialize FlexSP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503634#M20968</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200688"&gt;@Lukaz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Thank you for your interest in the NXP MIMXRT product, I would like to provide service for you.&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;flexspi_nor_polling_transfer &lt;/STRONG&gt;is used to the external flash is QSPI flash, in fact, it is for:&amp;nbsp;IS25WP064AJBLE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; So, in your own RT1061 board, which detail flash you are using now? Different external flash have different configuration.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Even you use the same qspi flash&amp;nbsp;IS25WP064AJBLE, in the first time, as your QSPI flash is new, and QE bit is not enabled, you need to run it from internal flash, otherwise, you will meet the boot issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; If you use other flash, you also meet issues.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; So, at first, please let us know your used external flash, and the connection to the RT1061 board.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 03:11:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503634#M20968</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-08-10T03:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXSPI_Init (mostly FLEXSPI_SoftwareReset) causes a hardfault while trying to initialize FlexSP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503735#M20977</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;SPAN&gt;Kerry,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am aware of the difference between the flashes. I am using winbond&amp;nbsp;&lt;STRONG&gt;W25Q64JVSSIQ&lt;/STRONG&gt;, and I am able to boot from it with no problem. The QE bit is by default enabled (actually can't be cleared in this flash). Can you please give an example of how could the configuration for the initialization be different? I customized all my functions and the LUT to be compatible with the flash I am using, only the initialization is the same as the one in the &lt;STRONG&gt;flexspi_nor_polling_transfer&amp;nbsp;&lt;/STRONG&gt;example. Please see below my init function.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lukaz_0-1660114074830.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/189761i5B21B6F5FE436A9A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lukaz_0-1660114074830.png" alt="Lukaz_0-1660114074830.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lukaz_1-1660114110768.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/189762i384C4B19533C062A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lukaz_1-1660114110768.png" alt="Lukaz_1-1660114110768.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 06:48:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503735#M20977</guid>
      <dc:creator>Lukaz</dc:creator>
      <dc:date>2022-08-10T06:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXSPI_Init (mostly FLEXSPI_SoftwareReset) causes a hardfault while trying to initialize FlexSP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503804#M20984</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200688"&gt;@Lukaz&lt;/a&gt;&amp;nbsp;，&lt;/P&gt;
&lt;P&gt;Thanks for your updated information.&lt;/P&gt;
&lt;P&gt;Now, run this code in the internal RAM:&lt;/P&gt;
&lt;P&gt;SDK_2_12_0_EVK-MIMXRT1060\boards\evkmimxrt1060\driver_examples\flexspi\nor\polling_transfer&lt;/P&gt;
&lt;P&gt;You need to modify the code for your winbond chip:&lt;/P&gt;
&lt;P&gt;&amp;nbsp; 1. Modify LUT&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1). From:&lt;/P&gt;
&lt;P&gt;/* Erase Sector */&lt;BR /&gt;[4 * NOR_CMD_LUT_SEQ_IDX_ERASESECTOR] =&lt;BR /&gt;FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0xD7, kFLEXSPI_Command_RADDR_SDR, kFLEXSPI_1PAD, 0x18),&lt;/P&gt;
&lt;P&gt;To:&lt;/P&gt;
&lt;P&gt;/* Erase Sector */&lt;BR /&gt;[4 * NOR_CMD_LUT_SEQ_IDX_ERASESECTOR] =&lt;BR /&gt;FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, &lt;STRONG&gt;0X20&lt;/STRONG&gt;, kFLEXSPI_Command_RADDR_SDR, kFLEXSPI_1PAD, 0x18),&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2). From&lt;/P&gt;
&lt;P&gt;/* Enable Quad mode */&lt;BR /&gt;[4 * NOR_CMD_LUT_SEQ_IDX_WRITESTATUSREG] =&lt;BR /&gt;FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, 0x01, kFLEXSPI_Command_WRITE_SDR, kFLEXSPI_1PAD, 0x04),&lt;/P&gt;
&lt;P&gt;to:&lt;/P&gt;
&lt;P&gt;/* Enable Quad mode */&lt;BR /&gt;[4 * NOR_CMD_LUT_SEQ_IDX_WRITESTATUSREG] =&lt;BR /&gt;FLEXSPI_LUT_SEQ(kFLEXSPI_Command_SDR, kFLEXSPI_1PAD, &lt;STRONG&gt;0x31&lt;/STRONG&gt;, kFLEXSPI_Command_WRITE_SDR, kFLEXSPI_1PAD, 0x04),&lt;/P&gt;
&lt;P&gt;3) QE bit&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1660119271921.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/189770iA9ADB2391A76F39C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1660119271921.png" alt="kerryzhou_0-1660119271921.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;app.h&lt;/P&gt;
&lt;P&gt;From&lt;/P&gt;
&lt;P&gt;#define FLASH_QUAD_ENABLE 0x40&lt;/P&gt;
&lt;P&gt;to:&lt;/P&gt;
&lt;P&gt;#define FLASH_QUAD_ENABLE 0x02&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Please also check your hardware&lt;/P&gt;
&lt;P&gt;DQS pin, I mean this pin:&lt;/P&gt;
&lt;P&gt;GPIO_SD_B1_05&lt;/P&gt;
&lt;P&gt;You need to leave it as float, otherwise, it will influence the flexSPI frequency.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then test the code in the RAM, whether you can do the external flash erase, read, write or not?&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 08:19:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503804#M20984</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-08-10T08:19:41Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXSPI_Init (mostly FLEXSPI_SoftwareReset) causes a hardfault while trying to initialize FlexSP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503812#M20986</link>
      <description>&lt;P&gt;Hi Kerry,&lt;BR /&gt;thanks for the reply, I understand all that you are asking me to do, except running the code from the internal RAM, what exactly do u mean?&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 08:31:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503812#M20986</guid>
      <dc:creator>Lukaz</dc:creator>
      <dc:date>2022-08-10T08:31:05Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXSPI_Init (mostly FLEXSPI_SoftwareReset) causes a hardfault while trying to initialize FlexSP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503836#M20988</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200688"&gt;@Lukaz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Thanks very easy if you are using the MCUXPresso IDE, just do the following configuration:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_0-1660121238224.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/189773i6A6F98B33677093D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_0-1660121238224.png" alt="kerryzhou_0-1660121238224.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I need to use the RAM code to test your external flash totally works at first.&lt;/P&gt;
&lt;P&gt;You can check the printf information with the UART, or you can check it in console if you enable the semihost:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kerryzhou_1-1660121308434.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/189774iD5CB5E3EBCF9827D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kerryzhou_1-1660121308434.png" alt="kerryzhou_1-1660121308434.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Please test it on your side, and share me your printf information after the code modification.&lt;/P&gt;
&lt;P&gt;Please also make sure the DQS pin is float, otherwise, you need to cut down the flexSPI frequency to 60Mhz, and set :&lt;/P&gt;
&lt;P&gt;Dummy read strobe generated by FlexSPI controller and looped back internally&lt;BR /&gt;(FlexSPIn_MCR0[RXCLKSRC] = 0x0)&lt;/P&gt;
&lt;P&gt;Best Regards&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 08:50:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503836#M20988</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-08-10T08:50:38Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXSPI_Init (mostly FLEXSPI_SoftwareReset) causes a hardfault while trying to initialize FlexSP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503852#M20992</link>
      <description>&lt;P&gt;Hi Kerry,&lt;BR /&gt;I am using IAR, can you tell me how can I do that in IAR?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 09:08:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503852#M20992</guid>
      <dc:creator>Lukaz</dc:creator>
      <dc:date>2022-08-10T09:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXSPI_Init (mostly FLEXSPI_SoftwareReset) causes a hardfault while trying to initialize FlexSP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503861#M20994</link>
      <description>&lt;P&gt;Hello Kerry,&lt;BR /&gt;I used the linker file that comes with the&amp;nbsp;flexspi_nor_polling_transfer SDK example and was able to run the application from the RAM and it works successfully.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Lukaz_0-1660123078948.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/189778iF7D956D51E289628/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Lukaz_0-1660123078948.png" alt="Lukaz_0-1660123078948.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 09:18:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503861#M20994</guid>
      <dc:creator>Lukaz</dc:creator>
      <dc:date>2022-08-10T09:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXSPI_Init (mostly FLEXSPI_SoftwareReset) causes a hardfault while trying to initialize FlexSP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503905#M20998</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200688"&gt;@Lukaz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Good!&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;So, from your printf log, you are totally works OK.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;So, it already pass the the software reset you mentioned.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;Please help to check it, I think your issue is solved now.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;If you still have issues, just kindly let me know.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 10:41:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503905#M20998</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-08-10T10:41:16Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXSPI_Init (mostly FLEXSPI_SoftwareReset) causes a hardfault while trying to initialize FlexSP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503930#M20999</link>
      <description>&lt;P&gt;Hi Kerry&lt;BR /&gt;Thank you for your help, that is what I exactly thought that the issue is now solved, but it wasn't.&lt;BR /&gt;I could track it tho and I know now what is causing this hardfault, but I don't know why.&lt;BR /&gt;&lt;BR /&gt;In my project I use the PIT module as well, I kept tracking things in my project and long story short, when I eliminate the PIT initialization from the project everything works fine otherwise I keep running into the hardfault. If you have some idea about why that might be so, I would be grateful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 11:01:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503930#M20999</guid>
      <dc:creator>Lukaz</dc:creator>
      <dc:date>2022-08-10T11:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXSPI_Init (mostly FLEXSPI_SoftwareReset) causes a hardfault while trying to initialize FlexSP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503940#M21000</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200688"&gt;@Lukaz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Ok, I know, your issue is caused by other code, eg, PIT.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; I think you enable the PIT interrupt, right?&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp;This should be the key point, when do the flash operation, it should not be interrupted by other moduld, so you need to disable the PIT interrupt before you do the flexSPI operation, after it is finished, you can enable the PIT interrupt again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Please help to check it, I think it is root reason.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;kerry&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 11:09:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503940#M21000</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-08-10T11:09:36Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXSPI_Init (mostly FLEXSPI_SoftwareReset) causes a hardfault while trying to initialize FlexSP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503943#M21001</link>
      <description>&lt;P&gt;That is EXACTLY it !&lt;/P&gt;&lt;P&gt;Thank you Kerry, have a nice day &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 11:11:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503943#M21001</guid>
      <dc:creator>Lukaz</dc:creator>
      <dc:date>2022-08-10T11:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXSPI_Init (mostly FLEXSPI_SoftwareReset) causes a hardfault while trying to initialize FlexSP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503963#M21002</link>
      <description>&lt;P&gt;Hi Kerry,&lt;BR /&gt;I have one more question please, does this mean when I start any flash operation I should disable all interrupts from other modules? would that be solved if I use the DMA for flash operations?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 11:36:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503963#M21002</guid>
      <dc:creator>Lukaz</dc:creator>
      <dc:date>2022-08-10T11:36:33Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXSPI_Init (mostly FLEXSPI_SoftwareReset) causes a hardfault while trying to initialize FlexSP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503987#M21003</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/200688"&gt;@Lukaz&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Set the flash as the highest level, otherwise, it may meet issues when other interrupt happens.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; BTW, you also can use this ROM API:&lt;/P&gt;
&lt;P&gt;SDK_2_12_0_EVK-MIMXRT1060\boards\evkmimxrt1060\driver_examples\fsl_romapi&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Then check, whether it can be influenced by other interrupt.&lt;/P&gt;
&lt;P&gt;&amp;nbsp; This code also can do the flash operation, with the ROM API code.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Kerry&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 12:12:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503987#M21003</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2022-08-10T12:12:57Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXSPI_Init (mostly FLEXSPI_SoftwareReset) causes a hardfault while trying to initialize FlexSP</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503992#M21004</link>
      <description>&lt;P&gt;I was about to try this interrupt priority, I will also take a look at this ROAM API.&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;</description>
      <pubDate>Wed, 10 Aug 2022 12:15:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Init-mostly-FLEXSPI-SoftwareReset-causes-a-hardfault/m-p/1503992#M21004</guid>
      <dc:creator>Lukaz</dc:creator>
      <dc:date>2022-08-10T12:15:32Z</dc:date>
    </item>
  </channel>
</rss>

