<?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: FLEXSPI Root Clock vs QSPI Bus Speed</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Root-Clock-vs-QSPI-Bus-Speed/m-p/1523892#M21671</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/198987"&gt;@mjpovi&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;1) For the QSPI bus pin(s) am I able to set the drive-strength/output-impedance and if yes, could you point me to the ref. manual or how to do this? &lt;BR /&gt;-- Yes, you can do it, for instance, you can configure the FlexSPI's pins in the BOARD_InitPins as below shows.&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;void BOARD_InitPins(void) {
  CLOCK_EnableClock(kCLOCK_Iomuxc);           

  IOMUXC_SetPinMux(IOMUXC_GPIO_AD_B0_12_LPUART1_TX, 0U); 
  IOMUXC_SetPinMux(IOMUXC_GPIO_AD_B0_13_LPUART1_RX, 0U); 
  IOMUXC_SetPinMux(IOMUXC_GPIO_SD_B1_05_FLEXSPIA_DQS, 1U); 
  IOMUXC_SetPinMux(IOMUXC_GPIO_SD_B1_06_FLEXSPIA_SS0_B, 1U); 
  IOMUXC_SetPinMux(IOMUXC_GPIO_SD_B1_07_FLEXSPIA_SCLK, 1U); 
  IOMUXC_SetPinMux(IOMUXC_GPIO_SD_B1_08_FLEXSPIA_DATA00, 1U); 
  IOMUXC_SetPinMux(IOMUXC_GPIO_SD_B1_09_FLEXSPIA_DATA01, 1U); 
  IOMUXC_SetPinMux(IOMUXC_GPIO_SD_B1_10_FLEXSPIA_DATA02, 1U); 
  IOMUXC_SetPinMux(IOMUXC_GPIO_SD_B1_11_FLEXSPIA_DATA03, 1U); 
  IOMUXC_SetPinConfig(IOMUXC_GPIO_AD_B0_12_LPUART1_TX, 0x10B0U); 
  IOMUXC_SetPinConfig(IOMUXC_GPIO_AD_B0_13_LPUART1_RX, 0x10B0U); 
  IOMUXC_SetPinConfig(IOMUXC_GPIO_SD_B1_05_FLEXSPIA_DQS, 0x10F1U); 
  IOMUXC_SetPinConfig(IOMUXC_GPIO_SD_B1_06_FLEXSPIA_SS0_B, 0x10F1U); 
  IOMUXC_SetPinConfig(IOMUXC_GPIO_SD_B1_07_FLEXSPIA_SCLK, 0x10F1U); 
  IOMUXC_SetPinConfig(IOMUXC_GPIO_SD_B1_08_FLEXSPIA_DATA00, 0x10F1U); 
  IOMUXC_SetPinConfig(IOMUXC_GPIO_SD_B1_09_FLEXSPIA_DATA01, 0x10F1U); 
  IOMUXC_SetPinConfig(IOMUXC_GPIO_SD_B1_10_FLEXSPIA_DATA02, 0x10F1U); 
  IOMUXC_SetPinConfig(IOMUXC_GPIO_SD_B1_11_FLEXSPIA_DATA03, 0x10F1U); 
}&lt;/LI-CODE&gt;
&lt;P&gt;&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, 19 Sep 2022 01:01:22 GMT</pubDate>
    <dc:creator>jeremyzhou</dc:creator>
    <dc:date>2022-09-19T01:01:22Z</dc:date>
    <item>
      <title>FLEXSPI Root Clock vs QSPI Bus Speed</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Root-Clock-vs-QSPI-Bus-Speed/m-p/1523384#M21658</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've set a FLEXSPI to be clocked at 99 Mhz, using the PLL2_PFD2 (396 Mhz), so I'm expecting to get a 99 MHz bus clock using a clock divider of 4, or a 132 MHz bus clock with a divider of 3, but instead I seem to be getting either about 12 MHz to 16 MHz on the SPI SCLK line for a QSPI fast read.&amp;nbsp; &amp;nbsp;What could I be missing here ?&amp;nbsp; I've checked my register settings to double check that the mux and divider settings to the FLEXSPI block are valid.&amp;nbsp; I am using the FLEXSPI blocking read function to perform the transfer with&amp;nbsp; NOR Flash device&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 05:43:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Root-Clock-vs-QSPI-Bus-Speed/m-p/1523384#M21658</guid>
      <dc:creator>mjpovi</dc:creator>
      <dc:date>2022-09-16T05:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXSPI Root Clock vs QSPI Bus Speed</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Root-Clock-vs-QSPI-Bus-Speed/m-p/1523688#M21664</link>
      <description>&lt;P&gt;What you mean is FlexSPI1 instance, right?&lt;/P&gt;
