<?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: How to configure QSPI flash before BootROM read data from it.</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-configure-QSPI-flash-before-BootROM-read-data-from-it/m-p/1597404#M23677</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/56840"&gt;@jeremyzhou&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I noticed that the exact identical example for i.MX RT1060 is also invoking flexspi_nor_enable_quad_mode() method even if, according to&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833"&gt;@diego_charles&lt;/a&gt;&amp;nbsp;reply to my thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT/Cannot-understand-how-XIP-FlexSPI-configuration-could-work-on/m-p/1586575" target="_blank"&gt;https://community.nxp.com/t5/i-MX-RT/Cannot-understand-how-XIP-FlexSPI-configuration-could-work-on/m-p/1586575&lt;/A&gt;&lt;/P&gt;&lt;P&gt;he said that BootROM is in charge to (magically?) set QE bit in status register before program execution starts. So the question is, what's the purpose of invoking this method? If I skip it, the example works flawlessly.&lt;/P&gt;</description>
    <pubDate>Fri, 10 Feb 2023 14:27:55 GMT</pubDate>
    <dc:creator>SpoonMan</dc:creator>
    <dc:date>2023-02-10T14:27:55Z</dc:date>
    <item>
      <title>How to configure QSPI flash before BootROM read data from it.</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-configure-QSPI-flash-before-BootROM-read-data-from-it/m-p/931546#M3803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear NXP Support,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am currently using i.MXRT1052CVL6B and Winbond W25Q64FV2PIG QSPI Serial NOR flash memory attached to FlexSPI.&lt;/P&gt;&lt;P&gt;Unfortunately Winbond&amp;nbsp;&lt;SPAN&gt;W25Q64FV2PIG&amp;nbsp;has a default configuration to use standard SPI and QE bit in status register&amp;nbsp; should be set before running fast read command (0xEB).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I tried to find proper configuration value in FlexSPI configuration block then found some fields look like to configure QSPI flash before running operation by LUT.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;These are 'deviceModeCfgEnable', 'deviceModeType', 'deviceModeSeq', and 'deviceModeArg'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But the descriptions in IMXRT1050 Reference Manual are not enough for me to use these configurations.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;So I would like to know how Bootrom can send a command to set it in Quad SPI mode before XIP operation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And one more thing.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am really curious about macro definitions for LUT opcodes in evkbimxrt1050_flexspi_nor_config.h which are&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define CMD_SDR 0x01&lt;BR /&gt;#define CMD_DDR 0x21&lt;BR /&gt;#define RADDR_SDR 0x02&lt;BR /&gt;#define RADDR_DDR 0x22&lt;BR /&gt;#define CADDR_SDR 0x03&lt;BR /&gt;#define CADDR_DDR 0x23&lt;BR /&gt;#define MODE1_SDR 0x04&lt;BR /&gt;#define MODE1_DDR 0x24&lt;BR /&gt;#define MODE2_SDR 0x05&lt;BR /&gt;#define MODE2_DDR 0x25&lt;BR /&gt;#define MODE4_SDR 0x06&lt;BR /&gt;#define MODE4_DDR 0x26&lt;BR /&gt;#define MODE8_SDR 0x07&lt;BR /&gt;#define MODE8_DDR 0x27&lt;BR /&gt;#define WRITE_SDR 0x08&lt;BR /&gt;#define WRITE_DDR 0x28&lt;BR /&gt;#define READ_SDR 0x09&lt;BR /&gt;#define READ_DDR 0x29&lt;BR /&gt;#define LEARN_SDR 0x0A&lt;BR /&gt;#define LEARN_DDR 0x2A&lt;BR /&gt;#define DATSZ_SDR 0x0B&lt;BR /&gt;#define DATSZ_DDR 0x2B&lt;BR /&gt;#define DUMMY_SDR 0x0C&lt;BR /&gt;#define DUMMY_DDR 0x2C&lt;BR /&gt;#define DUMMY_RWDS_SDR 0x0D&lt;BR /&gt;#define DUMMY_RWDS_DDR 0x2D&lt;BR /&gt;#define JMP_ON_CS 0x1F&lt;BR /&gt;#define STOP 0&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Do you have any documents explains how&amp;nbsp; to use FLEXSPI_LUT_SEQ() macros to make custom LUT?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Jay&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Aug 2019 02:26:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-configure-QSPI-flash-before-BootROM-read-data-from-it/m-p/931546#M3803</guid>
      <dc:creator>ju-hakpark</dc:creator>
      <dc:date>2019-08-19T02:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure QSPI flash before BootROM read data from it.</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-configure-QSPI-flash-before-BootROM-read-data-from-it/m-p/931547#M3804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;Thank you for your interest in NXP Semiconductor products and &lt;BR /&gt;for the opportunity to serve you.&lt;BR /&gt;To enable the QE bit, we'd highly recommend the developer to debug the flexspi_nor_polling_transfe (~\SDK_2.6.1_EVKB-IMXRT1050\boards\evkbimxrt1050\driver_examples\flexspi\nor\polling_transfer) demo project once, the demo project provides the flexspi_nor_enable_quad_mode() function which can set the QE bit.&lt;BR /&gt;Please give a try.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/88640i663FA4CE5D524897/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;TIC&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P style="min- padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2019 06:36:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-configure-QSPI-flash-before-BootROM-read-data-from-it/m-p/931547#M3804</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2019-08-20T06:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to configure QSPI flash before BootROM read data from it.</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-configure-QSPI-flash-before-BootROM-read-data-from-it/m-p/1597404#M23677</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/56840"&gt;@jeremyzhou&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I noticed that the exact identical example for i.MX RT1060 is also invoking flexspi_nor_enable_quad_mode() method even if, according to&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/89833"&gt;@diego_charles&lt;/a&gt;&amp;nbsp;reply to my thread:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT/Cannot-understand-how-XIP-FlexSPI-configuration-could-work-on/m-p/1586575" target="_blank"&gt;https://community.nxp.com/t5/i-MX-RT/Cannot-understand-how-XIP-FlexSPI-configuration-could-work-on/m-p/1586575&lt;/A&gt;&lt;/P&gt;&lt;P&gt;he said that BootROM is in charge to (magically?) set QE bit in status register before program execution starts. So the question is, what's the purpose of invoking this method? If I skip it, the example works flawlessly.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2023 14:27:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-to-configure-QSPI-flash-before-BootROM-read-data-from-it/m-p/1597404#M23677</guid>
      <dc:creator>SpoonMan</dc:creator>
      <dc:date>2023-02-10T14:27:55Z</dc:date>
    </item>
  </channel>
</rss>

