<?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: S32K344 LPSPI DUAL CLOCK MODE in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K344-LPSPI-DUAL-CLOCK-MODE/m-p/1722585#M27064</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195919"&gt;@cuongnguyenphu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for replying.&lt;/P&gt;&lt;P&gt;I want to reduce&amp;nbsp;&lt;SPAN&gt;Spi_AsyncTransmit() executing time. It seem only&amp;nbsp;Core_LCK (MCU configuration) impact on the processing time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any solution to reduce the&amp;nbsp;Spi_AsyncTransmit() executing time through SPI configuration?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Related to Clock, &lt;SPAN&gt;LPSPI_IP_DUAL_CLOCK_MODE is available inside SPI configuration. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;From my understanding, the&amp;nbsp;LPSPI_IP_DUAL_CLOCK_MODE allows user to change the clock mode at runtime, but it only effects the SPI data exchange rate, NOT the execution time of Spi_AsyncTransmit() right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MyLV&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Sep 2023 00:23:54 GMT</pubDate>
    <dc:creator>MyLV</dc:creator>
    <dc:date>2023-09-14T00:23:54Z</dc:date>
    <item>
      <title>S32K344 LPSPI DUAL CLOCK MODE</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-LPSPI-DUAL-CLOCK-MODE/m-p/1716173#M26720</link>
      <description>&lt;P&gt;Hi NXP team,&lt;/P&gt;&lt;P&gt;I want to reduce Spi_AsyncTransmit() consumption on S32K344.&lt;/P&gt;&lt;P&gt;when I changed Core_LCK down to 80Mhz and the Spi_AsyncTransmit() executed time is 104 μs in result.&amp;nbsp;if&amp;nbsp;Core_LCK is 160Mhz then executed time is 52 μs.&lt;/P&gt;&lt;P&gt;According to RM, S32K344 support to 160Mhz in maximum.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MyLV_0-1693801157662.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/239345iFAB4E45310A41D7A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MyLV_0-1693801157662.png" alt="MyLV_0-1693801157662.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;MyLV_0-1693801157662.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;any suggestion to have done thru SPI configuration please?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I check on Lpspi_Ip_Cfg.h file there is&amp;nbsp;&lt;SPAN&gt;LPSPI_IP_DUAL_CLOCK_MODE ( Dual clock configuration). &lt;/SPAN&gt;&lt;SPAN&gt;I confused about it. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Could you explain?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195919"&gt;@cuongnguyenphu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Sep 2023 04:26:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-LPSPI-DUAL-CLOCK-MODE/m-p/1716173#M26720</guid>
      <dc:creator>MyLV</dc:creator>
      <dc:date>2023-09-04T04:26:35Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 LPSPI DUAL CLOCK MODE</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-LPSPI-DUAL-CLOCK-MODE/m-p/1721876#M27025</link>
      <description>&lt;P&gt;Can you explan your question in more detail please? I cannot understand your question&lt;/P&gt;</description>
      <pubDate>Wed, 13 Sep 2023 08:51:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-LPSPI-DUAL-CLOCK-MODE/m-p/1721876#M27025</guid>
      <dc:creator>cuongnguyenphu</dc:creator>
      <dc:date>2023-09-13T08:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 LPSPI DUAL CLOCK MODE</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-LPSPI-DUAL-CLOCK-MODE/m-p/1722585#M27064</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/195919"&gt;@cuongnguyenphu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for replying.&lt;/P&gt;&lt;P&gt;I want to reduce&amp;nbsp;&lt;SPAN&gt;Spi_AsyncTransmit() executing time. It seem only&amp;nbsp;Core_LCK (MCU configuration) impact on the processing time.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there any solution to reduce the&amp;nbsp;Spi_AsyncTransmit() executing time through SPI configuration?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Related to Clock, &lt;SPAN&gt;LPSPI_IP_DUAL_CLOCK_MODE is available inside SPI configuration. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;From my understanding, the&amp;nbsp;LPSPI_IP_DUAL_CLOCK_MODE allows user to change the clock mode at runtime, but it only effects the SPI data exchange rate, NOT the execution time of Spi_AsyncTransmit() right?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MyLV&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Sep 2023 00:23:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-LPSPI-DUAL-CLOCK-MODE/m-p/1722585#M27064</guid>
      <dc:creator>MyLV</dc:creator>
      <dc:date>2023-09-14T00:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: S32K344 LPSPI DUAL CLOCK MODE</title>
      <link>https://community.nxp.com/t5/S32K/S32K344-LPSPI-DUAL-CLOCK-MODE/m-p/1725447#M27199</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/221426"&gt;@MyLV&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;Yes you're right, the setting&amp;nbsp;LPSPI DUAL CLOCK MODE only effects to&amp;nbsp;&lt;SPAN&gt;SPI data exchange rate.&lt;BR /&gt;To change Core_clk in runtime you should do as following:&lt;BR /&gt;1. Config 2 Mcu Clock setting mode, let's say: Clock Setting 0 for Core_Clk 80Mhz, and Clock Setting 1 for Core_Clk 160Mhz.&lt;BR /&gt;In S32CT, you can do this by below steps:&lt;BR /&gt;- In Clock tool, create 2 functional groups:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cuongnguyenphu_0-1695119255444.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/241600iFB262889AE4A0228/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cuongnguyenphu_0-1695119255444.png" alt="cuongnguyenphu_0-1695119255444.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;cuongnguyenphu_0-1695119255444.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;- Config Core_Clk for each Functional group&lt;BR /&gt;&lt;BR /&gt;2. In Peripheral Tool, in MCU module, create 2 MCU Clock setting config coresponds to 2 Functional group of Clock tool in step1:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="cuongnguyenphu_1-1695119433734.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/241601i77D957CD52CA642C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="cuongnguyenphu_1-1695119433734.png" alt="cuongnguyenphu_1-1695119433734.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;cuongnguyenphu_1-1695119433734.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;- Generate code.&lt;BR /&gt;&lt;BR /&gt;3. In run-time, whenever you want to change the clock setting, just call&amp;nbsp;&amp;nbsp;&lt;STRONG&gt;Mcu_InitClock&lt;/STRONG&gt;(&amp;lt;param&amp;gt;) with &amp;lt;Param&amp;gt; is the ID of MCU clock setting, which is generated in Mcu_Cfg.h file&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 10:32:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K344-LPSPI-DUAL-CLOCK-MODE/m-p/1725447#M27199</guid>
      <dc:creator>cuongnguyenphu</dc:creator>
      <dc:date>2023-09-19T10:32:15Z</dc:date>
    </item>
  </channel>
</rss>

