<?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 P1021rdb gets hung in using 1588 timer for finding external clock frequency in PowerQUICC Processors</title>
    <link>https://community.nxp.com/t5/PowerQUICC-Processors/P1021rdb-gets-hung-in-using-1588-timer-for-finding-external/m-p/462156#M1306</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using P1021rdb in our project and need to calculate external clock frequency coming from V.35 interface, We are using IEEE1588 timer for this purpose.&lt;/P&gt;&lt;P&gt;1) Connected V.35 clock to 1588 timer clock input clock pin&lt;/P&gt;&lt;P&gt;2) We have remapped the eTSEC1 timer module memory space&lt;/P&gt;&lt;P&gt;3) Configured the timer control register, to select the external clock as clock input source, and set BYP bit to Bypass drift compensated clock&lt;/P&gt;&lt;P&gt;4) Now reading counter value every 100ms (soft timer is used to get triggersat every 100ms) taking average of values collected for 20 times&lt;/P&gt;&lt;P&gt;5) We are able to read the clock frequency properly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If the external clock is disconnected at run time then system is hanging, when we connect it back then system is resuming its execution..&lt;/P&gt;&lt;P&gt;Could you please let us know where we are doing wrong, it would be great if you can share sample code to find out external clock frequency using 1588 timer.. :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Feb 2016 17:47:20 GMT</pubDate>
    <dc:creator>amanagantivinod</dc:creator>
    <dc:date>2016-02-16T17:47:20Z</dc:date>
    <item>
      <title>P1021rdb gets hung in using 1588 timer for finding external clock frequency</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/P1021rdb-gets-hung-in-using-1588-timer-for-finding-external/m-p/462156#M1306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are using P1021rdb in our project and need to calculate external clock frequency coming from V.35 interface, We are using IEEE1588 timer for this purpose.&lt;/P&gt;&lt;P&gt;1) Connected V.35 clock to 1588 timer clock input clock pin&lt;/P&gt;&lt;P&gt;2) We have remapped the eTSEC1 timer module memory space&lt;/P&gt;&lt;P&gt;3) Configured the timer control register, to select the external clock as clock input source, and set BYP bit to Bypass drift compensated clock&lt;/P&gt;&lt;P&gt;4) Now reading counter value every 100ms (soft timer is used to get triggersat every 100ms) taking average of values collected for 20 times&lt;/P&gt;&lt;P&gt;5) We are able to read the clock frequency properly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Problem:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;If the external clock is disconnected at run time then system is hanging, when we connect it back then system is resuming its execution..&lt;/P&gt;&lt;P&gt;Could you please let us know where we are doing wrong, it would be great if you can share sample code to find out external clock frequency using 1588 timer.. :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Feb 2016 17:47:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/P1021rdb-gets-hung-in-using-1588-timer-for-finding-external/m-p/462156#M1306</guid>
      <dc:creator>amanagantivinod</dc:creator>
      <dc:date>2016-02-16T17:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: P1021rdb gets hung in using 1588 timer for finding external clock frequency</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/P1021rdb-gets-hung-in-using-1588-timer-for-finding-external/m-p/462157#M1307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did yo try to debug your code with a JTAG debugger? What exactly happens with the processor when it "hangs"?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Platon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Thu, 18 Feb 2016 07:15:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/P1021rdb-gets-hung-in-using-1588-timer-for-finding-external/m-p/462157#M1307</guid>
      <dc:creator>bpe</dc:creator>
      <dc:date>2016-02-18T07:15:28Z</dc:date>
    </item>
    <item>
      <title>Re: P1021rdb gets hung in using 1588 timer for finding external clock frequency</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/P1021rdb-gets-hung-in-using-1588-timer-for-finding-external/m-p/462158#M1308</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi platon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your support,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We don't have any JTAG debugger as of now, could you please let us know in&lt;/P&gt;&lt;P&gt;which scenarios it can happen like this and only happening for this&lt;/P&gt;&lt;P&gt;specific piece of code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find the attached file, which has simpler functions to find out&lt;/P&gt;&lt;P&gt;clock rate,  please let us know anywhere we are doing wrong..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2016 12:05:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/P1021rdb-gets-hung-in-using-1588-timer-for-finding-external/m-p/462158#M1308</guid>
      <dc:creator>amanagantivinod</dc:creator>
      <dc:date>2016-02-18T12:05:40Z</dc:date>
    </item>
    <item>
      <title>Re: P1021rdb gets hung in using 1588 timer for finding external clock frequency</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/P1021rdb-gets-hung-in-using-1588-timer-for-finding-external/m-p/462159#M1309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The way you use the timer is not safe. The main purpose of IEEE1588 &lt;/P&gt;&lt;P&gt;dedicated timer is to generate a&amp;nbsp; network-synchronized clock for the &lt;/P&gt;&lt;P&gt;rest of the system. To achieve this, the reference clock fed to the &lt;/P&gt;&lt;P&gt;timer input _must_ be&amp;nbsp; stable and continuous. The documentation&amp;nbsp; does &lt;/P&gt;&lt;P&gt;not specify the behaviour of&amp;nbsp; the device if the external reference &lt;/P&gt;&lt;P&gt;clock stops.&amp;nbsp; Moreover, the chip hardware&amp;nbsp; specification limits the &lt;/P&gt;&lt;P&gt;frequency range for this clock. No correct operation is guaranteed &lt;/P&gt;&lt;P&gt;if these requirements are not met.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Platon&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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, 19 Feb 2016 08:49:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/P1021rdb-gets-hung-in-using-1588-timer-for-finding-external/m-p/462159#M1309</guid>
      <dc:creator>bpe</dc:creator>
      <dc:date>2016-02-19T08:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: P1021rdb gets hung in using 1588 timer for finding external clock frequency</title>
      <link>https://community.nxp.com/t5/PowerQUICC-Processors/P1021rdb-gets-hung-in-using-1588-timer-for-finding-external/m-p/462160#M1310</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Hi platon,&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;Thanks for your reply and sorry for the delay, I was stuck due to other high priority issues.&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;We are not using this 1588 timer for Ethernet &lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;controller section.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;As per P1021 reference manual ( page no. 1056 ) there is a register called ,Time stamp status register * (eTSEC1x_TMR_STAT). Which has RCD bit to indicate input clock presence.&lt;/P&gt;&lt;P style="font-size: 14px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; color: #51626f;"&gt;But this bit is not updating as per the input line status, I mean once the bit is set to 1, after clock detection, its not updating to zero if we remove the cable. its going to zero if we give a soft reset to the timer, could you please let me know, why Status register is not updated based input clock state.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Mar 2016 17:09:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/PowerQUICC-Processors/P1021rdb-gets-hung-in-using-1588-timer-for-finding-external/m-p/462160#M1310</guid>
      <dc:creator>amanagantivinod</dc:creator>
      <dc:date>2016-03-12T17:09:33Z</dc:date>
    </item>
  </channel>
</rss>

