<?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>S12 / MagniV MicrocontrollersのトピックRe: Short circuit detection on MC9S12XDP512</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Short-circuit-detection-on-MC9S12XDP512/m-p/170549#M5695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello Ahmed,&lt;BR /&gt;&lt;BR /&gt;The usual GPIO (general purpose digital input output) works as the following, I will take PORTA:&lt;BR /&gt;If PORTA is an output, READ on PORTA will return the value of the PORTA register,&lt;BR /&gt;If PORTA is an input, READ of PORTA will return the STATUS of the PIN and not what value was written in the register.&lt;BR /&gt;&lt;BR /&gt;With the timing like PORT T, it can be interesting to read the real status of the pin.&lt;BR /&gt;If you had a standard GPIO, to read the pin level, you would have to change the Data Direction Register.&lt;BR /&gt;&lt;BR /&gt;That's why I believe these INPUT registers were created.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Alban_nablA.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Dec 2007 02:50:40 GMT</pubDate>
    <dc:creator>Nabla69</dc:creator>
    <dc:date>2007-12-07T02:50:40Z</dc:date>
    <item>
      <title>Short circuit detection on MC9S12XDP512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Short-circuit-detection-on-MC9S12XDP512/m-p/170545#M5691</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm doing validation for digital input output module on the MC9S12XDP512 microcontroller.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the microcontroller data sheet; the PTIT, PTIS, PTIM, PTIP, PTIH, and PTIJ registers are used "as written on data sheet" to detect overload or short circuit conditions on output pins.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, please verify if the next test is an Applicable test:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DDRH = 0xFF;&amp;nbsp;&amp;nbsp; // Data direction is output&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;PTH = 0xFF;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Output Value is HIGH&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;force eternal LOW signal "Short Circuit" on PortH.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Read PTIH;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // The value read is 0x00&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Notes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The upove test will work correctly and will not harm the microcontroller, or cause any problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This test can be done for a long time, as long as it is needed.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If the previous notes is true and the&amp;nbsp; test is Applicable, please notify me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you so much.&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Dec 2007 19:29:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Short-circuit-detection-on-MC9S12XDP512/m-p/170545#M5691</guid>
      <dc:creator>ahmedfathy</dc:creator>
      <dc:date>2007-12-05T19:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: Short circuit detection on MC9S12XDP512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Short-circuit-detection-on-MC9S12XDP512/m-p/170546#M5692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;yup i think you can do that...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;- when not forced externally to LOW does PTIH read 1?&lt;/DIV&gt;&lt;DIV&gt;- you mean to test entire portH?doesn't your pins on portH have unique names (pin 1 in portH: motor_output)?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;- usually the one who tests&amp;nbsp;using register names are the developers.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 12:51:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Short-circuit-detection-on-MC9S12XDP512/m-p/170546#M5692</guid>
      <dc:creator>Xbot</dc:creator>
      <dc:date>2007-12-06T12:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Short circuit detection on MC9S12XDP512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Short-circuit-detection-on-MC9S12XDP512/m-p/170547#M5693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you do a short circuit on an output but do not put any current limiting resistor, you can expect the magic smoke to escape from the MCU.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The MCU will not work once this magic smoke is produced.&lt;/DIV&gt;&lt;DIV&gt;It is not possible to re-inject magic smoke once escaped.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Cheers,&lt;/DIV&gt;&lt;DIV&gt;Alban.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 13:46:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Short-circuit-detection-on-MC9S12XDP512/m-p/170547#M5693</guid>
      <dc:creator>Nabla69</dc:creator>
      <dc:date>2007-12-06T13:46:14Z</dc:date>
    </item>
    <item>
      <title>Re: Short circuit detection on MC9S12XDP512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Short-circuit-detection-on-MC9S12XDP512/m-p/170548#M5694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Nabla;&lt;BR /&gt;&lt;BR /&gt;I think you answer only one part of my question.&lt;BR /&gt;&lt;BR /&gt;I need to know what is your understanding of these registers usage?&lt;BR /&gt;&lt;BR /&gt;Another thing please read the data sheet "MC9S12XDP512 Data Sheet, Rev. 2.15" page 840; for the PTIT register Field Description.&lt;BR /&gt;&lt;BR /&gt;Thank you so much; and your answer is very wellcomed.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Dec 2007 16:47:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Short-circuit-detection-on-MC9S12XDP512/m-p/170548#M5694</guid>
      <dc:creator>ahmedfathy</dc:creator>
      <dc:date>2007-12-06T16:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Short circuit detection on MC9S12XDP512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Short-circuit-detection-on-MC9S12XDP512/m-p/170549#M5695</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello Ahmed,&lt;BR /&gt;&lt;BR /&gt;The usual GPIO (general purpose digital input output) works as the following, I will take PORTA:&lt;BR /&gt;If PORTA is an output, READ on PORTA will return the value of the PORTA register,&lt;BR /&gt;If PORTA is an input, READ of PORTA will return the STATUS of the PIN and not what value was written in the register.&lt;BR /&gt;&lt;BR /&gt;With the timing like PORT T, it can be interesting to read the real status of the pin.&lt;BR /&gt;If you had a standard GPIO, to read the pin level, you would have to change the Data Direction Register.&lt;BR /&gt;&lt;BR /&gt;That's why I believe these INPUT registers were created.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Alban_nablA.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2007 02:50:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Short-circuit-detection-on-MC9S12XDP512/m-p/170549#M5695</guid>
      <dc:creator>Nabla69</dc:creator>
      <dc:date>2007-12-07T02:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Short circuit detection on MC9S12XDP512</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Short-circuit-detection-on-MC9S12XDP512/m-p/170550#M5696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Dear Nabla;&lt;BR /&gt;&lt;BR /&gt;As i said before; this problem is for the ports listed above.&lt;BR /&gt;they have special feature.&lt;BR /&gt;&lt;BR /&gt;we can conclude any thing; but they write a special purpose for it."Over load and Short circuit detection"&lt;BR /&gt;&lt;BR /&gt;I can suggest their usage is for bus communication; as u know to make control over a bus u have to sense the bus first, so all the nodes may have high, but how take the control is the first one to push the bus to a low signal.&lt;BR /&gt;&lt;BR /&gt;but what i need to know; Is there any limitation for the timing or for any thing?&lt;BR /&gt;because i already make the previous test and nothing was burned. but i make it for a short time. about 2 sec.&lt;BR /&gt;&lt;BR /&gt;But i need someone knows about this issue specificly to gurantee this test.&lt;BR /&gt;&lt;BR /&gt;any way thank you so much.&lt;BR /&gt;&lt;BR /&gt;If there is any way or suggestion to have this gurantee, i'll be thankfull.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Dec 2007 04:21:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Short-circuit-detection-on-MC9S12XDP512/m-p/170550#M5696</guid>
      <dc:creator>ahmedfathy</dc:creator>
      <dc:date>2007-12-08T04:21:50Z</dc:date>
    </item>
  </channel>
</rss>

