<?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>MPC5xxx中的主题 Re: LED blinker example for MPC5604B StarterTRAK USB  ?</title>
    <link>https://community.nxp.com/t5/MPC5xxx/LED-blinker-example-for-MPC5604B-StarterTRAK-USB/m-p/527373#M3530</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look at the following project:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-329441"&gt;Example MPC5604B PinToggleStationery CW210&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Jul 2016 06:33:24 GMT</pubDate>
    <dc:creator>martin_kovar</dc:creator>
    <dc:date>2016-07-22T06:33:24Z</dc:date>
    <item>
      <title>LED blinker example for MPC5604B StarterTRAK USB  ?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/LED-blinker-example-for-MPC5604B-StarterTRAK-USB/m-p/527370#M3527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would someone be able to provide me with a simple LED blinker example for the MPC5604B StarterTRAK USB board ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 18:15:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/LED-blinker-example-for-MPC5604B-StarterTRAK-USB/m-p/527370#M3527</guid>
      <dc:creator>S1nn3r</dc:creator>
      <dc:date>2016-07-21T18:15:54Z</dc:date>
    </item>
    <item>
      <title>Re: LED blinker example for MPC5604B StarterTRAK USB  ?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/LED-blinker-example-for-MPC5604B-StarterTRAK-USB/m-p/527371#M3528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&lt;/P&gt;&lt;P&gt;below is the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;#include "MPC5606B.h"&lt;/P&gt;&lt;P&gt;void initModesAndClock(void);&lt;/P&gt;&lt;P&gt;void config_PORT_E(void);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;uint32_t LED_state, i;&lt;/P&gt;&lt;P&gt;int main (void) &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;initModesAndClock(); /* Initialisation of the device */&lt;/P&gt;&lt;P&gt;config_PORT_E(); /* Configuration of GPIO */&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SIU.GPDO[68].B.PDO = 1; // All LEDs are off.&lt;/P&gt;&lt;P&gt;&amp;nbsp; SIU.GPDO[69].B.PDO = 1; // -&lt;/P&gt;&lt;P&gt;&amp;nbsp; SIU.GPDO[70].B.PDO = 1; // -&lt;/P&gt;&lt;P&gt;&amp;nbsp; SIU.GPDO[71].B.PDO = 1; // - */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for (; :smileywink: {/* Main loop */&lt;/P&gt;&lt;P&gt;&amp;nbsp; for (; !SIU.GPDI[65].B.PDI;){&lt;/P&gt;&lt;P&gt;&amp;nbsp; SIU.GPDO[68].B.PDO = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; for (i=0; i&amp;lt;4500000; i++){}&lt;/P&gt;&lt;P&gt;&amp;nbsp; SIU.GPDO[69].B.PDO = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; for (i=0; i&amp;lt;4500000; i++){}&lt;/P&gt;&lt;P&gt;&amp;nbsp; SIU.GPDO[70].B.PDO = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; for (i=0; i&amp;lt;4500000; i++){}&lt;/P&gt;&lt;P&gt;&amp;nbsp; SIU.GPDO[71].B.PDO = 0;&lt;/P&gt;&lt;P&gt;&amp;nbsp; for (i=0; i&amp;lt;4500000; i++){}&lt;/P&gt;&lt;P&gt;&amp;nbsp; SIU.MPGPDO[4].R = 0x0F000F00;&lt;/P&gt;&lt;P&gt;&amp;nbsp; for (i=0; i&amp;lt;4500000; i++){}&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;void config_PORT_E(void)&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;SIU.PCR[68].R = 0x0200; /* LEDs are connected between PORT E pins and 5V */&lt;/P&gt;&lt;P&gt;SIU.PCR[69].R = 0x0200; /* PE 4 to PE 7 */&lt;/P&gt;&lt;P&gt;SIU.PCR[70].R = 0x0200;&lt;/P&gt;&lt;P&gt;SIU.PCR[71].R = 0x0200;&lt;/P&gt;&lt;P&gt;SIU.PCR[65].R = 0x0100; /* PE 0 */&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;void initModesAndClock(void) {&lt;/P&gt;&lt;P&gt;ME.MER.R = 0x0000001D; /* Enable DRUN, RUN0, SAFE, RESET modes */&lt;/P&gt;&lt;P&gt;CGM.FMPLL_CR.R = 0x02400100; /* 8 MHz xtal: Set PLL0 to 64 MHz */&lt;/P&gt;&lt;P&gt;ME.RUN[0].R = 0x001F0074; /* RUN0 config: clock selection(FMPLL) */&lt;/P&gt;&lt;P&gt;ME.RUNPC[1].R = 0x00000010;&lt;/P&gt;&lt;P&gt;ME.PCTL[68].R = 0x01; /* SIUL use the configuration of RunPC[1]&lt;/P&gt;&lt;P&gt;add other peripherals as needed.*/&lt;/P&gt;&lt;P&gt;/* Mode Transition to enter RUN0 mode: */ ME.MCTL.R = 0x40005AF0; /* Enter RUN0 Mode &amp;amp; Key */&lt;/P&gt;&lt;P&gt;ME.MCTL.R = 0x4000A50F; /* Enter RUN0 Mode &amp;amp; Inverted Key */&lt;/P&gt;&lt;P&gt;while (ME.GS.B.S_MTRANS) {} /* Wait for mode transition to complete */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Jul 2016 21:47:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/LED-blinker-example-for-MPC5604B-StarterTRAK-USB/m-p/527371#M3528</guid>
      <dc:creator>akhilmalik</dc:creator>
      <dc:date>2016-07-21T21:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: LED blinker example for MPC5604B StarterTRAK USB  ?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/LED-blinker-example-for-MPC5604B-StarterTRAK-USB/m-p/527372#M3529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many thanks for that, however the software for this forum has changed some of the text to read smiles instead it seems here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for (; &lt;SPAN class="emoticon-inline emoticon_wink"&gt;&lt;/SPAN&gt; {/* Main loop */&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you be able to upload this code some place in plain text format to avoid this ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2016 00:43:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/LED-blinker-example-for-MPC5604B-StarterTRAK-USB/m-p/527372#M3529</guid>
      <dc:creator>S1nn3r</dc:creator>
      <dc:date>2016-07-22T00:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: LED blinker example for MPC5604B StarterTRAK USB  ?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/LED-blinker-example-for-MPC5604B-StarterTRAK-USB/m-p/527373#M3530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;look at the following project:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-329441"&gt;Example MPC5604B PinToggleStationery CW210&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2016 06:33:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/LED-blinker-example-for-MPC5604B-StarterTRAK-USB/m-p/527373#M3530</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-07-22T06:33:24Z</dc:date>
    </item>
    <item>
      <title>Re: LED blinker example for MPC5604B StarterTRAK USB  ?</title>
      <link>https://community.nxp.com/t5/MPC5xxx/LED-blinker-example-for-MPC5604B-StarterTRAK-USB/m-p/527374#M3531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi &lt;/P&gt;&lt;P&gt;that is &lt;/P&gt;&lt;P&gt;the infinite for loop&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for( ; ; )&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jul 2016 08:19:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/LED-blinker-example-for-MPC5604B-StarterTRAK-USB/m-p/527374#M3531</guid>
      <dc:creator>akhilmalik</dc:creator>
      <dc:date>2016-07-22T08:19:16Z</dc:date>
    </item>
  </channel>
</rss>

