<?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: Problem of running</title>
    <link>https://community.nxp.com/t5/S32K/Problem-of-running/m-p/1203504#M9367</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Garam_Kim,&lt;/P&gt;
&lt;P&gt;The code you attached is similar to the &lt;STRONG&gt;S32K148_Project_Hello&lt;/STRONG&gt; in S32 Design Studio for ARM Version 2.2.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="S32K148_Project_Hello.png" style="width: 824px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133371i725B7BC53284765B/image-size/large?v=v2&amp;amp;px=999" role="button" title="S32K148_Project_Hello.png" alt="S32K148_Project_Hello.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="S32K148_Project_Hello S32 Design Studio for ARM Version 2.2.png" style="width: 805px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133372i61B79B2A752A659B/image-size/large?v=v2&amp;amp;px=999" role="button" title="S32K148_Project_Hello S32 Design Studio for ARM Version 2.2.png" alt="S32K148_Project_Hello S32 Design Studio for ARM Version 2.2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;I am not sure if you are using custom board or &lt;A href="https://www.nxp.com/design/development-boards/automotive-development-platforms/s32k-mcu-platforms/s32k148-evaluation-board-for-general-purpose:S32K148EVB" target="_self"&gt;&lt;STRONG&gt;S32K148EVB&lt;/STRONG&gt; &lt;/A&gt;board.&lt;BR /&gt;Would you please test this example on &lt;STRONG&gt;S32K148EVB&lt;/STRONG&gt; board to check if it's ok?&lt;BR /&gt;Please first &lt;STRONG&gt;build&lt;/STRONG&gt; it and then click &lt;STRONG&gt;Debug&lt;/STRONG&gt; in &lt;STRONG&gt;Debug Configurations&lt;/STRONG&gt; views.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Build and Debug.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133373iF981396FE5AB1236/image-size/large?v=v2&amp;amp;px=999" role="button" title="Build and Debug.png" alt="Build and Debug.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you are not familiar with S32DS and S32K148EVB, then I&amp;nbsp;recommend you refer: &lt;A href="https://www.nxp.com/document/guide/get-started-with-the-s32k148evb:NGS-S32K148EVB" target="_self"&gt;Get Started with the S32K148EVB&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&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;- 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>Wed, 23 Dec 2020 06:56:34 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2020-12-23T06:56:34Z</dc:date>
    <item>
      <title>Problem of running</title>
      <link>https://community.nxp.com/t5/S32K/Problem-of-running/m-p/1203290#M9363</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;when I run this code&lt;/P&gt;&lt;P&gt;//--------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;#include "S32K148.h" /* include peripheral declarations S32K144I&amp;nbsp; */&lt;BR /&gt;#define PTE21 21 /* Port PTD0, bit 0: FRDM EVB output to blue LED */&lt;BR /&gt;#define PTC12 12 /* Port PTC12, bit 12: FRDM EVB input from BTN0 [SW2] */&lt;BR /&gt;void WDOG_disable (void){&lt;BR /&gt;WDOG-&amp;gt;CNT=0xD928C520; /*Unlock watchdog*/&lt;BR /&gt;WDOG-&amp;gt;TOVAL=0x0000FFFF; /*Maximum timeout value*/&lt;BR /&gt;WDOG-&amp;gt;CS = 0x00002100; /*Disable watchdog*/&lt;BR /&gt;}&lt;BR /&gt;int main(void) {&lt;BR /&gt;int counter = 0;&lt;BR /&gt;WDOG_disable();&lt;BR /&gt;/* Enable clocks to peripherals (PORT modules) */&lt;BR /&gt;PCC-&amp;gt; PCCn[PCC_PORTC_INDEX] = PCC_PCCn_CGC_MASK; /* Enable clock to PORT C */&lt;BR /&gt;PCC-&amp;gt; PCCn[PCC_PORTE_INDEX] = PCC_PCCn_CGC_MASK; /* Enable clock to PORT D */&lt;BR /&gt;/* Configure port C12 as GPIO input (BTN 0 [SW2] on EVB) */&lt;BR /&gt;PTC-&amp;gt;PDDR &amp;amp;= ~(1&amp;lt;&amp;lt;PTC12); /* Port C12: Data Direction= input (default) */&lt;BR /&gt;PORTC-&amp;gt;PCR[12] = 0x00000110; /* Port C12: MUX = GPIO, input filter enabled */&lt;BR /&gt;/* Configure port D0 as GPIO output (LED on EVB) */&lt;BR /&gt;PTD-&amp;gt;PDDR |= 1&amp;lt;&amp;lt;PTE21; /* Port D0: Data Direction= output */&lt;BR /&gt;PORTE-&amp;gt;PCR[0] = 0x00000100; /* Port D0: MUX = GPIO */&lt;BR /&gt;for(;;) {&lt;BR /&gt;if (PTC-&amp;gt;PDIR &amp;amp; (1&amp;lt;&amp;lt;PTC12)) { /* If Pad Data Input = 1 (BTN0 [SW2] pushed) */&lt;BR /&gt;PTE-&amp;gt; PCOR |= 1&amp;lt;&amp;lt;PTE21;&lt;BR /&gt;}&lt;BR /&gt;else { /* If BTN0 was not pushed */&lt;BR /&gt;PTE-&amp;gt; PSOR |= 1&amp;lt;&amp;lt;PTE21;&amp;nbsp;&lt;BR /&gt;}&lt;BR /&gt;counter++;&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;//-------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;There are some problems with running&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Garam_Kim_0-1608685301301.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133338i885F810B3C2D6767/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Garam_Kim_0-1608685301301.png" alt="Garam_Kim_0-1608685301301.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Could you tell me how can I fix it?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2020 01:03:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Problem-of-running/m-p/1203290#M9363</guid>
      <dc:creator>Garam_Kim</dc:creator>
      <dc:date>2020-12-23T01:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem of running</title>
      <link>https://community.nxp.com/t5/S32K/Problem-of-running/m-p/1203504#M9367</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Garam_Kim,&lt;/P&gt;
