<?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>LPC MicrocontrollersのトピックOne unfortunate thing about the DAC</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/One-unfortunate-thing-about-the-DAC/m-p/513205#M59</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by IanB on Sun Mar 27 09:04:51 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In those few moments whilst the microprocessor is configuring its outputs, it the program has crashed, whilst programming and debugging, the DAC output isn't a DAC output, it's just a standard I/O; and that means it has a pull-up resistor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's a bit of a snag with this arrangement, that the analogue circuitry attached to the DAC output doesn't know this, and it thinks the DAC is set to full output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone know a good workaround? All I can think of doing is using 0V to mean "full output" and 3.3V to mean "off", but that's not so convenient for the analogue circuitry.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:05:07 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:05:07Z</dc:date>
    <item>
      <title>One unfortunate thing about the DAC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/One-unfortunate-thing-about-the-DAC/m-p/513205#M59</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by IanB on Sun Mar 27 09:04:51 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;In those few moments whilst the microprocessor is configuring its outputs, it the program has crashed, whilst programming and debugging, the DAC output isn't a DAC output, it's just a standard I/O; and that means it has a pull-up resistor.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There's a bit of a snag with this arrangement, that the analogue circuitry attached to the DAC output doesn't know this, and it thinks the DAC is set to full output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone know a good workaround? All I can think of doing is using 0V to mean "full output" and 3.3V to mean "off", but that's not so convenient for the analogue circuitry.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:05:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/One-unfortunate-thing-about-the-DAC/m-p/513205#M59</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: One unfortunate thing about the DAC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/One-unfortunate-thing-about-the-DAC/m-p/513206#M60</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by wmues on Tue Mar 29 01:07:42 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;- add an external pulldown resistor to the DAC output.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- use another pin as enable for the analog circuity.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:05:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/One-unfortunate-thing-about-the-DAC/m-p/513206#M60</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: One unfortunate thing about the DAC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/One-unfortunate-thing-about-the-DAC/m-p/513207#M61</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by IanB on Tue Mar 29 04:14:47 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The DAC output specs are a bit confusing (perhaps the NXP folks could clarify?)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The output impedance is specified as 300Ω, which means that any load &amp;lt;1.2MΩ would cause an error greater than 1 LSB; but the load resistance is specified at 10kΩ, which, in theory, would introduce a 3% error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The worst-case pull-up current is 85µA, so even into the specified 10kΩ load, would still leave an output voltage of 0.85V; or if more I wanted less error when the DAC is running.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Analogue circuitry with an enable input (especially just transistors and op-amps) isn't that easy to arrange, but looks like the only option. Of course, it would have to be a negative enable, otherwise the same problem with the pull-up appears!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:05:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/One-unfortunate-thing-about-the-DAC/m-p/513207#M61</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: One unfortunate thing about the DAC</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/One-unfortunate-thing-about-the-DAC/m-p/513208#M62</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;bump&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Jun 2016 01:06:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/One-unfortunate-thing-about-the-DAC/m-p/513208#M62</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-19T01:06:21Z</dc:date>
    </item>
  </channel>
</rss>

