<?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 Re: Determining T1042 timebase frequency in T-Series</title>
    <link>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1352594#M4243</link>
    <description>&lt;P&gt;Your &lt;SPAN&gt;understanding is correct.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Time base frequency = (Platform clock )/RCPM_TBCLKDIVR When RCPM_PCTBCKSELR [PCTBCKSELn] = 0, Core Timebase is clocked with Platform Clock/ RCPM_TBCLKDIVR [tbclkdiv].&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It is recommended to have the default value of RCPM_TBCLKDIVR [tbclkdiv], i.e., 0x00 : 1/16. This field should not be modified by customer as all the testing are done with Timebase clock divider configuration = 1/16.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Comment is added in T1042RM.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 08 Oct 2021 09:57:49 GMT</pubDate>
    <dc:creator>ufedor</dc:creator>
    <dc:date>2021-10-08T09:57:49Z</dc:date>
    <item>
      <title>Determining T1042 timebase frequency</title>
      <link>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1344286#M4207</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;We are trying to determine the right frequency at which the timebase is updated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to the reference manual the core timebase frequency is calculated as follows :&lt;/P&gt;&lt;P&gt;Timebase clock = (platform_clock/16) /&amp;nbsp;TBCLKDIVR&lt;/P&gt;&lt;P&gt;in our case :&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Platform clock is 600 Mhz&lt;/LI&gt;&lt;LI&gt;RCPM_PCTBCKSELR is 0 -&amp;gt;&amp;nbsp;Core Timebase is clocked with Platform Clock /16&lt;/LI&gt;&lt;LI&gt;TBCLKDIVR is 0x2 -&amp;gt; 1/8&amp;nbsp;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;so our timebase frequency should be : 600/(16*8) =&amp;nbsp;4.6875 Mhz&amp;nbsp;&lt;/P&gt;&lt;P&gt;but when measuring with the logic analyzer we get a timebase frequency of 50Mhz.&lt;/P&gt;&lt;P&gt;I would like to confirm if I a calculated the right frequency or if I missed something,&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Sep 2021 18:27:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1344286#M4207</guid>
      <dc:creator>nakrachi</dc:creator>
      <dc:date>2021-09-22T18:27:20Z</dc:date>
    </item>
    <item>
      <title>Re: Determining T1042 timebase frequency</title>
      <link>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1344597#M4210</link>
      <description>&lt;P&gt;You wrote:&lt;/P&gt;
&lt;P&gt;&amp;gt; when measuring with the logic analyzer we get a timebase frequency of 50Mhz&lt;/P&gt;
&lt;P&gt;How exactly you did that?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 04:02:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1344597#M4210</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-09-23T04:02:21Z</dc:date>
    </item>
    <item>
      <title>Re: Determining T1042 timebase frequency</title>
      <link>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1344865#M4211</link>
      <description>&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;I did set the decrementer to a value of 50000 ticks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nakrachi_2-1632384793385.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/157023i3BDAAC2199003FEF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nakrachi_2-1632384793385.png" alt="nakrachi_2-1632384793385.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;with Auto reload enabled (TCR= 0x0000000000400000)&amp;nbsp;&lt;/P&gt;&lt;P&gt;then in the decrementer exception vector (IVOR10) I toggle a GPIO which I measure with the logic analyzer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get a frequency of 1Khz (a period of 1 ms)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nakrachi_1-1632384535876.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/157022i576303DE3B0A85C1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nakrachi_1-1632384535876.png" alt="nakrachi_1-1632384535876.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;which makes me believe I am running at 50 Mhz (50000 * 1Khz)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 08:14:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1344865#M4211</guid>
      <dc:creator>nakrachi</dc:creator>
      <dc:date>2021-09-23T08:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Determining T1042 timebase frequency</title>
      <link>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345245#M4214</link>
      <description>&lt;P&gt;DECAR in your case is zero.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 18:28:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345245#M4214</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-09-23T18:28:33Z</dc:date>
    </item>
    <item>
      <title>Re: Determining T1042 timebase frequency</title>
      <link>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345249#M4215</link>
      <description>&lt;P&gt;The only pin available to me was the UART_SOUT which I had to configure as GPIO1[15] by modifying the RCW.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the debugger RCW override function to use my new RCW, I figured out that the debugger will set the platform PLL to 4:1 even though my RCW is setting it to be 6:1. meaning that my platform clock is 400 Mhz and not 600 Mhz (SYSCLK is 100Mhz).&amp;nbsp;&lt;/P&gt;&lt;P&gt;which make a little bit more sense, if we consider that platform clock is only divided by&amp;nbsp;&lt;SPAN&gt;TBCLKDIVR,&amp;nbsp;&lt;/SPAN&gt;400Mhz/8 = 50 Mhz&lt;/P&gt;&lt;P&gt;&amp;nbsp;I think that "RCPM_PCTBCKSELR is 0 -&amp;gt;&amp;nbsp;Core Timebase is clocked with Platform Clock /16" statement is not true.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please confirm.&lt;/P&gt;&lt;P&gt;thank you&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 18:40:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345249#M4215</guid>
      <dc:creator>nakrachi</dc:creator>
      <dc:date>2021-09-23T18:40:13Z</dc:date>
    </item>
    <item>
      <title>Re: Determining T1042 timebase frequency</title>
      <link>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345250#M4216</link>
      <description>&lt;P&gt;The debugger can't read it (according to core manual "The DECAR contents cannot be read")&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I know that I wrote the right value and I am getting decremented exceptions at a fixed interval.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Sep 2021 18:48:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345250#M4216</guid>
      <dc:creator>nakrachi</dc:creator>
      <dc:date>2021-09-23T18:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: Determining T1042 timebase frequency</title>
      <link>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345530#M4217</link>
      <description>&lt;P&gt;Please show using Trace32 values of:&lt;/P&gt;
