<?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>MCX MicrocontrollersのトピックRe: Use of the Flexspi interface for the RT1052</title>
    <link>https://community.nxp.com/t5/MCX-Microcontrollers/Use-of-the-Flexspi-interface-for-the-RT1052/m-p/2001915#M2047</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;1. Yes, you are right.&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;In a FreeRTOS-based system, if you have two tasks with different priorities accessing devices on the same FlexSPI bus,&lt;/P&gt;
&lt;P&gt;I think you should&amp;nbsp;&lt;SPAN data-teams="true"&gt;use FreeRTOS synchronization mechanisms (e.g., mutexes) to protect access to shared resources like the FlexSPI bus.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;If the high-priority task has strict real-time requirements, consider limiting the frequency or duration of FlexSPI accesses by the low-priority task.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Harry&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Nov 2024 10:27:46 GMT</pubDate>
    <dc:creator>Harry_Zhang</dc:creator>
    <dc:date>2024-11-26T10:27:46Z</dc:date>
    <item>
      <title>Use of the Flexspi interface for the RT1052</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Use-of-the-Flexspi-interface-for-the-RT1052/m-p/1999687#M2021</link>
      <description>&lt;P&gt;Hi,sir&lt;/P&gt;&lt;P&gt;I would like to confirm the usage of Flexspi interface of RT1052 chip:&lt;/P&gt;&lt;P&gt;1. I need to use Flexspi interface to communicate with two devices, namely NOR Flash and FPGA, which correspond to FlexspiA interface and FlexspiB interface respectively, and both use 4-wire communication mode;&lt;/P&gt;&lt;P&gt;2. After the system is powered on, I need to access two devices at the same time. Is this allowed? Specifically, when I am working with FLASH, am I allowed to read and write FPgas?&lt;/P&gt;&lt;P&gt;3.in particular, the communication with the FPGA is a regular 2ms communication, but the operation of FLASH takes a long time, will it affect the communication cycle with the FPGA?&lt;/P&gt;&lt;P&gt;4. Is there a better plan to recommend?&lt;BR /&gt;&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 03:38:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Use-of-the-Flexspi-interface-for-the-RT1052/m-p/1999687#M2021</guid>
      <dc:creator>jiaxin</dc:creator>
      <dc:date>2024-11-22T03:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Use of the Flexspi interface for the RT1052</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Use-of-the-Flexspi-interface-for-the-RT1052/m-p/2000005#M2025</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211033"&gt;@jiaxin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The FlexSPI module can access both FlexSPIA and FlexSPIB interfaces, but not at the same time. FlexSPI performs sequential access, meaning one transaction must complete before the next begins.&lt;/P&gt;
&lt;P&gt;NOR Flash operations like erasing or programming are relatively time-consuming. Erase operations, for example, can take milliseconds to complete. During this time, the FlexSPI hardware may be occupied, causing delays in accessing the FPGA.&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;If feasible, you could two&amp;nbsp;FlexSPI controllers&amp;nbsp;This allows completely independent control of two FlexSPI interfaces.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;FLEXSPI for NOR FLASH, FLEXSPI2 for FPGA.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Harry&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 10:12:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Use-of-the-Flexspi-interface-for-the-RT1052/m-p/2000005#M2025</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2024-11-22T10:12:35Z</dc:date>
    </item>
    <item>
      <title>Re: Use of the Flexspi interface for the RT1052</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Use-of-the-Flexspi-interface-for-the-RT1052/m-p/2000452#M2030</link>
      <description>&lt;P&gt;Hi,Harry&lt;/P&gt;&lt;P&gt;Are you saying that the RT1052 has two FlexSPI controllers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I understand that hardware is occupied during NOR Flash operation? Delay in accessing the FPGA? When I use it, the signal of FlexSPI_A interface is connected to FLASH, and FlexSPI_B is connected to FPGA device.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you mean FlexSPI_A and FlexSPI_B by using two FlexSPI controllers to control two FlexSPI interfaces completely independently? Where can I get an example of configuring two FlexSPI interfaces with complete independent control?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THANKS!&lt;/P&gt;&lt;P&gt;JIAXIN&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2024 01:50:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Use-of-the-Flexspi-interface-for-the-RT1052/m-p/2000452#M2030</guid>
      <dc:creator>jiaxin</dc:creator>
      <dc:date>2024-11-23T01:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Use of the Flexspi interface for the RT1052</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Use-of-the-Flexspi-interface-for-the-RT1052/m-p/2000825#M2036</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/211033"&gt;@jiaxin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. I just checked the IMXRT1052 data sheet. Unfortunately, it only has one Flexspi controler.&lt;/P&gt;
