<?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 STM cannot work in S32K344 in S32K</title>
    <link>https://community.nxp.com/t5/S32K/STM-cannot-work-in-S32K344/m-p/1277269#M10888</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Now I am developping the STM module of S32K344. I have some trouble.&lt;/P&gt;
&lt;P&gt;I make sure I have set the clock source for STM0 and STM1. The clock is 40MHz from FXOSC. But I cannot set the value of related registers. The code is error when go till setting registers, such as "STM_0-&amp;gt;CR |= STM_CR_CPS(0);". I have no idea to figure that.&lt;/P&gt;
&lt;P&gt;I just set the system clock and core clock. But I'm not sure is the configuration is correct.&amp;nbsp; When I set GPIO to output high, it works.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;DIV class="UserSignature lia-message-signature"&gt;Best Regards,&lt;/DIV&gt;
&lt;DIV class="UserSignature lia-message-signature"&gt;Harry Zhou&lt;/DIV&gt;</description>
    <pubDate>Mon, 17 May 2021 01:56:19 GMT</pubDate>
    <dc:creator>Harryzhou</dc:creator>
    <dc:date>2021-05-17T01:56:19Z</dc:date>
    <item>
      <title>STM cannot work in S32K344</title>
      <link>https://community.nxp.com/t5/S32K/STM-cannot-work-in-S32K344/m-p/1277269#M10888</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Now I am developping the STM module of S32K344. I have some trouble.&lt;/P&gt;
&lt;P&gt;I make sure I have set the clock source for STM0 and STM1. The clock is 40MHz from FXOSC. But I cannot set the value of related registers. The code is error when go till setting registers, such as "STM_0-&amp;gt;CR |= STM_CR_CPS(0);". I have no idea to figure that.&lt;/P&gt;
&lt;P&gt;I just set the system clock and core clock. But I'm not sure is the configuration is correct.&amp;nbsp; When I set GPIO to output high, it works.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;
&lt;DIV class="UserSignature lia-message-signature"&gt;Best Regards,&lt;/DIV&gt;
&lt;DIV class="UserSignature lia-message-signature"&gt;Harry Zhou&lt;/DIV&gt;</description>
      <pubDate>Mon, 17 May 2021 01:56:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/STM-cannot-work-in-S32K344/m-p/1277269#M10888</guid>
      <dc:creator>Harryzhou</dc:creator>
      <dc:date>2021-05-17T01:56:19Z</dc:date>
    </item>
  </channel>
</rss>

