<?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 QN9080 - ADC Timing Test in Wireless MCU</title>
    <link>https://community.nxp.com/t5/Wireless-MCU/QN9080-ADC-Timing-Test/m-p/1061341#M9489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My customer is using QN9080 for his new design, the customer has tested the ADC Timuung by trigger sample in single-mode and measured the time till finished to convert the results and he found out all the conversion process took 200us which is a lot.&lt;/P&gt;&lt;P&gt;Attached you find the sample program which reproduces the conversion results in the attached picture:&lt;/P&gt;&lt;P&gt;- In the picture, the Yellow channel on the scope represents the CTIMER output pin which is set to toggle mode&lt;BR /&gt;- In the picture, the Green channel on the scope represents the pin which is flicked on-and-off once ACD conversion is done&lt;BR /&gt;- In the picture, see the time gap between two samples to be ~200us, where we would expect a maximum of ~35us&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please advise back, thanks in advance&amp;nbsp;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;Shai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 May 2020 21:35:41 GMT</pubDate>
    <dc:creator>shai_b</dc:creator>
    <dc:date>2020-05-21T21:35:41Z</dc:date>
    <item>
      <title>QN9080 - ADC Timing Test</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN9080-ADC-Timing-Test/m-p/1061341#M9489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My customer is using QN9080 for his new design, the customer has tested the ADC Timuung by trigger sample in single-mode and measured the time till finished to convert the results and he found out all the conversion process took 200us which is a lot.&lt;/P&gt;&lt;P&gt;Attached you find the sample program which reproduces the conversion results in the attached picture:&lt;/P&gt;&lt;P&gt;- In the picture, the Yellow channel on the scope represents the CTIMER output pin which is set to toggle mode&lt;BR /&gt;- In the picture, the Green channel on the scope represents the pin which is flicked on-and-off once ACD conversion is done&lt;BR /&gt;- In the picture, see the time gap between two samples to be ~200us, where we would expect a maximum of ~35us&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please advise back, thanks in advance&amp;nbsp;&lt;/P&gt;&lt;P&gt;kind regards,&lt;/P&gt;&lt;P&gt;Shai&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 May 2020 21:35:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN9080-ADC-Timing-Test/m-p/1061341#M9489</guid>
      <dc:creator>shai_b</dc:creator>
      <dc:date>2020-05-21T21:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: QN9080 - ADC Timing Test</title>
      <link>https://community.nxp.com/t5/Wireless-MCU/QN9080-ADC-Timing-Test/m-p/1061342#M9490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shai,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been checking your CTIMER configuration. Remember&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&amp;nbsp;the matchValue is the value where the counter is gonna trigger the interruption.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The bus timer, in this case, is 16MHz because the default configuration is not setting a divider. Also, remember that this value should have a count of the period.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are looking for a frequency of 28.5Khz, so it should be 16Mhz/28.5Khz=561 and could the period it should be 280.&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;    ctimer_match_config_t matchConfig&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    matchConfig&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;enableCounterReset &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; true&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    matchConfig&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;enableCounterStop &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; false&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    matchConfig&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;matchValue &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; BUS_CLK_FREQ &lt;SPAN class="operator token"&gt;/&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;280&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="comment token"&gt;//2048;&lt;/SPAN&gt;
    matchConfig&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;outControl &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; kCTIMER_Output_Toggle&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    matchConfig&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;outPinInitState &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; false&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
    matchConfig&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;enableInterrupt &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; false&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know if you are still facing this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mario&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2020 00:05:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Wireless-MCU/QN9080-ADC-Timing-Test/m-p/1061342#M9490</guid>
      <dc:creator>mario_castaneda</dc:creator>
      <dc:date>2020-05-26T00:05:54Z</dc:date>
    </item>
  </channel>
</rss>

