<?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>S12 / MagniV MicrocontrollersのトピックMSCAN and CAN-Phy implementation in S12ZVC MCU</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MSCAN-and-CAN-Phy-implementation-in-S12ZVC-MCU/m-p/1872189#M19835</link>
    <description>&lt;P&gt;We are currently developing a solution to connect a private CAN network with a public CAN on heavy-duty vehicles. To achieve this, we have decided to utilize the S12ZVC family MCU. However, we are encountering challenges in distinguishing between CAN-Phy and MSCAN implementation. Although the controller provides 2 ports for CAN, which can be used to communicate over 2 CAN buses, we have discovered that both CAN ports are internally connected, with no option to differentiate between incoming CAN data from each port. Given that our application requires interaction with 2 isolated CAN bus-lines, and in S12Z MCU we have one MSCAN. So we need guidance in understanding how CAN-phy is being used in this controller, is it possible to use CAN-phy ports and MSCAN ports in isolation over 2 different CAN-Bus lines?&lt;/P&gt;</description>
    <pubDate>Thu, 23 May 2024 16:39:28 GMT</pubDate>
    <dc:creator>himanshusaxena1996</dc:creator>
    <dc:date>2024-05-23T16:39:28Z</dc:date>
    <item>
      <title>MSCAN and CAN-Phy implementation in S12ZVC MCU</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MSCAN-and-CAN-Phy-implementation-in-S12ZVC-MCU/m-p/1872189#M19835</link>
      <description>&lt;P&gt;We are currently developing a solution to connect a private CAN network with a public CAN on heavy-duty vehicles. To achieve this, we have decided to utilize the S12ZVC family MCU. However, we are encountering challenges in distinguishing between CAN-Phy and MSCAN implementation. Although the controller provides 2 ports for CAN, which can be used to communicate over 2 CAN buses, we have discovered that both CAN ports are internally connected, with no option to differentiate between incoming CAN data from each port. Given that our application requires interaction with 2 isolated CAN bus-lines, and in S12Z MCU we have one MSCAN. So we need guidance in understanding how CAN-phy is being used in this controller, is it possible to use CAN-phy ports and MSCAN ports in isolation over 2 different CAN-Bus lines?&lt;/P&gt;</description>
      <pubDate>Thu, 23 May 2024 16:39:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MSCAN-and-CAN-Phy-implementation-in-S12ZVC-MCU/m-p/1872189#M19835</guid>
      <dc:creator>himanshusaxena1996</dc:creator>
      <dc:date>2024-05-23T16:39:28Z</dc:date>
    </item>
    <item>
      <title>Re: MSCAN and CAN-Phy implementation in S12ZVC MCU</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MSCAN-and-CAN-Phy-implementation-in-S12ZVC-MCU/m-p/1875472#M19838</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;The MCU contains a single CAN peripheral that can be seen on pins in multiple configurations.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;See Figure 2-2.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Illustration of CAN routing options.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Table 2-5.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Preferred interface configurations.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;Of course switching between M0C0RR[2:0] is possible&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;a) 0b000 which connect Rx/Tx via internal CAN transceiver to CAH and CANL pins&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;b) 0b110 which connect Rx/Tx directly to RXCAN0/TXCAN0 pins and the internal CAN transceiver is not used.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;It is necessary to add an external transmitter.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;However, such switching is not a parallel connection to two CAN buses, but a quasi-parallel one, so data from the unconnected CAN bus will be lost.&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="jCAhz ChMk0b"&gt;&lt;SPAN class="ryNqvb"&gt;No one around me has tested this approach.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;Best regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="HwtZe"&gt;Ladislav&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 May 2024 09:49:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/MSCAN-and-CAN-Phy-implementation-in-S12ZVC-MCU/m-p/1875472#M19838</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2024-05-27T09:49:19Z</dc:date>
    </item>
  </channel>
</rss>

