<?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: CAN driver code for MPC5668G in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562129#M4012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;P&gt;I updated these changes and it is working now:)&lt;/P&gt;&lt;P&gt;But I have one small problem, as I have enabled SRXDIS it is receiving its own frame.&lt;/P&gt;&lt;P&gt;But when I am sending CAN frame from the other node,&amp;nbsp; I am not able to see that in that particular Rx buffer.&lt;/P&gt;&lt;P&gt;Do you&amp;nbsp; have any suggestions for this? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 24 Jun 2016 06:32:15 GMT</pubDate>
    <dc:creator>sukruthrameshba</dc:creator>
    <dc:date>2016-06-24T06:32:15Z</dc:date>
    <item>
      <title>CAN driver code for MPC5668G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562124#M4007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can i get simple CAN driver code for MPC 5668g in which transmit and receive functionality is configured for CAN_F block?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 12:22:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562124#M4007</guid>
      <dc:creator>sukruthrameshba</dc:creator>
      <dc:date>2016-06-22T12:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: CAN driver code for MPC5668G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562125#M4008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif;"&gt;&lt;SPAN&gt;The example posted in your other thread (&lt;/SPAN&gt;&lt;A class="jive-link-thread-small" data-containerid="11363" data-containertype="14" data-objectid="397245" data-objecttype="1" href="https://community.nxp.com/thread/397245"&gt;https://community.nxp.com/thread/397245&lt;/A&gt;&lt;SPAN&gt;) is not enough?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif;"&gt;The CAN_F is used to transmit message and CAN B to receive, you can simply modify it for reception on CAN_F too.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif;"&gt;BR, Petr&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 12:33:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562125#M4008</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2016-06-22T12:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: CAN driver code for MPC5668G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562126#M4009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried modifying the example code for reception on CAN_F. But it was not working. Message buffer which was configured to receive was not getting the transmitted message. Can you please help me out in resolving this issue? &lt;/P&gt;&lt;P&gt;I will attach the updated code via mail:)&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 12:42:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562126#M4009</guid>
      <dc:creator>sukruthrameshba</dc:creator>
      <dc:date>2016-06-22T12:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: CAN driver code for MPC5668G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562127#M4010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please view the updated code and let me know the changes I need to make.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2016 12:43:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562127#M4010</guid>
      <dc:creator>sukruthrameshba</dc:creator>
      <dc:date>2016-06-22T12:43:35Z</dc:date>
    </item>
    <item>
      <title>Re: CAN driver code for MPC5668G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562128#M4011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif;"&gt;From your code I see you configure CAN_E, CAN_F in the same manner. CAN_E is not used anymore in your code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif;"&gt;CAN_F is sending a message and you also wait on CAN_F for receive message on FIFO.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif;"&gt;So if you want to self-receive frames then clear the SRXDIS bit in MCR register.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif;"&gt;Moreover if using the RX FIFO you have to properly set the ID table. You are still using addresses for CAN_B module. Change ID table addresses to reflect desired module. For example&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif;"&gt;#define ID_Table0_CANF (*(vuint32_t* )(0xfffd40e0))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif;"&gt;#define ID_Table1_CANF (*(vuint32_t* )(0xfffd40e4))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif;"&gt;#define ID_Table2_CANF (*(vuint32_t* )(0xfffd40e8))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif;"&gt;#define ID_Table3_CANF (*(vuint32_t* )(0xfffd40eC))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif;"&gt;#define ID_Table4_CANF (*(vuint32_t* )(0xfffd40f0))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif;"&gt;#define ID_Table5_CANF (*(vuint32_t* )(0xfffd40f4))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif;"&gt;#define ID_Table6_CANF (*(vuint32_t* )(0xfffd40f8))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif;"&gt;#define ID_Table7_CANF (*(vuint32_t* )(0xfffd40fc))&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif;"&gt;Petr&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2016 10:34:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562128#M4011</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2016-06-23T10:34:52Z</dc:date>
    </item>
    <item>
      <title>Re: CAN driver code for MPC5668G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562129#M4012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you so much!&lt;/P&gt;&lt;P&gt;I updated these changes and it is working now:)&lt;/P&gt;&lt;P&gt;But I have one small problem, as I have enabled SRXDIS it is receiving its own frame.&lt;/P&gt;&lt;P&gt;But when I am sending CAN frame from the other node,&amp;nbsp; I am not able to see that in that particular Rx buffer.&lt;/P&gt;&lt;P&gt;Do you&amp;nbsp; have any suggestions for this? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 06:32:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562129#M4012</guid>
      <dc:creator>sukruthrameshba</dc:creator>
      <dc:date>2016-06-24T06:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: CAN driver code for MPC5668G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562130#M4013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; &lt;SPAN style="font-family: 'Calibri',sans-serif;"&gt;Once you enable self-receive functionality the module is allowed to receive frames transmitted by itself, if there is matching MB. If this is not needed, just set the SRXDIS bit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif;"&gt;If there is matching RX MB or RX FIFO which is “free to receive” the message transmitted from other node must be received regardless of SRXDIS bit.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif;"&gt;So check the MBs and mask registers setting. If RX FIFO is enabled , set properly the ID table and mask registers.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Calibri',sans-serif;"&gt;If you will have doubts with receive operation still, describe clearly what kinds of messages you want to receive, so MB and mask registers setting can be advised. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jun 2016 08:04:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562130#M4013</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2016-06-24T08:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: CAN driver code for MPC5668G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562131#M4014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay...Lets say i need to receive an id labelled with 555 sent from the other node.&lt;/P&gt;&lt;P&gt;Can you advise me the MB and mask register setting for the same?&lt;/P&gt;&lt;P&gt;And according to this code only MB5 has to receive. But all MBs from MB0 to MB5 are receiving. I want to configure one MB for reception.&lt;/P&gt;&lt;P&gt;I am not clear with ID table setting( why exactly the shift operation is being used?) &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2016 11:31:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562131#M4014</guid>
      <dc:creator>sukruthrameshba</dc:creator>
      <dc:date>2016-06-27T11:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: CAN driver code for MPC5668G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562132#M4015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;see attached code...&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>Tue, 28 Jun 2016 10:33:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562132#M4015</guid>
      <dc:creator>PetrS</dc:creator>
      <dc:date>2016-06-28T10:33:48Z</dc:date>
    </item>
    <item>
      <title>Re: CAN driver code for MPC5668G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562133#M4016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mr Petr,&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;I looked into the code. It is working fine with the transmit functionality. But I am not able see the received message on MB5.&lt;/P&gt;&lt;P&gt;As per my requirement , I use only CAN_F channel for transmission and reception. I don't need CAN_B.&lt;/P&gt;&lt;P&gt;By "Other node" , I meant&amp;nbsp; "CANoe" not from CAN_B.&lt;/P&gt;&lt;P&gt;So I need CAN_F block to transmit any message with STD_ID and&lt;/P&gt;&lt;P&gt;it should receive any message if the ID matches and show that on configured MB(Lets say MB5).&lt;/P&gt;&lt;P&gt;I tried modifying the code you sent, But I am not able to see the receive functionality.&lt;/P&gt;&lt;P&gt;It will be helpful if you can&amp;nbsp; send me the code which have only the above requirements:)&lt;/P&gt;&lt;P&gt;I will attach my modified code too:)&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sukruth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 05:52:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562133#M4016</guid>
      <dc:creator>sukruthrameshba</dc:creator>
      <dc:date>2016-06-29T05:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: CAN driver code for MPC5668G</title>
      <link>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562134#M4017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please have a look at the modified code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jun 2016 05:58:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/CAN-driver-code-for-MPC5668G/m-p/562134#M4017</guid>
      <dc:creator>sukruthrameshba</dc:creator>
      <dc:date>2016-06-29T05:58:14Z</dc:date>
    </item>
  </channel>
</rss>

