<?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: Using K60 Enet to generate and receive PPS in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-K60-Enet-to-generate-and-receive-PPS/m-p/486497#M29928</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jesper,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what K60 version are you using? I don't find the chapter you refer to in the reference manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 May 2016 23:02:47 GMT</pubDate>
    <dc:creator>Carlos_Musich</dc:creator>
    <dc:date>2016-05-17T23:02:47Z</dc:date>
    <item>
      <title>Using K60 Enet to generate and receive PPS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-K60-Enet-to-generate-and-receive-PPS/m-p/486494#M29925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, I have some questions about the IEEE 1588 module of the MAC in the Kinetis K60. In the chapter 47.5.10.5 in the K60 reference manual there is a description of something called Input Capture and Output Compare. In the K60 pin assignment table I can see that there are 4 pins on the cpu related to this named ENET0_1588_TMR0 to ENET0_1588_TMR3. What I don't quite understand is if it is one timer with four pins or if it is four separate timers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyhow, we would like to use two of these pins to genrerate an exact pps pulse on, and use the other one to receive a pps pulse and sync our own module from it. Can both those functionalities be used at the same time? (Input capture and Output compare). I also can't figure out how to configure them to work in the different modes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;EDIT:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I've done some tinkering with the registers but I still can't get it to work. What I've done is:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Configured Pin PTB2 for ALT4 which is ENET0_1588_TMR0&lt;/LI&gt;&lt;LI&gt;Set ENET_ATCR[EN] to 1&lt;/LI&gt;&lt;LI&gt;Set ENET_ATINC[INC] to 20 (50 MHz clock)&lt;/LI&gt;&lt;LI&gt;Set ENET_ATPER[PERIOD] to 1 000 000 000&lt;/LI&gt;&lt;LI&gt;Set ENET_TCSR0[TMODE] to 5 (Output compare - toggle output on compare)&lt;/LI&gt;&lt;LI&gt;Set ENET_TCCR0[TCC] to 1 000 000 000&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I have also rebuilt MQX with the ENETCFG_SUPPORT_PTP flag set in user_config.h.I expected this to give me a pin that toggles once/second but nothing happens. Is there something I've forgotten?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Apr 2016 13:44:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-K60-Enet-to-generate-and-receive-PPS/m-p/486494#M29925</guid>
      <dc:creator>jesperevertsson</dc:creator>
      <dc:date>2016-04-07T13:44:11Z</dc:date>
    </item>
    <item>
      <title>Re: Using K60 Enet to generate and receive PPS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-K60-Enet-to-generate-and-receive-PPS/m-p/486495#M29926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi jesper,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MQX provides IEEE 1588 library and examples. Please see attached video showing where to get it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Carlos&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>Tue, 03 May 2016 22:46:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-K60-Enet-to-generate-and-receive-PPS/m-p/486495#M29926</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2016-05-03T22:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Using K60 Enet to generate and receive PPS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-K60-Enet-to-generate-and-receive-PPS/m-p/486496#M29927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know about the 1588 libraries but they don't show how to use the ENET0_1588_TMRX functionality.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2016 06:11:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-K60-Enet-to-generate-and-receive-PPS/m-p/486496#M29927</guid>
      <dc:creator>jesperevertsson</dc:creator>
      <dc:date>2016-05-04T06:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using K60 Enet to generate and receive PPS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-K60-Enet-to-generate-and-receive-PPS/m-p/486497#M29928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jesper,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what K60 version are you using? I don't find the chapter you refer to in the reference manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 May 2016 23:02:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-K60-Enet-to-generate-and-receive-PPS/m-p/486497#M29928</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2016-05-17T23:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: Using K60 Enet to generate and receive PPS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-K60-Enet-to-generate-and-receive-PPS/m-p/486498#M29929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I may have used an old revision of the K60 manual. I also made a new post since I made some progress and then ran in to a new problem. Could you take a look at it? &lt;A href="https://community.nxp.com/thread/391736"&gt;Problems using certain modes for Output Compare on K60 ENET_TMR&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the K60 Sub-Family Reference Manual, Rev. 3, November 2014 the chapter I've used and where I've ran into problem is 47.4.95 Timer Control Status Register(ENET_TCSRn)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 06:11:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-K60-Enet-to-generate-and-receive-PPS/m-p/486498#M29929</guid>
      <dc:creator>jesperevertsson</dc:creator>
      <dc:date>2016-05-18T06:11:19Z</dc:date>
    </item>
    <item>
      <title>Re: Using K60 Enet to generate and receive PPS</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-K60-Enet-to-generate-and-receive-PPS/m-p/486499#M29930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will take a look.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carlos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 May 2016 14:10:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-K60-Enet-to-generate-and-receive-PPS/m-p/486499#M29930</guid>
      <dc:creator>Carlos_Musich</dc:creator>
      <dc:date>2016-05-18T14:10:51Z</dc:date>
    </item>
  </channel>
</rss>

