<?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: RT1021: Problems accessing flash using the AHB bus feature. in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/RT1021-Problems-accessing-flash-using-the-AHB-bus-feature/m-p/1335263#M179594</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;1) Is writing to flash not available over the AHB bus and you have to send the page program commands via FlexSPI directly? Note that I have erased the flash before trying this.&lt;BR /&gt;-- Yes, I'd like to suggest the customer use the IPC commands to read or write the QSPI flash that is used for the data storage function.&lt;BR /&gt;2) Is the AHB feature only expected to work with SPI commands not QSPI ones?&lt;BR /&gt;-- No, I don't think so.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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&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;</description>
    <pubDate>Mon, 06 Sep 2021 06:35:25 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2021-09-06T06:35:25Z</dc:date>
    <item>
      <title>RT1021: Problems accessing flash using the AHB bus feature.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RT1021-Problems-accessing-flash-using-the-AHB-bus-feature/m-p/1334886#M179554</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am having some trouble getting the AHB bus flash read/write feature to work reliably.&lt;/P&gt;&lt;P&gt;Question 1:&lt;/P&gt;&lt;P&gt;In the NXP posting:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/t5/i-MX-RT/Can-we-use-a-XIP-flash-and-a-data-flash-at-the-same-FlexSPI/m-p/1033448" target="_blank"&gt;https://community.nxp.com/t5/i-MX-RT/Can-we-use-a-XIP-flash-and-a-data-flash-at-the-same-FlexSPI/m-p/1033448&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The following sentence is in the reply marked as the solution:&lt;/P&gt;&lt;P&gt;"Yes, you can use A1 to XIP while use B1 to save data. XIP use AHB bus. Program use IPS bus."&lt;/P&gt;&lt;P&gt;Does that mean you can only program flash using the IPS bus and therefore cannot use the AHB bus?&lt;/P&gt;&lt;P&gt;In other words, for the RT1021, is writing to flash not available over the AHB bus and you have to send the page program commands via FlexSPI directly? Note that I have erased the flash before trying this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Question 2:&lt;/P&gt;&lt;P&gt;I have noticed that reading from flash using the AHB Bus seems to only work reliably if I set it up with an SPI read command. If I use a QSPI read command it reads back incorrectly. I can confirm the data is correct using the FlexSPI api directly. This is with both caches disabled.&lt;/P&gt;&lt;P&gt;Is the AHB feature only expected to work with SPI commands not QSPI ones?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Many thanks for your help.&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Ronnie&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Sep 2021 13:59:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RT1021-Problems-accessing-flash-using-the-AHB-bus-feature/m-p/1334886#M179554</guid>
      <dc:creator>rshipman</dc:creator>
      <dc:date>2021-09-03T13:59:46Z</dc:date>
    </item>
    <item>
      <title>Re: RT1021: Problems accessing flash using the AHB bus feature.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RT1021-Problems-accessing-flash-using-the-AHB-bus-feature/m-p/1335263#M179594</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;1) Is writing to flash not available over the AHB bus and you have to send the page program commands via FlexSPI directly? Note that I have erased the flash before trying this.&lt;BR /&gt;-- Yes, I'd like to suggest the customer use the IPC commands to read or write the QSPI flash that is used for the data storage function.&lt;BR /&gt;2) Is the AHB feature only expected to work with SPI commands not QSPI ones?&lt;BR /&gt;-- No, I don't think so.&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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&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;</description>
      <pubDate>Mon, 06 Sep 2021 06:35:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RT1021-Problems-accessing-flash-using-the-AHB-bus-feature/m-p/1335263#M179594</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2021-09-06T06:35:25Z</dc:date>
    </item>
  </channel>
</rss>

