<?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: atd stuck bits</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/atd-stuck-bits/m-p/139155#M2854</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;On the freescale &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=68HC912B32&amp;amp;nodeId=01624686368637" rel="nofollow" target="_blank"&gt;processor page&lt;/A&gt; it does describe it as having the 10-bit atd. I also do in fact have the word sized memory locations for storing the results, with the lower byte just stuck at '0x80'. I did try my program on two different chips as well, so I don't think that there is any hardware error.&lt;P&gt;Message Edited by jasl8r on &lt;SPAN class="date_text"&gt;2006-12-07&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;09:39 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 Dec 2006 22:38:43 GMT</pubDate>
    <dc:creator>jasl8r</dc:creator>
    <dc:date>2006-12-07T22:38:43Z</dc:date>
    <item>
      <title>atd stuck bits</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/atd-stuck-bits/m-p/139151#M2850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I am using the atd in 10-bit mode on a 68hc912b32, and the 2 LSbs never change from '10'. This appears to be a somewhat similar issue to &lt;A href="http://forums.freescale.com/freescale/board/message?board.id=16BITCOMM&amp;amp;message.id=131&amp;amp;query.id=1951#M131" target="_blank"&gt;this one&lt;/A&gt;. Despite the +-2LSb accuracy, shouldn't I still be seeing a variable value in these two bits?&lt;BR /&gt;&lt;BR /&gt;I'm using this code to begin the conversion.&lt;BR /&gt;&lt;BR /&gt;LDAA #$C2&lt;BR /&gt;STAA atd_ctl2&lt;BR /&gt;;Delay 100us&lt;BR /&gt;LDAA #$E1&lt;BR /&gt;STAA atd_ctl3&lt;BR /&gt;LDAA #$44&lt;BR /&gt;STAA atd_ctl5&lt;BR /&gt;&lt;BR /&gt;~Jeremy&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 04:19:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/atd-stuck-bits/m-p/139151#M2850</guid>
      <dc:creator>jasl8r</dc:creator>
      <dc:date>2006-12-06T04:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: atd stuck bits</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/atd-stuck-bits/m-p/139152#M2851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;According to the datasheet, the HC912B32 device does not have a 10-bit mode - the ATD is 8 bits only.&amp;nbsp; Or am I looking at the wrong datasheet?&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 14:02:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/atd-stuck-bits/m-p/139152#M2851</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2006-12-06T14:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: atd stuck bits</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/atd-stuck-bits/m-p/139153#M2852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I am reading the M68HC12B family datasheet which covers the MC68HC912B32. It describes 8 and 10-bit atd operating modes and does not mention that any processor only has an 8-bit mode. Can you post a link to the datasheet that you see that in?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jeremy&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Dec 2006 22:34:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/atd-stuck-bits/m-p/139153#M2852</guid>
      <dc:creator>jasl8r</dc:creator>
      <dc:date>2006-12-06T22:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: atd stuck bits</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/atd-stuck-bits/m-p/139154#M2853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Hello Jeremy,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;This is very curious!&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;I was reading from a quite old "Technical Summary" document (MC68HC912B32TS/D) that specifically listed 8 channels of 8-bit resolution.&amp;nbsp; However, I could not find any errata document that covered more recent upgrading of the ATD from 8-bit to 10-bit resolution.&amp;nbsp; It is not unknown for Freescale to do this, but an A-suffix is usually attached to the part number when changes of this magnitude&amp;nbsp;occur.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;If the new parts do actually handle 10-bit resolution, I wonder if the part you have been testing is an old one.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;According to the Freescale website, it would seem this part is no longer being manufactured.&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Regards,&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT size="2"&gt;Mac&lt;/FONT&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 14:00:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/atd-stuck-bits/m-p/139154#M2853</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2006-12-07T14:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: atd stuck bits</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/atd-stuck-bits/m-p/139155#M2854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;On the freescale &lt;A href="http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=68HC912B32&amp;amp;nodeId=01624686368637" rel="nofollow" target="_blank"&gt;processor page&lt;/A&gt; it does describe it as having the 10-bit atd. I also do in fact have the word sized memory locations for storing the results, with the lower byte just stuck at '0x80'. I did try my program on two different chips as well, so I don't think that there is any hardware error.&lt;P&gt;Message Edited by jasl8r on &lt;SPAN class="date_text"&gt;2006-12-07&lt;/SPAN&gt;&lt;SPAN class="time_text"&gt;09:39 AM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 22:38:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/atd-stuck-bits/m-p/139155#M2854</guid>
      <dc:creator>jasl8r</dc:creator>
      <dc:date>2006-12-07T22:38:43Z</dc:date>
    </item>
    <item>
      <title>Re: atd stuck bits</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/atd-stuck-bits/m-p/139156#M2855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Okay, so I was writing to the incorrect register. Figures.&lt;BR /&gt;0xE1 =&amp;gt; atd_ctl4, and I was writing to atd_ctl3. Sorry for the trouble.&lt;BR /&gt;&lt;BR /&gt;Jeremy&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Dec 2006 23:29:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/atd-stuck-bits/m-p/139156#M2855</guid>
      <dc:creator>jasl8r</dc:creator>
      <dc:date>2006-12-07T23:29:47Z</dc:date>
    </item>
  </channel>
</rss>