&lt;P&gt;From your attached clock_config.c, it seems to be ok.&lt;/P&gt;
&lt;P&gt;Sys_PLL = 528MHz&lt;/P&gt;
&lt;P&gt;PLL2_PFD2 = (528 * 18) / 24 = 396MHz&lt;/P&gt;
&lt;P&gt;FlexSPI1 Clock = 396 / 4 = 99MHz.&lt;/P&gt;
&lt;P&gt;Can you please dump below two registers to double check?&lt;/P&gt;
&lt;P&gt;CCM_CSCMR1 - 0x400F_C01C&lt;/P&gt;
&lt;P&gt;CCM_ANALOG_PFD_528 - 0x400D_8100&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 14:40:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Root-Clock-vs-QSPI-Bus-Speed/m-p/1523688#M21664</guid>
      <dc:creator>jay_heng</dc:creator>
      <dc:date>2022-09-16T14:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXSPI Root Clock vs QSPI Bus Speed</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Root-Clock-vs-QSPI-Bus-Speed/m-p/1523807#M21668</link>
      <description>&lt;P&gt;Hi:&lt;BR /&gt;[[ For the 132 MHz setting ]]&lt;BR /&gt;(gdb) p/x *(uint32_t*)0x400fC01C&lt;BR /&gt;$2 = 0x45100001&lt;BR /&gt;(gdb) p/x *(uint32_t*)0x400d8100&lt;BR /&gt;$3 = 0x5058505b&lt;BR /&gt;&lt;BR /&gt;Thanks again very much, &lt;STRONG&gt;I discovered that I was probing the incorrect test point and so I am now able to observe the correct FLEXSPI SCLK frequency / waveform on the bus, as expected per the clock setting(s).&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;/STRONG&gt;&lt;BR /&gt;I have a follow-up question, which is, for the QSPI bus pin(s) am I able to set the drive-strength/output-impedance and if yes, could you point me to the ref. manual or how to do this ?&amp;nbsp;&amp;nbsp;&lt;BR /&gt;Thanks again !&lt;/P&gt;</description>
      <pubDate>Sat, 17 Sep 2022 01:44:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Root-Clock-vs-QSPI-Bus-Speed/m-p/1523807#M21668</guid>
      <dc:creator>mjpovi</dc:creator>
      <dc:date>2022-09-17T01:44:17Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXSPI Root Clock vs QSPI Bus Speed</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Root-Clock-vs-QSPI-Bus-Speed/m-p/1523889#M21670</link>
      <description>&lt;P&gt;You can search &lt;STRONG&gt;IOMUXC_SetPinConfig()&lt;/STRONG&gt; function in fsl_iomuxc.c or &lt;STRONG&gt;IOMUXC_SW_PAD_CTL_PAD&lt;/STRONG&gt;_xxPinName register description in RM&lt;/P&gt;</description>
      <pubDate>Mon, 19 Sep 2022 00:50:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Root-Clock-vs-QSPI-Bus-Speed/m-p/1523889#M21670</guid>
      <dc:creator>jay_heng</dc:creator>
      <dc:date>2022-09-19T00:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: FLEXSPI Root Clock vs QSPI Bus Speed</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Root-Clock-vs-QSPI-Bus-Speed/m-p/1523892#M21671</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/198987"&gt;@mjpovi&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Thank you for your interest in NXP Semiconductor products and for the opportunity to serve you.&lt;BR /&gt;1) For the QSPI bus pin(s) am I able to set the drive-strength/output-impedance and if yes, could you point me to the ref. manual or how to do this? &lt;BR /&gt;-- Yes, you can do it, for instance, you can configure the FlexSPI's pins in the BOARD_InitPins as below shows.&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;void BOARD_InitPins(void) {
  CLOCK_EnableClock(kCLOCK_Iomuxc);           

  IOMUXC_SetPinMux(IOMUXC_GPIO_AD_B0_12_LPUART1_TX, 0U); 
  IOMUXC_SetPinMux(IOMUXC_GPIO_AD_B0_13_LPUART1_RX, 0U); 
  IOMUXC_SetPinMux(IOMUXC_GPIO_SD_B1_05_FLEXSPIA_DQS, 1U); 
  IOMUXC_SetPinMux(IOMUXC_GPIO_SD_B1_06_FLEXSPIA_SS0_B, 1U); 
  IOMUXC_SetPinMux(IOMUXC_GPIO_SD_B1_07_FLEXSPIA_SCLK, 1U); 
  IOMUXC_SetPinMux(IOMUXC_GPIO_SD_B1_08_FLEXSPIA_DATA00, 1U); 
  IOMUXC_SetPinMux(IOMUXC_GPIO_SD_B1_09_FLEXSPIA_DATA01, 1U); 
  IOMUXC_SetPinMux(IOMUXC_GPIO_SD_B1_10_FLEXSPIA_DATA02, 1U); 
  IOMUXC_SetPinMux(IOMUXC_GPIO_SD_B1_11_FLEXSPIA_DATA03, 1U); 
  IOMUXC_SetPinConfig(IOMUXC_GPIO_AD_B0_12_LPUART1_TX, 0x10B0U); 
  IOMUXC_SetPinConfig(IOMUXC_GPIO_AD_B0_13_LPUART1_RX, 0x10B0U); 
  IOMUXC_SetPinConfig(IOMUXC_GPIO_SD_B1_05_FLEXSPIA_DQS, 0x10F1U); 
  IOMUXC_SetPinConfig(IOMUXC_GPIO_SD_B1_06_FLEXSPIA_SS0_B, 0x10F1U); 
  IOMUXC_SetPinConfig(IOMUXC_GPIO_SD_B1_07_FLEXSPIA_SCLK, 0x10F1U); 
  IOMUXC_SetPinConfig(IOMUXC_GPIO_SD_B1_08_FLEXSPIA_DATA00, 0x10F1U); 
  IOMUXC_SetPinConfig(IOMUXC_GPIO_SD_B1_09_FLEXSPIA_DATA01, 0x10F1U); 
  IOMUXC_SetPinConfig(IOMUXC_GPIO_SD_B1_10_FLEXSPIA_DATA02, 0x10F1U); 
  IOMUXC_SetPinConfig(IOMUXC_GPIO_SD_B1_11_FLEXSPIA_DATA03, 0x10F1U); 
}&lt;/LI-CODE&gt;
&lt;P&gt;&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, 19 Sep 2022 01:01:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/FLEXSPI-Root-Clock-vs-QSPI-Bus-Speed/m-p/1523892#M21671</guid>
      <dc:creator>jeremyzhou</dc:creator>
      <dc:date>2022-09-19T01:01:22Z</dc:date>
    </item>
  </channel>
</rss>

