<?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 Solved: K22 GPIOs not reflecting internal registers in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Solved-K22-GPIOs-not-reflecting-internal-registers/m-p/957089#M54933</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved:&lt;BR /&gt;Pin Control Register (PORTx_PCRn) was not set correctly and pins ended up disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---&lt;BR /&gt;Hi there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;have developed code for&amp;nbsp;a project&amp;nbsp;using the Freedom K22 eval board for testing.&lt;BR /&gt;As the production HW is using the K22F128xxx10 MCU (as opposed to the K22F512xxx12 on the FRDM) I changed the clock-setup and -init to FLL and got the production HW up and running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But... the&amp;nbsp;GPIOs does not work (and probably neither do other peripherals but I'm not that far yet).&lt;BR /&gt;Debugging a simple main-loop setting and resetting a port pin sets the direction- and output-registers (PDOR &amp;amp; PDDR) correctly but the state is not reflected on the pin. Tried several ports and pins but same result.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have checked and double checked the pinmux and setup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;BR /&gt;Kim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 22 Aug 2019 12:29:40 GMT</pubDate>
    <dc:creator>khlo</dc:creator>
    <dc:date>2019-08-22T12:29:40Z</dc:date>
    <item>
      <title>Solved: K22 GPIOs not reflecting internal registers</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Solved-K22-GPIOs-not-reflecting-internal-registers/m-p/957089#M54933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Solved:&lt;BR /&gt;Pin Control Register (PORTx_PCRn) was not set correctly and pins ended up disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;---&lt;BR /&gt;Hi there.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I&amp;nbsp;have developed code for&amp;nbsp;a project&amp;nbsp;using the Freedom K22 eval board for testing.&lt;BR /&gt;As the production HW is using the K22F128xxx10 MCU (as opposed to the K22F512xxx12 on the FRDM) I changed the clock-setup and -init to FLL and got the production HW up and running.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But... the&amp;nbsp;GPIOs does not work (and probably neither do other peripherals but I'm not that far yet).&lt;BR /&gt;Debugging a simple main-loop setting and resetting a port pin sets the direction- and output-registers (PDOR &amp;amp; PDDR) correctly but the state is not reflected on the pin. Tried several ports and pins but same result.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have checked and double checked the pinmux and setup.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I missing?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR&lt;BR /&gt;Kim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Aug 2019 12:29:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Solved-K22-GPIOs-not-reflecting-internal-registers/m-p/957089#M54933</guid>
      <dc:creator>khlo</dc:creator>
      <dc:date>2019-08-22T12:29:40Z</dc:date>
    </item>
  </channel>
</rss>

