<?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>S32GのトピックRe: S32G M7 core CAN bus configuration</title>
    <link>https://community.nxp.com/t5/S32G/S32G-M7-core-CAN-bus-configuration/m-p/1735722#M4961</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222144"&gt;@vsong&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for your patience.&lt;/P&gt;
&lt;P&gt;I am unable to test the configuration with multiple CAN controllers locally. I have created a ticket with the internal team and I will get back to you on this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mayank S Patel&lt;/P&gt;</description>
    <pubDate>Mon, 09 Oct 2023 10:31:40 GMT</pubDate>
    <dc:creator>MayanksPatel</dc:creator>
    <dc:date>2023-10-09T10:31:40Z</dc:date>
    <item>
      <title>S32G M7 core CAN bus configuration</title>
      <link>https://community.nxp.com/t5/S32G/S32G-M7-core-CAN-bus-configuration/m-p/1733450#M4927</link>
      <description>&lt;P&gt;I am modifying the "Can_example_S32G399A_M7" to:&lt;/P&gt;&lt;P&gt;1. use both FlexCan0 and FlexCan1, both send one CAN message, and receiving is also ready.&lt;/P&gt;&lt;P&gt;a. I use the loop back for both CAN controllers.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Both CAN controller share the same CanIf_TxConfirmation callback and CanIf_RxIndication callback&lt;/P&gt;&lt;P&gt;Both CAN controller sent 1 message each, (I can see the CanIf_u8TxConfirmCnt went to 2 if I sent 2, only went up to 1 if I sent one message).&amp;nbsp; Looks good for Tx part.&lt;/P&gt;&lt;P&gt;But only Controller0 will have the RxIndication callback, the other controller does not have the RxIndication callback being invoked, In the RxIndication, the mailbox show controller0 only.&amp;nbsp; If message is on controller1, the RxIndication callback will never enter, no mailbox for controller1.&amp;nbsp; &amp;nbsp;what was the issue here?&amp;nbsp; My CanIf configure as below, is it correct?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vsong_0-1696386764391.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/243541i35945094E1B9EE37/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vsong_0-1696386764391.png" alt="vsong_0-1696386764391.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;b.&amp;nbsp; When I unselect the "Can loop Back Mode", recompile and run, nothing happened, no TxConfirmation and no RxIndication.&lt;/P&gt;&lt;P&gt;I plug in the 20 pair connector come with gold box.&amp;nbsp; Two black ground wires connect to ground.&amp;nbsp; For FlexCan0 and FlexCan1, I twist green wires together and white wires together, with 120ohm resistor connect the green and white wire.&amp;nbsp; which I consider it as a CAN bus.&lt;/P&gt;&lt;P&gt;My question is why I do not even have TxConfirmation?&lt;/P&gt;&lt;P&gt;I assume say for FlexCan0 connect to Tja1043.&amp;nbsp; the Flex_CAN0_EN and FLEX_CAN0_STB if both are 1, Tja1043 should in normal working mode.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vsong_1-1696387595908.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/243542i81DC981F9C162C66/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vsong_1-1696387595908.png" alt="vsong_1-1696387595908.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Flex_CAN0_EN and FLEX_CAN0_STB are connected to P2.x of PCALxxxxx&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vsong_3-1696388167767.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/243544iC4EDADCEEF508A3E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vsong_3-1696388167767.png" alt="vsong_3-1696388167767.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the default power on value is all 1 for output port.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vsong_2-1696388113321.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/243543i3843E0ABD42E4538/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vsong_2-1696388113321.png" alt="vsong_2-1696388113321.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I assume all the Tja1043 should be set to normal mode.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Summary, please let me know:&lt;/P&gt;&lt;P&gt;1. why I don't have Controller1's RxIndication callback while controller0 has it.&lt;/P&gt;&lt;P&gt;2. why my external CAN bus not Tx/Rx normally.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 02:59:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G-M7-core-CAN-bus-configuration/m-p/1733450#M4927</guid>
      <dc:creator>vsong</dc:creator>
      <dc:date>2023-10-04T02:59:31Z</dc:date>
    </item>
    <item>
      <title>Re: S32G M7 core CAN bus configuration</title>
      <link>https://community.nxp.com/t5/S32G/S32G-M7-core-CAN-bus-configuration/m-p/1734194#M4941</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222144"&gt;@vsong&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for reaching out to us.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Will you please share the changes on top of the&amp;nbsp;&lt;SPAN&gt;Can_example_S32G399A_M7 application?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mayank S Patel&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 11:23:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G-M7-core-CAN-bus-configuration/m-p/1734194#M4941</guid>
      <dc:creator>MayanksPatel</dc:creator>
      <dc:date>2023-10-05T11:23:29Z</dc:date>
    </item>
    <item>
      <title>Re: S32G M7 core CAN bus configuration</title>
      <link>https://community.nxp.com/t5/S32G/S32G-M7-core-CAN-bus-configuration/m-p/1734276#M4942</link>
      <description>&lt;P&gt;I attached project foler as zip file, Please take a look.&lt;/P&gt;&lt;P&gt;1. if select both controller as "loopback", no Rx indication for controller1&lt;/P&gt;&lt;P&gt;2. If unselect "loopback" for both controller, no TxConfimation/RxIndication for any of them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 14:15:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G-M7-core-CAN-bus-configuration/m-p/1734276#M4942</guid>
      <dc:creator>vsong</dc:creator>
      <dc:date>2023-10-05T14:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: S32G M7 core CAN bus configuration</title>
      <link>https://community.nxp.com/t5/S32G/S32G-M7-core-CAN-bus-configuration/m-p/1735722#M4961</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222144"&gt;@vsong&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thank you for your patience.&lt;/P&gt;
