<?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>S32KのトピックRe: How to Change SPI Baudrate With MCAL</title>
    <link>https://community.nxp.com/t5/S32K/How-to-Change-SPI-Baudrate-With-MCAL/m-p/1256919#M10442</link>
    <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;but i also have a question,the configuration tools of EB tresos or davinci configurator haven't the configure item&amp;nbsp;&lt;FONT&gt;SpiEnableDualClockMode&lt;/FONT&gt; in SpiNonAUTOSAR group,&lt;SPAN&gt;the config code in Spi_Cfg.h this functon is off,&lt;/SPAN&gt; i cann't to enable it and use,if this to say it is not support in S32K146 chips?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EBTresos configurator item.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/141371i93D2900FF08D00AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="EBTresos configurator item.png" alt="EBTresos configurator item.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EBTresos configurator.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/141369i19288061D1EAF72D/image-size/large?v=v2&amp;amp;px=999" role="button" title="EBTresos configurator.png" alt="EBTresos configurator.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Davinci configurator item.png" style="width: 930px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/141374i1B6EFEC3D14CC1C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Davinci configurator item.png" alt="Davinci configurator item.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Apr 2021 03:13:10 GMT</pubDate>
    <dc:creator>biyangdong</dc:creator>
    <dc:date>2021-04-06T03:13:10Z</dc:date>
    <item>
      <title>How to Change SPI Baudrate With MCAL</title>
      <link>https://community.nxp.com/t5/S32K/How-to-Change-SPI-Baudrate-With-MCAL/m-p/1254229#M10376</link>
      <description>&lt;P&gt;Hello,I used&amp;nbsp;&lt;FONT&gt;S32K14X_MCAL4_3_RTM_HF4_1_0_1&lt;/FONT&gt; Mcal version with Vector Davinci tools, i want change SPI baudrate in runtime,for example,spi_init() with baudrate 3.702Mhz,when one condition satisfied，i want to change the spi baudrate to 10Mhz,is there any api functions or ways in mcal code support this function,i can't find it from&amp;nbsp;&lt;FONT&gt;AUTOSAR_MCAL_SPI_UM&lt;/FONT&gt; file. the one ways i know from it is that change spi input clock by the api function&amp;nbsp;&lt;FONT&gt;Spi_SetClockMode&lt;/FONT&gt;.&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SPI Baudrate.png" style="width: 480px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/140965iE38427B0CE432F7D/image-size/large?v=v2&amp;amp;px=999" role="button" title="SPI Baudrate.png" alt="SPI Baudrate.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="SPI Baudrate2.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/140966i9D22286352B209AC/image-size/large?v=v2&amp;amp;px=999" role="button" title="SPI Baudrate2.png" alt="SPI Baudrate2.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Mar 2021 10:53:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-Change-SPI-Baudrate-With-MCAL/m-p/1254229#M10376</guid>
      <dc:creator>biyangdong</dc:creator>
      <dc:date>2021-03-30T10:53:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change SPI Baudrate With MCAL</title>
      <link>https://community.nxp.com/t5/S32K/How-to-Change-SPI-Baudrate-With-MCAL/m-p/1254945#M10402</link>
      <description>&lt;P&gt;Yes, by calling Spi_SetClockMode(SPI_ALTERNATE), the SPI baud-rate can be changed to alternate baud-rate value during runtime.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 31 Mar 2021 11:43:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-Change-SPI-Baudrate-With-MCAL/m-p/1254945#M10402</guid>
      <dc:creator>namnguyenviet</dc:creator>
      <dc:date>2021-03-31T11:43:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change SPI Baudrate With MCAL</title>
      <link>https://community.nxp.com/t5/S32K/How-to-Change-SPI-Baudrate-With-MCAL/m-p/1256919#M10442</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;but i also have a question,the configuration tools of EB tresos or davinci configurator haven't the configure item&amp;nbsp;&lt;FONT&gt;SpiEnableDualClockMode&lt;/FONT&gt; in SpiNonAUTOSAR group,&lt;SPAN&gt;the config code in Spi_Cfg.h this functon is off,&lt;/SPAN&gt; i cann't to enable it and use,if this to say it is not support in S32K146 chips?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EBTresos configurator item.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/141371i93D2900FF08D00AE/image-size/large?v=v2&amp;amp;px=999" role="button" title="EBTresos configurator item.png" alt="EBTresos configurator item.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EBTresos configurator.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/141369i19288061D1EAF72D/image-size/large?v=v2&amp;amp;px=999" role="button" title="EBTresos configurator.png" alt="EBTresos configurator.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Davinci configurator item.png" style="width: 930px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/141374i1B6EFEC3D14CC1C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="Davinci configurator item.png" alt="Davinci configurator item.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class="mceNonEditable lia-copypaste-placeholder"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 03:13:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-Change-SPI-Baudrate-With-MCAL/m-p/1256919#M10442</guid>
      <dc:creator>biyangdong</dc:creator>
      <dc:date>2021-04-06T03:13:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change SPI Baudrate With MCAL</title>
      <link>https://community.nxp.com/t5/S32K/How-to-Change-SPI-Baudrate-With-MCAL/m-p/1256921#M10443</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EBTresos configurator code.png" style="width: 516px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/141375i3474BB0529107610/image-size/large?v=v2&amp;amp;px=999" role="button" title="EBTresos configurator code.png" alt="EBTresos configurator code.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 03:14:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-Change-SPI-Baudrate-With-MCAL/m-p/1256921#M10443</guid>
      <dc:creator>biyangdong</dc:creator>
      <dc:date>2021-04-06T03:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to Change SPI Baudrate With MCAL</title>
      <link>https://community.nxp.com/t5/S32K/How-to-Change-SPI-Baudrate-With-MCAL/m-p/1257018#M10447</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Please check whether this node is available in your DaVinci Configurator:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="namnguyenviet_0-1617690941302.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/141386i7BE9BC376B3B4B1A/image-size/large?v=v2&amp;amp;px=999" role="button" title="namnguyenviet_0-1617690941302.png" alt="namnguyenviet_0-1617690941302.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;After enabled SpiPhyUnitAlternateClockRef and refer to the MCU clock reference point, I can see SPI_DUAL_CLOCK_MODE is STD_ON.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="namnguyenviet_1-1617691028681.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/141387i882F44EE5E9DA8C9/image-size/large?v=v2&amp;amp;px=999" role="button" title="namnguyenviet_1-1617691028681.png" alt="namnguyenviet_1-1617691028681.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;However, I'm not sure the same thing happens with DaVinci, cause I don't have DaVinci on hands.&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Nam&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Apr 2021 06:37:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-Change-SPI-Baudrate-With-MCAL/m-p/1257018#M10447</guid>
      <dc:creator>namnguyenviet</dc:creator>
      <dc:date>2021-04-06T06:37:52Z</dc:date>
    </item>
  </channel>
</rss>

