<?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: How to get spi-max-freqmax 66 MHz for dspi0 on MFV61NN151CMK50 processor. in Vybrid Processors</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/How-to-get-spi-max-freqmax-66-MHz-for-dspi0-on-MFV61NN151CMK50/m-p/2082042#M6371</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your interest in NXP Semiconductor products,&lt;/P&gt;
&lt;P&gt;Please consider the clock rate assignment, the PLL might be divided and can't reach the frequency specified, be sure to have a clock rate 4x the 66 MHz.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Thu, 17 Apr 2025 00:28:46 GMT</pubDate>
    <dc:creator>JosephAtNXP</dc:creator>
    <dc:date>2025-04-17T00:28:46Z</dc:date>
    <item>
      <title>How to get spi-max-freqmax 66 MHz for dspi0 on MFV61NN151CMK50 processor.</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/How-to-get-spi-max-freqmax-66-MHz-for-dspi0-on-MFV61NN151CMK50/m-p/2081844#M6370</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I use the dspi0 on my board which connects to the Intel_ALTERA 10M08SCU169C8G chip.&lt;BR /&gt;Fragment from the devices tree which I have at the moment:&lt;/P&gt;&lt;P&gt;&amp;amp;edma1 {&lt;BR /&gt;status = "okay";&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;&amp;amp;dspi0 {&lt;BR /&gt;bus-num = &amp;lt;0&amp;gt;;&lt;BR /&gt;pinctrl-names = "default";&lt;BR /&gt;pinctrl-0 = &amp;lt;&amp;amp;pinctrl_dspi0&amp;gt;;&lt;BR /&gt;status = "okay";&lt;/P&gt;&lt;P&gt;/*sflash: at26df081a@0 {*/&lt;BR /&gt;spidev0: spidev@0 {&lt;BR /&gt;/*#address-cells = &amp;lt;1&amp;gt;;*/&lt;BR /&gt;/*#size-cells = &amp;lt;1&amp;gt;;*/&lt;BR /&gt;/*compatible = "atmel,at26df081a";*/&lt;BR /&gt;compatible = "toradex,evalspi";&lt;BR /&gt;/*spi-max-frequency = &amp;lt;16000000&amp;gt;;*/&lt;BR /&gt;spi-max-frequency = &amp;lt;66000000&amp;gt;;&lt;BR /&gt;/*spi-cpol;*/&lt;BR /&gt;/*spi-cpha;*/&lt;BR /&gt;reg = &amp;lt;0&amp;gt;;&lt;BR /&gt;};&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;pinctrl_dspi0: dspi0grp {&lt;BR /&gt;fsl,pins = &amp;lt;&lt;BR /&gt;VF610_PAD_PTB19__DSPI0_CS0 0x1182&lt;BR /&gt;VF610_PAD_PTB20__DSPI0_SIN 0x1181&lt;BR /&gt;VF610_PAD_PTB21__DSPI0_SOUT 0x1182&lt;BR /&gt;VF610_PAD_PTB22__DSPI0_SCK 0x1182&lt;BR /&gt;&amp;gt;;&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;I want to get spi-max-frequency 66 MHz but I get only 16 MHz.&lt;BR /&gt;How can I get frequency above 16 mhz?&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;My board uses Linux for TWR-VF65GS10&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Apr 2025 14:23:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/How-to-get-spi-max-freqmax-66-MHz-for-dspi0-on-MFV61NN151CMK50/m-p/2081844#M6370</guid>
      <dc:creator>Lyuda</dc:creator>
      <dc:date>2025-04-16T14:23:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to get spi-max-freqmax 66 MHz for dspi0 on MFV61NN151CMK50 processor.</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/How-to-get-spi-max-freqmax-66-MHz-for-dspi0-on-MFV61NN151CMK50/m-p/2082042#M6371</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Thank you for your interest in NXP Semiconductor products,&lt;/P&gt;
