<?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>Classic/Legacy CodeWarriorのトピックRe: prescale timer -ADC</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/prescale-timer-ADC/m-p/146433#M1765</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;You should select ATD prescaler so that busclock divided by prescaler is not higher than 2MHz (see ATD specs) and not less than 0.5MHz (again see ATD specs).&lt;/DIV&gt;&lt;DIV&gt;Suppose you use 8MHz crystal and no PLL. Then busclock is 4MHz. You can divide this at least by 2 and 2MHz. At the other hand you can divide 4MHz bus clock&amp;nbsp;not more than 8 times, 4MHz /8=0.5MHz.&lt;/DIV&gt;&lt;DIV&gt;In datasheet table 8-8 you may see that Prescale Value bits are from binary 00000 to 00011.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 13 Apr 2008 16:49:10 GMT</pubDate>
    <dc:creator>kef</dc:creator>
    <dc:date>2008-04-13T16:49:10Z</dc:date>
    <item>
      <title>prescale timer -ADC</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/prescale-timer-ADC/m-p/146432#M1764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi ,&lt;/DIV&gt;&lt;DIV&gt;I would like to know how should I prescale the AD converter if the timer has been prescale at 4 Mhz instead to 8 Mhz.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am using the MC9S12C32 in a program involving timer interrupt.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;I have some problem to understand it because the ADC has a max clock of 2 Mhz.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Apr 2008 13:31:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/prescale-timer-ADC/m-p/146432#M1764</guid>
      <dc:creator>Halom</dc:creator>
      <dc:date>2008-04-13T13:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: prescale timer -ADC</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/prescale-timer-ADC/m-p/146433#M1765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;You should select ATD prescaler so that busclock divided by prescaler is not higher than 2MHz (see ATD specs) and not less than 0.5MHz (again see ATD specs).&lt;/DIV&gt;&lt;DIV&gt;Suppose you use 8MHz crystal and no PLL. Then busclock is 4MHz. You can divide this at least by 2 and 2MHz. At the other hand you can divide 4MHz bus clock&amp;nbsp;not more than 8 times, 4MHz /8=0.5MHz.&lt;/DIV&gt;&lt;DIV&gt;In datasheet table 8-8 you may see that Prescale Value bits are from binary 00000 to 00011.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 13 Apr 2008 16:49:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/prescale-timer-ADC/m-p/146433#M1765</guid>
      <dc:creator>kef</dc:creator>
      <dc:date>2008-04-13T16:49:10Z</dc:date>
    </item>
  </channel>
</rss>

