<?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のトピックGPC/GPT Sync Issue ?</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/GPC-GPT-Sync-Issue/m-p/772196#M119908</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While i was digging through the source code of various other examples in FreeRTOS BSP provided by NXP , i found that 2 programs , low_power_imx7d and gpt.c driver file . Similarity between these two files is that , they both use GPT for providing delays . Eventhough blinking_imx_demo uses GPT , like i mentioned in another question , it hangs whenever linux boots .But these 2 programs produced binaries which worked even after linux boots . The only difference that has any connection with GPTs between the working and the not-working programs was the use of an additional timer ( GPTB ) in this case . Eventhough , there is absolutely no use for GPTB in the flow of low_power_imx7d demo , they have still assigned clocks for GPTB . The source code snippet is the one i found .&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;/* In this demo, we need GPT4 to work as a patch to fix GPC sync issue */&lt;/SPAN&gt; 
&lt;SPAN class="token function"&gt;RDC_SetPdapAccess&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;RDC&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; BOARD_GPTB_RDC_PDAP&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;3&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;BOARD_DOMAIN_ID &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; false&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; false&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; 
&lt;SPAN class="comment token"&gt;/* Select GPTB clock derived from OSC24M */&lt;/SPAN&gt; 
&lt;SPAN class="token function"&gt;CCM_UpdateRoot&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;CCM&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; BOARD_GPTB_CCM_ROOT&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; ccmRootmuxGptOsc24m&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;/* Enable clock used by GPTB */&lt;/SPAN&gt; 
&lt;SPAN class="token function"&gt;CCM_EnableRoot&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;CCM&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; BOARD_GPTB_CCM_ROOT&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; 
&lt;SPAN class="token function"&gt;CCM_ControlGate&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;CCM&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; BOARD_GPTB_CCM_CCGR&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; ccmClockNeededAll&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&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;What did they mean by&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;we need GPT4 to work as a patch to fix GPC sync issue&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Is there any dependence issue between GPTA and GPTB ? Or is this part of some other issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ,&lt;/P&gt;&lt;P&gt;G.Harish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Nov 2017 14:04:59 GMT</pubDate>
    <dc:creator>harish_g</dc:creator>
    <dc:date>2017-11-13T14:04:59Z</dc:date>
    <item>
      <title>GPC/GPT Sync Issue ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPC-GPT-Sync-Issue/m-p/772196#M119908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While i was digging through the source code of various other examples in FreeRTOS BSP provided by NXP , i found that 2 programs , low_power_imx7d and gpt.c driver file . Similarity between these two files is that , they both use GPT for providing delays . Eventhough blinking_imx_demo uses GPT , like i mentioned in another question , it hangs whenever linux boots .But these 2 programs produced binaries which worked even after linux boots . The only difference that has any connection with GPTs between the working and the not-working programs was the use of an additional timer ( GPTB ) in this case . Eventhough , there is absolutely no use for GPTB in the flow of low_power_imx7d demo , they have still assigned clocks for GPTB . The source code snippet is the one i found .&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;/* In this demo, we need GPT4 to work as a patch to fix GPC sync issue */&lt;/SPAN&gt; 
&lt;SPAN class="token function"&gt;RDC_SetPdapAccess&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;RDC&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; BOARD_GPTB_RDC_PDAP&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;3&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;BOARD_DOMAIN_ID &lt;SPAN class="operator token"&gt;*&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;2&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; false&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; false&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; 
&lt;SPAN class="comment token"&gt;/* Select GPTB clock derived from OSC24M */&lt;/SPAN&gt; 
&lt;SPAN class="token function"&gt;CCM_UpdateRoot&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;CCM&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; BOARD_GPTB_CCM_ROOT&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; ccmRootmuxGptOsc24m&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
 &lt;SPAN class="comment token"&gt;/* Enable clock used by GPTB */&lt;/SPAN&gt; 
&lt;SPAN class="token function"&gt;CCM_EnableRoot&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;CCM&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; BOARD_GPTB_CCM_ROOT&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt; 
&lt;SPAN class="token function"&gt;CCM_ControlGate&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;CCM&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; BOARD_GPTB_CCM_CCGR&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; ccmClockNeededAll&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&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;What did they mean by&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;we need GPT4 to work as a patch to fix GPC sync issue&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Is there any dependence issue between GPTA and GPTB ? Or is this part of some other issue ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards ,&lt;/P&gt;&lt;P&gt;G.Harish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Nov 2017 14:04:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPC-GPT-Sync-Issue/m-p/772196#M119908</guid>
      <dc:creator>harish_g</dc:creator>
      <dc:date>2017-11-13T14:04:59Z</dc:date>
    </item>
    <item>
      <title>Re: GPC/GPT Sync Issue ?</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/GPC-GPT-Sync-Issue/m-p/772197#M119909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi harish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;seems it is used for issue for "TO1.1" chips (simiar to "ERR007265" in i.MX6&amp;nbsp;)&lt;/P&gt;&lt;P&gt;and described in attached lpm_mcore.c.&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>Tue, 21 Nov 2017 00:55:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/GPC-GPT-Sync-Issue/m-p/772197#M119909</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-11-21T00:55:01Z</dc:date>
    </item>
  </channel>
</rss>

