<?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: Is it possible to influence port-initialisation on startup (S12XF512) in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Is-it-possible-to-influence-port-initialisation-on-startup/m-p/208087#M8519</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean&amp;nbsp;pins are high until you initialize DDRx registers, or do you mean pins are driven high from&amp;nbsp;the moment you write tto DDRx until the moment you write initial pins values to PORTx or PTx registers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) In the first case peraphs your circuit lacks pull down resisotrs.&lt;/P&gt;&lt;P&gt;2) Each output capable port pin must have some latch. To initialize these latches you should&amp;nbsp;write initial&amp;nbsp;pin states pattern to PORTx / PTx register before switching pin direction(s) to output(s).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTA &amp;amp;= ~1;&lt;/P&gt;&lt;P&gt;DDRA |= 1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 20 Jun 2010 22:54:07 GMT</pubDate>
    <dc:creator>kef</dc:creator>
    <dc:date>2010-06-20T22:54:07Z</dc:date>
    <item>
      <title>Is it possible to influence port-initialisation on startup (S12XF512)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Is-it-possible-to-influence-port-initialisation-on-startup/m-p/208085#M8517</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am preparing a automatic lightning solution, that controlls lots of LEDs. My problem is the following:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- when the MCU starts up on power-on, all port become high for a short period of time. This causes all LEDs to flash.&lt;/P&gt;&lt;P&gt;Can I prohibit or influence this behaviour?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your advices!&lt;/P&gt;&lt;P&gt;Jedi82&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jun 2010 21:29:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Is-it-possible-to-influence-port-initialisation-on-startup/m-p/208085#M8517</guid>
      <dc:creator>jedi82</dc:creator>
      <dc:date>2010-06-20T21:29:46Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to influence port-initialisation on startup (S12XF512)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Is-it-possible-to-influence-port-initialisation-on-startup/m-p/208086#M8518</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;to be more precise. the short peak is only visible on Port J.&lt;/P&gt;&lt;P&gt;Don't find any information in the datasheet!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jun 2010 22:35:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Is-it-possible-to-influence-port-initialisation-on-startup/m-p/208086#M8518</guid>
      <dc:creator>jedi82</dc:creator>
      <dc:date>2010-06-20T22:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to influence port-initialisation on startup (S12XF512)</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Is-it-possible-to-influence-port-initialisation-on-startup/m-p/208087#M8519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you mean&amp;nbsp;pins are high until you initialize DDRx registers, or do you mean pins are driven high from&amp;nbsp;the moment you write tto DDRx until the moment you write initial pins values to PORTx or PTx registers?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) In the first case peraphs your circuit lacks pull down resisotrs.&lt;/P&gt;&lt;P&gt;2) Each output capable port pin must have some latch. To initialize these latches you should&amp;nbsp;write initial&amp;nbsp;pin states pattern to PORTx / PTx register before switching pin direction(s) to output(s).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PORTA &amp;amp;= ~1;&lt;/P&gt;&lt;P&gt;DDRA |= 1;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 20 Jun 2010 22:54:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Is-it-possible-to-influence-port-initialisation-on-startup/m-p/208087#M8519</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2010-06-20T22:54:07Z</dc:date>
    </item>
  </channel>
</rss>

