<?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 Setting initial pin value on PTD/PTB pins using MQX in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Setting-initial-pin-value-on-PTD-PTB-pins-using-MQX/m-p/456571#M15336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;BR /&gt;I have a question on how to set the initial value of some PT* pins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running the experiment with Freescale FRDM K22F &amp;amp; paired with Atheros GT202.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of the information regarding setting initial pin values seem to be happening after MQX's main.&lt;BR /&gt;However, I notice that in the init_hardware(), which is called way before MQX main starts, the value of some PTD &amp;amp; PTB, especially PTD4 &amp;amp; PTB19 (correspondingly SPI CS &amp;amp; PWD for the Atheros) are set to high (around 3v).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PTD5, however (SPI CLK) is floating on around 1v.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, who was setting these PTD4 &amp;amp; PTB19 to high even before MQX main start?&amp;nbsp; Is it somewhere in the software setting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Cecylia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Sep 2015 00:11:46 GMT</pubDate>
    <dc:creator>cwati</dc:creator>
    <dc:date>2015-09-17T00:11:46Z</dc:date>
    <item>
      <title>Setting initial pin value on PTD/PTB pins using MQX</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Setting-initial-pin-value-on-PTD-PTB-pins-using-MQX/m-p/456571#M15336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;BR /&gt;I have a question on how to set the initial value of some PT* pins.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm running the experiment with Freescale FRDM K22F &amp;amp; paired with Atheros GT202.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All of the information regarding setting initial pin values seem to be happening after MQX's main.&lt;BR /&gt;However, I notice that in the init_hardware(), which is called way before MQX main starts, the value of some PTD &amp;amp; PTB, especially PTD4 &amp;amp; PTB19 (correspondingly SPI CS &amp;amp; PWD for the Atheros) are set to high (around 3v).&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;PTD5, however (SPI CLK) is floating on around 1v.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, who was setting these PTD4 &amp;amp; PTB19 to high even before MQX main start?&amp;nbsp; Is it somewhere in the software setting?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Cecylia&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 00:11:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Setting-initial-pin-value-on-PTD-PTB-pins-using-MQX/m-p/456571#M15336</guid>
      <dc:creator>cwati</dc:creator>
      <dc:date>2015-09-17T00:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: Setting initial pin value on PTD/PTB pins using MQX</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Setting-initial-pin-value-on-PTD-PTB-pins-using-MQX/m-p/456572#M15337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Cecylia:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;init_hardware is called by toolchain, it will configure PLL, clocks, and memories.&lt;/P&gt;&lt;P&gt;In your case, PTD5 default&amp;nbsp; is analog, PTD4 and PTB19 default are high impedance state. All of the states are dependent on the peripheral circuit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 06:46:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Setting-initial-pin-value-on-PTD-PTB-pins-using-MQX/m-p/456572#M15337</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2015-09-17T06:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Setting initial pin value on PTD/PTB pins using MQX</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Setting-initial-pin-value-on-PTD-PTB-pins-using-MQX/m-p/456573#M15338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, thanks for confirming.&amp;nbsp; That means for PTD4 &amp;amp; PTB19 in this circuitry, the pins are high because the peripheral circuit sets them high?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Sep 2015 17:16:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Setting-initial-pin-value-on-PTD-PTB-pins-using-MQX/m-p/456573#M15338</guid>
      <dc:creator>cwati</dc:creator>
      <dc:date>2015-09-17T17:16:46Z</dc:date>
    </item>
    <item>
      <title>Re: Setting initial pin value on PTD/PTB pins using MQX</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Setting-initial-pin-value-on-PTD-PTB-pins-using-MQX/m-p/456574#M15339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think so&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2015 05:46:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Setting-initial-pin-value-on-PTD-PTB-pins-using-MQX/m-p/456574#M15339</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2015-09-21T05:46:50Z</dc:date>
    </item>
  </channel>
</rss>

