<?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: How to use CAN2 for Freemaster communication in S32K144 in FreeMASTER</title>
    <link>https://community.nxp.com/t5/FreeMASTER/How-to-use-CAN2-for-Freemaster-communication-in-S32K144/m-p/1180405#M455</link>
    <description>&lt;P&gt;I have solved the problem, that is because I opened one virual machine caused that the usb device no detected.&lt;/P&gt;</description>
    <pubDate>Tue, 10 Nov 2020 02:23:40 GMT</pubDate>
    <dc:creator>xinguang_wang</dc:creator>
    <dc:date>2020-11-10T02:23:40Z</dc:date>
    <item>
      <title>How to use CAN2 for Freemaster communication in S32K144</title>
      <link>https://community.nxp.com/t5/FreeMASTER/How-to-use-CAN2-for-Freemaster-communication-in-S32K144/m-p/1180382#M454</link>
      <description>&lt;P&gt;Hi，&lt;/P&gt;&lt;P&gt;I have used CAN0 for Freemaster communication in S32K144，and it workes. Howerver, when I use CAN2 for Freemaster communication in S32K44, it doesn't work.&lt;/P&gt;&lt;P&gt;What I changed comparing to using CAN0 is below:&lt;/P&gt;&lt;P&gt;1,&lt;/P&gt;&lt;P&gt;#define FMSTR_CAN_BASE 0x4002B000UL /* FlexCAN2 base on S32K14x */&lt;/P&gt;&lt;P&gt;2,&lt;/P&gt;&lt;P&gt;CAN2-&amp;gt;MCR |= (CAN_MCR_FRZ_MASK | CAN_MCR_HALT_MASK);&lt;BR /&gt;CAN2-&amp;gt;MCR &amp;amp;= ~CAN_MCR_MDIS_MASK;&lt;BR /&gt;while((CAN2-&amp;gt;MCR &amp;amp; CAN_MCR_FRZACK_MASK ) == 0){}&lt;BR /&gt;/* Disable abort mechanism MCR[AEN] = 0 */&lt;BR /&gt;CAN2-&amp;gt;MCR &amp;amp;= ~CAN_MCR_AEN_MASK;&lt;BR /&gt;/* Enable the FlexCAN module */&lt;BR /&gt;CAN2-&amp;gt;MCR &amp;amp;= ~(CAN_MCR_FRZ_MASK | CAN_MCR_HALT_MASK);&lt;/P&gt;&lt;P&gt;Would you like to point out where I maight wrong?&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 01:51:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/How-to-use-CAN2-for-Freemaster-communication-in-S32K144/m-p/1180382#M454</guid>
      <dc:creator>xinguang_wang</dc:creator>
      <dc:date>2020-11-10T01:51:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to use CAN2 for Freemaster communication in S32K144</title>
      <link>https://community.nxp.com/t5/FreeMASTER/How-to-use-CAN2-for-Freemaster-communication-in-S32K144/m-p/1180405#M455</link>
      <description>&lt;P&gt;I have solved the problem, that is because I opened one virual machine caused that the usb device no detected.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Nov 2020 02:23:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/FreeMASTER/How-to-use-CAN2-for-Freemaster-communication-in-S32K144/m-p/1180405#M455</guid>
      <dc:creator>xinguang_wang</dc:creator>
      <dc:date>2020-11-10T02:23:40Z</dc:date>
    </item>
  </channel>
</rss>

