<?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 Re: In S08, port PTC2 not working. Unable to glow LED Red 3 in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/In-S08-port-PTC2-not-working-Unable-to-glow-LED-Red-3/m-p/1388612#M14160</link>
    <description>&lt;P&gt;I am also having the same issue. any help or code would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;</description>
    <pubDate>Fri, 17 Dec 2021 07:24:21 GMT</pubDate>
    <dc:creator>MSR</dc:creator>
    <dc:date>2021-12-17T07:24:21Z</dc:date>
    <item>
      <title>In S08, port PTC2 not working. Unable to glow LED Red 3</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/In-S08-port-PTC2-not-working-Unable-to-glow-LED-Red-3/m-p/1388556#M14159</link>
      <description>&lt;P&gt;Working on MC9S08PT16 controller. Unable to glow LED on PTC2 port. Have tried on multiple boards. Have enabled output ports and disabled input ports. Am I missing something ? Below is my code. Any assistance/code would help. Thank you in advance.&lt;/P&gt;&lt;P&gt;Code:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;void main(void) { &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PORT_PTCIE = 0x00; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PORT_PTCOE_PTCOE2 = 1; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PORT_PTCPE = 0x00; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PORT_PTCD = 0x00; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;while (1) { &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;PORT_PTCD_PTCD2 = 1; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;} &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Dec 2021 06:05:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/In-S08-port-PTC2-not-working-Unable-to-glow-LED-Red-3/m-p/1388556#M14159</guid>
      <dc:creator>Tryhard</dc:creator>
      <dc:date>2021-12-17T06:05:34Z</dc:date>
    </item>
    <item>
      <title>Re: In S08, port PTC2 not working. Unable to glow LED Red 3</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/In-S08-port-PTC2-not-working-Unable-to-glow-LED-Red-3/m-p/1388612#M14160</link>
      <description>&lt;P&gt;I am also having the same issue. any help or code would be greatly appreciated.&lt;/P&gt;&lt;P&gt;Thanks in Advance.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Dec 2021 07:24:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/In-S08-port-PTC2-not-working-Unable-to-glow-LED-Red-3/m-p/1388612#M14160</guid>
      <dc:creator>MSR</dc:creator>
      <dc:date>2021-12-17T07:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: In S08, port PTC2 not working. Unable to glow LED Red 3</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/In-S08-port-PTC2-not-working-Unable-to-glow-LED-Red-3/m-p/1388950#M14161</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;Normally you on only need&lt;/P&gt;
&lt;P&gt;//PTC2's Output Enable Register is set to enable output &lt;BR /&gt;PORT_PTCOE_PTCOE2 = 1 ;&lt;BR /&gt;//PTC2 pin is driven low (LED OFF)&lt;BR /&gt;PORT_PTCD_PTCD2 = 1;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I test it on the evk and this is working&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Dec 2021 18:15:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/In-S08-port-PTC2-not-working-Unable-to-glow-LED-Red-3/m-p/1388950#M14161</guid>
      <dc:creator>vicentegomez</dc:creator>
      <dc:date>2021-12-17T18:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: In S08, port PTC2 not working. Unable to glow LED Red 3</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/In-S08-port-PTC2-not-working-Unable-to-glow-LED-Red-3/m-p/1389434#M14162</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, I found the solution.&lt;/P&gt;&lt;P&gt;even after doing this&amp;nbsp;&lt;SPAN&gt;PORT_PTCOE_PTCOE2 = 1,&amp;nbsp;we may not be able to get the output.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;because the port ptc2 is works based on the priority.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;here what the happening is we are having the TSI8 input&amp;nbsp;for the same ptc2 port,&amp;nbsp;so it is giving&amp;nbsp;high priority to the alternate TSI8.&amp;nbsp; so,&amp;nbsp;we must do the input reading pin zero (0).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TSI_PEN1 |=&amp;nbsp;&lt;/SPAN&gt;0x0.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Now after&amp;nbsp;doing this,&amp;nbsp;it will consider&amp;nbsp;PORT_PTCOE_PTCOE2 = 1 this as high priority&amp;nbsp;and will generate the output.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;SPAN&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/194834"&gt;@MSR&lt;/a&gt;&amp;nbsp;...!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 09:03:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/In-S08-port-PTC2-not-working-Unable-to-glow-LED-Red-3/m-p/1389434#M14162</guid>
      <dc:creator>MSR</dc:creator>
      <dc:date>2021-12-20T09:03:12Z</dc:date>
    </item>
  </channel>
</rss>

