<?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: MPC5748G  :1588 Timer interrupt in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-1588-Timer-interrupt/m-p/641446#M6364</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Periodic Timer Overflow interrupt relates to vector #210 (ENET group 0).&lt;/P&gt;&lt;P&gt;So do you assign your interrupt function to this one properly in the vector table? Also be sure you set the INTC priority Select register, i.e. INTC.PSR[210].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Nov 2016 10:58:13 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2016-11-09T10:58:13Z</dc:date>
    <item>
      <title>MPC5748G  :1588 Timer interrupt</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-1588-Timer-interrupt/m-p/641445#M6363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everybody.&lt;/P&gt;&lt;P&gt;I’m encountering an issue with the ENET controller on a MPC5748G target. Especialy with the 1588 part.&lt;/P&gt;&lt;P&gt;The ENET is, at this time, pretty right configurated. Today i’m able to receive frame on it. Each time a frame is received an interrupt is rised and a routine is called. That is working.&lt;/P&gt;&lt;P&gt;Now i would like to have an interrupt at each 1588 period (1s). Hereafter i’m listing registers i configure to do that :&lt;/P&gt;&lt;P&gt;ATCR=0x00000011 (PEREN=1 ; EN=1)&lt;/P&gt;&lt;P&gt;ATPER=0x3B9ACA00 (1second)&lt;/P&gt;&lt;P&gt;ATINC=0x00003D3D (60ns period (~16.666MHz))&lt;/P&gt;&lt;P&gt;EIMR[TS_TIMER]=1&lt;/P&gt;&lt;P&gt;EIR[TS_TIMER]=1 (to clear the interrupt)&lt;/P&gt;&lt;P&gt;With the debugger, i can see the EIR[TS_TIMER] set to 1 each time i clear it by writing a one. But when i run the program, no external interrupt is detected by the core and my routine is never called.&lt;/P&gt;&lt;P&gt;Did i miss configuring something to have this interrupt ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Nov 2016 12:21:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-1588-Timer-interrupt/m-p/641445#M6363</guid>
      <dc:creator>yoannlejeune</dc:creator>
      <dc:date>2016-11-08T12:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G  :1588 Timer interrupt</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-1588-Timer-interrupt/m-p/641446#M6364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Periodic Timer Overflow interrupt relates to vector #210 (ENET group 0).&lt;/P&gt;&lt;P&gt;So do you assign your interrupt function to this one properly in the vector table? Also be sure you set the INTC priority Select register, i.e. INTC.PSR[210].&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR, Petr&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2016 10:58:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-1588-Timer-interrupt/m-p/641446#M6364</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2016-11-09T10:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: MPC5748G  :1588 Timer interrupt</title>
      <link>https://community.nxp.com/t5/MPC5xxx/MPC5748G-1588-Timer-interrupt/m-p/641447#M6365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you Petr. You were right, I was trying to use the vector [214].&lt;/P&gt;&lt;P&gt;Finally, i choose a TCCR interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Yoann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2016 14:55:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/MPC5748G-1588-Timer-interrupt/m-p/641447#M6365</guid>
      <dc:creator>yoannlejeune</dc:creator>
      <dc:date>2016-11-22T14:55:58Z</dc:date>
    </item>
  </channel>
</rss>

