<?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 ADC_ETC initial delay units? in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/ADC-ETC-initial-delay-units/m-p/1485590#M192252</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I'm using the imxrt1052 ADC and ADC_ETC to measure a couple of supply voltages. I would like to add an initial delay so that the voltages stabilize to the ADC input before sampling. There is an &lt;EM&gt;initialDelay&lt;/EM&gt; member to the &lt;EM&gt;adc_etc_trigger_config_t&lt;/EM&gt; struct but it's not clear what the units are?&lt;/P&gt;&lt;P&gt;The reference manual says something about 'counter ticks', so I assume this is something to do with the ADC clock? Is there a register I can read this value from so that I can calculate a real delay in microseconds or milliseconds?&lt;/P&gt;&lt;P&gt;For now I've inserted a delay of 100000000U which is obviously a high number, indicating that whatever units this 'counter' is using, are quite small.&lt;/P&gt;&lt;P&gt;FYI: There are FETs used to only turn on the input to the ADC when I want to take a measurement, which is why I need a bit of time for the voltage to stabilize before sampling.&lt;/P&gt;</description>
    <pubDate>Wed, 06 Jul 2022 17:41:56 GMT</pubDate>
    <dc:creator>gary_metalle</dc:creator>
    <dc:date>2022-07-06T17:41:56Z</dc:date>
    <item>
      <title>ADC_ETC initial delay units?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/ADC-ETC-initial-delay-units/m-p/1485590#M192252</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I'm using the imxrt1052 ADC and ADC_ETC to measure a couple of supply voltages. I would like to add an initial delay so that the voltages stabilize to the ADC input before sampling. There is an &lt;EM&gt;initialDelay&lt;/EM&gt; member to the &lt;EM&gt;adc_etc_trigger_config_t&lt;/EM&gt; struct but it's not clear what the units are?&lt;/P&gt;&lt;P&gt;The reference manual says something about 'counter ticks', so I assume this is something to do with the ADC clock? Is there a register I can read this value from so that I can calculate a real delay in microseconds or milliseconds?&lt;/P&gt;&lt;P&gt;For now I've inserted a delay of 100000000U which is obviously a high number, indicating that whatever units this 'counter' is using, are quite small.&lt;/P&gt;&lt;P&gt;FYI: There are FETs used to only turn on the input to the ADC when I want to take a measurement, which is why I need a bit of time for the voltage to stabilize before sampling.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jul 2022 17:41:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/ADC-ETC-initial-delay-units/m-p/1485590#M192252</guid>
      <dc:creator>gary_metalle</dc:creator>
      <dc:date>2022-07-06T17:41:56Z</dc:date>
    </item>
  </channel>
</rss>