&lt;P&gt;Please consider the clock rate assignment, the PLL might be divided and can't reach the frequency specified, be sure to have a clock rate 4x the 66 MHz.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 00:28:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/How-to-get-spi-max-freqmax-66-MHz-for-dspi0-on-MFV61NN151CMK50/m-p/2082042#M6371</guid>
      <dc:creator>JosephAtNXP</dc:creator>
      <dc:date>2025-04-17T00:28:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to get spi-max-freqmax 66 MHz for dspi0 on MFV61NN151CMK50 processor.</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/How-to-get-spi-max-freqmax-66-MHz-for-dspi0-on-MFV61NN151CMK50/m-p/2082793#M6372</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;Thanks for the answer.&lt;/P&gt;&lt;P&gt;Why do i need to multiply by 4 and not by 2?&lt;/P&gt;&lt;P&gt;SCK baud rate = (fp/PBR) x [(1+DBR)/BR].&lt;BR /&gt;It is written in the section "12.4 Serial Peripheral Interface (SPI)" of the VFXXXRM.pdf document.&lt;BR /&gt;Min PBR = 2, min BR = 2. At DBR = 0 SCK baud rate = fp/4 and at DBR = 1 SCK baud rate = fp/2&lt;/P&gt;&lt;P&gt;Can I multiply by 2 The prescaled clock?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 21:12:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/How-to-get-spi-max-freqmax-66-MHz-for-dspi0-on-MFV61NN151CMK50/m-p/2082793#M6372</guid>
      <dc:creator>Lyuda</dc:creator>
      <dc:date>2025-04-17T21:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to get spi-max-freqmax 66 MHz for dspi0 on MFV61NN151CMK50 processor.</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/How-to-get-spi-max-freqmax-66-MHz-for-dspi0-on-MFV61NN151CMK50/m-p/2083490#M6373</link>
      <description>&lt;P&gt;Hi JosephAtNXP&lt;/P&gt;&lt;P&gt;At the moment I want to find out what maximum frequency the MVF61NN151CMK50 processor can produce.&lt;BR /&gt;Maybe one of the users or specialists can answer me.&lt;/P&gt;&lt;P&gt;Here are my thoughts.&lt;BR /&gt;The section "6.1.8 Clock Configuration" of the VFXXXRM.pdf document says the following:&lt;BR /&gt;"For other modules on this device, the register interface work at the IPS clock frequency,&lt;BR /&gt;which is half of Platform Bus clock. For example:&lt;BR /&gt;• DAC&lt;BR /&gt;• PDB&lt;BR /&gt;• PIT&lt;BR /&gt;• LPTMR&lt;BR /&gt;• SPI&lt;BR /&gt;• I2C&lt;BR /&gt;• UART&lt;BR /&gt;• LCD&lt;BR /&gt;• VIU"&lt;/P&gt;&lt;P&gt;We find the maximum frequency for SPI from the table "Table 6-6. Clocking Configuration".&lt;BR /&gt;It is equal to 83 MHz. that is fp=83 MHz.&lt;BR /&gt;Hence at DBR = 0 SCK baud rate = fp/4 = 20,75 MHz or at DBR = 1 SCK baud rate = fp/2 = 41,5 MHz&lt;/P&gt;&lt;P&gt;Am I right in my thinking?&lt;/P&gt;</description>
      <pubDate>Sun, 20 Apr 2025 13:41:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/How-to-get-spi-max-freqmax-66-MHz-for-dspi0-on-MFV61NN151CMK50/m-p/2083490#M6373</guid>
      <dc:creator>Lyuda</dc:creator>
      <dc:date>2025-04-20T13:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to get spi-max-freqmax 66 MHz for dspi0 on MFV61NN151CMK50 processor.</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/How-to-get-spi-max-freqmax-66-MHz-for-dspi0-on-MFV61NN151CMK50/m-p/2121241#M6383</link>
      <description>&lt;P&gt;You are right, 41.6MHz is max SPI frequency for 500MHz VF61. Unfortunately Linux driver seems not supporting double bit rate (DBR bit), so you are limited to 20.8MHz.&amp;nbsp;Try setting spi-max-frequency to 20000000.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For 40MHz you either need to alter Linux driver or perhaps try using `devmem2` to manipulate DBR from user space. Since it is VF61, you may consider as well moving SPI code to M4, where you may manipulate CTAR register as you wish.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 07:51:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/How-to-get-spi-max-freqmax-66-MHz-for-dspi0-on-MFV61NN151CMK50/m-p/2121241#M6383</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2025-06-23T07:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to get spi-max-freqmax 66 MHz for dspi0 on MFV61NN151CMK50 processor.</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/How-to-get-spi-max-freqmax-66-MHz-for-dspi0-on-MFV61NN151CMK50/m-p/2121358#M6384</link>
      <description>&lt;P&gt;kef2, &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Thank you for your reply&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;!&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I also came to the conclusion that the Linux driver does not support double data rate (DBR bit).&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Thank you very much for your recommendations!!!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 10:35:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/How-to-get-spi-max-freqmax-66-MHz-for-dspi0-on-MFV61NN151CMK50/m-p/2121358#M6384</guid>
      <dc:creator>Lyuda</dc:creator>
      <dc:date>2025-06-23T10:35:01Z</dc:date>
    </item>
  </channel>
</rss>

