<?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>i.MX ProcessorsのトピックRe: IMX6ULL GPT input capture mode</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-GPT-input-capture-mode/m-p/893730#M135101</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sergei&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems you are right, from sect.30.2.1 External Clock Input i.MX6ULL Reference Manual :&lt;/P&gt;&lt;P&gt;"The external clock input (GPT_CLK) is treated&lt;BR /&gt;as asynchronous to the peripheral clock (ipg_clk). To ensure proper operations of GPT,&lt;BR /&gt;the external clock input frequency should be less than 1/4 of frequency of the peripheral&lt;BR /&gt;clock (ipg_clk)."&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/docs/en/reference-manual/IMX6ULLRM.pdf" title="http://www.nxp.com/docs/en/reference-manual/IMX6ULLRM.pdf"&gt;http://www.nxp.com/docs/en/reference-manual/IMX6ULLRM.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Apr 2019 01:06:57 GMT</pubDate>
    <dc:creator>igorpadykov</dc:creator>
    <dc:date>2019-04-30T01:06:57Z</dc:date>
    <item>
      <title>IMX6ULL GPT input capture mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-GPT-input-capture-mode/m-p/893726#M135097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We need to measure input frequency of about 30 MHz. The idea is to use IMX6ULL GPT2, clocked internally with the 24MHz IPG clock, and configure the input frequency pin JTAG_MOD (ie to be measured) as External Clock in GPT2_CR, and JTAG_TDO as GPT2_CAPTURE2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Reference Manual has a statement:&lt;/P&gt;&lt;PRE&gt;To ensure proper operations of GPT, the external clock input frequency should be less than 1/4 of frequency of the peripheral clock (ipg_clk).&lt;/PRE&gt;&lt;P&gt;Now the question: if we use the divider "4" set in GPT2_PR, to divide the input 30MHz to the safe value of (30/(4+1)) 6MHz, will that satisfy the "1/4" restriction above?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sergei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2019 17:15:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-GPT-input-capture-mode/m-p/893726#M135097</guid>
      <dc:creator>sergei_p</dc:creator>
      <dc:date>2019-04-26T17:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6ULL GPT input capture mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-GPT-input-capture-mode/m-p/893727#M135098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sergei&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes that condition will satisfy the "1/4" restriction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2019 23:08:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-GPT-input-capture-mode/m-p/893727#M135098</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-04-26T23:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6ULL GPT input capture mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-GPT-input-capture-mode/m-p/893728#M135099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Igor!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2019 10:12:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-GPT-input-capture-mode/m-p/893728#M135099</guid>
      <dc:creator>sergei_p</dc:creator>
      <dc:date>2019-04-29T10:12:01Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6ULL GPT input capture mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-GPT-input-capture-mode/m-p/893729#M135100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Igor,&lt;/P&gt;&lt;P&gt;I'm sorry but my tests don't confirm your statement that the EXT_CLK input frequency could be divided by prescaler in GPT_PR for proper measurements. What we see, is that irrelevant to the prescaler,&amp;nbsp; measurements of the high frequencies&amp;nbsp; are not correct . Here is my test, with 39.6MHz supplied to JTAG_MOD, with IPG_CLK=66 MHz:&lt;/P&gt;&lt;P&gt;# Configure JTAG_MOD as GPT2_CLK&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; mw.l 0x20E0044 1&lt;/P&gt;&lt;P&gt;# Reset GPT2&lt;BR /&gt;U-Boot &amp;gt; mw 0x20e8000 0x8000&lt;/P&gt;&lt;P&gt;# Configure and start GPT2: EXT_CLK, WAITEN, ENMOD, EN&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt; mw 0x20e8000 0x000cb&lt;/P&gt;&lt;P&gt;# Set prescaler to (19 + 1)&lt;BR /&gt;U-Boot &amp;gt; mw 0x20e8004 0x13&lt;/P&gt;&lt;P&gt;# MEasure the counter&lt;BR /&gt;U-Boot &amp;gt; md 0x20e8024 1;sleep 10;md 0x20e8024 1&lt;BR /&gt;020e8024: 123b89c3 ..;.&lt;BR /&gt;020e8024: 13050c6b k...&lt;/P&gt;&lt;P&gt;U-Boot &amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Calculations shows that calculated value doesn't match 39.6MHz:&lt;/P&gt;&lt;PRE&gt;(gdb) p (0x13050c6b-0x123b89c3)*20/10 $1 = 26412368 (gdb) &lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I set JTAG_MOD (GPT2_CLK) to a lower frequency (eg 16 MHz), measurements are correct.&lt;/P&gt;&lt;P&gt;Could you please comment on the above data?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Apr 2019 17:28:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-GPT-input-capture-mode/m-p/893729#M135100</guid>
      <dc:creator>sergei_p</dc:creator>
      <dc:date>2019-04-29T17:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6ULL GPT input capture mode</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-GPT-input-capture-mode/m-p/893730#M135101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sergei&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems you are right, from sect.30.2.1 External Clock Input i.MX6ULL Reference Manual :&lt;/P&gt;&lt;P&gt;"The external clock input (GPT_CLK) is treated&lt;BR /&gt;as asynchronous to the peripheral clock (ipg_clk). To ensure proper operations of GPT,&lt;BR /&gt;the external clock input frequency should be less than 1/4 of frequency of the peripheral&lt;BR /&gt;clock (ipg_clk)."&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/docs/en/reference-manual/IMX6ULLRM.pdf" title="http://www.nxp.com/docs/en/reference-manual/IMX6ULLRM.pdf"&gt;http://www.nxp.com/docs/en/reference-manual/IMX6ULLRM.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Apr 2019 01:06:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6ULL-GPT-input-capture-mode/m-p/893730#M135101</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2019-04-30T01:06:57Z</dc:date>
    </item>
  </channel>
</rss>

