<?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>8-bit MicrocontrollersのトピックRe: HC908 I/O ports</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HC908-I-O-ports/m-p/197833#M15950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Omar,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a general rule the GP output configuration may be assumed to provide both high and low drive current, &lt;U&gt;unless otherwise specifically stated&lt;/U&gt; within the datasheet. The provision of open drain outputs on certain pins, as with the 908JB16, is a rather special case.&amp;nbsp; Within the Electrical Specifications section of the datasheet, the source current specified for each pin will also provide an indication.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course, this assumes that any of the peripherals available at a pin remain disabled, otherwise the peripheral will dictate the mode of operation of the pin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is always possible to emulate an open drain configuration.&amp;nbsp; Set the pin output state low, and then control the output state using the DDR bit, with an input setting representing the high state.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Jul 2009 22:33:11 GMT</pubDate>
    <dc:creator>bigmac</dc:creator>
    <dc:date>2009-07-09T22:33:11Z</dc:date>
    <item>
      <title>HC908 I/O ports</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HC908-I-O-ports/m-p/197832#M15949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, this time I have a question about I/O ports. I've been using a HC908JL3 and a HC908JB16 mcu for a while. I've noticed that the I/O ports section of both mcu's datasheets specify for the JB16 mcu that, for example, port D pins are open drain when configured as output, so you need a pull-up resistor to generate a logic 1, otherwise is Hi-z or 0 (as output). For the HC908JL3 port B is specified as an 8-bit port that shares its pins with the ADC but it doesn't say whether it's open drain or not (I've assumed it isn't). The next thing I did is test those pins. If you configure port B of the JL3 as output and put a logic 1 it puts VCC at its output. The same thing for the JB16 port D and it puts a Hi-Z state at its output (that's because it is open drain). My questions are:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Why port B of the JL3 is able to put a VCC voltage at its pins? It has an internal and non software configurable pull-up resistor?&lt;/P&gt;&lt;P&gt;-If the datasheet doesn't specify that it is open-drain/collector when configured as ouptut, does that means that the port is able to switch between logic 1 (VCC) and logic 0 without using pull-up resistors?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope I explained myself clearly enough.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 22:28:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HC908-I-O-ports/m-p/197832#M15949</guid>
      <dc:creator>OmarAI</dc:creator>
      <dc:date>2009-07-09T22:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: HC908 I/O ports</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/HC908-I-O-ports/m-p/197833#M15950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Omar,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As a general rule the GP output configuration may be assumed to provide both high and low drive current, &lt;U&gt;unless otherwise specifically stated&lt;/U&gt; within the datasheet. The provision of open drain outputs on certain pins, as with the 908JB16, is a rather special case.&amp;nbsp; Within the Electrical Specifications section of the datasheet, the source current specified for each pin will also provide an indication.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Of course, this assumes that any of the peripherals available at a pin remain disabled, otherwise the peripheral will dictate the mode of operation of the pin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It is always possible to emulate an open drain configuration.&amp;nbsp; Set the pin output state low, and then control the output state using the DDR bit, with an input setting representing the high state.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mac&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2009 22:33:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/HC908-I-O-ports/m-p/197833#M15950</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2009-07-09T22:33:11Z</dc:date>
    </item>
  </channel>
</rss>

