<?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: M52233DEMO - ADC in differential mode in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52233DEMO-ADC-in-differential-mode/m-p/135215#M1581</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P align="left"&gt;&lt;FONT face="Times New Roman"&gt;I think what you're measuring is mid range when both inputs in the differential pair are equal.&amp;nbsp; To get a zero, the :smileyplus: input would be at VREFL, and the :smileyminus: input would be at VREFH.&amp;nbsp; With zero in the offset register, the result will always be positive.&lt;/FONT&gt; &lt;FONT face="Times New Roman"&gt;You can set the Offset register to give a signed result which will&amp;nbsp;be zero when the pair is equal.&lt;/FONT&gt;&lt;FONT face="Times New Roman"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 09 Jun 2007 00:23:56 GMT</pubDate>
    <dc:creator>macl</dc:creator>
    <dc:date>2007-06-09T00:23:56Z</dc:date>
    <item>
      <title>M52233DEMO - ADC in differential mode</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52233DEMO-ADC-in-differential-mode/m-p/135214#M1580</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi everyone,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I've a little question about the ADC module (using M52233DEMO board).&lt;/DIV&gt;&lt;DIV&gt;In single ended mode, everything's allright. The result of the conversion is correct, but in differential mode, when AN0 = AN1, AN2 = AN3, AN4 = AN5 and AN6 = AN7, all results are about 0x4008 instead of 0. Here's my registers values:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;PANPAR = 0xFF; //All pins in AN mode&lt;/DIV&gt;&lt;DIV&gt;CTRL1 = 0x00F5; //Differential mode + Triggered + Parrellel&lt;/DIV&gt;&lt;DIV&gt;CTRL2 = 0x0023; //Simult + DIV (=/16)&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;ADLST1 = 0x3210; //Sample 0 = AN0, Sample 1 = AN1,...&lt;/DIV&gt;&lt;DIV&gt;ADLST2 = 0x7654;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;ADSDIS = 0; //All samples enabled&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;POWER = 0x00D4; //Power up delay + Reference auto&lt;/DIV&gt;&lt;DIV&gt;CAL = 0; //Using VRH and VRL pins&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any idea ?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 May 2007 14:33:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52233DEMO-ADC-in-differential-mode/m-p/135214#M1580</guid>
      <dc:creator>GP</dc:creator>
      <dc:date>2007-05-30T14:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: M52233DEMO - ADC in differential mode</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52233DEMO-ADC-in-differential-mode/m-p/135215#M1581</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;P align="left"&gt;&lt;FONT face="Times New Roman"&gt;I think what you're measuring is mid range when both inputs in the differential pair are equal.&amp;nbsp; To get a zero, the :smileyplus: input would be at VREFL, and the :smileyminus: input would be at VREFH.&amp;nbsp; With zero in the offset register, the result will always be positive.&lt;/FONT&gt; &lt;FONT face="Times New Roman"&gt;You can set the Offset register to give a signed result which will&amp;nbsp;be zero when the pair is equal.&lt;/FONT&gt;&lt;FONT face="Times New Roman"&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jun 2007 00:23:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/M52233DEMO-ADC-in-differential-mode/m-p/135215#M1581</guid>
      <dc:creator>macl</dc:creator>
      <dc:date>2007-06-09T00:23:56Z</dc:date>
    </item>
  </channel>
</rss>

