<?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>MPC5xxxのトピックRe: mpc5748g canfd receive</title>
    <link>https://community.nxp.com/t5/MPC5xxx/mpc5748g-canfd-receive/m-p/644988#M6500</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems you do not configure INTC at all in your code. The xcptn_xmpl() should be called.&lt;/P&gt;&lt;P&gt;Look at this demo example &lt;A href="https://community.nxp.com/docs/DOC-332504"&gt;https://community.nxp.com/docs/DOC-332504&lt;/A&gt;&amp;nbsp;&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>Fri, 07 Apr 2017 12:17:31 GMT</pubDate>
    <dc:creator>PetrS</dc:creator>
    <dc:date>2017-04-07T12:17:31Z</dc:date>
    <item>
      <title>mpc5748g canfd receive</title>
      <link>https://community.nxp.com/t5/MPC5xxx/mpc5748g-canfd-receive/m-p/644985#M6497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I'm &amp;nbsp;using &amp;nbsp; mpc5748g &amp;nbsp;canfd module to receive&amp;nbsp;lots of &amp;nbsp;messages. But canfd module can't use &amp;nbsp;Receive FIFO function.&lt;/P&gt;&lt;P&gt;Now I &amp;nbsp;am using&amp;nbsp;one &amp;nbsp;buf &amp;nbsp;such as &amp;nbsp;buf[3] &amp;nbsp;to receive these&amp;nbsp;&lt;SPAN&gt;messages(not rx interrupt), I found some messages &amp;nbsp;that missing. &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; My project need to receive can2.0b messages and canfd&amp;nbsp;messages from car's controllers through &amp;nbsp;can bus. &amp;nbsp; If there are not canfd messages, I can using RX&amp;nbsp;FIFO interrupt function to receive messages in case of losing messages. But there are canfd messages(canfd cannot use FIFO function).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Here are my questions: Should I use Rx&amp;nbsp;I&lt;SPAN&gt;nterrupt function &amp;nbsp;without &amp;nbsp;FIFO? &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="line-height: 1.73;"&gt;How can I configure&amp;nbsp;registers?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 1.73;"&gt;Or if I don't need &lt;SPAN&gt; Rx&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;I&lt;/SPAN&gt;&lt;SPAN&gt;nterrupt function to receive meesges,how can I configure&amp;nbsp;registers?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Thank you!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Best Regards!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Tom_Chen&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 14:16:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/mpc5748g-canfd-receive/m-p/644985#M6497</guid>
      <dc:creator>chenxiubo</dc:creator>
      <dc:date>2017-04-03T14:16:17Z</dc:date>
    </item>
    <item>
      <title>Re: mpc5748g canfd receive</title>
      <link>https://community.nxp.com/t5/MPC5xxx/mpc5748g-canfd-receive/m-p/644986#M6498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chen,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, the Rx FIFO must not be enabled when CAN FD feature is enabled.&lt;/P&gt;&lt;P&gt;However using the RX interrupt is simple, each one of the Message buffers can be an interrupt source, if its corresponding IMASK bit is set. Assuming Interrupt controller is properly configured too.&lt;/P&gt;&lt;P&gt;So for your used MB3 set for RX, the interrupt is enabled when IMASK1 = 0x00000008;&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, 05 Apr 2017 12:05:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/mpc5748g-canfd-receive/m-p/644986#M6498</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2017-04-05T12:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: mpc5748g canfd receive</title>
      <link>https://community.nxp.com/t5/MPC5xxx/mpc5748g-canfd-receive/m-p/644987#M6499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,Petr Stancik&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I &amp;nbsp;followed &amp;nbsp;your advice &amp;nbsp;and write two mpc5748g demos for canfd module using S32 IDE: one is no interrupt and it works OK(CAN0 MB0 transmit and CAN1 MB0 receive.&amp;nbsp;I checked the &lt;SPAN&gt;CAN1 MB0's buffer( or array for&amp;nbsp;RxDATA[j] ) &amp;nbsp;and it's right&lt;/SPAN&gt;). The&amp;nbsp;other &amp;nbsp;demos I used&amp;nbsp;&lt;SPAN&gt;CAN1 MB0 receive interrupt, but it's failed, it cannot enter into receive interrupt(1. I &amp;nbsp;set interrupt core and priority ,2&lt;/SPAN&gt;.enabled &amp;nbsp;interrupt for&amp;nbsp;CAN1 MB3(&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt; IMASK1 = 0x00000008;&lt;/SPAN&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I cannot find the reason why&amp;nbsp;&lt;SPAN&gt; it cannot be enter into receive interrupt.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Please see the attachment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Best &amp;nbsp;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Tom_Chen&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2017 16:02:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/mpc5748g-canfd-receive/m-p/644987#M6499</guid>
      <dc:creator>chenxiubo</dc:creator>
      <dc:date>2017-04-06T16:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: mpc5748g canfd receive</title>
      <link>https://community.nxp.com/t5/MPC5xxx/mpc5748g-canfd-receive/m-p/644988#M6500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems you do not configure INTC at all in your code. The xcptn_xmpl() should be called.&lt;/P&gt;&lt;P&gt;Look at this demo example &lt;A href="https://community.nxp.com/docs/DOC-332504"&gt;https://community.nxp.com/docs/DOC-332504&lt;/A&gt;&amp;nbsp;&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>Fri, 07 Apr 2017 12:17:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/mpc5748g-canfd-receive/m-p/644988#M6500</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2017-04-07T12:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: mpc5748g canfd receive</title>
      <link>https://community.nxp.com/t5/MPC5xxx/mpc5748g-canfd-receive/m-p/644989#M6501</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;I follwed your advice and added&amp;nbsp;xcptn_xmpl(), &amp;nbsp;But it cannot enter can receive interrupt.&lt;/P&gt;&lt;P&gt;First, I used CAN0 BUF[0] &amp;nbsp;transmit message, CAN[1] &amp;nbsp;BUF[0] &amp;nbsp;receive interrupt, &amp;nbsp;it could&amp;nbsp;enter can receive interrupt.&lt;/P&gt;&lt;P&gt;Second,I used CAN0 BUF[0] &amp;nbsp;transmit message, CAN[1] &amp;nbsp;BUF[3] &amp;nbsp;receive interrupt, &amp;nbsp;it could not enter can receive interrupt.&lt;/P&gt;&lt;P&gt;I checked again and not find any problem,could you please help me?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Apr 2017 14:04:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/mpc5748g-canfd-receive/m-p/644989#M6501</guid>
      <dc:creator>chenxiubo</dc:creator>
      <dc:date>2017-04-12T14:04:05Z</dc:date>
    </item>
  </channel>
</rss>

