<?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: Using reset pin as I/O in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Using-reset-pin-as-I-O/m-p/203394#M16811</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, if&amp;nbsp;default /RESET pin function is /RESET, then you almost can't use this pin for digital input function. To use /RESET as input, external driving device should know when your MCU resets and should stop driving pin immediately until some confirmation that you configured /RESET for I/O...&lt;/P&gt;&lt;P&gt;You can use /RESET for ouput, but&amp;nbsp;load on /RESET pin should not pull /RESET pin low.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 May 2010 13:15:52 GMT</pubDate>
    <dc:creator>kef</dc:creator>
    <dc:date>2010-05-27T13:15:52Z</dc:date>
    <item>
      <title>Using reset pin as I/O</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Using-reset-pin-as-I-O/m-p/203393#M16810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am working with the MC9S08LC60,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wish to use the Reset pin as a regular I/O pin, so I set the "System Options Register (SOPT1)" bit "Reset Pin Enable (RSTPE)" to 0. I also set the pull-up bit for this port.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far so good.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is: if I reset the equipment, if this pin is set to ground, the MCU won't initiate (seems that after reset, this pin functions as reset again).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is, for me, an odd behavior, because no one who would want to use the reset pin as I/O can predict it's state during reset.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Reading the LC60 data-sheet, I have the following description:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Reset Pin Enable&lt;/STRONG&gt;&amp;nbsp;— This write-once bit when set enables the PTB2/RESET/ pin to function asRESET. When clear, the pin functions as one of its input only alternative functions.&amp;nbsp;&lt;STRONG&gt;This pin defaults to its input-only port function following an MCU POR&lt;/STRONG&gt;. Once configured for RESET pin, only POR can disable the RESET pin function. When RSTPE is set, an internal pullup device is enabled on RESET.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This leads me to believe that this bit value during reset should be set for I/O, which would make sense.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But in the data-sheet, it also sais it's reset value is 1 (reset function), which sounds like a contradiction. But debugging the MCU I confirmed this last information.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a contradiction in the data-sheet, or am I not getting the point?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 May 2010 08:16:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Using-reset-pin-as-I-O/m-p/203393#M16810</guid>
      <dc:creator>rdazcal</dc:creator>
      <dc:date>2010-05-27T08:16:44Z</dc:date>
    </item>
    <item>
      <title>Re: Using reset pin as I/O</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Using-reset-pin-as-I-O/m-p/203394#M16811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, if&amp;nbsp;default /RESET pin function is /RESET, then you almost can't use this pin for digital input function. To use /RESET as input, external driving device should know when your MCU resets and should stop driving pin immediately until some confirmation that you configured /RESET for I/O...&lt;/P&gt;&lt;P&gt;You can use /RESET for ouput, but&amp;nbsp;load on /RESET pin should not pull /RESET pin low.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 May 2010 13:15:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Using-reset-pin-as-I-O/m-p/203394#M16811</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2010-05-27T13:15:52Z</dc:date>
    </item>
  </channel>
</rss>

