<?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: Problem w/ PORTA &amp; B after RESET in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Problem-w-PORTA-B-after-RESET/m-p/144740#M3786</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Not sure if I understand what you mean. Here is something you should check though:&lt;BR /&gt;&lt;BR /&gt;PORTA and PORTB doesn't have pull-up enabled out of reset. Unless you write to PUCR or have external pull resistors, you will get random values when the port is configured as input.&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Feb 2007 21:46:44 GMT</pubDate>
    <dc:creator>Lundin</dc:creator>
    <dc:date>2007-02-09T21:46:44Z</dc:date>
    <item>
      <title>Problem w/ PORTA &amp; B after RESET</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Problem-w-PORTA-B-after-RESET/m-p/144739#M3785</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;I am using the 9S12XDP512 from TechArts and connecting 3 Lynxmotion Tracker Sensors to PORTA[7:5], PORTA[2:0], and PORTB[7:5]. The Tracker Sensor outputs HI for WHITE light, and LO for BLACK light. I have configured the&amp;nbsp;Data Direction registers for PORTA &amp;amp; B (i.e. DDRA = 0x14; DDRB = 0x1F; ). Also, the MCU provides the +5VDC to power the sensors.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The problem occurs when I switch the controller to 'Run' and press the 'Reset' button. Nothing happens, until I place a WHITE sheet of paper under the PORTA sensors. Only then does the program execute. Why does my program require an external event to start?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for your help.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 02:59:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Problem-w-PORTA-B-after-RESET/m-p/144739#M3785</guid>
      <dc:creator>thesheriff</dc:creator>
      <dc:date>2007-02-08T02:59:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem w/ PORTA &amp; B after RESET</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Problem-w-PORTA-B-after-RESET/m-p/144740#M3786</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Not sure if I understand what you mean. Here is something you should check though:&lt;BR /&gt;&lt;BR /&gt;PORTA and PORTB doesn't have pull-up enabled out of reset. Unless you write to PUCR or have external pull resistors, you will get random values when the port is configured as input.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 21:46:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Problem-w-PORTA-B-after-RESET/m-p/144740#M3786</guid>
      <dc:creator>Lundin</dc:creator>
      <dc:date>2007-02-09T21:46:44Z</dc:date>
    </item>
  </channel>
</rss>

