<?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 How do I clock all port pins in MKE02Z64VLD2 controller using kinetis design studio IDE ? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-clock-all-port-pins-in-MKE02Z64VLD2-controller-using/m-p/502584#M31497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #111111; font-family: 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;I need to clock all port pins in my MKE02Z64VLD2 Controller. What is the Syntax to clock all port pins in a freescale's KE-02Z series controller ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #111111; font-family: 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;What I have tried:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #111111; font-family: 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;SIM_SCGC5 |= SIM_SCGC5_PORTA_MASK |&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #111111; font-family: 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;SIM_SCGC5_PORTB_MASK |&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #111111; font-family: 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;SIM_SCGC5_PORTC_MASK |&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #111111; font-family: 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;SIM_SCGC5_PORTD_MASK |&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #111111; font-family: 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;SIM_SCGC5_PORTE_MASK; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #111111; font-family: 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;I found this from a tutorial for a KL-25Z controller. But this throws me a syntax error. Since I am a beginner to embedded C coding, I couldn't find the specific syntax for the controller (KE-02Z) which I use.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Mar 2016 05:36:41 GMT</pubDate>
    <dc:creator>ganeshramachand</dc:creator>
    <dc:date>2016-03-24T05:36:41Z</dc:date>
    <item>
      <title>How do I clock all port pins in MKE02Z64VLD2 controller using kinetis design studio IDE ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-clock-all-port-pins-in-MKE02Z64VLD2-controller-using/m-p/502584#M31497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #111111; font-family: 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;I need to clock all port pins in my MKE02Z64VLD2 Controller. What is the Syntax to clock all port pins in a freescale's KE-02Z series controller ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #111111; font-family: 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;&lt;STRONG&gt;What I have tried:&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #111111; font-family: 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;SIM_SCGC5 |= SIM_SCGC5_PORTA_MASK |&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #111111; font-family: 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;SIM_SCGC5_PORTB_MASK |&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #111111; font-family: 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;SIM_SCGC5_PORTC_MASK |&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #111111; font-family: 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;SIM_SCGC5_PORTD_MASK |&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #111111; font-family: 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;SIM_SCGC5_PORTE_MASK; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #111111; font-family: 'Segoe UI', Arial, sans-serif; font-size: 14px;"&gt;I found this from a tutorial for a KL-25Z controller. But this throws me a syntax error. Since I am a beginner to embedded C coding, I couldn't find the specific syntax for the controller (KE-02Z) which I use.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 05:36:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-clock-all-port-pins-in-MKE02Z64VLD2-controller-using/m-p/502584#M31497</guid>
      <dc:creator>ganeshramachand</dc:creator>
      <dc:date>2016-03-24T05:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: How do I clock all port pins in MKE02Z64VLD2 controller using kinetis design studio IDE ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-clock-all-port-pins-in-MKE02Z64VLD2-controller-using/m-p/502585#M31498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ganesh,&lt;/P&gt;&lt;P&gt;About the gpio clock , it is different between the KE series and KL .&lt;/P&gt;&lt;P&gt;For the KE02 chip , the clock of gpio is enable by default after reset , you can&lt;/P&gt;&lt;P&gt;directly use the GPIO.&amp;nbsp; For example , if you want configure the PTD1 output 0, you&lt;/P&gt;&lt;P&gt;can directly configure it as this :&lt;/P&gt;&lt;PRE __default_attr="c++" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14588078715126409 jive_text_macro" data-renderedposition="138_8_1192_112" jivemacro_uid="_14588078715126409"&gt;&lt;P&gt;&amp;nbsp; /* Configure pin as output */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* GPIOA_PDDR: PDD|=0x02000000 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; GPIOA_PDDR |= GPIO_PDDR_PDD(0x02000000);&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* Set initialization value */&lt;/P&gt;&lt;P&gt;&amp;nbsp; /* GPIOA_PDOR: PDO&amp;amp;=~0x02000000 */&lt;/P&gt;&lt;P&gt;&amp;nbsp; GPIOA_PDOR &amp;amp;= (uint32_t)~(uint32_t)(GPIO_PDOR_PDO(0x02000000));&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Alice Yang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Mar 2016 08:24:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-clock-all-port-pins-in-MKE02Z64VLD2-controller-using/m-p/502585#M31498</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-03-24T08:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I clock all port pins in MKE02Z64VLD2 controller using kinetis design studio IDE ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-clock-all-port-pins-in-MKE02Z64VLD2-controller-using/m-p/502586#M31499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="CLock and PUll up enable errors.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32440i84684A2B90F3868C/image-size/large?v=v2&amp;amp;px=999" role="button" title="CLock and PUll up enable errors.jpg" alt="CLock and PUll up enable errors.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;H3 style="font-size: 18px; font-family: Merriweather, Georgia, 'Times New Roman', Times, serif; color: #3d596d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;From the answer, if clocking is done automatically after reset, then can I simply delete that code and start over with&lt;/EM&gt;&lt;/H3&gt;&lt;H3 style="font-size: 18px; font-family: Merriweather, Georgia, 'Times New Roman', Times, serif; color: #3d596d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;/*Configure Pin as Input */&lt;/EM&gt;&lt;/H3&gt;&lt;H3 style="font-size: 18px; font-family: Merriweather, Georgia, 'Times New Roman', Times, serif; color: #3d596d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;?????&lt;/EM&gt;&lt;/H3&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 04:48:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-clock-all-port-pins-in-MKE02Z64VLD2-controller-using/m-p/502586#M31499</guid>
      <dc:creator>ganeshramachand</dc:creator>
      <dc:date>2016-04-19T04:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do I clock all port pins in MKE02Z64VLD2 controller using kinetis design studio IDE ?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-clock-all-port-pins-in-MKE02Z64VLD2-controller-using/m-p/502587#M31500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello ,&lt;/P&gt;&lt;P&gt;What about these code , i think they are not for kinetis E series.&lt;/P&gt;&lt;P&gt;In the Kineits E series ,there is needn't enable the GPIO clock , and there is no the register&lt;/P&gt;&lt;P&gt;of SIM_SCGC5 ..&lt;/P&gt;&lt;P&gt;It looks like these are PE generate code , please use the functions and code for&lt;/P&gt;&lt;P&gt;your chip.&lt;/P&gt;&lt;P&gt;After you configure the Processor Expert , click the generate code , then use these code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;Alice&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 06:20:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-do-I-clock-all-port-pins-in-MKE02Z64VLD2-controller-using/m-p/502587#M31500</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2016-04-19T06:20:19Z</dc:date>
    </item>
  </channel>
</rss>