&lt;P&gt;The code you attached is similar to the &lt;STRONG&gt;S32K148_Project_Hello&lt;/STRONG&gt; in S32 Design Studio for ARM Version 2.2.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="S32K148_Project_Hello.png" style="width: 824px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133371i725B7BC53284765B/image-size/large?v=v2&amp;amp;px=999" role="button" title="S32K148_Project_Hello.png" alt="S32K148_Project_Hello.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="S32K148_Project_Hello S32 Design Studio for ARM Version 2.2.png" style="width: 805px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133372i61B79B2A752A659B/image-size/large?v=v2&amp;amp;px=999" role="button" title="S32K148_Project_Hello S32 Design Studio for ARM Version 2.2.png" alt="S32K148_Project_Hello S32 Design Studio for ARM Version 2.2.png" /&gt;&lt;/span&gt;&lt;BR /&gt;I am not sure if you are using custom board or &lt;A href="https://www.nxp.com/design/development-boards/automotive-development-platforms/s32k-mcu-platforms/s32k148-evaluation-board-for-general-purpose:S32K148EVB" target="_self"&gt;&lt;STRONG&gt;S32K148EVB&lt;/STRONG&gt; &lt;/A&gt;board.&lt;BR /&gt;Would you please test this example on &lt;STRONG&gt;S32K148EVB&lt;/STRONG&gt; board to check if it's ok?&lt;BR /&gt;Please first &lt;STRONG&gt;build&lt;/STRONG&gt; it and then click &lt;STRONG&gt;Debug&lt;/STRONG&gt; in &lt;STRONG&gt;Debug Configurations&lt;/STRONG&gt; views.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Build and Debug.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/133373iF981396FE5AB1236/image-size/large?v=v2&amp;amp;px=999" role="button" title="Build and Debug.png" alt="Build and Debug.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you are not familiar with S32DS and S32K148EVB, then I&amp;nbsp;recommend you refer: &lt;A href="https://www.nxp.com/document/guide/get-started-with-the-s32k148evb:NGS-S32K148EVB" target="_self"&gt;Get Started with the S32K148EVB&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&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;- 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>Wed, 23 Dec 2020 06:56:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Problem-of-running/m-p/1203504#M9367</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2020-12-23T06:56:34Z</dc:date>
    </item>
  </channel>
</rss>