&lt;P&gt;I am unable to test the configuration with multiple CAN controllers locally. I have created a ticket with the internal team and I will get back to you on this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mayank S Patel&lt;/P&gt;</description>
      <pubDate>Mon, 09 Oct 2023 10:31:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G-M7-core-CAN-bus-configuration/m-p/1735722#M4961</guid>
      <dc:creator>MayanksPatel</dc:creator>
      <dc:date>2023-10-09T10:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: S32G M7 core CAN bus configuration</title>
      <link>https://community.nxp.com/t5/S32G/S32G-M7-core-CAN-bus-configuration/m-p/1737332#M4983</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/222144"&gt;@vsong&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;For 1st question, Our internal team tried to reproduce the issue and can't reproduce the same, Maybe please check the configuration again.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For 2nd question, you need to configure the port and execute port initialization in the main function(for example, FlexCAN0 -&amp;gt; PB01/PB02) if not using loopback mode, and then it will go to "CanIf_TxConfirmation"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Mayank S Patel&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 08:53:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G-M7-core-CAN-bus-configuration/m-p/1737332#M4983</guid>
      <dc:creator>MayanksPatel</dc:creator>
      <dc:date>2023-10-11T08:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: S32G M7 core CAN bus configuration</title>
      <link>https://community.nxp.com/t5/S32G/S32G-M7-core-CAN-bus-configuration/m-p/1738063#M4996</link>
      <description>&lt;P&gt;Thank you for the answer.&lt;/P&gt;&lt;P&gt;For question 1, I figure it out, when I configure the CAN object1 (receiving object), I didn't use the correct CAN controller.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For question 2, Thank you for the answer.&amp;nbsp; I realize I did not set the pin for Rxd and Txd for Can0 and Can1 in PIN configuration.&amp;nbsp; After I configure the pin, and add Suil2_port driver, then in main.c add port init.&amp;nbsp; the external loop working.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 01:28:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32G/S32G-M7-core-CAN-bus-configuration/m-p/1738063#M4996</guid>
      <dc:creator>vsong</dc:creator>
      <dc:date>2023-10-12T01:28:10Z</dc:date>
    </item>
  </channel>
</rss>