&lt;P&gt;2. "&lt;SPAN&gt;How do I understand that hardware is occupied during NOR Flash operation? Delay in accessing the FPGA? When I use it, the signal of FlexSPI_A interface is connected to FLASH, and FlexSPI_B is connected to FPGA device."&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;What I mean is that if FlexSPI is accessing Flash, it cannot access FPGA at the same time.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;3.&amp;nbsp;Do you mean FlexSPI_A and FlexSPI_B by using two FlexSPI controllers to control two FlexSPI interfaces completely independently?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;No,&amp;nbsp;if the&amp;nbsp;IMXRT1052&amp;nbsp;has two Flexspi controlers.&amp;nbsp;FlexSPI1_A can control NOR FLASH. FlexSPI2_A can control FPGA, they are independent.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Harry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 07:59:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Use-of-the-Flexspi-interface-for-the-RT1052/m-p/2000825#M2036</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2024-11-25T07:59:06Z</dc:date>
    </item>
    <item>
      <title>Re: Use of the Flexspi interface for the RT1052</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Use-of-the-Flexspi-interface-for-the-RT1052/m-p/2000847#M2038</link>
      <description>&lt;P&gt;Hi,&lt;SPAN&gt;Harry&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;1、If we plan to use the RT1052, it has a FlexSPI controller, as shown in the attached figure, still can't access the FPGA when reading and writing FLASH? Can't access independently, must need to wait for the end of the access to the other side of the data?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2、If two tasks with different priorities are set to access two devices, the priority of the task with high real-time requirements is set to high. What should be paid attention to in this case?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Snipaste_2024-11-25_16-17-26.png" style="width: 556px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/312241iE888357095AC6ACC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Snipaste_2024-11-25_16-17-26.png" alt="Snipaste_2024-11-25_16-17-26.png" /&gt;&lt;/span&gt; &lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;jiaxin&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 08:18:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Use-of-the-Flexspi-interface-for-the-RT1052/m-p/2000847#M2038</guid>
      <dc:creator>jiaxin</dc:creator>
      <dc:date>2024-11-25T08:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: Use of the Flexspi interface for the RT1052</title>
      <link>https://community.nxp.com/t5/MCX-Microcontrollers/Use-of-the-Flexspi-interface-for-the-RT1052/m-p/2001915#M2047</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;1. Yes, you are right.&lt;/P&gt;
&lt;P&gt;2.&amp;nbsp;In a FreeRTOS-based system, if you have two tasks with different priorities accessing devices on the same FlexSPI bus,&lt;/P&gt;
&lt;P&gt;I think you should&amp;nbsp;&lt;SPAN data-teams="true"&gt;use FreeRTOS synchronization mechanisms (e.g., mutexes) to protect access to shared resources like the FlexSPI bus.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;If the high-priority task has strict real-time requirements, consider limiting the frequency or duration of FlexSPI accesses by the low-priority task.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;BR&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;Harry&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 10:27:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCX-Microcontrollers/Use-of-the-Flexspi-interface-for-the-RT1052/m-p/2001915#M2047</guid>
      <dc:creator>Harry_Zhang</dc:creator>
      <dc:date>2024-11-26T10:27:46Z</dc:date>
    </item>
  </channel>
</rss>