&lt;P&gt;RCPM_PCTBCKSELR&lt;/P&gt;
&lt;P&gt;RCPM_TBCLKDIVR&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 04:27:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345530#M4217</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-09-24T04:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: Determining T1042 timebase frequency</title>
      <link>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345730#M4218</link>
      <description>&lt;P&gt;Here is a screenshot&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nakrachi_0-1632473780471.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/157258i5CB4F4D54A8B8D08/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nakrachi_0-1632473780471.png" alt="nakrachi_0-1632473780471.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 08:56:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345730#M4218</guid>
      <dc:creator>nakrachi</dc:creator>
      <dc:date>2021-09-24T08:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Determining T1042 timebase frequency</title>
      <link>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345734#M4219</link>
      <description>&lt;P&gt;What is SYSCLK frequency?&lt;/P&gt;&lt;P&gt;Please provide U-Boot booting log.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 09:02:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345734#M4219</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-09-24T09:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Determining T1042 timebase frequency</title>
      <link>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345741#M4220</link>
      <description>&lt;P&gt;The system frequency is 100MHz&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is the u-boot log&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nakrachi_0-1632474272424.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/157261i9C26DCB7DAC1E456/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nakrachi_0-1632474272424.png" alt="nakrachi_0-1632474272424.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 09:04:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345741#M4220</guid>
      <dc:creator>nakrachi</dc:creator>
      <dc:date>2021-09-24T09:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Determining T1042 timebase frequency</title>
      <link>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345754#M4221</link>
      <description>&lt;P&gt;600/50=12&lt;/P&gt;
&lt;P&gt;I have no idea how such ratio can be obtained.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 09:15:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345754#M4221</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-09-24T09:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: Determining T1042 timebase frequency</title>
      <link>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345757#M4222</link>
      <description>&lt;P&gt;Thanks for the quick replies,&lt;/P&gt;&lt;P&gt;as I mentioned in an earlier comment, I found out that using the temporary RCW has set my PLL ration to 4:1 so I was running at 400Mhz when I got 50Mhz.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now after setting back the&amp;nbsp;platform clock to 600Mhz&amp;nbsp; I measure a time base frequency of 75Mhz. (600/8)&lt;/P&gt;&lt;P&gt;which makes me believe that the user manual is wrong&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 09:19:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345757#M4222</guid>
      <dc:creator>nakrachi</dc:creator>
      <dc:date>2021-09-24T09:19:34Z</dc:date>
    </item>
    <item>
      <title>Re: Determining T1042 timebase frequency</title>
      <link>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345764#M4223</link>
      <description>&lt;P&gt;Please combine all consistent experimental data into single Word or PDF document.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 09:30:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345764#M4223</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-09-24T09:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: Determining T1042 timebase frequency</title>
      <link>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345775#M4224</link>
      <description>&lt;P&gt;just making sure, you want me to describe the issue with relevant data/screenshots and post it here ?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 09:39:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345775#M4224</guid>
      <dc:creator>nakrachi</dc:creator>
      <dc:date>2021-09-24T09:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: Determining T1042 timebase frequency</title>
      <link>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345779#M4225</link>
      <description>&lt;P&gt;Yes, please.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 09:45:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1345779#M4225</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-09-24T09:45:24Z</dc:date>
    </item>
    <item>
      <title>Re: Determining T1042 timebase frequency</title>
      <link>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1346700#M4235</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/56916"&gt;@ufedor&lt;/a&gt;&amp;nbsp;please fin attached the requested document.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 09:50:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1346700#M4235</guid>
      <dc:creator>nakrachi</dc:creator>
      <dc:date>2021-09-27T09:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Determining T1042 timebase frequency</title>
      <link>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1350082#M4237</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/56916"&gt;@ufedor&lt;/a&gt;&amp;nbsp;, just following up on this.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Mon, 04 Oct 2021 13:53:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1350082#M4237</guid>
      <dc:creator>nakrachi</dc:creator>
      <dc:date>2021-10-04T13:53:43Z</dc:date>
    </item>
    <item>
      <title>Re: Determining T1042 timebase frequency</title>
      <link>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1352594#M4243</link>
      <description>&lt;P&gt;Your &lt;SPAN&gt;understanding is correct.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Time base frequency = (Platform clock )/RCPM_TBCLKDIVR When RCPM_PCTBCKSELR [PCTBCKSELn] = 0, Core Timebase is clocked with Platform Clock/ RCPM_TBCLKDIVR [tbclkdiv].&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;It is recommended to have the default value of RCPM_TBCLKDIVR [tbclkdiv], i.e., 0x00 : 1/16. This field should not be modified by customer as all the testing are done with Timebase clock divider configuration = 1/16.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Comment is added in T1042RM.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Oct 2021 09:57:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1352594#M4243</guid>
      <dc:creator>ufedor</dc:creator>
      <dc:date>2021-10-08T09:57:49Z</dc:date>
    </item>
    <item>
      <title>Re: Determining T1042 timebase frequency</title>
      <link>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1355061#M4251</link>
      <description>&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;But then we have another problem, the erratum A-010651 states that the workaround is changing the RCPM_TBCLKDIVR [tbclkdiv], to 0x08 : 1/32.&lt;/P&gt;&lt;P&gt;but you mentioned we should not change it. how can we workaround this errata then ?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Wed, 13 Oct 2021 14:42:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/T-Series/Determining-T1042-timebase-frequency/m-p/1355061#M4251</guid>
      <dc:creator>nakrachi</dc:creator>
      <dc:date>2021-10-13T14:42:56Z</dc:date>
    </item>
  </channel>
</rss>

